OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>Properties of the window object</title> | 3 <title>Properties of the window object</title> |
4 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> | 4 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> |
5 <link rel="help" href="http://ecma-international.org/ecma-262/5.1/#sec-15.1"> | 5 <link rel="help" href="http://ecma-international.org/ecma-262/5.1/#sec-15.1"> |
6 <link rel="help" href="https://heycam.github.io/webidl/#interface-prototype-obje
ct"> | 6 <link rel="help" href="https://heycam.github.io/webidl/#interface-prototype-obje
ct"> |
7 <link rel="help" href="https://heycam.github.io/webidl/#es-attributes"> | 7 <link rel="help" href="https://heycam.github.io/webidl/#es-attributes"> |
8 <link rel="help" href="https://heycam.github.io/webidl/#es-operations"> | 8 <link rel="help" href="https://heycam.github.io/webidl/#es-operations"> |
9 <link rel="help" href="https://dom.spec.whatwg.org/#eventtarget"> | 9 <link rel="help" href="https://dom.spec.whatwg.org/#eventtarget"> |
10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#window"> | 10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#window"> |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 }, "Window replaceable attribute: " + id); | 313 }, "Window replaceable attribute: " + id); |
314 }); | 314 }); |
315 }, "Window interface"); | 315 }, "Window interface"); |
316 test(function() { | 316 test(function() { |
317 assert_equals(window.constructor, Window); | 317 assert_equals(window.constructor, Window); |
318 assert_false(window.hasOwnProperty("constructor"), "window.constructor should
not be an own property."); | 318 assert_false(window.hasOwnProperty("constructor"), "window.constructor should
not be an own property."); |
319 assert_data_propdesc(Object.getOwnPropertyDescriptor(Window.prototype, "constr
uctor"), | 319 assert_data_propdesc(Object.getOwnPropertyDescriptor(Window.prototype, "constr
uctor"), |
320 true, false, true); | 320 true, false, true); |
321 }, "constructor"); | 321 }, "constructor"); |
322 </script> | 322 </script> |
OLD | NEW |