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

Unified Diff: LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html
diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html
index 7392a4b113db17dbcb12ff9ad86b21baf31e6079..f89ce7b763f4117bb28908b122c49c0113e0df54 100644
--- a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html
+++ b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_full_when_populate_entries.html
@@ -1,35 +1,35 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <meta charset="utf-8" />
- <title>onresourcetimingbufferfull callback of resource timing</title>
- <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script>
- <script>
- var context = new PerformanceContext(performance);
- var count = 0;
- function buffer_full_call_back()
- {
- count++;
- }
- context.registerResourceTimingBufferFullCallback(buffer_full_call_back);
- context.setResourceTimingBufferSize(2);
- </script>
- <link rel="author" title="Intel" href="http://www.intel.com/" />
- <link rel="help" href="http://www.w3.org/TR/resource-timing/#performanceresourcetiming"/>
- <script src="/w3c/resources/testharness.js"></script>
- <script src="/w3c/resources/testharnessreport.js"></script>
- <script src="/w3c/webperf/resources/webperftestharness.js"></script>
- <script>
- setup({ explicit_done: true });
- function onload_test()
- {
- test_equals(count, 1, "onresourcetimingbufferfull should have been invoked once buffer is full!");
- done();
- }
- </script>
- </head>
- <body onload=onload_test()>
- <h1>Description</h1>
- <p>This test validates the functionality of onresourcetimingbufferfull in resource timing.</p>
- </body>
-</html>
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <title>onresourcetimingbufferfull callback of resource timing</title>
+ <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script>
+ <script>
+ var context = new PerformanceContext(performance);
+ var count = 0;
+ function buffer_full_call_back()
+ {
+ count++;
+ }
+ context.registerResourceTimingBufferFullCallback(buffer_full_call_back);
+ context.setResourceTimingBufferSize(2);
+ </script>
+ <link rel="author" title="Intel" href="http://www.intel.com/" />
+ <link rel="help" href="http://www.w3.org/TR/resource-timing/#performanceresourcetiming"/>
+ <script src="/w3c/resources/testharness.js"></script>
+ <script src="/w3c/resources/testharnessreport.js"></script>
+ <script src="/w3c/webperf/resources/webperftestharness.js"></script>
+ <script>
+ setup({ explicit_done: true });
+ function onload_test()
+ {
+ test_equals(count, 1, "onresourcetimingbufferfull should have been invoked once buffer is full!");
+ done();
+ }
+ </script>
+ </head>
+ <body onload=onload_test()>
+ <h1>Description</h1>
+ <p>This test validates the functionality of onresourcetimingbufferfull in resource timing.</p>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698