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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled.html

Issue 2396883005: DevTools: add test for for page reload with screenshots not stopping recording (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled.html
new file mode 100644
index 0000000000000000000000000000000000000000..f13eb23423ef30c8f464156eebd8998d8f18c2fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled.html
@@ -0,0 +1,34 @@
+<html>
+<head>
+<script src="../inspector-test.js"></script>
+<script src="../network-test.js"></script>
+<script>
+
+function test()
+{
+ WebInspector.panels.network._networkRecordFilmStripSetting.set(true);
+
+ WebInspector.NetworkPanel._displayScreenshotDelay = 0;
+
+ InspectorTest.resourceTreeModel.reloadPage();
+ InspectorTest.runWhenPageLoads(() => setTimeout(checkRecording, 50));
+
+ function checkRecording()
+ {
+ InspectorTest.addResult(WebInspector.panels.network._networkLogView._recording ? "Still recording" : "Not recording");
+
+ InspectorTest.completeTest();
+ }
+
+}
+
+</script>
+</head>
+<body onload="runTest()">
+ <p id="test"></p>
+ <p>
+ Tests if page keeps recording after refresh with Screenshot enabled.
+<a>Bug 569557</a>
+</p>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/network-recording-after-reload-with-screenshots-enabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698