Summary: | REGRESSION (r18304): Assertion failure in -[WebHTMLView _canProcessDragWithDraggingInfo:] when dragging over the window's a scroll bar (innerFrame) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||||
Component: | Frames | Assignee: | Geoffrey Garen <ggaren> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ggaren | ||||||
Priority: | P1 | Keywords: | Regression | ||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
URL: | data:text/html,%3Cbody%20style=%22height:%203000px;%22%3E%3Cimg%20src=%22http://webkit.org/images/icon-gold.png%22%3E | ||||||||
Attachments: |
|
Description
mitz
2006-12-19 12:25:52 PST
You actually need to move the mouse pointer over the scrollbar to hit the assert. This is a regression from the fix for bug 8137. Specifically, EventHandler::hitTestResultAtPoint() sets the 'active' flag in the request but not the 'capturing' flag, and because of the following change in layer hit testing, it gets a null result instead of getting the document: - if (request.active && renderer()->isRenderView()) { + if (request.capturing && renderer()->isRenderView()) { Created attachment 11923 [details]
fix w/changelog
Comment on attachment 11923 [details]
fix w/changelog
+ if (request.active || request.mouseUp && renderer()->isRenderView()) {
I think you need parentheses here around the (active || mouseUp) part.
Created attachment 11924 [details]
fix w/changelog
doh!
Comment on attachment 11924 [details]
fix w/changelog
A little subtle, but seems good for now. r=me
|