summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/code_nosource.js
blob: 1234d5facf632268a2e967bc242414f5dd503f83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;