Closed
Bug 856816
Opened 12 years ago
Closed 3 years ago
<object> seems to wait around before resolving URL
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ian, Assigned: johns)
References
Details
Attachments
(1 file)
3.87 KB,
text/plain
|
Details |
TESTCASE: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1877
Change the timeout from 0ms to a higher number, and observe that there's a cut-off beyond which the base URL change no longer takes effect, which is significantly higher than 0ms.
From: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17005
Comment 1•12 years ago
|
||
Is this significantly worse or different on OS X? Or should it be marked Platform : All?
Assignee | ||
Comment 2•12 years ago
|
||
Bug 767631 is the culprit here -- we don't re-trigger the load of the object when many things change (including base URI) even though we should.
The reason the new base URL seems to take effect below a certain timeout is because we "notice" the baseURI changed when the initial channel OnStartRequest arrives (We call OnStartRequest->LoadObject->UpdateObjectParameters [1]). After that event has happened, nothing else properly re-calls nsObjectLoadingContent::LoadObject() :(
[1] http://dxr.mozilla.org/mozilla-central/content/base/src/nsObjectLoadingContent.cpp#l1637
Assignee | ||
Comment 3•12 years ago
|
||
FWIW running with NSPR_LOG_MODULES="objlc:5" makes it easier to trace <object> tag's crazy decision making. Annotated log attached.
Reporter | ||
Comment 4•12 years ago
|
||
Note that per the spec, you shouldn't react to the base URI changing at all.
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Hixie (not reading bugmail) from comment #4)
> Note that per the spec, you shouldn't react to the base URI changing at all.
You're right. In that case, we need to just not check plugin parameters from non-explicit LoadObject() calls, such as from OnStartRequest.
Status: NEW → ASSIGNED
No longer depends on: 767631
Comment 6•3 years ago
|
||
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•