Closed Bug 934233 Opened 11 years ago Closed 11 years ago

On certain pages APZController::IsTab fails to identify a tab document

Categories

(Core Graveyard :: Widget: WinRT, defect)

26 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla28

People

(Reporter: jimm, Assigned: kats, NeedInfo)

References

()

Details

(Whiteboard: [block28])

Attachments

(1 file)

On www.techmeme.com we fail to identify a top level tab for scrolling. Looks like the IsTab test needs some work.
Whiteboard: [block28]
Attached patch PatchSplinter Review
The problem is that ROOT_SCROLL_ID is a special case, and nsDOMWindowUtils->FindContentForViewId will just blindly return the root element in the window for it. Since the domwindowutils being used was for the XUL window, it would return the top-level element in the XUL window when the scrollId was ROOT_SCROLL_ID. Using nsLayoutUtils::FindContentFor returns the right answer instead because it does the proper map lookup. This also simplifies a bunch of the code.
Assignee: nobody → bugmail.mozilla
Attachment #827456 - Flags: review?(jmathies)
Comment on attachment 827456 [details] [diff] [review]
Patch

Been running with this for a while, definitely seems to fix tab detection.
Attachment #827456 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/mozilla-central/rev/5298090cde0d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Keywords: verifyme
While scrolling www.techmeme.com on the Nightly from 2013-11-03 on Win 8.1 64-bit, I don't see any issue, I can see the same behavior as with Chrome.

Could you please give more details in order to reproduce this bug? Thanks!
Flags: needinfo?(jmathies)
I think we can safely mark this as verified.
Flags: needinfo?(jmathies)
Considering that with Firefox 28 beta 6 I also don't see any issue while scrolling the site, and based on comment 5 and comment 6, I'm marking this verified as fixed.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: