Closed
Bug 891171
Opened 11 years ago
Closed 11 years ago
Remove actor id from StyleSheetActor event type name
Categories
(DevTools :: Style Editor, defect)
DevTools
Style Editor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: harth, Assigned: harth)
Details
Attachments
(1 file)
9.68 KB,
patch
|
dcamp
:
review+
|
Details | Diff | Splinter Review |
The following remote events sent by a StyleSheet actor are postfixed by the actor id of the stylesheet they were sent from: styleApplied-<id> sourceLoad-<id> error-<id> propertyChange-<id> The actor's id is already sent in the "from" property, so this is redundant. This is a leaky abstraction, and was used to easily listen to only events from a particular actor, but it should really be up to the client to use the "from" property to achieve that. This is incongruous with other devtools actors, so we should change it.
Assignee | ||
Comment 1•11 years ago
|
||
I *really* want to convert the Style Editor to use protocol.js, but I want these breaking changes in sooner. This removes the "-id" from the events listed in c#1, and also removes the "error" event, which was only fired when there was an error fetching stylesheet source, and was much better suited as a property on the "sourceLoad" event.
Assignee: nobody → fayearthur
Attachment #772929 -
Flags: review?(dcamp)
Updated•11 years ago
|
Attachment #772929 -
Flags: review?(dcamp) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/2ec1017151fc
Whiteboard: [fixed-in-fx-team]
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2ec1017151fc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•