Closed
Bug 765270
Opened 13 years ago
Closed 13 years ago
JS Errors: TypeError and a Warning when 'Find on Page' is closed
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 verified, firefox16 verified)
VERIFIED
FIXED
Firefox 16
People
(Reporter: aaronmt, Assigned: Margaret)
References
Details
Attachments
(1 file)
1.17 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
E/GeckoConsole( 4419): [JavaScript Error: "Warning: findClosed() called while _findInProgress is false!" {file: "chrome://browser/content/browser.js" line: 3209}]
E/GeckoConsole( 4419): [JavaScript Error: "TypeError: this._find is null" {file: "chrome://browser/content/browser.js" line: 3213}]
Assignee | ||
Comment 1•13 years ago
|
||
Do you have STR? This shouldn't happen, so it may indicate some other bug. To be safe, though, we should probably put a check to see if this._find is null if this._findInProgress is false:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#3209
Reporter | ||
Comment 2•13 years ago
|
||
STR: i) about: ii) Open 'Find in Page' iii) Close 'Find in Page'
Assignee | ||
Comment 3•13 years ago
|
||
The problem here is that we're getting a "FindInPage:Closed" without ever getting a "FindInPage:Find". Looking at the code, _findInProgress is only ever set to true in doFind where all the other variables are initialized, so if it's false, there's nothing to do and we can just bail on the cleanup.
Assignee: nobody → margaret.leibovic
Attachment #634189 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #634189 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → Firefox 16
Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 634189 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): JS errors introduced by bug 695172
User impact if declined: JS errors will appear in logs
Testing completed (on m-c, etc.): just landed on inbound
Risk to taking this patch (and alternatives if risky): low-risk, just prevents JS errors
String or UUID changes made by this patch: n/a
Attachment #634189 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•13 years ago
|
status-firefox15:
--- → affected
Comment 6•13 years ago
|
||
Comment on attachment 634189 [details] [diff] [review]
patch
[Triage Comment]
Simple, low risk fix to prevent JS errors.
Attachment #634189 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
No error seen in console anymore.
Verified on:
Nightly 16.0a1 2012-07-11/Aurora 15.0a2 2012-07-11
HTC Desire
Android 2.2.2
Updated•13 years ago
|
Updated•11 years ago
|
tracking-fennec: ? → ---
Updated•4 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
•