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

Unified Diff: LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt

Issue 158713002: Move popular DOM attributes to prototype chains (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt
diff --git a/LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt b/LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44f00917b844b7cb05ce33af3cd29d02de1e64ab
--- /dev/null
+++ b/LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt
@@ -0,0 +1,15 @@
+PASS div.hasOwnProperty("id") is false
+PASS div.__proto__.__proto__.__proto__.hasOwnProperty("id") is true
+PASS desc.get instanceof Function is true
+PASS desc.set instanceof Function is true
+PASS desc.enumerable is true
+PASS desc.configurable is true
+PASS xhr = new XMLHttpRequest(); xhr.__proto__ = HTMLDivElement.prototype; xhr.id threw exception TypeError: Illegal invocation.
+PASS obj = Object.create(div); obj.id threw exception TypeError: Illegal invocation.
+PASS desc.get.call({}) threw exception TypeError: Illegal invocation.
+PASS desc.set.call(a, "abc") is undefined.
+PASS desc.get.call(a) is "abc"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698