Skip to content

Make document.domain's getter not conditonal on a browsing context - #3742

Merged
foolip merged 1 commit into
masterfrom
annevk/document-domain-settings-object
Jun 11, 2018
Merged

foolip merged 1 commit into
masterfrom
annevk/document-domain-settings-object

Conversation

@annevk

@annevk annevk commented Jun 6, 2018 •

Copy link
Copy Markdown
Member

Tests: XXX Need to test the sandboxing restriction properly as at least judging from Chrome's source code that's totally local to the document. So either all documents clone that over somehow from the responsible document, or something is amiss.

Fixes #1794 and fixes #2697.


/origin.html ( diff )

@annevk

annevk commented Jun 6, 2018

Copy link
Copy Markdown
Member Author

Will need to test <template>'s document per #2109.

@annevk
annevk force-pushed the annevk/document-domain-settings-object branch from c83d410 to 5b3bc71 Compare June 6, 2018 14:45
@annevk annevk changed the title Make document.domain operate on its relevant settings object's origin Make document.domain's getter not conditonal on a browsing context Jun 7, 2018
annevk added a commit to web-platform-tests/wpt that referenced this pull request Jun 7, 2018
@annevk
annevk requested a review from foolip June 8, 2018 08:27

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; seems to implement things as discussed.

@annevk

annevk commented Jun 9, 2018

Copy link
Copy Markdown
Member Author

Thanks, still need review for the tests.

@foolip

foolip commented Jun 11, 2018

Copy link
Copy Markdown
Member

Tests reviewed.

@foolip
foolip merged commit c0d2a32 into master Jun 11, 2018
@foolip
foolip deleted the annevk/document-domain-settings-object branch June 11, 2018 08:57
foolip pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 11, 2018
@annevk

annevk commented Jun 11, 2018

Copy link
Copy Markdown
Member Author

Please double check the commit message next time. I had not yet updated it to include a link to the tests. 😊

@foolip

foolip commented Jun 11, 2018

Copy link
Copy Markdown
Member

Ooops :/

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 4, 2018
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402
mcmanus pushed a commit to mcmanus/gecko that referenced this pull request Jul 5, 2018
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402

UltraBlame original commit: 5ffdbcae34b21caa523db8716a57b894b0b7c86f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402

UltraBlame original commit: 5ffdbcae34b21caa523db8716a57b894b0b7c86f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402

UltraBlame original commit: 5ffdbcae34b21caa523db8716a57b894b0b7c86f
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…testonly

Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For whatwg/html#3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

document.domain getter without browsing context investigate if HTMLDocument.domain setter shouldn't throw when document doesn't have browsing context

3 participants