Open
Bug 1208164
Opened 10 years ago
Updated 1 year ago
(meta) Remove usage of nsContentUtils::LegacyIsCaller{,ChromeOr}NativeCode
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: bholley, Unassigned)
References
(Depends on 2 open bugs)
Details
In bug 1072150, I tightened down our invariants such that nsContentUtils::SubjectPrincipal() will crash if executed without an AutoJSAPI on the stack.
In order to do this, I needed to introduce some transitional legacy APIs to use from the callsites where we currently get this wrong. The next step is to go and tighten things down by fixing up all the callers of these APIs to have separate script and native entry points, as discussed in the comments above them in nsContentUtils.h.
Updated•7 years ago
|
Priority: -- → P2
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•