Bug 171499 - Documents created using DOMParser.parseFromString should inherit their context document's origin / URL
Summary: Documents created using DOMParser.parseFromString should inherit their contex...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://w3c.github.io/DOM-Parsing/#do...
Keywords: InRadar, WebExposed
Depends on:
Blocks:
 
Reported: 2017-05-01 10:12 PDT by Chris Dumez
Modified: 2017-05-04 10:10 PDT (History)
10 users (show)

See Also:


Attachments
Patch (10.47 KB, patch)
2017-05-01 10:22 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews115 for mac-elcapitan (491.66 KB, application/zip)
2017-05-01 11:35 PDT, Build Bot
no flags Details
Patch (10.47 KB, patch)
2017-05-01 11:47 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-05-01 10:12:11 PDT
Documents created using DOMParser.parseFromString should inherit their context document's origin.

Firefox and Chrome do this, WebKit does not.
Comment 1 Chris Dumez 2017-05-01 10:22:28 PDT
Created attachment 308730 [details]
Patch
Comment 2 Build Bot 2017-05-01 11:35:23 PDT
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.
Comment 3 Build Bot 2017-05-01 11:35:25 PDT
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
Comment 4 Chris Dumez 2017-05-01 11:47:43 PDT
Created attachment 308739 [details]
Patch
Comment 5 WebKit Commit Bot 2017-05-01 17:02:19 PDT
Comment on attachment 308739 [details]
Patch

Clearing flags on attachment: 308739

Committed r216046: <http://trac.webkit.org/changeset/216046>
Comment 6 WebKit Commit Bot 2017-05-01 17:02:21 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-05-04 10:10:10 PDT
<rdar://problem/31991304>