Closed
Bug 778263
Opened 13 years ago
Closed 13 years ago
JavaScript Error: "Error selecting word: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISelectionController.wordMove]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://b
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Tracking
(firefox15 fixed, firefox16 fixed, firefox17 verified)
VERIFIED
FIXED
Firefox 17
People
(Reporter: aaronmt, Assigned: Margaret)
Details
Attachments
(1 file)
2.31 KB,
patch
|
mfinkle
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
E/GeckoConsole(10402): [JavaScript Error: "Error selecting word: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISelectionController.wordMove]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/browser.js :: sh_startSelection :: line 1666" data: no]" {file: "chrome://browser/content/browser.js" line: 1672}]
Reporter | ||
Comment 1•13 years ago
|
||
I've seen this one in my log before when using text-selection on pages. You can reproduce this by long-tap holding in content on about:logo.
Assignee | ||
Comment 2•13 years ago
|
||
Hm, this is an error we're catching ourselves, so it shouldn't lead to other failures, but I can look into why this is happening.
Also, I just noticed that we don't properly clean up after ourselves if we bail in startSelection. We should fix that.
Assignee | ||
Comment 3•13 years ago
|
||
Logging this error is pretty useless, but we should make sure we clean up after ourselves if we're bailing in startSelection. This patch takes care of that.
Assignee: nobody → margaret.leibovic
Attachment #649712 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #649712 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → Firefox 17
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
status-firefox17:
affected → ---
Reporter | ||
Comment 6•13 years ago
|
||
Channel nomination?
Status: RESOLVED → VERIFIED
status-firefox17:
--- → verified
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 649712 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 695173 (text selection)
User impact if declined: logging a useless error isn't really a big deal, but without cleaning up properly, we can fail to remove the pagehide listener, which may cause issues
Testing completed (on m-c, etc.): landed on m-c 8/8
Risk to taking this patch (and alternatives if risky): low-risk, adds code to clean up state of SelectionHandler when we fail to start a selection
String or UUID changes made by this patch: n/a
Attachment #649712 -
Flags: approval-mozilla-beta?
Attachment #649712 -
Flags: approval-mozilla-aurora?
Comment 8•13 years ago
|
||
Comment on attachment 649712 [details] [diff] [review]
patch
Small patch, low risk, wouldn't normally be a candidate for uplift but it's good to clean up the unused errors so approving for branches.
Attachment #649712 -
Flags: approval-mozilla-beta?
Attachment #649712 -
Flags: approval-mozilla-beta+
Attachment #649712 -
Flags: approval-mozilla-aurora?
Attachment #649712 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 9•13 years ago
|
||
Updated•12 years ago
|
tracking-fennec: ? → ---
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•