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

Side by Side Diff: tests/html/js_test.dart

Issue 53873003: Fix js_test on IE9 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library jsTest; 5 library jsTest;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'dart:typed_data' show ByteBuffer, Int32List; 9 import 'dart:typed_data' show ByteBuffer, Int32List;
10 import 'dart:indexed_db' show IdbFactory, KeyRange; 10 import 'dart:indexed_db' show IdbFactory, KeyRange;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 return result['value']; 147 return result['value'];
148 } 148 }
149 149
150 function addTestProperty(o) { 150 function addTestProperty(o) {
151 o.testProperty = "test"; 151 o.testProperty = "test";
152 } 152 }
153 153
154 function fireClickEvent(w) { 154 function fireClickEvent(w) {
155 var event = w.document.createEvent('Events'); 155 var event = w.document.createEvent('Events');
156 event.initEvent('click', true, false); 156 event.initEvent('click', true, false);
157 w.document.body.dispatchEvent(event); 157 w.document.dispatchEvent(event);
158 } 158 }
159 159
160 function Bar() { 160 function Bar() {
161 return "ret_value"; 161 return "ret_value";
162 } 162 }
163 Bar.foo = "property_value"; 163 Bar.foo = "property_value";
164 164
165 function Baz(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11) { 165 function Baz(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11) {
166 this.f1 = p1; 166 this.f1 = p1;
167 this.f2 = p2; 167 this.f2 = p2;
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 // is lost when typed arrays are passed between JS and Dart. 989 // is lost when typed arrays are passed between JS and Dart.
990 // expect(context.callMethod('isPropertyInstanceOf', ['o', listType]), 990 // expect(context.callMethod('isPropertyInstanceOf', ['o', listType]),
991 // isTrue); 991 // isTrue);
992 context.deleteProperty('o'); 992 context.deleteProperty('o');
993 } 993 }
994 }); 994 });
995 995
996 }); 996 });
997 }); 997 });
998 } 998 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698