Closed Bug 540784 Opened 14 years ago Closed 14 years ago

dynamically added nested objects always load content rather than failing over

Categories

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

x86
All
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: will, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

When adding a nested objects, the content documents always load regardless of if the containing object failed to load or not.

Reproducible: Always

Steps to Reproduce:
1. Create an <object/> using the DOM
2. Insert it below an existing <object/>
3. Note that the content is retrieved from the network
Actual Results:  
The object appeared in the DOM tree with the loaded content document below it.

Expected Results:  
The inner object should only load its contents if the containing object fails to load, i.e. the behavior should match the behavior if the tags had been created statically rather than dynamically.
I believe the behavior is consistent; the data is fetched in both cases....
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.