Open
Bug 1369200
Opened 7 years ago
Updated 2 years ago
Remove support for SourceHook
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mccr8, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: triage-deferred)
Sometimes when loading chrome JS, we have setSourceIsLazy(true). To deal with actually loading the source, a JS embedder can specify a SourceHook. As described in the comment in XPCJSRuntime::Initialize(), we need this for Gecko because addons can and do call toSource() and do monkeypatching. Once support for addons is removed, we can just not support toSource() on chrome JS code. This is what was done for B2G.
Updated•7 years ago
|
Blocks: post-57-api-changes
No longer depends on: post-57-api-changes
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•