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

Unified Diff: LayoutTests/http/tests/custom-elements/no-registry-test.html

Issue 581543002: Skip imported/web-platform-tests/custom-elements/.../no-registry-test.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 3 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
« no previous file with comments | « LayoutTests/W3CImportExpectations ('k') | LayoutTests/http/tests/custom-elements/resources/blank.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/custom-elements/no-registry-test.html
diff --git a/LayoutTests/imported/web-platform-tests/custom-elements/creating-and-passing-registries/no-registry-test.html b/LayoutTests/http/tests/custom-elements/no-registry-test.html
similarity index 58%
copy from LayoutTests/imported/web-platform-tests/custom-elements/creating-and-passing-registries/no-registry-test.html
copy to LayoutTests/http/tests/custom-elements/no-registry-test.html
index 3cd931af183e8fca00d7d61079e385b67b73f61d..4f1ca3080d9f75e74c3bd8a1c9aac89fa9d2de42 100644
--- a/LayoutTests/imported/web-platform-tests/custom-elements/creating-and-passing-registries/no-registry-test.html
+++ b/LayoutTests/http/tests/custom-elements/no-registry-test.html
@@ -1,18 +1,6 @@
<!DOCTYPE html>
-<html>
-<head>
-<title>New document without browsing context must not have a registry</title>
-<meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
-<meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
-<meta name="assert" content="In all other cases, new documents must not have a registry.">
-<link rel="help" href="http://www.w3.org/TR/custom-elements/#creating-and-passing-registries">
-<script src="../../../../resources/testharness.js"></script>
-<script src="../../../../resources/testharnessreport.js"></script>
-<script src="../testcommon.js"></script>
-<link rel="stylesheet" href="../../../../resources/testharness.css">
-</head>
-<body>
-<div id="log"></div>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
<script>
test(function() {
var doc = document.implementation.createDocument(null, 'test', null);
@@ -26,8 +14,8 @@ test(function() {
async_test(function(t) {
var request = new XMLHttpRequest();
request.onreadystatechange = t.step_func(function() {
- if (request.readyState == 4){
- assert_equals(200, request.status, 'Test document is not loaded correctly');
+ if (request.readyState == 4) {
+ assert_equals(request.status, 200, 'Test document is not loaded correctly');
var doc = request.response;
assert_true(doc instanceof HTMLDocument,
'XMLHttpRequest\'s asynchronous response should be HTML document');
@@ -40,7 +28,7 @@ async_test(function(t) {
}
});
- request.open('GET', '../resources/blank.html', true);
+ request.open('GET', 'resources/blank.html', true);
request.responseType = 'document';
request.send();
}, 'XMLHttpRequest\'s asynchronous response HTML document must not have a registry');
« no previous file with comments | « LayoutTests/W3CImportExpectations ('k') | LayoutTests/http/tests/custom-elements/resources/blank.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698