Closed
Bug 1309650
Opened 8 years ago
Closed 8 years ago
Investigate removing node.rawNode() usage from client/framework/selection
Categories
(DevTools :: Inspector, defect, P1)
DevTools
Inspector
Tracking
(firefox52 fixed)
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
(Whiteboard: [devtools-html])
Attachments
(1 file)
selection.js is still using Cu.isDeadWrapper [1] which is a blocker for bundling the inspector using webpack.
The comment above this code states that it can be removed once no tool is relying on node.rawNode() anymore. I think this is the case, and node.rawNode() returns null in e10s anyway.
I would like to try to remove all the code related rawNode() from selection.js
[1] http://searchfox.org/mozilla-central/rev/cd1be634c9309c7fc99a3fde67dd44d343875f60/devtools/client/framework/selection.js#187
Assignee | ||
Comment 1•8 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Updated•8 years ago
|
Blocks: devtools-html-phase2
Iteration: --- → 52.2 - Oct 17
Flags: qe-verify-
Priority: -- → P1
Whiteboard: [devtools-html] [triage] → [devtools-html]
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8800381 [details]
Bug 1309650 - remove non remote friendly APIs from selection.js;
https://reviewboard.mozilla.org/r/85292/#review84038
Yes please! Thanks for cleaning this very old non-remote piece of code.
Attachment #8800381 -
Flags: review?(pbrosset) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Thanks for the review! Try push on more platforms: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c4e5f3c7311847a41f8857bcfd1a59f9f319eb80
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce9ca1a342bc
remove non remote friendly APIs from selection.js;r=pbro
Comment 6•8 years ago
|
||
Can the "rawNode" method be removed from the front now?
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•