Closed
Bug 1486525
Opened 7 years ago
Closed 6 years ago
Add GeckoView test for onLoadRequest redirect handling
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: droeh, Assigned: droeh)
References
Details
Attachments
(1 file)
2.58 KB,
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
We need to add a test for the redirect onLoadRequest handling introduced in bug 1478171.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #9004558 -
Flags: review?(nchen)
Comment 2•7 years ago
|
||
Comment on attachment 9004558 [details] [diff] [review]
Test redirect onLoadRequest handling
Review of attachment 9004558 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationDelegateTest.kt
@@ +203,5 @@
>
> + @Test fun redirectLoad() {
> + assumeThat(sessionRule.env.isAutomation, equalTo(true))
> +
> + val uri = "http://example.org/tests/robocop/simple_redirect.sjs?http://example.org/tests/robocop/robocop_blank_02.html"
Use `val uri = "http://example.org/tests/robocop/simple_redirect.sjs?$redirectUri"
@@ +204,5 @@
> + @Test fun redirectLoad() {
> + assumeThat(sessionRule.env.isAutomation, equalTo(true))
> +
> + val uri = "http://example.org/tests/robocop/simple_redirect.sjs?http://example.org/tests/robocop/robocop_blank_02.html"
> + val redirectUri = "http://example.org/tests/robocop/robocop_blank_02.html"
Does it still work if you change the target URL to what `createTestUrl(HELLO_HTML_PATH)` returns? I'd rather have us use our GV test pages as much as possible.
Attachment #9004558 -
Flags: review?(nchen) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f22d0641fd3d
Add NavigationDelegateTest.redirectLoad() to test redirect onLoadRequest handling. r=jchen
Updated•6 years ago
|
Priority: -- → P3
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Comment 5•6 years ago
|
||
I @Ignored this test as part of the backout of bug 1441059 and bug 1478171; reopening so we remember to reenable the test when redirect onLoadRequest handling is working again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Dylan Roeh (:droeh) from comment #5)
> I @Ignored this test as part of the backout of bug 1441059 and bug 1478171;
> reopening so we remember to reenable the test when redirect onLoadRequest
> handling is working again.
The test was reenabled as part of bug 1478171; closing this.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 63 → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•