Open
Bug 1381156
Opened 9 years ago
Updated 3 years ago
Make CHECK_PRINCIPAL_AND_DATA into a function or a template or something
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: mccr8, Unassigned)
References
Details
CHECK_PRINCIPAL_AND_DATA is a pretty gross macro. Maybe there's some kind of fancy C++ way to pass in a method we want to call. The same thing also goes for CHECK_CONTENT_POLICY_WITH_SERVICE and CHECK_CONTENT_POLICY.
Comment 1•9 years ago
|
||
Maybe we can do something special given the deprecation of NPAPI plugins?
Flags: needinfo?(kyle)
Comment 2•9 years ago
|
||
AFAICT, we have to check principal/data in way more places than NPAPI (and there we do it as part of nsObjectLoadingContent, which is for more than plugins), so I'm not sure how NPAPI would affect this?
Flags: needinfo?(kyle)
Comment 3•9 years ago
|
||
Andrew mentioned something about this being related to plugins ...
Flags: needinfo?(continuation)
| Reporter | ||
Comment 4•9 years ago
|
||
Oh, sorry, I guess I was wrong that this was just something for plugins.
Flags: needinfo?(continuation)
Comment 5•9 years ago
|
||
Should we make this more than P3?
Flags: needinfo?(continuation)
Priority: -- → P3
| Reporter | ||
Comment 6•9 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #5)
> Should we make this more than P3?
No, this is just a technical debt thing.
Flags: needinfo?(continuation)
| Assignee | ||
Updated•7 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
•