Closed
Bug 774100
Opened 13 years ago
Closed 12 years ago
reload causes onlocationchange to stop triggering
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: daleharvey, Assigned: daleharvey)
References
Details
The situation is 2 seperate mozbrowser iframes with the same parent, one iframe calls location.reload() and the other subsequently tests for security / location changes.
http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp#1873
prior to a reload, isSubShell is always true (its false by default then set to true subsequently), even after the reload there is a few calls to nsDocShell:CloneAndReplace which explicity set this to true, but it comes out false from that point on will fail to trigger onLocationChanges's, which securityChange depends on to reset various things.
Will add a test shortly
Assignee | ||
Comment 1•13 years ago
|
||
And just a clarrification, this only happens when the iframes are run inside the same process, it doesnt happen with oop frames.
Updated•13 years ago
|
Component: DOM → Document Navigation
Updated•13 years ago
|
Summary: reload causes onlocation to stop triggering → reload causes onlocationchange to stop triggering
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dale
Assignee | ||
Comment 2•12 years ago
|
||
I cant reproduce this anymore
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
![]() |
||
Comment 3•12 years ago
|
||
If this was addresses, should we enable the disabled test?
http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/mochitest/Makefile.in#164
Comment 4•12 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #3)
> If this was addresses, should we enable the disabled test?
>
> http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/mochitest/
> Makefile.in#164
If that test works, yes please!
You need to log in
before you can comment on or make changes to this bug.
Description
•