Open Bug 666897 Opened 13 years ago Updated 2 years ago

Objects that end up with a subdocument loaded in them should set load type to underlying docshell

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: igor.bazarny, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 GTB7.1
Build Identifier: 

See https://bugzilla.mozilla.org/show_bug.cgi?id=570341#c94

nsDocShell implementation assumes load type is always set which is not the case for instances created as part of <object> with xml content (e.g. MathML). To avoid test failures window.performance implementation includes workaround with check whether load type has been initialized. It would be better if load type was set correctly for <object> element. 

Reproducible: Always
Depends on: 570341
Status: UNCONFIRMED → NEW
Ever confirmed: true
So the real issue here is that the load did not come through the docshell and hence docshell knows nothing about the load type.

What would you set mLoadType to, exactly, for <object> loads?
Summary: Objects with xml content should set load type to underlying docshell → Objects that end up with a subdocument loaded in them should set load type to underlying docshell
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.