diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/fetch.js')
-rw-r--r-- | devtools/client/debugger/test/mochitest/examples/fetch.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/fetch.js b/devtools/client/debugger/test/mochitest/examples/fetch.js new file mode 100644 index 0000000000..ccc08ccae0 --- /dev/null +++ b/devtools/client/debugger/test/mochitest/examples/fetch.js @@ -0,0 +1,5 @@ +const doc = "doc-xhr.html"; + +function main(url) { + fetch(url).then(console.log); +} |