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

Side by Side Diff: client/tests/client/dom/PerformanceApiTest.dart

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments Created 8 years, 9 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 | « client/tests/client/dom/NativeGCTest.dart ('k') | client/tests/client/dom/SVG1Test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('PerformanceApiTest'); 1 #library('PerformanceApiTest');
2 #import('../../../testing/unittest/unittest.dart'); 2 #import('../../../testing/unittest/unittest_dom.dart');
3 #import('dart:dom'); 3 #import('dart:dom');
4 4
5 main() { 5 main() {
6 forLayoutTests(); 6 forLayoutTests();
7 test('PerformanceApi', () { 7 test('PerformanceApi', () {
8 // Check that code below will not throw exceptions. 8 // Check that code below will not throw exceptions.
9 var requestStart = window.performance.timing.requestStart; 9 var requestStart = window.performance.timing.requestStart;
10 var responseStart = window.performance.timing.responseStart; 10 var responseStart = window.performance.timing.responseStart;
11 var responseEnd = window.performance.timing.responseEnd; 11 var responseEnd = window.performance.timing.responseEnd;
12 12
13 var loading = window.performance.timing.domLoading; 13 var loading = window.performance.timing.domLoading;
14 var loadedStart = window.performance.timing.domContentLoadedEventStart; 14 var loadedStart = window.performance.timing.domContentLoadedEventStart;
15 var loadedEnd = window.performance.timing.domContentLoadedEventEnd; 15 var loadedEnd = window.performance.timing.domContentLoadedEventEnd;
16 var complete = window.performance.timing.domComplete; 16 var complete = window.performance.timing.domComplete;
17 17
18 var loadEventStart = window.performance.timing.loadEventStart; 18 var loadEventStart = window.performance.timing.loadEventStart;
19 }); 19 });
20 } 20 }
OLDNEW
« no previous file with comments | « client/tests/client/dom/NativeGCTest.dart ('k') | client/tests/client/dom/SVG1Test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698