Closed
Bug 1020257
Opened 11 years ago
Closed 11 years ago
Dispatch hud events on the main window for system app related events
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: vingtetun, Assigned: vingtetun)
References
Details
Attachments
(1 file)
1.04 KB,
patch
|
janx
:
review+
|
Details | Diff | Splinter Review |
This patch is one of the piece needed to have the hud working for the system app.
It relies on the patch in bug 1015894 that I'm going to land this week.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → 21
Attachment #8434074 -
Flags: review?(janx)
Comment 2•11 years ago
|
||
Comment on attachment 8434074 [details] [diff] [review]
devtools.dispatch.events.onmainwindow.for.system.patch
Review of attachment 8434074 [details] [diff] [review]:
-----------------------------------------------------------------
Makes sense, thank you Vivien.
::: b2g/chrome/content/devtools.js
@@ +271,5 @@
> this._send({});
> },
>
> _send: function target_send(data) {
> + let target = this.frame;
Nit: Since this is a prototype method of Target, the naming might be confusing here. Please s/target/frame/ or similar.
@@ +273,5 @@
>
> _send: function target_send(data) {
> + let target = this.frame;
> +
> + let systemapp = document.querySelector('#systemapp');
Nit: Please use `document.getElementById`.
Attachment #8434074 -
Flags: review?(janx) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
This push hit desktop B2G mochitest failures. Not knowing the interdependencies of the push, I backed the entire thing out.
https://hg.mozilla.org/integration/mozilla-inbound/rev/616163ca1aa5
https://tbpl.mozilla.org/php/getParsedLog.php?id=41052634&tree=Mozilla-Inbound
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Comment 6•11 years ago
|
||
I think this produced issues in the Marionette JS tests (Gi in TBPL):
https://tbpl.mozilla.org/php/getParsedLog.php?id=41112344&tree=Mozilla-Inbound#error4
Here is a try with this issue backed out:
https://tbpl.mozilla.org/?tree=Try&rev=0fb26a81b986
Comment 7•11 years ago
|
||
This line is the likely failure:
shell.sendEvent(frame, 'developer-hud-update', Cu.cloneInto(data, target));
"target" is not defined anywhere here...
Comment 8•11 years ago
|
||
Can we please backout this? I'm pretty sure this patch is the issue and so don't want to wait for try.
Then can you respin a build on moz-central ?
Keywords: checkin-needed
Comment 9•11 years ago
|
||
Try with Gi is: https://tbpl.mozilla.org/?tree=Try&rev=0fb26a81b986&showall=1
Comment 10•11 years ago
|
||
backed this out from mozilla-central (and so also in the upcoming merges from the other integration trees) in https://hg.mozilla.org/mozilla-central/rev/c8288d0c7a15 as requested in comment #8 and on irc
Comment 11•11 years ago
|
||
> shell.sendEvent(frame, 'developer-hud-update', Cu.cloneInto(data, target));
> ^
Vivien, I think you forgot to rename the last occurrence of "target" to "frame" in the patch you landed.
Flags: needinfo?(21)
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #11)
> > shell.sendEvent(frame, 'developer-hud-update', Cu.cloneInto(data, target));
> > ^
>
> Vivien, I think you forgot to rename the last occurrence of "target" to
> "frame" in the patch you landed.
Sigh...
Flags: needinfo?(21)
Comment 13•11 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•