Closed
Bug 1485605
Opened 7 years ago
Closed 7 years ago
Remove usages of target.window
Categories
(DevTools :: Framework, enhancement, P2)
DevTools
Framework
Tracking
(firefox64 fixed)
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Whiteboard: dt-fission)
Attachments
(1 file)
At first sight, it looks like there is only two usages of target.window:
https://searchfox.org/mozilla-central/search?q=target.window&case=true®exp=false&path=
This getter only works in non-e10s, so that it most likely throws except may be on some tests.
This bug is part of an ongoing effort to convert TabTarget to become a front and so always go throught RDP request to fetch data about the tab document.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 1•7 years ago
|
||
This code only works on non-e10s and appear to no longer be used.
Comment 2•7 years ago
|
||
Comment on attachment 9010296 [details]
Bug 1485605 - Remove usages of TabTarget.window. r=yulia
Yulia Startsev [:yulia] has approved the revision.
Attachment #9010296 -
Flags: review+
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a4032171aaf
Remove usages of TabTarget.window. r=yulia
Comment 4•7 years ago
|
||
Backed out changeset 6a4032171aaf (bug 1485605) for Eslint failure on builds/worker/checkouts/gecko/devtools/client/framework/target.js. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#?job_id=200394676&repo=autoland&lineNumber=273
[task 2018-09-20T09:30:11.549Z] Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
[task 2018-09-20T09:36:31.098Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/devtools/client/framework/target.js:7:9 | 'Ci' is assigned a value but never used. (no-unused-vars)
[task 2018-09-20T09:36:31.098Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/devtools/client/framework/target.js:9:7 | 'Services' is assigned a value but never used. (no-unused-vars)
[taskcluster 2018-09-20 09:36:31.451Z] === Task Finished ===
[taskcluster 2018-09-20 09:36:31.452Z] Unsuccessful task run with exit code: 1 completed in 659.449 seconds
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=6a4032171aaf33d53ad6412708bcdf5fda7cc194
Backout:
https://hg.mozilla.org/integration/autoland/rev/779ae34fb3ebeb715ace0b78350c0dbdfa0b3898
Flags: needinfo?(poirot.alex)
Assignee | ||
Comment 5•7 years ago
|
||
Sorry, I realized after clicking in lando that eslint was orange...
I fixed it and repushed.
Flags: needinfo?(poirot.alex)
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/75a963db2681
Remove usages of TabTarget.window. r=yulia
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Assignee | ||
Updated•7 years ago
|
Whiteboard: dt-fission
You need to log in
before you can comment on or make changes to this bug.
Description
•