| Index: chrome/content/tests/policy.js |
| =================================================================== |
| --- a/chrome/content/tests/policy.js |
| +++ b/chrome/content/tests/policy.js |
| @@ -294,7 +294,18 @@ |
| { |
| tests.push([ |
| "fetch() API", |
| - '<script>fetch("test.xml").catch(function() {});</script>', |
| + '<script>' + |
| + 'fetch("test.xml").then(' + |
| + 'function()' + |
| + '{' + |
| + dispatchReadyEvent + |
| + '},' + |
| + 'function()' + |
| + '{' + |
| + dispatchReadyEvent + |
| + '}' + |
| + ');' + |
| + '</script>', |
| "http://127.0.0.1:1234/test.xml", "xmlhttprequest", false, false |
|
Wladimir Palant
2015/12/31 13:38:45
Last value should be true here, not false (explici
Sebastian Noack
2015/12/31 14:36:39
Done.
|
| ]); |
| } |