Closed Bug 837074 Opened 11 years ago Closed 10 years ago

Don't have separate synthetic and automatically loaded about:blank documents

Categories

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

18 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 543435

People

(Reporter: fischer.th, Unassigned)

Details

(Whiteboard: DUPEME)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130116073211

Steps to reproduce:

document.body.appendChild(
  document.createElement("iframe")
);
win = frames[frames.length - 1];
docA = win.document;
setTimeout(function(){
  docB = win.document;
  console.log("still same doc:", docA === docB);
}, 1000);




Actual results:

Console output:

  still same doc: false


Expected results:

like in Chrome, Opera, Safari,  IE the console output should be:

  still same doc: true
docA is the synthetic about:blank; docB is the about:blank that the iframe actually loads.

There's an existing bug about not having a docB in this case.
Summary: frame document instance exchanged asynchronously → Don't have separate synthetic and automatically loaded about:blank documents
Whiteboard: DUPEME
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.