Closed
Bug 1266844
Opened 10 years ago
Closed 10 years ago
investigate devtools/shared/inspector/css-logic.js
Categories
(DevTools :: Framework, enhancement, P1)
DevTools
Framework
Tracking
(firefox50 fixed)
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
References
Details
(Whiteboard: [devtools-html])
Attachments
(1 file)
devtools/shared/inspector/css-logic.js uses a number of chrome APIs.
However, it's unclear which parts of this run on the client.
So, we need to investigate that before taking action.
Updated•10 years ago
|
Flags: qe-verify-
Priority: -- → P2
Updated•10 years ago
|
Priority: P2 → P1
| Assignee | ||
Comment 1•10 years ago
|
||
Some of it is dead code as well:
https://bugzilla.mozilla.org/show_bug.cgi?id=1225254
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ttromey
Status: NEW → ASSIGNED
Updated•10 years ago
|
Iteration: --- → 50.2
| Assignee | ||
Comment 2•10 years ago
|
||
I think the route forward here is in three parts:
1. Delete dead code; bug 1225254
2. Split css-logic so that the server-only bits are in devtools/server
3. De-chrome the remaining code
I plan to do #2 and #3 here.
Depends on: 1225254
| Assignee | ||
Comment 3•10 years ago
|
||
Also I should note that I plan to skip the l10n bits as those are being handled
in another bug.
| Assignee | ||
Comment 4•10 years ago
|
||
Also leaving the nsIXULRuntime bit for the same reason.
| Assignee | ||
Comment 5•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/60574/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/60574/
Attachment #8765026 -
Flags: review?(pbrosset)
Comment 6•10 years ago
|
||
Comment on attachment 8765026 [details]
Bug 1266844 - use URL, not nsIURL, in css-logic.js;
https://reviewboard.mozilla.org/r/60574/#review57858
So, `URL` is available as a global in our modules? That's nice.
Maybe we should think of creating some doc on the wiki about the environment available in modules, depending on how they were loaded, and sending an email to the mailing list about it.
Attachment #8765026 -
Flags: review?(pbrosset) → review+
| Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #6)
> Comment on attachment 8765026 [details]
> Bug 1266844 - use URL, not nsIURL, in css-logic.js;
>
> https://reviewboard.mozilla.org/r/60574/#review57858
>
> So, `URL` is available as a global in our modules? That's nice.
Yeah, since bug 1265813
> Maybe we should think of creating some doc on the wiki about the environment
> available in modules, depending on how they were loaded, and sending an
> email to the mailing list about it.
Good idea.
| Assignee | ||
Comment 8•10 years ago
|
||
| Assignee | ||
Comment 9•10 years ago
|
||
Keywords: checkin-needed
| Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #6)
> Maybe we should think of creating some doc on the wiki about the environment
> available in modules, depending on how they were loaded, and sending an
> email to the mailing list about it.
Now bug 1283523
Comment 11•10 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/c6ce12a74300
use URL, not nsIURL, in css-logic.js; r=pbro
Keywords: checkin-needed
Comment 12•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•