Bug 197113

Summary: [PSON] Use WebProcessProxy::registrableDomain() to make process-swapping decision
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: ASSIGNED ---    
Severity: Normal CC: achristensen, beidson, commit-queue, ews-watchlist, ggaren, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews107 for mac-highsierra-wk2
none
Archive of layout-test-results from ews122 for ios-simulator-wk2
none
Patch
none
Archive of layout-test-results from ews105 for mac-highsierra-wk2
none
Archive of layout-test-results from ews126 for ios-simulator-wk2
none
Patch
none
Patch
none
Archive of layout-test-results from ews122 for ios-simulator-wk2
none
Archive of layout-test-results from ews107 for mac-highsierra-wk2
none
Patch
none
Patch
none
Patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews124 for ios-simulator-wk2
none
Archive of layout-test-results from ews105 for mac-highsierra-wk2 none

Description Chris Dumez 2019-04-19 13:03:56 PDT
Use WebProcessProxy::registrableDomain() to make process-swapping decisions, inside of passing a sourceURL around. This is safest and simplifies the code.
Comment 1 Chris Dumez 2019-04-19 13:06:53 PDT
Created attachment 367816 [details]
Patch
Comment 2 Chris Dumez 2019-04-19 17:01:45 PDT
Created attachment 367855 [details]
Patch
Comment 3 EWS Watchlist 2019-04-19 19:16:03 PDT
Comment on attachment 367855 [details]
Patch

Attachment 367855 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/11937412

New failing tests:
fast/history/page-cache-element-state-focused.html
imported/blink/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore.html
http/tests/navigation/go-back-to-error-page.html
ietestcenter/css3/flexbox/flexbox-align-baseline-001.htm
imported/blink/fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore.html
Comment 4 EWS Watchlist 2019-04-19 19:16:05 PDT
Created attachment 367862 [details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107  Port: mac-highsierra-wk2  Platform: Mac OS X 10.13.6
Comment 5 EWS Watchlist 2019-04-19 19:17:16 PDT
Comment on attachment 367855 [details]
Patch

Attachment 367855 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: https://webkit-queues.webkit.org/results/11937126

New failing tests:
imported/blink/svg/as-object/history-navigation.html
imported/blink/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore.html
http/tests/navigation/go-back-to-error-page.html
legacy-animation-engine/fast/animation/animation-mixed-transform-crash.html
http/tests/misc/webtiming-cross-origin-redirect.php
imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/window-name-after-cross-origin-sub-frame-navigation.sub.html
imported/blink/fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore.html
Comment 6 EWS Watchlist 2019-04-19 19:17:18 PDT
Created attachment 367863 [details]
Archive of layout-test-results from ews122 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122  Port: ios-simulator-wk2  Platform: Mac OS X 10.13.6
Comment 7 Chris Dumez 2019-04-19 20:58:39 PDT
Created attachment 367870 [details]
Patch
Comment 8 EWS Watchlist 2019-04-19 22:27:38 PDT
Comment on attachment 367870 [details]
Patch

Attachment 367870 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/11938376

New failing tests:
ietestcenter/css3/flexbox/flexbox-align-baseline-001.htm
Comment 9 EWS Watchlist 2019-04-19 22:27:40 PDT
Created attachment 367875 [details]
Archive of layout-test-results from ews105 for mac-highsierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-highsierra-wk2  Platform: Mac OS X 10.13.6
Comment 10 Chris Dumez 2019-04-19 22:57:24 PDT
Comment on attachment 367875 [details]
Archive of layout-test-results from ews105 for mac-highsierra-wk2

Looks like a flaky test. This test does not process-swap.
Comment 11 EWS Watchlist 2019-04-19 23:09:48 PDT
Comment on attachment 367870 [details]
Patch

Attachment 367870 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: https://webkit-queues.webkit.org/results/11938422

New failing tests:
http/tests/misc/webtiming-cross-origin-redirect.php
Comment 12 EWS Watchlist 2019-04-19 23:09:50 PDT
Created attachment 367880 [details]
Archive of layout-test-results from ews126 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews126  Port: ios-simulator-wk2  Platform: Mac OS X 10.13.6
Comment 13 Chris Dumez 2019-04-20 11:34:46 PDT
Created attachment 367897 [details]
Patch
Comment 14 Chris Dumez 2019-04-20 12:49:37 PDT
Created attachment 367898 [details]
Patch
Comment 15 EWS Watchlist 2019-04-20 16:14:01 PDT
Comment on attachment 367898 [details]
Patch

Attachment 367898 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: https://webkit-queues.webkit.org/results/11942526

New failing tests:
http/tests/misc/webtiming-cross-origin-redirect.php
Comment 16 EWS Watchlist 2019-04-20 16:14:04 PDT
Created attachment 367900 [details]
Archive of layout-test-results from ews122 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122  Port: ios-simulator-wk2  Platform: Mac OS X 10.13.6
Comment 17 EWS Watchlist 2019-04-20 21:12:00 PDT
Comment on attachment 367898 [details]
Patch

Attachment 367898 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/11943565

New failing tests:
http/tests/contentextensions/block-everything-unless-domain-redirect.php
ietestcenter/css3/flexbox/flexbox-align-baseline-001.htm
Comment 18 EWS Watchlist 2019-04-20 21:12:03 PDT
Created attachment 367902 [details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107  Port: mac-highsierra-wk2  Platform: Mac OS X 10.13.6
Comment 19 Chris Dumez 2019-04-21 12:07:56 PDT
Created attachment 367914 [details]
Patch
Comment 20 Chris Dumez 2019-04-21 13:15:54 PDT
Created attachment 367916 [details]
Patch
Comment 21 Chris Dumez 2019-04-21 15:25:39 PDT
Created attachment 367918 [details]
Patch
Comment 22 EWS Watchlist 2019-04-21 20:08:57 PDT
Comment on attachment 367918 [details]
Patch

Attachment 367918 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: https://webkit-queues.webkit.org/results/11947800

New failing tests:
ietestcenter/css3/flexbox/flexbox-align-end-001.htm
Comment 23 EWS Watchlist 2019-04-21 20:08:59 PDT
Created attachment 367923 [details]
Archive of layout-test-results from ews124 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews124  Port: ios-simulator-wk2  Platform: Mac OS X 10.13.6
Comment 24 EWS Watchlist 2019-04-22 18:23:27 PDT
Comment on attachment 367918 [details]
Patch

Attachment 367918 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/11967441

New failing tests:
imported/w3c/web-platform-tests/2dcontext/transformations/canvas_transformations_reset_001.html
Comment 25 EWS Watchlist 2019-04-22 18:23:29 PDT
Created attachment 368003 [details]
Archive of layout-test-results from ews105 for mac-highsierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-highsierra-wk2  Platform: Mac OS X 10.13.6