Re: [difficulty:easy-tests][html-tests] Add a test for the {Window,Document}.location getters. (#1506)

For example, you could test:
```js
var doc = document.implementation.createHTMLDocument();
assert_equals(doc.location, null);
```
and
```js
var iframe = document.createElement("iframe");
document.body.appendChild(iframe);
var win = iframe.contentWindow;
assert_not_equals(win.location, null);
assert_equals(win.location, win.document.location);
// ... and test its members
document.body.removeChild(iframe);
assert_equals(win.location, null);
assert_equals(win.document.location, null);
```


View on GitHub: https://github.com/w3c/web-platform-tests/issues/1506#issuecomment-74584341

Received on Monday, 16 February 2015 22:46:36 UTC