Open Bug 619029 Opened 15 years ago Updated 3 years ago

Identifying document as per tab on FF4.0

Categories

(Core :: Widget, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: axysharma, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 Build Identifier: Firefox 4 beta 8 In FF, if we open multiple tabs, then there would be a different document as per tab. In FF3.6 we used to identify the document of the relevant tab using document window handle. With FF4.0 the HWND structure has been changed and there is now only one top class i.e "MozillaWindwoClass". So for every document it will return the same HWND. Is there any way in FF4.0 to identify which document belongs to which tab. Reproducible: Always
Bug 352093 and related removed native Widgets.
Component: General → Widget
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
Can you explain what you need in more detail? Are you trying to get the screen coordinates of a document?
I want the screen co-ordinates and want to identify which document belong to which tab on location change.
You can get the screen coordinates with an extension using window.mozInnerScreenX/Y and window.innerWidth/innerHeight, multiplied by DOMWindowUtils.screenPixelsPerCSSPixel. I don't understand how you're identifying tabs, but extensions can easily figure out the relationship between tabs and documents. (I don't know the details.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.