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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/window-null-names.html

Issue 1160513003: W3C Test: Import web-platform-tests/html/browsers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase, bug links Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset=utf-8>
3 <title>Named access with null characters</title>
4 <link rel="author" title="Ms2ger" href="ms2ger@gmail.com">
5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
6 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-window-namedi tem">
7 <link rel="help" href="https://heycam.github.io/webidl/#named-properties-object" >
8 <script src="../../../../../../resources/testharness.js"></script>
9 <script src="../../../../../../resources/testharnessreport.js"></script>
10 <div id=log></div>
11 <script>
12 test(function() {
13 var iframe = document.createElement("iframe")
14 iframe.name = "a\0b"
15 document.body.appendChild(iframe)
16 assert_equals(window["a\0b"], iframe.contentWindow)
17 assert_equals(window["ab"], undefined)
18 assert_equals(window["a"], undefined)
19 });
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698