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

Side by Side Diff: LayoutTests/fast/dom/script-tests/collection-item-should-be-overridden-by-own-property.js

Issue 15690020: [binding] Check own property on named property accessor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 6 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
OLDNEW
(Empty)
1 description("This test ensures the collection item obtained by named property ge tter is overridden by object's own property.");
2
3 var form = document.all;
4 var select = document.querySelector('select');
5 var table = document.querySelector('table');
6 shouldBe("document.all.foo", "document.getElementById('element0')");
7 document.all.foo = 1;
8 shouldBe("document.all.foo", "1");
9
10 shouldBe("document.styleSheets.link1", "document.styleSheets[0]");
11 document.styleSheets.link1 = 1;
12 shouldBe("document.styleSheets.link1", "1");
13
14 shouldBe("document.body.attributes.style", "document.body.attributes['style']");
15 document.body.attributes.style = 1;
16 shouldBe("document.body.attributes.style", "1");
17
18
19 document.getElementById('testElements').style.display = 'none';
20
21 var successfullyParsed = true;
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698