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

Unified Diff: LayoutTests/http/tests/filesystem/no-cache-filesystem-url.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/filesystem/no-cache-filesystem-url.html
diff --git a/LayoutTests/http/tests/filesystem/no-cache-filesystem-url.html b/LayoutTests/http/tests/filesystem/no-cache-filesystem-url.html
deleted file mode 100644
index 2844c72499183faba11341b447f9c30622ad1c45..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/filesystem/no-cache-filesystem-url.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body>
- <p id="result">
- </p>
- <script>
- var expected = -1;
- function getFileWriter(callback) {
- webkitRequestFileSystem(PERSISTENT, 1024, function(fs) {
- fs.root.getFile("/caching-test.js", {create:true}, function(file) {
- file.createWriter(function(writer) {
- writer.onwriteend = function() {
- writer.onwriteend = undefined;
- callback(file, writer);
- }
- writer.truncate(0);
- });
- });
- });
- }
-
- function writeRandToFile(writer, callback) {
- var rand = Math.round(Math.random() * 1000);
- writer.onwriteend = function() {
- callback(rand);
- };
- writer.write(new Blob(['document.getElementById("result").innerHTML = (expected == ' + rand + ') ? "SUCCESS" : "FAILURE";'], {type:'text/plain'}));
- }
-
- getFileWriter(function(file, writer) {
- writeRandToFile(writer, function(rand) {
- var script = document.createElement('script');
- script.src = file.toURL();
- if (window.location.search != '?reload=1') {
- script.onload = function() {
- window.location.href = window.location.href + '?reload=1'
- };
- } else {
- script.onload = function() {
- file.remove(function() {
- if (window.testRunner) {
- testRunner.notifyDone();
- }
- });
- };
- }
- expected = rand;
- document.body.appendChild(script);
- });
- });
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698