WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227220
[WK2] Don't process-swap on navigations within the same non-HTTP(s) protocol
https://bugs.webkit.org/show_bug.cgi?id=227220
Summary
[WK2] Don't process-swap on navigations within the same non-HTTP(s) protocol
Chris Dumez
Reported
2021-06-21 09:24:13 PDT
Don't process-swap on navigations within the same non-HTTP(s) protocol. Trying to extract registrable domains from non HTTP(s) URLs does not make much sense and leads to unexpected process swaps.
Attachments
Patch
(12.53 KB, patch)
2021-06-21 09:26 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(16.03 KB, patch)
2021-06-21 10:54 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Follow-up to fix GTK API test
(2.64 KB, patch)
2021-06-21 15:23 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-06-21 09:26:03 PDT
Created
attachment 431870
[details]
Patch
Chris Dumez
Comment 2
2021-06-21 09:26:30 PDT
<
rdar://79106461
>
Chris Dumez
Comment 3
2021-06-21 10:54:41 PDT
Created
attachment 431877
[details]
Patch
EWS
Comment 4
2021-06-21 13:47:35 PDT
Committed
r279079
(
238998@main
): <
https://commits.webkit.org/238998@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431877
[details]
.
Aakash Jain
Comment 5
2021-06-21 15:09:31 PDT
(In reply to EWS from
comment #4
)
> Committed
r279079
(
238998@main
): <
https://commits.webkit.org/238998@main
>
Seems like it broke api-gtk test /WebKit2Gtk/TestWebExtensions:/webkit/WebKitWebExtension/page-id
Chris Dumez
Comment 6
2021-06-21 15:17:24 PDT
(In reply to Aakash Jain from
comment #5
)
> (In reply to EWS from
comment #4
) > > Committed
r279079
(
238998@main
): <
https://commits.webkit.org/238998@main
> > Seems like it broke api-gtk test > /WebKit2Gtk/TestWebExtensions:/webkit/WebKitWebExtension/page-id
I'll see if I can figure it out but did we ever change the rule that WK2 changes were allowed to break non-Cocoa ports to not hold back development?
Chris Dumez
Comment 7
2021-06-21 15:21:07 PDT
The GTK test is observing process swaps by checking if the pageID changed or not. Should be easy to update the test. Looking into it now.
Chris Dumez
Comment 8
2021-06-21 15:23:50 PDT
Reopening to attach new patch.
Chris Dumez
Comment 9
2021-06-21 15:23:51 PDT
Created
attachment 431917
[details]
Follow-up to fix GTK API test
Aakash Jain
Comment 10
2021-06-21 15:26:12 PDT
> I'll see if I can figure it out but did we ever change the rule that WK2 changes were allowed to break non-Cocoa ports to not hold back development?
Thanks. I am not sure of the exact rule. However, this test breakage is slowing does
https://ews-build.webkit.org/#/builders/API-Tests-GTK-EWS
queue. This would result in progressively increasing delay in getting ews results on that queue, which might result in reduced coverage and thereby causing more regressions on that queue. From maintaining the infrastructure point of view, it's important to keep the test-suites in good state.
Chris Dumez
Comment 11
2021-06-21 15:28:00 PDT
(In reply to Aakash Jain from
comment #10
)
> > I'll see if I can figure it out but did we ever change the rule that WK2 changes were allowed to break non-Cocoa ports to not hold back development? > Thanks. I am not sure of the exact rule. However, this test breakage is > slowing does
https://ews-build.webkit.org/#/builders/API-Tests-GTK-EWS
> queue. This would result in progressively increasing delay in getting ews > results on that queue, which might result in reduced coverage and thereby > causing more regressions on that queue. From maintaining the infrastructure > point of view, it's important to keep the test-suites in good state.
Understood. I think breaking other ports is bad practice either way, I was just surprised to get ping'd by Apple about it. I have a speculative fix ready but am waiting for EWS to process and confirm it works since I cannot validate locally.
EWS
Comment 12
2021-06-21 17:45:18 PDT
Committed
r279095
(
239012@main
): <
https://commits.webkit.org/239012@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431917
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug