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

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: add html comment 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..4634bebe9b6181448621c7dd26fedf0493f45f69
--- /dev/null
+++ b/chrome/test/data/page_load_metrics/page_with_css.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<title>Page with some CSS</title>
+<!--
+ Load a bunch of stylesheets to ensure that we spent more than 5us of time
+ parsing. Timestamps are clamped to 5us in the renderer to avoid timing
+ attacks.
+-->
+<link rel="stylesheet" href="/dromaeo/application.css">
Timothy Loh 2016/11/11 04:19:22 I'd expect that we only parse it once though...
Charlie Harrison 2016/11/11 16:27:10 It is odd. The reason is that application.css is u
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<link rel="stylesheet" href="/dromaeo/application.css">
+<p>Mark me up!</p>
« no previous file with comments | « chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc ('k') | third_party/WebKit/Source/core/css/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698