5 document
.shadowedIframe
= 42;
6 Object
.setPrototypeOf(document
, Object
.create(HTMLDocument
.prototype,
8 shadowedIframe
: { value
: 42 },
10 defaultView
: { value
: 42 },
11 addEventListener
: { value
: 42 },
12 toString
: { value
: 42 },
14 document
.documentElement
.expando
= 42;
15 Object
.defineProperty(document
.documentElement
, "version", { value
: 42 });
17 <iframe name=
"shadowedIframe" id=
"shadowedIframe"></iframe>
18 <iframe name=
"iframe" id=
"iframe"></iframe>
19 <iframe name=
"document" id=
"document"></iframe>
20 <iframe name=
"self" id=
"self"></iframe>
21 <iframe name=
"addEventListener" id=
"addEventListener"></iframe>
22 <iframe name=
"toString" id=
"toString"></iframe>
23 <iframe name=
"item" id=
"item"></iframe>