Files
firefox/devtools/client/debugger/test/mochitest/code_script-eval.js
T
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00

15 lines
291 B
JavaScript

var bar;
function evalSource() {
eval('bar = function() {\nvar x = 5;\n}');
}
function evalSourceWithSourceURL() {
eval('bar = function() {\nvar x = 6;\n} //# sourceURL=bar.js');
}
function evalSourceWithDebugger() {
eval('bar = function() {\nvar x = 7;\ndebugger; }\n bar();');
}