Review URL: http://codereview.chromium.org/115128
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1911
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
o.event = "afterCompile";
}
o.body = {};
- o.body.script = MakeScriptObject_(this.script_, true);
+ o.body.script = this.script_;
+ o.setOption('includeSource', true);
return o.toJSONProtocol();
}
// exact source.
assertEquals(current_source, event_data.script().source());
}
+ // Check that script context is included into the event message.
+ var json = event_data.toJSONProtocol();
+ var msg = eval('(' + json + ')');
+ assertTrue('context' in msg.body.script);
}
} catch (e) {
exception = e