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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/v0/creating-and-passing-registries/new-registry-test.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>When an HTML Document is loaded in a browsing context, a new registry mus t be created and associated with this document</title> 4 <title>When an HTML Document is loaded in a browsing context, a new registry mus t be created and associated with this document</title>
5 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru "> 5 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru ">
6 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> 6 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
7 <meta name="assert" content="When an HTML Document is loaded in a browsing conte xt, a new registry must be created and associated with this document."> 7 <meta name="assert" content="When an HTML Document is loaded in a browsing conte xt, a new registry must be created and associated with this document.">
8 <link rel="help" href="http://www.w3.org/TR/custom-elements/#creating-and-passin g-registries"> 8 <link rel="help" href="http://www.w3.org/TR/custom-elements/#creating-and-passin g-registries">
9 <script src="../../../../../resources/testharness.js"></script> 9 <script src="../../../../../resources/testharness.js"></script>
10 <script src="../../../../../resources/testharnessreport.js"></script> 10 <script src="../../../../../resources/testharnessreport.js"></script>
(...skipping 19 matching lines...) Expand all
30 loadedDocument.registerElement('x-element'); 30 loadedDocument.registerElement('x-element');
31 } catch (e) { 31 } catch (e) {
32 assert_unreached('Unexpected exception while registering a custom elemen t ' + 32 assert_unreached('Unexpected exception while registering a custom elemen t ' +
33 'in a document, which has it\'s own registry'); 33 'in a document, which has it\'s own registry');
34 } 34 }
35 }, 'Document, loaded into browsing context, must have a new empty registry, ' + 35 }, 'Document, loaded into browsing context, must have a new empty registry, ' +
36 'which is different from other documents\' registries'); 36 'which is different from other documents\' registries');
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698