Title: [194148] trunk/Source/WebInspectorUI
Revision
194148
Author
[email protected]
Date
2015-12-16 09:38:17 -0800 (Wed, 16 Dec 2015)

Log Message

Uncaught Exception View has undefined exception URL
https://bugs.webkit.org/show_bug.cgi?id=152327

Patch by Joseph Pecoraro <[email protected]> on 2015-12-16
Reviewed by Darin Adler.

* UserInterface/Debug/UncaughtExceptionReporter.js:
(handleUncaughtException):
Use ErrorEvent's filename property, not url which is undefined.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (194147 => 194148)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-12-16 17:36:24 UTC (rev 194147)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-12-16 17:38:17 UTC (rev 194148)
@@ -1,5 +1,16 @@
 2015-12-16  Joseph Pecoraro  <[email protected]>
 
+        Uncaught Exception View has undefined exception URL
+        https://bugs.webkit.org/show_bug.cgi?id=152327
+
+        Reviewed by Darin Adler.
+
+        * UserInterface/Debug/UncaughtExceptionReporter.js:
+        (handleUncaughtException):
+        Use ErrorEvent's filename property, not url which is undefined.
+
+2015-12-16  Joseph Pecoraro  <[email protected]>
+
         Uncaught Exception: ReferenceError: Can't find variable: resolvedValue
         https://bugs.webkit.org/show_bug.cgi?id=152326
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js (194147 => 194148)


--- trunk/Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js	2015-12-16 17:36:24 UTC (rev 194147)
+++ trunk/Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js	2015-12-16 17:38:17 UTC (rev 194148)
@@ -53,7 +53,7 @@
 function handleUncaughtException(event) {
     let exceptionRecord = {
         message: event.message,
-        url: event.url,
+        url: parseURL(event.filename).lastPathComponent,
         lineNumber: event.lineno,
         columnNumber: event.colno
     };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to