frameElement.sub.html
Details
- Test
/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html- Harness
- TIMEOUT
Subtests
| Status | Subtest |
|---|---|
| PASS | The window's frameElement attribute must return null if it is not a nested browsing context |
| FAIL | The window's frameElement attribute must return its container element if it is a nested browsing context Cannot read properties of undefined (reading 'frameElement') |
| FAIL | The SecurityError must be thrown if the window accesses to frameElement attribute of a Window which does not have the same effective script origin assert_throws_dom: The SecurityError exception should be thrown. function "function() {
frames["iframe_2"].frameElement;
}" did not throw |
| NOTRUN | The window's frameElement attribute must return null if the container's document does not have the same effective script origin |