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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 PASS div.hasOwnProperty("id") is false
2 PASS div.__proto__.__proto__.__proto__.hasOwnProperty("id") is true
3 PASS desc.get instanceof Function is true
4 PASS desc.set instanceof Function is true
5 PASS desc.enumerable is true
6 PASS desc.configurable is true
7 PASS xhr = new XMLHttpRequest(); xhr.__proto__ = HTMLDivElement.prototype; xhr.i d threw exception TypeError: Illegal invocation.
8 PASS obj = Object.create(div); obj.id threw exception TypeError: Illegal invocat ion.
9 PASS desc.get.call({}) threw exception TypeError: Illegal invocation.
10 PASS desc.set.call(a, "abc") is undefined.
11 PASS desc.get.call(a) is "abc"
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698