Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/browsers/the-window-object/window-properties.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698