12:26 | <Maxim Vaarwel> | Can you please tell me how I can test this step from the specification of the create and initialize a Document object algorithm?
|
14:26 | <zcorpan> | Maxim Vaarwel: I think with https://software.hixie.ch/utilities/js/live-dom-viewer/saved/13378 |
14:28 | <zcorpan> | Chrome, Firefox: true Safari: undefined |
14:29 | <zcorpan> | https://html.spec.whatwg.org/#evaluate-a-javascript:-url |
14:48 | <Maxim Vaarwel> | Interesting. Are there any other examples besides executing javascript in the URL? |
15:00 | <zcorpan> | I think javascript: url is the only case where the document is swapped. But you could detect it in other ways, e.g. OAC |
15:06 | <Maxim Vaarwel> | I tried iframes, storing different properties in the window object. But I could not find a single case where the window object matches when loading a new document, as in your case. What does OAC mean? |