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

Unified Diff: third_party/WebKit/LayoutTests/custom-elements/spec/construct-expected.txt

Issue 2320553002: Custom Elements: HTMLElement constructor tests (Closed)
Patch Set: patch update Created 4 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
Index: third_party/WebKit/LayoutTests/custom-elements/spec/construct-expected.txt
diff --git a/third_party/WebKit/LayoutTests/custom-elements/spec/construct-expected.txt b/third_party/WebKit/LayoutTests/custom-elements/spec/construct-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77d2c63cdbdfd1670f73c65cf97a644c044c7182
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/custom-elements/spec/construct-expected.txt
@@ -0,0 +1,20 @@
+This is a testharness.js-based test.
+PASS HTMLElement constructor, invoke
+PASS HTMLElement constructor, construct
+PASS Custom element constructor, invoke
+PASS Custom element constructor, construct
+PASS Custom element constructor, construct invalid new.target
+PASS Custom element constructor, NewTarget is equal to active function object
+PASS Custom element constructor, active function object is not equal to HTMLElement
+FAIL Already constructed marker, construct with new assert_throws: Constructing an element that is already constructed marker should throw InvalidStateError function "() => {
+ try {
+ func.call(this);
+ } catch(e) {
+ exception = e;
+ throw e;
+ }
+ }" did not throw
+PASS Already constructed marker, create element
+PASS Already constructed marker, upgrade element
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698