summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/fetch/test_fetch_observer.html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-11 08:51:07 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-06-13 11:52:04 +0200
commitbb7060582934f087b71702d1e83f762d5fd6f0af (patch)
treef61da2175542328c6a5e7a69280874dd1298f9b6 /dom/tests/mochitest/fetch/test_fetch_observer.html
parent3f3d626434b2533182ca0ee90adc92a1e7db373c (diff)
downloadUXP-bb7060582934f087b71702d1e83f762d5fd6f0af.tar
UXP-bb7060582934f087b71702d1e83f762d5fd6f0af.tar.gz
UXP-bb7060582934f087b71702d1e83f762d5fd6f0af.tar.lz
UXP-bb7060582934f087b71702d1e83f762d5fd6f0af.tar.xz
UXP-bb7060582934f087b71702d1e83f762d5fd6f0af.zip
Issue #1587 - Part 5: Hook FetchObserver up to the Fetch API
Diffstat (limited to 'dom/tests/mochitest/fetch/test_fetch_observer.html')
-rw-r--r--dom/tests/mochitest/fetch/test_fetch_observer.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/tests/mochitest/fetch/test_fetch_observer.html b/dom/tests/mochitest/fetch/test_fetch_observer.html
index 2b6c0362d..2af86977c 100644
--- a/dom/tests/mochitest/fetch/test_fetch_observer.html
+++ b/dom/tests/mochitest/fetch/test_fetch_observer.html
@@ -12,7 +12,8 @@
<body>
<script class="testbody" type="text/javascript">
-SpecialPowers.pushPrefEnv({"set": [["dom.fetchObserver.enabled", true ]]}, () => {
+SpecialPowers.pushPrefEnv({"set": [["dom.fetchObserver.enabled", true ],
+ ["dom.fetchController.enabled", true ]]}, () => {
let ifr = document.createElement('iframe');
ifr.src = "file_fetch_observer.html";
document.body.appendChild(ifr);