diff options
Diffstat (limited to 'devtools/client/framework/test/code_no_race.js')
-rw-r--r-- | devtools/client/framework/test/code_no_race.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devtools/client/framework/test/code_no_race.js b/devtools/client/framework/test/code_no_race.js new file mode 100644 index 0000000000..3c7fd72efd --- /dev/null +++ b/devtools/client/framework/test/code_no_race.js @@ -0,0 +1,17 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +// Original source code for the inline source map test. +// The generated file was made with +// webpack --devtool source-map code_no_race.js code_bundle_no_race.js + +"use strict"; + +function f() { + console.log("anything will do"); +} + +f(); + +// Avoid script GC. +window.f = f; |