Bug 1600671 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The doc for `onLoadRequest` reads:

```
A GeckoResult with a AllowOrDeny value which indicates whether or not the load was handled. If unhandled, Gecko will continue the load as normal. If handled (true value), Gecko will abandon the load. A null return value is interpreted as false (unhandled).
```

`true value` should be replaced with `DENY` or something like that, since this method doesn't return a boolean.

https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/GeckoSession.NavigationDelegate.html#onLoadRequest-org.mozilla.geckoview.GeckoSession-org.mozilla.geckoview.GeckoSession.NavigationDelegate.LoadRequest-
The doc for `onLoadRequest` reads:

```
A GeckoResult with a AllowOrDeny value which indicates whether or not the load was
handled. If unhandled, Gecko will continue the load as normal. If handled (true value),
Gecko will abandon the load. A null return value is interpreted as false (unhandled).
```

`true value` should be replaced with `DENY` or something like that, since this method doesn't return a boolean.

https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/GeckoSession.NavigationDelegate.html#onLoadRequest-org.mozilla.geckoview.GeckoSession-org.mozilla.geckoview.GeckoSession.NavigationDelegate.LoadRequest-

Back to Bug 1600671 Comment 0