mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bf0e65a35b
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows something of this protocol to be registered in chrome. This changeset removes a runtime check every time we open a chrome channel to see if it is remote to a registration time check that checks flags. The old code could be easily worked around, and allowed for remote resources to be used. r=bsmedberg r=bz sr=bz
6 lines
183 B
Plaintext
6 lines
183 B
Plaintext
# package used only for valid override
|
|
content good-package bar/
|
|
|
|
# Local resource (should work)
|
|
override chrome://good-package/content/test.xul data:application/vnd.mozilla.xul+xml,
|