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

Unified Diff: LayoutTests/fast/dom/custom/registration-context-sharing.html

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createDocument() args Created 7 years, 4 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: LayoutTests/fast/dom/custom/registration-context-sharing.html
diff --git a/LayoutTests/fast/dom/custom/registration-context-sharing.html b/LayoutTests/fast/dom/custom/registration-context-sharing.html
index d8ec2a6dea254ed160c04b97b6fadeba2ab51030..e843176c15da1a27b3b1989a8759e03fc7b9820c 100644
--- a/LayoutTests/fast/dom/custom/registration-context-sharing.html
+++ b/LayoutTests/fast/dom/custom/registration-context-sharing.html
@@ -98,7 +98,7 @@ withFrame(t.step_func(function (frame) {
withFrame(t.step_func(function (frame) {
var documentA = frame.contentDocument;
var documentB = documentA.implementation.createDocument(
- 'http://www.w3.org/1999/xhtml');
+ 'http://www.w3.org/1999/xhtml', 'html');
var tester = new TestRegistrationContextSharing(
frame.contentWindow, documentA, documentB);
tester.testRegistrationContextIsShared();
@@ -112,16 +112,16 @@ withFrame(t.step_func(function (frame) {
var documentA = frame.contentDocument;
// This document is not HTML, XHTML; it will not process custom elements.
- var documentB = documentA.implementation.createDocument();
+ var documentB = documentA.implementation.createDocument(null, '');
// This document *will* process custom elements, in a new context.
var documentC = documentB.implementation.createHTMLDocument();
var documentD = documentC.implementation.createDocument(
- 'http://www.w3.org/1999/xhtml');
+ 'http://www.w3.org/1999/xhtml', 'html');
var documentE = documentD.implementation.createDocument(
- 'http://www.w3.org/1999/xhtml');
+ 'http://www.w3.org/1999/xhtml', 'html');
var tester = new TestRegistrationContextSharing(
frame.contentWindow, documentC, documentE);
« no previous file with comments | « LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html ('k') | LayoutTests/fast/dom/implementation-api-args.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698