v8/test/mjsunit/runtime-gen/debugsetscriptsource.js

9 lines
293 B
JavaScript

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var arg0 = %DebugGetLoadedScripts()[1];
var _source = "foo";
try {
%DebugSetScriptSource(arg0, _source);
} catch(e) {}