mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
d248fe7914
While I evaluated multiple approaches to this problem, I selected two: The first is to handle the case in `GeckoSession.load` directly from within Java, as this allows us to avoid a Java to Native string conversion, as well as giving us better opportunities to report the exact nature of the failure back to the embedding app. We add a new error code specifically for this case. In the case where no `NavigationDelegate` is registered, I used `GeckoSession.load` throwing an exception as a crude way of notifying the app. In the case where the load request originates from within web content, we deny the request from within `nsWindow` to avoid requiring any conversion of the URI spec from native into Java. Differential Revision: https://phabricator.services.mozilla.com/D109427 |
||
---|---|---|
.. | ||
android | ||
locales | ||
.eslintrc.js |