Closed
Bug 797297
Opened 10 years ago
Closed 10 years ago
Contextmenu fired on text nodes crashes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: daleharvey, Assigned: daleharvey)
Details
Attachments
(1 file, 1 obsolete file)
2.17 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
When a contextmenu gets triggered on a text node within a mozbrowser the parent nodes arent collected as the textnode fails the hasAttribute test
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → dale
Status: NEW → ASSIGNED
Attachment #667398 -
Flags: feedback?(justin.lebar+bug)
Comment 2•10 years ago
|
||
Comment on attachment 667398 [details] [diff] [review] Remove hasAttribute check from outer loop A test would be appreciated, but this looks sane to me.
Attachment #667398 -
Flags: feedback?(justin.lebar+bug) → feedback+
Assignee | ||
Comment 3•10 years ago
|
||
Changed one of the existing tests to hit the case that used to cause a crash
Attachment #667398 -
Attachment is obsolete: true
Attachment #671167 -
Flags: review?(justin.lebar+bug)
Updated•10 years ago
|
Attachment #671167 -
Flags: review?(justin.lebar+bug) → review+
Comment 4•10 years ago
|
||
To nit about the bug summary: We don't usually call JS throwing an exception a "crash". Unless somehow a process is dying as a result of this? https://tbpl.mozilla.org/?tree=Try&rev=3ce586b2448d
Comment 5•10 years ago
|
||
Try run for 3ce586b2448d is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=3ce586b2448d Results (out of 13 total builds): success: 13 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jlebar@mozilla.com-3ce586b2448d
Assignee | ||
Comment 6•10 years ago
|
||
Ah no, still thinking in erlang sometimes :) the event just throws an error and contextmenu isnt triggered, there was not full crash or anything. Looks like the try build is good though, Cheers, should have remember to push to try myself
Comment 7•10 years ago
|
||
> Cheers, should have remember to push to try myself I normally wouldn't even push something like this to tryserver, except I've been bitten a few too many times recently. :shrug: https://hg.mozilla.org/integration/mozilla-inbound/rev/574ec568513b
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/574ec568513b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Assignee | ||
Comment 9•10 years ago
|
||
Justin should this be flagged for aurora checkin? since the original context menu is blocking+
Assignee | ||
Updated•10 years ago
|
blocking-basecamp: --- → ?
Whiteboard: [needs-checkin-aurora]
Updated•10 years ago
|
blocking-basecamp: ? → +
Comment 10•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/9953353f44cf
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Flags: in-testsuite+
Whiteboard: [needs-checkin-aurora]
You need to log in
before you can comment on or make changes to this bug.
Description
•