diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/code_nosource.js')
-rw-r--r-- | devtools/client/webconsole/test/browser/code_nosource.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/code_nosource.js b/devtools/client/webconsole/test/browser/code_nosource.js new file mode 100644 index 0000000000..1234d5facf --- /dev/null +++ b/devtools/client/webconsole/test/browser/code_nosource.js @@ -0,0 +1,18 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +// Original source code for the cross-domain source map test. +// The generated file was made with +// webpack --devtool nosources-source-map code_nosource.js code_bundle_nosource.js +// ... and then the bundle was edited to change the source name. + +"use strict"; + +function f() { + console.log("here"); +} + +f(); + +// Avoid script GC. +window.f = f; |