Closed
Bug 909511
Opened 11 years ago
Closed 11 years ago
""toString" is read-only" in errors in osfile_unix_allthreads.jsm
Categories
(Toolkit Graveyard :: OS.File, defect)
Toolkit Graveyard
OS.File
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla26
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
(Keywords: regression, smoketest)
Attachments
(1 file)
1.68 KB,
patch
|
ferjm
:
review+
|
Details | Diff | Splinter Review |
I encountered this error on current m-c:
[JavaScript Error: ""toString" is read-only" {file: "resource://gre/modules/osfile/osfile_unix_allthreads.jsm" line: 103}]
which makes everything else from this file fail.
Comment 1•11 years ago
|
||
What do you mean "everything else from this file"?
Assignee | ||
Comment 2•11 years ago
|
||
well, it looks like the JS engine bails out from the function at this point, so all the object properties set afterwards are not set, etc.
Comment 3•11 years ago
|
||
Weird.
Is that on the main thread or in a worker?
Assignee | ||
Comment 4•11 years ago
|
||
That's in the main thread.
Comment 5•11 years ago
|
||
For the moment, I cannot reproduce. Do you have logs or STR?
Assignee | ||
Comment 6•11 years ago
|
||
So it looks like importing the jsm from within a function makes things go wrong. I'm not sure which underlying changes caused that, but we can workaround for now.
Assignee: nobody → fabrice
Attachment #796397 -
Flags: review?(ferjmoreno)
Comment 7•11 years ago
|
||
Comment on attachment 796397 [details] [diff] [review]
patch
Review of attachment 796397 [details] [diff] [review]:
-----------------------------------------------------------------
No idea about why this happens... However, the workaround is acceptable for me.
Attachment #796397 -
Flags: review?(ferjmoreno) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•11 years ago
|
Blocks: b2g-central-dogfood
Updated•11 years ago
|
Keywords: regression,
smoketest
Fwiw, the core issue is fixed by bug 1014484.
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•