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

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

Issue 2341673004: [Binding] Replace 'Unscopeable' with 'Unscopable' (Closed)
Patch Set: . Created 4 years, 3 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 <!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

Powered by Google App Engine
This is Rietveld 408576698