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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-overwrite-css-expected.txt

Issue 2702583003: DevTools: do not assign empty content to CSS UISourceCode in case of protocol error (Closed)
Patch Set: fix test Created 3 years, 10 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/persistence/persistence-do-not-overwrite-css-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-overwrite-css-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-overwrite-css-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..454d517b84025f2038bcb1805b3705d8c6cbaadc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-overwrite-css-expected.txt
@@ -0,0 +1,28 @@
+Verify that persistence does not overwrite CSS files when CSS model reports error on getStyleSheetText.
+
+
+Running: initializeTestFileSystem
+
+Running: waitForPersistenceBinding
+Initial content of file:///var/www/simple.css
+----
+
+body {
+ color: red;
+}
+
+----
+
+Running: breakCSSModelProtocol
+Protocol Error: FAKE PROTOCOL ERROR
+
+Running: onStylesSourcemappingSynced
+Updated content of file:///var/www/simple.css
+----
+
+body {
+ color: red;
+}
+
+----
+

Powered by Google App Engine
This is Rietveld 408576698