Closed
Bug 854948
Opened 11 years ago
Closed 11 years ago
GCLI context.environment.contentDocument points to doc from when GCLI first opened
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 23
People
(Reporter: miker, Assigned: jwalker)
References
Details
Attachments
(1 file)
2.74 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
Since recent GCLI changes context.environment.contentDocument always points to the content document from when GCLI was first opened. It should obviously point to the current content document.
Reporter | ||
Comment 1•11 years ago
|
||
context.environment.contentDocument.location.href = the correct content document URI. context.environment.contentDocument.body.innerHTML = HTML from the page when GCLI was first loaded.
Reporter | ||
Comment 2•11 years ago
|
||
Seems like the debugger gave me bad information. Seems like context.environment.contentDocument.location is null :o/
Reporter | ||
Comment 3•11 years ago
|
||
console.log(context.environment.contentDocument) gives HTMLDocument {"location":null}
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jwalker
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #740005 -
Flags: review?(mratcliffe)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 740005 [details] [diff] [review] v1 Review of attachment 740005 [details] [diff] [review]: ----------------------------------------------------------------- That simple? Looks good to me, r+.
Attachment #740005 -
Flags: review?(mratcliffe) → review+
Reporter | ||
Updated•11 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 6•11 years ago
|
||
Could you double check that this solves your appcache problem please?
Whiteboard: [land-in-fx-team]
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Joe Walker [:jwalker] from comment #6) > Could you double check that this solves your appcache problem please? I already had, it works just fine.
Whiteboard: [land-in-fx-team]
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9a35bbea86c7
Status: NEW → ASSIGNED
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a35bbea86c7
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 23
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•