Closed
Bug 703210
Opened 13 years ago
Closed 13 years ago
tooltip is not shown if stopPropagation() of mousemove event is called
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: masayuki, Assigned: masayuki)
References
(Depends on 1 open bug, )
Details
Attachments
(3 files, 1 obsolete file)
I have no idea for writing tests of tooltip...
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #575110 -
Attachment is obsolete: true
Attachment #576859 -
Flags: review?(enndeakin)
Attachment #576859 -
Flags: review?(bugs)
Comment 2•13 years ago
|
||
Comment on attachment 576859 [details] [diff] [review]
Patch
The test could be a chrome test using event listener popupshowing
or some such event.
Attachment #576859 -
Flags: review?(bugs) → review+
Comment 3•13 years ago
|
||
>- evtTarget = do_QueryInterface(doc);
>- evtTarget->AddEventListener(NS_LITERAL_STRING("DOMMouseScroll"),
>+ // Probably, we should listen to untrusted events for hiding tooltips
>+ // on content since tooltips might disturb something of web
>+ // applications. If we don't specify the aWantsUntrusted of
>+ // AddSystemEventListener(), the event taget set it to TRUE if the
>+ // target is in content.
Not sure about this, but 'taget' should be 'target'.
Updated•13 years ago
|
Attachment #576859 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
Hmm, I cannot make the new test. Looks like that tooltip's showing event is fired on the XUL document which has the showing tooltip. I don't know if this is an intentional behavior. I think, at least for tests, we should be able to know the tooltip state from tests. I'll file a bug for it.
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2a4048facc0
Whiteboard: [inbound]
Target Milestone: --- → mozilla11
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
| Assignee | ||
Comment 6•13 years ago
|
||
Okay, I succeeded to write the test.
Attachment #577897 -
Flags: review?(bugs)
Comment 7•13 years ago
|
||
Comment on attachment 577897 [details] [diff] [review]
test
Make sure to push this to try before landing.
Attachment #577897 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
| Assignee | ||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Attachment #9097626 -
Attachment description: Bug-1565339 disabled browser_Bug 703210.js on Windows r=#intermittent-reviewers → Bug - 1565339 disable browser_Bug 703210.js on Windows r=#intermittent-reviewers
You need to log in
before you can comment on or make changes to this bug.
Description
•