Documents created using DOMParser.parseFromString should inherit their context document's origin. Firefox and Chrome do this, WebKit does not.
Created attachment 308730 [details] Patch
Comment on attachment 308730 [details] Patch Attachment 308730 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/3652211 Number of test failures exceeded the failure limit.
Created attachment 308738 [details] Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 308739 [details] Patch
Comment on attachment 308739 [details] Patch Clearing flags on attachment: 308739 Committed r216046: <http://trac.webkit.org/changeset/216046>
All reviewed patches have been landed. Closing bug.
<rdar://problem/31991304>