Closed Bug 1753380 Opened 3 years ago Closed 3 years ago

document.foo on an iframe name="foo" returns undefined in Gecko, the Window object on WebKit/Blink

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 834208
Webcompat Priority P3

People

(Reporter: karlcow, Unassigned)

References

Details

The test case:

data:text/html,<!doctype html><html><iframe name="foo"></iframe></html>

type document.foo in the console.

It returns

  • undefined in Gecko
  • Window object in Blink and WebKit

This needs a proper Web platform test
And this seems related to Bug 834208 (Duplicate?)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
See Also: 834208
Summary: document.foo on an iframe name="foo" returns underfined in Gecko, the Window object on WebKit/Blink → document.foo on an iframe name="foo" returns undefined in Gecko, the Window object on WebKit/Blink
You need to log in before you can comment on or make changes to this bug.