Closed
Bug 242790
Opened 21 years ago
Closed 21 years ago
[REGRESSION] Tabbing skips sub documents, GetSubDocumentFor() broken
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: bryner)
References
Details
(Keywords: access)
Attachments
(2 files)
297 bytes,
text/html
|
Details | |
663 bytes,
patch
|
bryner
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Tabbing can no longer walk into sub documents. This means you can tab into
iframes, and you can't tab out of the address bar into a document.
I'm not sure when this broke, but I believe it could relate to
nsDocument::GetSubDocumentFor() being broken.
Reporter | ||
Comment 1•21 years ago
|
||
Test case file isn't necessary to see that tabbing from address bar leads
nowhere.
Reporter | ||
Comment 2•21 years ago
|
||
This is breaking anything that uses GetSubDocumentFor(), including the
accessibility module and DOM inspector.
1.370 <bryner@brianryner.com> 2004-05-03 14:48
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst
In nsDocumentViewer::SyncParentSubDocMap()
569 nsCOMPtr<nsIDocShellTreeItem>
item(do_QueryInterface(mContainer));
570 bryner 1.370 nsCOMPtr<nsPIDOMWindow> pwin(do_QueryInterface(item));
This always makes pwin == nsnull because a docshell doesn't support the
nsPIDOMWindow interface.
The problem goes away if I change do_QueryInterface() back to do_GetInterface()
Summary: [REGRESSION] Tabbing skips sub documents → [REGRESSION] Tabbing skips sub documents, GetSubDocumentFor() broken
Reporter | ||
Updated•21 years ago
|
Component: Keyboard: Find as you Type → Keyboard: Navigation
Reporter | ||
Comment 3•21 years ago
|
||
I looked for other similar issues in the deCOMtamination patch for
nsPIDOMWindow, but could not find any.
Reporter | ||
Updated•21 years ago
|
Attachment #147808 -
Flags: superreview?(jst)
Attachment #147808 -
Flags: review?(bryner)
Assignee | ||
Updated•21 years ago
|
Attachment #147808 -
Flags: review?(bryner) → review+
Reporter | ||
Updated•21 years ago
|
Attachment #147808 -
Flags: superreview?(jst) → superreview?(darin)
Comment 4•21 years ago
|
||
Comment on attachment 147808 [details] [diff] [review]
QueryInterface -> GetInterface
sr=jst
Attachment #147808 -
Flags: superreview?(darin) → superreview+
Reporter | ||
Updated•21 years ago
|
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•