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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/custom-elements/registering-custom-elements/element-registration-algorithm-no-registry.html

Issue 1962003002: Import web-platform-tests@41d6911b288a9624c249a406b9bf51607a2dd04d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip submit-entity-body.html 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/custom-elements/registering-custom-elements/element-registration-algorithm-no-registry.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/custom-elements/registering-custom-elements/element-registration-algorithm-no-registry.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/custom-elements/registering-custom-elements/element-registration-algorithm-no-registry.html
deleted file mode 100644
index 22964d24cd65af82617daa24219cf94a8c43335f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/custom-elements/registering-custom-elements/element-registration-algorithm-no-registry.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>If document has no registry NotSupportedError is thrown</title>
-<meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
-<meta name="assert" content="If REGISTRY does not exist, set ERROR to NoRegistry and stop.">
-<link rel="help" href="http://www.w3.org/TR/custom-elements/#dfn-element-registration-algorithm">
-<script src="../../../../resources/testharness.js"></script>
-<script src="../../../../resources/testharnessreport.js"></script>
-<script src="../testcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-test(function() {
- var doc = document.implementation.createDocument(null, 'test', null);
- assert_throws('NotSupportedError', function(){
- doc.registerElement('x-a');
- }, 'Registering valid custom element in document ' +
- 'without registry should throw NotSupportedError');
-
-}, 'Registering valid custom element without options in document ' +
- 'without registry should throw NotSupportedError');
-
-
-test(function() {
- var doc = document.implementation.createDocument(null, 'test', null);
- var proto = Object.create(HTMLElement.prototype);
-
- assert_throws('NotSupportedError', function(){
- doc.registerElement('x-b', { prototype: proto, extends: 'a'});
- }, 'Registering valid custom element in document ' +
- 'without registry should throw NotSupportedError');
-
-}, 'Registering valid custom element with options in document ' +
- 'without registry should throw NotSupportedError');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698