Closed
Bug 725741
Opened 14 years ago
Closed 2 years ago
proper serialization of JSScript::filename for scripts using //@line
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: igor, Unassigned)
Details
Our parser supports optional //@line lineno "<filename>" instructions to control from the script line numbers and file names that will be reported in errors originated in the script. This instruction can appear multiple times so potentially JSScipt instances created for functions nested in the script may have different JSScript::filename.
However, our XDR and js_CloneScript implementation assumes that all nested function in the top-level script shares the same filename leading to incorrect decoding of serialized scripts.
Currently this issue does not affect Firefox as the support fro @line is not enabled at runtime.
| Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•