Title: [125916] trunk/Source/WebCore
- Revision
- 125916
- Author
- [email protected]
- Date
- 2012-08-17 11:27:17 -0700 (Fri, 17 Aug 2012)
Log Message
Web Inspector: Add //@ sourceURL to test-runner evals
https://bugs.webkit.org/show_bug.cgi?id=94268
Patch by John J. Barton <[email protected]> on 2012-08-17
Reviewed by Pavel Feldman.
Postpend a line that tells the debugger what to call this eval buffer.
Name ends in the sequennce number so all evals will appear together.
evaluateInWebInspector0.js eg
* inspector/front-end/TestController.js:
(WebInspector.evaluateForTestInFrontend):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (125915 => 125916)
--- trunk/Source/WebCore/ChangeLog 2012-08-17 18:23:01 UTC (rev 125915)
+++ trunk/Source/WebCore/ChangeLog 2012-08-17 18:27:17 UTC (rev 125916)
@@ -1,3 +1,17 @@
+2012-08-17 John J. Barton <[email protected]>
+
+ Web Inspector: Add //@ sourceURL to test-runner evals
+ https://bugs.webkit.org/show_bug.cgi?id=94268
+
+ Reviewed by Pavel Feldman.
+
+ Postpend a line that tells the debugger what to call this eval buffer.
+ Name ends in the sequennce number so all evals will appear together.
+ evaluateInWebInspector0.js eg
+
+ * inspector/front-end/TestController.js:
+ (WebInspector.evaluateForTestInFrontend):
+
2012-08-17 Adam Barth <[email protected]>
REGRESSION (r125592): Crash in Console::addMessage, under InjectedBundle::reportException
Modified: trunk/Source/WebCore/inspector/front-end/TestController.js (125915 => 125916)
--- trunk/Source/WebCore/inspector/front-end/TestController.js 2012-08-17 18:23:01 UTC (rev 125915)
+++ trunk/Source/WebCore/inspector/front-end/TestController.js 2012-08-17 18:27:17 UTC (rev 125916)
@@ -48,6 +48,7 @@
function invokeMethod()
{
try {
+ script = script + "//@ sourceURL=evaluateInWebInspector" + callId + ".js";
var result = window.eval(script);
WebInspector.TestController.prototype.notifyDone(callId, result);
} catch (e) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes