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

Unified Diff: LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html

Issue 23498018: [Resource Timing] Fix potential double free problem (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout test Created 7 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
diff --git a/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html b/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..6f4deb7f99344e9b957e92a7807a1be3b62a8eb8
--- /dev/null
+++ b/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+<script src="../resources/js-test-pre.js"></script>
+<script>
+
+performance.onwebkitresourcetimingbufferfull = function() {
+ window.stop();
+ document.body.innerHTML = "PASS. No crash when stop loading on resource timing buffer full.";
+ setTimeout("testRunner.notifyDone()", 0);
+};
+
+performance.webkitSetResourceTimingBufferSize(1);
+</script>
+</head>
+<body>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698