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

Unified Diff: LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_cached.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 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: LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_cached.html
diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_cached.html b/LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_cached.html
deleted file mode 100644
index f4ee04c96c2ac912af0f39cbb17a666a5a461618..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_cached.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8" />
-<title>Resource Timing cached resources</title>
-<link rel="author" title="Google" href="http://www.google.com/" />
-<link rel="help" href="http://www.w3.org/TR/resource-timing/#dom-performanceresourcetiming-initiatortype"/>
-<script src="/w3c/resources/testharness.js"></script>
-<script src="/w3c/resources/testharnessreport.js"></script>
-<script src="/w3c/webperf/resources/webperftestharness.js"></script>
-<script src="/w3c/webperf/resources/webperftestharnessextension.js"></script>
-<script>
-setup({explicit_done: true});
-var d;
-var iframe;
-var iframeBody;
-var image;
-var random = Math.random();
-function setup_iframe() {
- iframe = document.getElementById('frameContext');
- d = iframe.contentWindow.document;
- iframeBody = d.body;
-
- image = d.createElement('img');
- image.src = '/w3c/webperf/resources/generate_resource.php?type=image&cacheable&id=' + random;
- iframeBody.appendChild(image);
- iframe.addEventListener("load", function() { setTimeout(reload_image, 0); }, false);
-}
-function reload_image() {
- iframeBody.removeChild(image);
- image = d.createElement('img');
- image.src = '/w3c/webperf/resources/generate_resource.php?type=image&cacheable&id=' + random;
- image.addEventListener('load', onload_test, false);
- iframeBody.appendChild(image);
-}
-function onload_test() {
- var context = new PerformanceContext(iframe.contentWindow.performance);
- var entries = context.getEntriesByType('resource');
- test_equals(entries.length, 2, "There should be two entries");
- if (entries.length >= 2) {
- test_equals(entries[0].name, entries[1].name, "Both entries should have the same name");
- }
- done();
-}
-window.setup_iframe = setup_iframe;
-</script>
-</head>
-<body>
-<h1>Description</h1>
-<p>This test validates that a 304 Not Modified resource appears in the buffer.</p>
-<div id="log"></div>
-<iframe id="frameContext" src="/w3c/webperf/resources/inject_resource_test.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698