mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9610d07a33
The whole LookupPolicy juggernaut is basically a mechanism for setting custom per-(protocol, origin, property, action) access control in the preferences service. There are two sets of preferences currently in all.js. One of them is set up for mailnews, for the mailbox:, imap:, and news: protocols. According to jst, this was designed as a whack-a-mole security mechanism for javascript running in HTML email. IIUC, we no longer allow JS to run at all in mailnews, so this is obsolete. The other mechanism appears to be our old-fashioned implementation of the same-origin policy, which has been obsoleted by the new compartment architecture. In addition, most of this stuff was obsoleted by the new dom bindings, since these DOM classes no longer go through XPCWrappedNativeJSOps, and thus no longer trigger these security checks at all. We stop using the infrastructure in this patch, and rip it out in the next one. |
||
---|---|---|
.. | ||
idl | ||
include | ||
src | ||
tests/mochitest | ||
moz.build |