WTR / DTR should rely on SecurityOrigin::isLocalHostOrLoopbackIPAddress()
Created attachment 442331 [details]
Created attachment 442332 [details]
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]
Created attachment 442337 [details]
Comment on attachment 442337 [details]
Seems like the right approach. EWS is still failing.
Closing this in favour of https://github.com/WebKit/WebKit/pull/2489, and also since my solution doesn't work on EWS.