Bug 67715 - Web Inspector: trying to scroll mouse wheel when in TextViewer's gutter pane causes EventException::DISPATCH_REQUEST_ERR
Summary: Web Inspector: trying to scroll mouse wheel when in TextViewer's gutter pane ...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
Keywords: Regression
Depends on:
Reported: 2011-09-07 10:25 PDT by Andrey Kosyakov
Modified: 2011-09-08 02:00 PDT (History)
10 users (show)

See Also:

patch (2.08 KB, patch)
2011-09-07 10:28 PDT, Andrey Kosyakov
yurys: review+
caseq: commit-queue?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2011-09-07 10:25:37 PDT
1. Navigate to webkit.org
2. Open inspector
3. Switch to Resources panel, choose main resource
4. Position mouse over the panel with the line numbers
5. Scroll the wheel
6. Observe DISPATCH_REQUEST_ERR in the console, thrown upon an attempt to dispatchEvent() of a WheelEvent that is currently being dispatched (oding so is against DOM 3 Event spec) 

This regressed after r90972.
Comment 1 Andrey Kosyakov 2011-09-07 10:28:56 PDT
Created attachment 106595 [details]
Comment 2 Yury Semikhatsky 2011-09-07 23:48:03 PDT
Comment on attachment 106595 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=106595&action=review

> Source/WebCore/inspector/front-end/TextViewer.js:56
> +        var clone = document.createEvent("WheelEvent");

Could you describe in the changelog why we need to clone the event here?
Comment 3 Andrey Kosyakov 2011-09-08 02:00:53 PDT
Manually committed r94749: http://trac.webkit.org/changeset/94749