Bug 1140658 - Part 5: Remove test_cache_quick_close.html because it makes no sense after bug 1131353; r=bkelly

This commit is contained in:
Ehsan Akhgari 2015-03-06 21:02:25 -05:00
parent 42bda36b4a
commit 853fa50adf
3 changed files with 0 additions and 30 deletions

View File

@ -2,7 +2,6 @@
support-files =
test_cache.js
test_cache_add.js
test_cache_quick_close.js
worker_driver.js
worker_wrapper.js
frame.html
@ -12,4 +11,3 @@ support-files =
[test_cache.html]
[test_cache_add.html]
[test_cache_quick_close.html]

View File

@ -1,22 +0,0 @@
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
<!DOCTYPE HTML>
<html>
<head>
<title>Validate Interfaces Exposed to Workers</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<script type="text/javascript" src="worker_driver.js"></script>
</head>
<body>
<iframe id="frame"></iframe>
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv({
"set": [["dom.caches.enabled", true]]
}, function() {
workerTestExec("test_cache_quick_close.js");
});
</script>
</body>
</html>

View File

@ -1,6 +0,0 @@
caches.open('closer').then(function (cache) {
cache.add('./test_cache.js').then(function() { }, function() { });
});
self.close();
ok(true, 'Should not crash on close()');
workerTestDone();