Bug 167791

Summary: Uncaught Exception: TypeError: function is not a constructor (evaluating 'new event.constructor(event.type, event)')
Product: WebKit Reporter: tt007
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ashvayka, bburg, inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
URL: http://trunk-portal73.in.dev/

tt007
Reported 2017-02-03 05:35:06 PST
------- Inspected URL: http://trunk-portal73.in.dev/ Loading completed: true Frontend User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/603.1 (KHTML, like Gecko) Version/10.0 Safari/603.1 Uncaught Exceptions: - TypeError: function is not a constructor (evaluating 'new event.constructor(event.type, event)') (at TimelineOverview.js:681:54) _timelineRulerMouseClicked @ TimelineOverview.js:681:54 _timelineRulerMouseClicked @ [native code] ------- * STEPS TO REPRODUCE * Open web page * Right mouse click -> Inspect element * Open Network inspector tab * Refresh page * Click on line in web inspector timeline * NOTES Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.
Attachments
Blaze Burg
Comment 1 2017-02-03 10:45:36 PST
Please provide a video of the repro. The error suggests you might be using an older webkit somehow.
Alexey Shvayka
Comment 2 2023-09-27 14:05:12 PDT
`event.constructor` aka Event was fixed to be constructible in https://trac.webkit.org/changeset/256716. *** This bug has been marked as a duplicate of bug 174313 ***
Note You need to log in before you can comment on or make changes to this bug.