Closed Bug 1147954 Opened 10 years ago Closed 10 years ago

LazyScript::hasUncompiledEnclosingScript has buggy check for a non-lazy script

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1147686

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

It's doing fun.mutableScript(), which will return a ref into the JSScript/LazyScript union. We want hasScript(). I really don't know how to write a testcase for this, sadly. :(
Attachment #8583899 - Flags: review?(shu) → review+
This got fixed in bug 1147686.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: