diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /mobile/android/test_runner | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/test_runner')
-rw-r--r-- | mobile/android/test_runner/src/main/java/org/mozilla/geckoview/test_runner/TestRunnerActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile/android/test_runner/src/main/java/org/mozilla/geckoview/test_runner/TestRunnerActivity.java b/mobile/android/test_runner/src/main/java/org/mozilla/geckoview/test_runner/TestRunnerActivity.java index 399f9417c2..0017298b86 100644 --- a/mobile/android/test_runner/src/main/java/org/mozilla/geckoview/test_runner/TestRunnerActivity.java +++ b/mobile/android/test_runner/src/main/java/org/mozilla/geckoview/test_runner/TestRunnerActivity.java @@ -174,7 +174,7 @@ public class TestRunnerActivity extends Activity { public GeckoResult<AllowOrDeny> onLoadRequest( final GeckoSession session, final LoadRequest request) { // Allow Gecko to load all URIs - return GeckoResult.fromValue(AllowOrDeny.ALLOW); + return GeckoResult.allow(); } @Override @@ -296,7 +296,7 @@ public class TestRunnerActivity extends Activity { public GeckoResult<AllowOrDeny> onCloseTab( @Nullable final WebExtension source, @NonNull final GeckoSession session) { closeSession(session); - return GeckoResult.fromValue(AllowOrDeny.ALLOW); + return GeckoResult.allow(); } @Override @@ -310,7 +310,7 @@ public class TestRunnerActivity extends Activity { mOwnedSessions.addFirst(session); } - return GeckoResult.fromValue(AllowOrDeny.ALLOW); + return GeckoResult.allow(); } }; |