RESOLVED FIXED 157239
Uncaught Exception: TypeError: null is not an object (evaluating 'sourceCodeLocation.formattedLineNumber')
https://bugs.webkit.org/show_bug.cgi?id=157239
Summary Uncaught Exception: TypeError: null is not an object (evaluating 'sourceCodeL...
Timothy Hatcher
Reported 2016-04-30 17:50:46 PDT
Created attachment 277836 [details] Test Page Steps: 1) Load attached page. 2) Open Inspector 3) Eval "throw 'Hi'" in the console ------- Auto-generated details: Inspected URL: file:///Users/Timothy/Desktop/test.html Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/602.1.30+ (KHTML, like Gecko) Uncaught exceptions: - TypeError: null is not an object (evaluating 'sourceCodeLocation.formattedLineNumber') (at SourceCodeTextEditor.js:807:44) ------- * STEPS TO REPRODUCE 1. What were you doing? Include setup or other preparations to reproduce the exception. 2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps. * NOTES Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.
Attachments
Test Page (43 bytes, text/html)
2016-04-30 17:50 PDT, Timothy Hatcher
no flags
[PATCH] Proposed Fix (3.84 KB, patch)
2016-05-02 11:51 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-04-30 17:50:58 PDT
Timothy Hatcher
Comment 2 2016-04-30 17:51:32 PDT
I could not hit this with other test page content. It had to involve an eval() that throws. Weird…
Joseph Pecoraro
Comment 3 2016-05-02 11:51:09 PDT
Created attachment 277917 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 4 2016-05-02 12:59:14 PDT
Comment on attachment 277917 [details] [PATCH] Proposed Fix Clearing flags on attachment: 277917 Committed r200334: <http://trac.webkit.org/changeset/200334>
WebKit Commit Bot
Comment 5 2016-05-02 12:59:18 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.