| 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>
|
|
|