From d1382e4d419188b11ec4c9f7eca0b8e1ad20118b Mon Sep 17 00:00:00 2001 From: Elliott Sprehn Date: Mon, 3 Nov 2014 23:18:39 -0800 Subject: [PATCH] Remove DOMImplementation. Expose a Document constructor instead. This also exposes that the TemplateBinding library might need more control over the registration context for custom elements. For now we make all documents share the same registration context. R=ojan@chromium.org, abarth@chromium.org Review URL: https://codereview.chromium.org/697363002 --- .../flutter/tests/lowlevel/create-document-expected.txt | 5 +++++ ...ementation-create-document.sky => create-document.sky} | 8 ++++---- engine/src/flutter/tests/lowlevel/createElement.sky | 2 +- .../dom-implementation-create-document-expected.txt | 5 ----- .../flutter/tests/mutation-observer/cross-document.sky | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 engine/src/flutter/tests/lowlevel/create-document-expected.txt rename engine/src/flutter/tests/lowlevel/{dom-implementation-create-document.sky => create-document.sky} (53%) delete mode 100644 engine/src/flutter/tests/lowlevel/dom-implementation-create-document-expected.txt diff --git a/engine/src/flutter/tests/lowlevel/create-document-expected.txt b/engine/src/flutter/tests/lowlevel/create-document-expected.txt new file mode 100644 index 0000000000..74fc7f133a --- /dev/null +++ b/engine/src/flutter/tests/lowlevel/create-document-expected.txt @@ -0,0 +1,5 @@ +Running 1 tests +ok 1 Document should have a constructor +1 tests +1 pass +0 fail diff --git a/engine/src/flutter/tests/lowlevel/dom-implementation-create-document.sky b/engine/src/flutter/tests/lowlevel/create-document.sky similarity index 53% rename from engine/src/flutter/tests/lowlevel/dom-implementation-create-document.sky rename to engine/src/flutter/tests/lowlevel/create-document.sky index 62e65b382b..cb4f7c3f0d 100644 --- a/engine/src/flutter/tests/lowlevel/dom-implementation-create-document.sky +++ b/engine/src/flutter/tests/lowlevel/create-document.sky @@ -2,10 +2,10 @@