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

Side by Side Diff: LayoutTests/fast/js/unscopeable.html

Issue 1085453003: IDL: Add support for [Unscopeable] on attributes and methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixes Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/js/unscopeable-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 html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description('Test [Unscopeable] attributes and methods.');
9
10 shouldBeTrue('"unscopeableAttribute" in internals');
11 shouldBeTrue('"unscopeableMethod" in internals');
12
13 shouldBe('internals.unscopeableAttribute', '"unscopeableAttribute"');
14 shouldBe('internals.unscopeableMethod()', '"unscopeableMethod"');
15
16 var unscopeableAttribute = 'variable';
17 var unscopeableMethod = 'variable';
18
19 with (internals) {
20 shouldBe('unscopeableAttribute', '"variable"');
21 shouldBe('unscopeableMethod', '"variable"');
22 }
23
24 </script>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/js/unscopeable-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698