Bug 167791
| Summary: | Uncaught Exception: TypeError: function is not a constructor (evaluating 'new event.constructor(event.type, event)') | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | tt007 |
| Component: | Web Inspector | Assignee: | 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
-------
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Blaze Burg
Please provide a video of the repro. The error suggests you might be using an older webkit somehow.
Alexey Shvayka
`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 ***