Closed
Bug 1211269
Opened 9 years ago
Closed 9 years ago
Previously redirected page incorrectly displayed after reload
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
VERIFIED
FIXED
mozilla44
People
(Reporter: hooloovoo79, Assigned: dragana)
References
Details
(Keywords: regression)
Attachments
(2 files, 4 obsolete files)
28.29 KB,
patch
|
dragana
:
review+
lizzard
:
approval-mozilla-beta+
Sylvestre
:
approval-mozilla-esr38-
|
Details | Diff | Splinter Review |
28.34 KB,
patch
|
dragana
:
review+
ritu
:
approval-mozilla-esr38+
|
Details | Diff | Splinter Review |
STR 1. Load any page with a redirect like http://is.gd/MTmj1o (just takes you to Mozillazine) 2. Wait for page to finish loading and then reload (F5) the page. The URL bar now has the original redirect (http://is.gd/MTmj1o) in it and the page loads improperly. Someone else has narrowed the regress range to: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c55a9670de0f69b5b964bba11e8fd0850ac017d9&tochange=b50322abc2863332513aa05e5e53ab3d8278672d which suggests Bug 1185256 may be the cause.
Comment 1•9 years ago
|
||
Confirmed - Setting to NEW
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Updated•9 years ago
|
Keywords: regression,
regressionwindow-wanted
Updated•9 years ago
|
Flags: needinfo?(dd.mozilla)
Flags: needinfo?(bzbarsky)
Updated•9 years ago
|
status-firefox44:
--- → affected
tracking-firefox44:
--- → ?
Component: Layout → Document Navigation
Version: Trunk → 44 Branch
Comment 2•9 years ago
|
||
Via local build Last Good: c55a9670de0f First Bad: c634c30551b0 Regressed by: c634c30551b0 Dragana Damjanovic — Bug 1185256 - Save originURI to the history. r=b
Comment 3•9 years ago
|
||
Hmm. I assumed that this got checked in bug 1185256... What we probably need to do is not only save the originalURI but also whether the channel has the LOAD_REPLACE flag, and restore it as needed if we're restoring the originalURI.
Blocks: CVE-2015-7207
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 4•9 years ago
|
||
Flags: needinfo?(dd.mozilla)
Attachment #8669734 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 5•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a6dd7244451f
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
Comment 6•9 years ago
|
||
Comment on attachment 8669734 [details] [diff] [review] bug_1211269.patch >+ loadReplace = !!(loadFlags & nsIChannel::LOAD_REPLACE); Shouldn't need the !! here. >+ * @param aLoadReplace - If set LOAD_REPLACE flag will be set on the >+ * channel. Only if aOriginalURI is non-null, right? Otherwise this argument is ignored. >+++ b/docshell/shistory/nsISHEntry.idl Please add a blank line between the new attribute and the following comment. This could really use a test....
Attachment #8669734 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8669734 -
Attachment is obsolete: true
Attachment #8669868 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ec8a30fd8ebb
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Updated•9 years ago
|
Keywords: regressionwindow-wanted
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8669868 [details] [diff] [review] bug_1211269.patch Approval Request Comment [Feature/regressing bug #]:1185256 [User impact if declined]:This is regression from a sec-high bug. If a redirected page is reloaded it will be incorrectly displayed. [Describe test coverage new/current, TreeHerder]:there is a simple test described in comment #0. [Risks and why]: Low [String/UUID change made/needed]: 3 uuids docshell/base/nsIDocShell.idl docshell/base/nsIDocShellLoadInfo.idl docshell/shistory/nsISHEntry.idl [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: User impact if declined: Fix Landed on Version: Risk to taking this patch (and alternatives if risky): String or UUID changes made by this patch: See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8669868 -
Flags: approval-mozilla-esr38?
Attachment #8669868 -
Flags: approval-mozilla-beta?
Updated•9 years ago
|
status-firefox43:
--- → affected
Comment 11•9 years ago
|
||
Comment on attachment 8669868 [details] [diff] [review] bug_1211269.patch Approved for uplift to beta, includes a test, needed to go with bug 1185256.
Attachment #8669868 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 12•9 years ago
|
||
Comment on attachment 8669868 [details] [diff] [review] bug_1211269.patch Same rational as in bug 1185256
Attachment #8669868 -
Flags: approval-mozilla-esr38? → approval-mozilla-esr38-
Comment 13•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/23d25d9a94d7
Updated•9 years ago
|
Flags: qe-verify+
Comment 14•9 years ago
|
||
I was able to reproduce this issue with Firefox 44.0a1 (2015-10-03) and on Windows 7 x64. Verified fixed with latest 43.0b3 (20151112144305), across platforms [1]. [1] Windows 7 x64, Ubuntu 14.04 x 64 and Mac OS X 10.11.
Even though this is fixed I am tracking it for 44 as it's a pretty basic scenario.
Assignee | ||
Comment 16•8 years ago
|
||
[Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is a regrestin of bug 1185256 and needs to be uplifted too User impact if declined: Fix Landed on Version:44 Risk to taking this patch (and alternatives if risky): low String or UUID changes made by this patch: yes (the same once as bug 1185256) See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8723474 -
Flags: approval-mozilla-esr38?
status-firefox-esr38:
--- → affected
tracking-firefox-esr38:
--- → 45+
Comment on attachment 8723474 [details] [diff] [review] bug_1211269_esr38.patch Need to uplift this regression fix to esr38.7 in order to uplift fix for bug 1185256 (sec-high issue)
Attachment #8723474 -
Flags: approval-mozilla-esr38? → approval-mozilla-esr38+
Assignee | ||
Comment 18•8 years ago
|
||
Attachment #8723474 -
Attachment is obsolete: true
Attachment #8724427 -
Flags: review?(bzbarsky)
Comment 19•8 years ago
|
||
Comment on attachment 8724427 [details] [diff] [review] bug_1211269_esr38.patch >+ // If aLoadReplace is true, OLOAD_REPLACE flag will be set to the nsIChannel. Typo: extra leading "O" in the flag name. I guess the trunk patch had the same problem.... r=me
Attachment #8724427 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 20•8 years ago
|
||
only difference:
477c477
< + // If aLoadReplace is true, LOAD_REPLACE flag will be set to the nsIChannel.
---
> + // If aLoadReplace is true, OLOAD_REPLACE flag will be set to the nsIChannel.
Attachment #8724427 -
Attachment is obsolete: true
Attachment #8725820 -
Flags: review+
Assignee | ||
Comment 21•8 years ago
|
||
Comment on attachment 8725820 [details] [diff] [review] bug_1211269_esr38.patch Needed for 1246956. [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: User impact if declined: Fix Landed on Version: Risk to taking this patch (and alternatives if risky): String or UUID changes made by this patch: See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8725820 -
Flags: approval-mozilla-esr38?
Assignee | ||
Comment 22•8 years ago
|
||
Just rebased. [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: User impact if declined: Fix Landed on Version: Risk to taking this patch (and alternatives if risky): String or UUID changes made by this patch: See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8725820 -
Attachment is obsolete: true
Attachment #8725820 -
Flags: approval-mozilla-esr38?
Attachment #8725856 -
Flags: review+
Attachment #8725856 -
Flags: approval-mozilla-esr38?
Comment on attachment 8725856 [details] [diff] [review] bug_1211269_esr38.patch This is also needed in esr38.7
Attachment #8725856 -
Flags: approval-mozilla-esr38? → approval-mozilla-esr38+
You need to log in
before you can comment on or make changes to this bug.
Description
•