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

Side by Side Diff: LayoutTests/dart/dom/Typing.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/dart/dom/TypedArrays1-expected.txt ('k') | LayoutTests/dart/dom/Typing.html » ('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 #import('../../../../../dart/client/testing/unittest/unittest.dart');
2 #import('dart:dom');
3
4 main() {
5 forLayoutTests();
6 test('NodeList', () {
7 List<Node> asList = window.document.getElementsByTagName('body');
8 // Check it's Iterable
9 int counter = 0;
10 for (Node node in window.document.getElementsByTagName('body')) {
11 counter++;
12 }
13 Expect.equals(1, counter);
14 counter = 0;
15 window.document.getElementsByTagName('body').forEach((e) { counter++; });
16 Expect.equals(1, counter);
17 });
18 test('StyleSheetList', () {
19 List<StyleSheet> asList = window.document.styleSheets;
20 // Check it's Iterable.
21 int counter = 0;
22 for (StyleSheet styleSheet in window.document.styleSheets) {
23 counter++;
24 }
25 Expect.equals(0, counter);
26 });
27 }
OLDNEW
« no previous file with comments | « LayoutTests/dart/dom/TypedArrays1-expected.txt ('k') | LayoutTests/dart/dom/Typing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698