Closed Bug 1268568 Opened 8 years ago Closed 8 years ago

Decouple fronts from style actors.

Categories

(DevTools :: Inspector, defect, P1)

defect

Tracking

(firefox49 fixed)

RESOLVED FIXED
Firefox 49
Iteration:
49.1 - May 9
Tracking Status
firefox49 --- fixed

People

(Reporter: ejpbruel, Assigned: ejpbruel)

References

Details

Attachments

(2 files, 1 obsolete file)

The inspector actor depends on the style actors, so the latter have to be decoupled before the former.
Blocks: 1263289
Status: NEW → ASSIGNED
Iteration: --- → 49.1 - May 9
Flags: qe-verify?
Priority: -- → P1
Whiteboard: [devtools-html]
Attachment #8747727 - Flags: review?(jryans)
Attached patch Decouple StyleRuleFront and StyleRuleActor. (obsolete) (deleted) — Splinter Review
Attachment #8747728 - Flags: review?(jryans)
Comment on attachment 8747727 [details] [diff] [review]
Decouple PageStyleFront form PageStyleActor.

Review of attachment 8747727 [details] [diff] [review]:
-----------------------------------------------------------------

::: devtools/client/fronts/styles.js
@@ +10,5 @@
> +  custom
> +} = require("devtools/server/protocol.js");
> +const { pageStyleSpec } = require("devtools/shared/specs/styles.js");
> +
> +Cu.import("resource://gre/modules/Task.jsm");

Use the form `const { Task } = require("resource://gre/modules/Task.jsm");` which is easier to lint.
Attachment #8747727 - Flags: review?(jryans) → review+
Comment on attachment 8747728 [details] [diff] [review]
Decouple StyleRuleFront and StyleRuleActor.

Review of attachment 8747728 [details] [diff] [review]:
-----------------------------------------------------------------

This seems like the wrong patch, it's changing highlighters.js.
Attachment #8747728 - Flags: review?(jryans) → review-
Flags: qe-verify? → qe-verify-
Try push for the patch to decouple PageStyleFront from PageStyleActor:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=940c645563cc
Now with the correct patch.
Attachment #8747728 - Attachment is obsolete: true
Attachment #8749538 - Flags: review?(jryans)
Try push for the patch to decouple StyleRuleFront from StyleRuleActor:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8051feb3d098
The try push for the patch to decouple StyleRuleFront from StyleRuleActor had test failures due to missing dependencies. Here's a new try push with that issue addressed:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=99f983bc6b80
https://hg.mozilla.org/mozilla-central/rev/27bbfef7a520
https://hg.mozilla.org/mozilla-central/rev/da2b27e1aabd
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Blocks: 1277706
No longer blocks: 1263289
Blocks: 1263289
Was this bug supposed to take care of the StyleEditorActor too? Or is that a different bug? Or do we need a bug?
Flags: needinfo?(ejpbruel)
Bug 1265730 took care of the StyleEditorActor.
Flags: needinfo?(ejpbruel)
Whiteboard: [devtools-html]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: