Skip to content

[CLOSED] Use styleSheetAdded and styleSheetRemoved, replaces getAllStylesheets #6345

@core-ai-bot

Description

@core-ai-bot

Issue by jasonsanjose
Wednesday Feb 26, 2014 at 00:18 GMT
Originally opened as adobe/brackets#7008


Fix for #6830

  • Add styleSheetAdded and styleSheetRemoved event handling to inspector protocol
  • Fallback to getAllStylesheets for Chrome < 34

Fix for #6912

  • Use styleSheetAdded to keep styleSheetId values up to date to fix "No style sheet with given id found, code: -32000" when pushing change events from Brackets to Chrome

jasonsanjose included the following code: https://github.com/adobe/brackets/pull/7008/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions