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

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

Issue 94403002: Move popular DOM attributes to prorotype chains (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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..b06cdd3c163acde08772ed0cdef73def41895f68
--- /dev/null
+++ b/LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt
@@ -0,0 +1,8 @@
+PASS div.hasOwnProperty("id") is false
+PASS div.__proto__.__proto__.__proto__.hasOwnProperty("id") 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 successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698