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

Unified Diff: chrome/test/data/page_load_metrics/page_with_css.html

Issue 2468913002: Add CSSTiming to collect aggregate PLT-level stats about CSS. (Closed)
Patch Set: fix browser test Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/page_load_metrics/page_with_css.html
diff --git a/chrome/test/data/page_load_metrics/page_with_css.html b/chrome/test/data/page_load_metrics/page_with_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9d154f982820a520c9840a341fb7450298e63d4
--- /dev/null
+++ b/chrome/test/data/page_load_metrics/page_with_css.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>Page with some CSS</title>
+<!--
+ Load a bunch of stylesheets to ensure that we spent more than 1ms of time
+ parsing.
+-->
+<script>
+ for (var i = 0; i < 50; i++) {
+ document.write('<link rel="stylesheet" href="/page_load_metrics/simple.css?' + i + '">');
+ }
+</script>
+<p>Mark me up!</p>
« no previous file with comments | « chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc ('k') | chrome/test/data/page_load_metrics/simple.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698