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

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

Issue 2506393004: binding: Makes non-cross-origin-accessible attrs be accessor props. (Closed)
Patch Set: Synced. Created 4 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
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',
8 'Function');
8 9
9 window.innerHeight = 42; 10 window.innerHeight = 42;
10 shouldBe('window.innerHeight', '42'); 11 shouldBe('window.innerHeight', '42');
11 12
12 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698