RESOLVED FIXED 163405
Uncaught Exception: TypeError: this.positionToOffset is not a function - seen hovering expressions with Type Profiler enabled
https://bugs.webkit.org/show_bug.cgi?id=163405
Summary Uncaught Exception: TypeError: this.positionToOffset is not a function - seen...
Joseph Pecoraro
Reported 2016-10-13 15:03:40 PDT
* STEPS TO REPRODUCE 1. Enable Type Profiler 2. Attempt to get type details hovering an sub-expression like "obj.foo" => Error dialog ------- Uncaught Exceptions: - TypeError: this.positionToOffset is not a function. (In 'this.positionToOffset({line: range.start.line, ch: range.start.ch})', 'this.positionToOffset' is undefined) (at SourceCodeTextEditor.js:1523:43) _tokenTrackingControllerHighlightedJavaScriptTypeInformation @ SourceCodeTextEditor.js:1523:43 tokenTrackingControllerNewHighlightCandidate @ SourceCodeTextEditor.js:1454:78 _processNewHoveredToken @ CodeMirrorTokenTrackingController.js:448:72 _processNewHoveredToken @ [native code] -------
Attachments
[PATCH] Proposed Fix (1.79 KB, patch)
2016-10-13 15:10 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-10-13 15:04:24 PDT
Nikita Vasilyev
Comment 2 2016-10-13 15:06:43 PDT
Could you attach file:///Users/pecoraro/Desktop/control-flow.html? :)
Joseph Pecoraro
Comment 3 2016-10-13 15:10:26 PDT
Created attachment 291524 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 4 2016-10-14 00:12:38 PDT
Comment on attachment 291524 [details] [PATCH] Proposed Fix Clearing flags on attachment: 291524 Committed r207329: <http://trac.webkit.org/changeset/207329>
WebKit Commit Bot
Comment 5 2016-10-14 00:12:42 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.