Closed
Bug 897194
Opened 10 years ago
Closed 10 years ago
Markup from the wrong tab is showing up in the Inspector
Categories
(DevTools :: Inspector, defect)
Tracking
(firefox24 wontfix, firefox25+ wontfix, firefox26+ fixed, firefox27 fixed, firefox28 verified, firefox-esr24 wontfix, b2g-v1.2 fixed)
People
(Reporter: jaws, Assigned: dcamp)
References
Details
Attachments
(2 files, 1 obsolete file)
190.50 KB,
image/png
|
Details | |
2.38 KB,
patch
|
bgrins
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Just came across this in Firefox Nightly UX (7-22-2013). See the attached screenshot. In the screenshot you'll see that the breadcrumbs are correctly pointing to the selected image, but the markup view shows what appears to be markup from the Zimbra email client, not my blog. Unfortunately I'm not sure how this happened. I checked and I don't have the Inspector running on my Zimbra webpage. I'm filing this in the hopes that I will come across some STR later or maybe other people will be running in to this bug.
Reporter | ||
Comment 1•10 years ago
|
||
I should note that closing and reopening the Inspector doesn't fix it.
Reporter | ||
Comment 2•10 years ago
|
||
Better STR is to have a separate window opened. It appears to use the selected tab from the other window. Closing the second window also exits the developer tools from the first window.
status-firefox25:
--- → affected
tracking-firefox25:
--- → ?
Assignee | ||
Comment 3•10 years ago
|
||
Rather than the "currently selected tab" thing we do now, we should just include the windowID and compare those directly. I have a patch to do that, I can get it ready for inclusion next week.
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to lsblakk@mozilla.com [:lsblakk] from comment #4) > Is this a regression specific to 25? I believe so. I think it has to do with the new remote inspector, but dcamp will know more than I.
Flags: needinfo?(jaws) → needinfo?(dcamp)
Assignee | ||
Comment 6•10 years ago
|
||
This existed before 25, but exacerbated a bit in 25. The debugger might have seen this problem before, now the inspector can. The fix for this should be pretty simple.
Flags: needinfo?(dcamp)
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → dcamp
Status: NEW → ASSIGNED
Updated•10 years ago
|
status-firefox24:
--- → affected
Comment 7•10 years ago
|
||
(In reply to Dave Camp (:dcamp) from comment #6) > This existed before 25, but exacerbated a bit in 25. The debugger might > have seen this problem before, now the inspector can. > > The fix for this should be pretty simple. Any updates?
Keywords: regressionwindow-wanted
Updated•10 years ago
|
status-firefox26:
--- → affected
tracking-firefox26:
--- → +
Assignee | ||
Comment 8•10 years ago
|
||
Yeah - I think my guess as to the problem was wrong, and I think the right fix to this bug is a combination of the patches in bug 888492 and bug 909121. Will be nominating 909121 for uplift once it lands, and I'll go nominate 888492 now.
Assignee | ||
Comment 9•10 years ago
|
||
Jared, how's this working for you on nightly?
Reporter | ||
Comment 10•10 years ago
|
||
I just ran in to this again on the 9-19 UX Nightly build yesterday.
Comment 11•10 years ago
|
||
bug 909121 landed on m-c on 9/15, and bug 888492 on 8/28. Sounds like this isn't resolved in that case. Time's running out if you still want to get this fix into FF25.
Flags: needinfo?(dcamp)
Updated•10 years ago
|
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #821269 -
Flags: review?(rcampbell)
Attachment #821269 -
Flags: feedback?(bgrinstead)
Flags: needinfo?(dcamp)
Assignee | ||
Updated•10 years ago
|
Attachment #821269 -
Flags: review?(rcampbell)
Attachment #821269 -
Flags: review?(bgrinstead)
Attachment #821269 -
Flags: feedback?(bgrinstead)
Assignee | ||
Comment 13•10 years ago
|
||
wrong patch
Attachment #821269 -
Attachment is obsolete: true
Attachment #821269 -
Flags: review?(bgrinstead)
Attachment #821276 -
Flags: review?(bgrinstead)
Comment 14•10 years ago
|
||
Comment on attachment 821276 [details] [diff] [review] windowid.patch Review of attachment 821276 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I have checked switching between both multiple windows and multiple tabs, and have this fixes devtools opening on the wrong page, and also prevents the browser from hanging during a fast switch. ::: toolkit/devtools/server/actors/webbrowser.js @@ +582,5 @@ > "grip() shouldn't be called on exited browser actor."); > dbg_assert(this.actorID, > "tab should have an actorID."); > > + let windowUtils = this.window You may consider making this.windowUtils a getter on the BrowserTabActor prototype, as it is used in 3 places and it is a little wordy. r+ either way, though.
Attachment #821276 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 15•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/4082e7ff5e6e
Whiteboard: [fixed-in-fx-team]
Comment 16•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4082e7ff5e6e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 821276 [details] [diff] [review] windowid.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): exacerbated by remote inspector User impact if declined: broken devtools, hangs Testing completed (on m-c, etc.): been on m-c for a few days Risk to taking this patch (and alternatives if risky): not very risky String or IDL/UUID changes made by this patch: none.
Attachment #821276 -
Flags: approval-mozilla-beta?
Attachment #821276 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #821276 -
Flags: approval-mozilla-beta?
Attachment #821276 -
Flags: approval-mozilla-beta+
Attachment #821276 -
Flags: approval-mozilla-aurora?
Attachment #821276 -
Flags: approval-mozilla-aurora+
Updated•10 years ago
|
status-firefox27:
--- → affected
status-firefox28:
--- → fixed
Comment 18•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/2535acbe5c16 https://hg.mozilla.org/releases/mozilla-beta/rev/31f9299a4db2
Comment 19•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/31f9299a4db2
status-b2g-v1.2:
--- → fixed
Comment 20•10 years ago
|
||
I tried to reproduce this issue several times with Firefox 25 on a Windows 7 64bit machine with no success. From what I see in this report, this bug is (highly?) intermittent. Unless there are any guidelines to ensure it reproduces in a few tries, we won't be able to verify it.
Keywords: verifyme
Comment 21•10 years ago
|
||
Jared, given that QA can't reproduce this issue, can you please try to verify it on the fixed branches?
Flags: needinfo?(jaws)
Reporter | ||
Comment 22•10 years ago
|
||
I can't reproduce this right now. I'll reopen if I stumble across it in the future, but I'm happy with calling this verified.
Status: RESOLVED → VERIFIED
Flags: needinfo?(jaws)
Comment 24•10 years ago
|
||
Updating status flag as per comment 22.
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•