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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/stateobjects/spam-pushstate-then-throttled-expected.txt

Issue 2972073002: Mitigate the pushState IPC storm DoS. (Closed)
Patch Set: Add a LayoutTest; give the bikeshed a bit o' wainscoting Created 3 years, 5 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/fast/loader/stateobjects/spam-pushstate-then-throttled-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/loader/stateobjects/spam-pushstate-then-throttled-expected.txt b/third_party/WebKit/LayoutTests/fast/loader/stateobjects/spam-pushstate-then-throttled-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cdc12f2bc2641cd6a2124c878bd2aa2e692a1f6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/loader/stateobjects/spam-pushstate-then-throttled-expected.txt
@@ -0,0 +1,11 @@
+This test does the following:
+-Makes kStateUpdateLimit calls to pushState()
+-Makes sure the history length is correct
+-Makes another call to pushState()
+-Makes sure the history length is correct
+-Goes back, and makes sure the popstate event is correct
+
+History length is 50
+History length is 50
+State popped - SpammyHistoryItem (type string)
+

Powered by Google App Engine
This is Rietveld 408576698