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

Side by Side Diff: LayoutTests/fast/dom/dom-attribute-on-prototype-chain.html

Issue 106903003: Revert 163043 "Move popular DOM attributes to prorotype chains" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1728/
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var div = document.createElement("div");
9 shouldBeFalse('div.hasOwnProperty("id")');
10 shouldBeTrue('div.__proto__.__proto__.__proto__.hasOwnProperty("id")');
11 shouldThrow('xhr = new XMLHttpRequest(); xhr.__proto__ = HTMLDivElement.prototyp e; xhr.id');
12 shouldThrow('obj = Object.create(div); obj.id');
13 </script>
14 </body>
15 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/dom-attribute-on-prototype-chain-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698