Closed
Bug 566081
Opened 16 years ago
Closed 16 years ago
Inspect doesn't work inside iframes
Categories
(DevTools :: General, defect)
Tracking
(blocking2.0 betaN+)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | betaN+ |
People
(Reporter: ehsan.akhgari, Assigned: msucan)
Details
(Whiteboard: [kd4b3])
Attachments
(1 file, 1 obsolete file)
|
10.44 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Go to gmail.
2. Tools->Inspect.
3. Move the mouse over the window.
The entire content area is highlighted, and nothing else happens. Esc/Enter do not work. Clicking anywhere doesn't have any effect. The inspector panel cannot be interacted with. The only way to get your browser back is to switch tabs or Tools->Inspect again.
Comment 1•16 years ago
|
||
I changed the dynamic inspection mechanism later in the review process and haven't had a chance to fix it to work properly with subdocuments. Gmail is a lot of iframes and the highlighter won't descend into them yet.
I'm going to modify the subject of this bug to reflect that. Thanks!
Summary: Inspect doesn't work on gmail → Inspect doesn't work inside iframes
Updated•16 years ago
|
Assignee: nobody → mihai.sucan
| Assignee | ||
Comment 2•16 years ago
|
||
This is the patch that fixes the bug. The patch includes test code as well.
Please let me know if the patch needs any adjustments. It should apply cleanly on mozilla-central default branch.
I would also ask for nomination as a blocker for this bug, so we can get this checked into Firefox 4 betas.
Thanks!
Attachment #460498 -
Flags: feedback?
| Assignee | ||
Updated•16 years ago
|
Attachment #460498 -
Flags: feedback? → feedback?(rcampbell)
Comment 3•16 years ago
|
||
945 elementFromPoint: function IUI_elementFromPoint(aDocument, aX, aY)
946 {
947 var node = aDocument.elementFromPoint(aX, aY);
use let instead of var here.
Otherwise I think this looks great. Nice-looking test too.
Updated•16 years ago
|
Attachment #460498 -
Flags: feedback?(rcampbell) → feedback+
| Assignee | ||
Comment 4•16 years ago
|
||
Updated patch, as requested.
Thanks for your feedback+!
Attachment #460498 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
blocking2.0: --- → ?
Updated•16 years ago
|
Attachment #460536 -
Flags: review+
Updated•16 years ago
|
blocking2.0: ? → betaN+
Comment 5•16 years ago
|
||
Comment on attachment 460536 [details] [diff] [review]
[checked-in] updated fix + test code
http://hg.mozilla.org/mozilla-central/rev/bd9d89e48566
Attachment #460536 -
Attachment description: updated fix + test code → [checked-in] updated fix + test code
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Whiteboard: [kd4b3]
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•