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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/replaceable.html

Issue 1380503002: binding: Makes Window/Location's attributes accessor-type properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated a test result. Created 4 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <script> 3 <script>
4 4
5 description('Tests that Replaceable attributes are writable'); 5 description('Tests that Replaceable attributes are writable');
6 6
7 shouldBeTrue('Object.getOwnPropertyDescriptor(window, "innerHeight").writable'); 7 shouldBeType('Object.getOwnPropertyDescriptor(window, "innerHeight").set', 'Func tion');
8 8
9 window.innerHeight = 42; 9 window.innerHeight = 42;
10 shouldBe('window.innerHeight', '42'); 10 shouldBe('window.innerHeight', '42');
11 11
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698