mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Bug 1325101 - Update nofetch handler mochitest. r=bkelly
This commit is contained in:
parent
f6289b3f5b
commit
50c925905e
@ -6,3 +6,9 @@ self.oninstall = function(event) {
|
||||
addEventListener('fetch', handleFetch);
|
||||
self.onfetch = handleFetch;
|
||||
}
|
||||
|
||||
// Bug 1325101. Make sure adding event listeners for other events
|
||||
// doesn't set the fetch flag.
|
||||
addEventListener('push', function() {})
|
||||
addEventListener('message', function() {})
|
||||
addEventListener('non-sw-event', function() {})
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Bug 1181127</title>
|
||||
<title>Test for Bugs 1181127 and 1325101</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script src="/tests/SimpleTest/SpawnTask.js"></script>
|
||||
<script src="error_reporting_helpers.js"></script>
|
||||
@ -9,6 +9,7 @@
|
||||
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||
</head>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1181127">Mozilla Bug 1181127</a>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1181127">Mozilla Bug 1325101</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user