Closed
Bug 885615
Opened 11 years ago
Closed 11 years ago
JavaScript Warning: "reference to undefined property exn.stack" {file: "resource://gre/modules/osfile/osfile_async_worker.js" line: 55
Categories
(Toolkit Graveyard :: OS.File, defect)
Toolkit Graveyard
OS.File
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: cpeterson, Assigned: billm)
References
Details
(Whiteboard: [mentor=Yoric][lang=js])
Attachments
(2 files)
1.01 KB,
patch
|
Details | Diff | Splinter Review | |
933 bytes,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
I see the following JS warning logged almost every time I open the about:config page in Firefox for Android: E/GeckoConsole(14503): [JavaScript Warning: "reference to undefined property exn.stack" {file: "resource://gre/modules/osfile/osfile_async_worker.js" line: 55}] `exn` does not have a `stack` property because it is the string "Unix error 2 during operation open (No such file or directory)", not an `Error` object.
Comment 1•11 years ago
|
||
I'm seeing a similar issue on Windows. Every time I start Firefox I get this in my console: reference to undefined property exn.stack The attached patch seemed to fix the issue. Another approach might be to find out where we're throwing the exception that lacks a 'stack' property.
Assignee: nobody → tabraldes
Status: NEW → ASSIGNED
Attachment #793145 -
Flags: review?(dtownsend+bugmail)
Updated•11 years ago
|
Attachment #793145 -
Flags: review?(dtownsend+bugmail) → review+
Updated•11 years ago
|
Whiteboard: [mentor=Yoric][lang=js]
Comment 3•11 years ago
|
||
Comment on attachment 793145 [details] [diff] [review] Patch v1 This patch caused mochitest-other orange and was backed out in changeset e453f69bc437 This is probably better as a mentored bug anyway, so I'll unassign myself
Attachment #793145 -
Flags: review+
Updated•11 years ago
|
Assignee: tabraldes → nobody
Status: ASSIGNED → NEW
Comment 4•11 years ago
|
||
I think we need to prioritize this; this has the capability to mess up test logs.
I just had a (local) reftest log rejected by reftest-analyzer, because this bug's message was printed in the middle of my test output. In particular, the relevant log line started like so:
> reference to undefined property options.bytesREFTEST TEST-UNEXPECTED-FAIL | file:///[...]
Comment 5•11 years ago
|
||
Well, the line you mention is fixed by bug 910300.
Comment 6•11 years ago
|
||
oops. wrong bug, sorry! :)
Assignee | ||
Comment 7•11 years ago
|
||
This was bugging me today. This patch passes the test that the other patch didn't pass.
Comment 8•11 years ago
|
||
Comment on attachment 811447 [details] [diff] [review] fix-osfile-error Review of attachment 811447 [details] [diff] [review]: ----------------------------------------------------------------- Looks good.
Attachment #811447 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1cac1d22b204
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1cac1d22b204
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•11 months ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•