Closed Bug 1352814 Opened 7 years ago Closed 7 years ago

[e10s] Blank chrome page opens when restoring tab opened from Cmd + Click and RDM was used

Categories

(DevTools :: Responsive Design Mode, defect, P1)

52 Branch
defect

Tracking

(firefox-esr52 wontfix, firefox53 wontfix, firefox54 verified, firefox55 verified)

VERIFIED FIXED
Firefox 55
Tracking Status
firefox-esr52 --- wontfix
firefox53 --- wontfix
firefox54 --- verified
firefox55 --- verified

People

(Reporter: 684sigma, Assigned: jryans)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

I have a problem with Firefox Beta 52, Beta 53. It also happens in Nightly 55. Doesn't happen in ESR 45
When I restore some tabs that were or are in RDM, a blank page opens instead.

1. Ctrl+Shift+click this link: https://bugzilla.mozilla.org
2. Open RDM (then you can close it, doesn't matter).
3. Close the tab. Restore the tab.

Result: Blank chrome://devtools/content/responsive.html/index.xhtml page opens
Expected: https://bugzilla.mozilla.org should open

Pay special attention: it happens even when closing tab with RDM disabled.
Has STR: --- → yes
Keywords: regression
It appears only with the new RDM available when e10s is enabled.
Summary: Blank chrome://devtools/content/responsive.html/index.xhtml page opens when restoring tab where RDM was opened at least once. → [e10s] Blank chrome://devtools/content/responsive.html/index.xhtml page opens when restoring tab where the new RDM was opened at least once.
jryans, you fixed a similar issue in bug 1319596, could you check this one when you get some time, please.
Flags: needinfo?(jryans)
I'll take a look.  Locally, it seems to affect any links you open using Ctrl / Cmd + Click.
Assignee: nobody → jryans
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(jryans)
Priority: -- → P1
Summary: [e10s] Blank chrome://devtools/content/responsive.html/index.xhtml page opens when restoring tab where the new RDM was opened at least once. → [e10s] Blank chrome page opens when restoring tab opened from Cmd + Click and RDM was used
Actually, it appears even Ctrl / Cmd + Click isn't required:

STR:

1. Open a new tab, go to some page
2. Open RDM in that tab, but don't navigate anywhere else
3. Close the tab
4. Try to restore the closed tab
If you _do_ navigate to some new page after opening RDM, this happens to workaround the bug and full history for the tab is preserved.
Comment on attachment 8859312 [details]
Bug 1352814 - Force session history off for RDM container.

https://reviewboard.mozilla.org/r/131332/#review134434

In my testing I had to use Ctrl+Click to reproduce.
It fixes the reporter issue, but we should start considering integrating with /browser/ codebase as this project becomes the default responsive design and stop having these pile of hacks.
Attachment #8859312 - Flags: review?(poirot.alex) → review+
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/53575b5ff0a5
Force session history off for RDM container. r=ochameau
https://hg.mozilla.org/mozilla-central/rev/53575b5ff0a5
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Comment on attachment 8859312 [details]
Bug 1352814 - Force session history off for RDM container.

Approval Request Comment
[Feature/Bug causing the regression]: Most likely regressed by some clean up in bug 1313933.
[User impact if declined]: If declined, session history can be lost of tabs where Responsive Design Mode is opened.
[Is this code covered by automated tests?]: Yes, the patch adds a new test for this.
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: Yes, see comment 0 and / or comment 4.
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: Only affects Responsive Design Mode
[String changes made/needed]: None
Attachment #8859312 - Flags: approval-mozilla-beta?
Hi Florin,
could you help find someone to verify if this issue was fixed as expected?
Flags: needinfo?(florin.mezei)
Since it's RDM related - Mihai, can you verify this when you have some time?
Flags: needinfo?(florin.mezei) → needinfo?(mihai.boldan)
I managed to reproduce the initial issue on Firefox 53.0a1 (2016-12-20), under Windows 10x64.

The issue is no longer reproducible on Firefox 55.0a1 (2017-04-20).
Tests were performed using the STR from Comment 0 and from Comment 4, under Windows 10x64, Mac OS X 10.10.4 and under Ubuntu 16.04x64. 

I'm not removing the qe-verify + flag until I'll verify the issue also on Firefox Beta build.
Status: RESOLVED → VERIFIED
Flags: needinfo?(mihai.boldan)
Comment on attachment 8859312 [details]
Bug 1352814 - Force session history off for RDM container.

Fix a regression and was verified by QA. Beta54+. Should be in 54 beta 2.
Attachment #8859312 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
I’ve reproduced the issue described in comment 0 using Firefox 53.0 (Build Id:20170413192749) and verified that the issue is not reproducible anymore using Firefox 54.0b2 (BuildId:20170424145525)on Windows 10 64bit,macOS 10.11.6 and Ubuntu 14.04 64bit.
Flags: qe-verify+
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: