WTR / DTR should rely on SecurityOrigin::isLocalHostOrLoopbackIPAddress()
Created attachment 442331 [details] Patch
Created attachment 442332 [details] Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Created attachment 442333 [details] Patch
Created attachment 442337 [details] Patch
Comment on attachment 442337 [details] Patch Seems like the right approach. EWS is still failing.
<rdar://problem/84862800>
Closing this in favour of https://github.com/WebKit/WebKit/pull/2489, and also since my solution doesn't work on EWS.