w3c / w3c/ServiceWorker

should an window.open() about:blank document be controlled by opener's controller?

Open
#1,163 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
3.6k
Forks
324
Avg merge
14d 22h
Merged PRs (30d)
1

Description

Over in #612 we decided that about:blank documents in iframes should inherit their controller from the parent. This matches the inheritence of the origin.

I think we also similarly inherit the origin when creating the about:blank document for window.open(). Should that about:blank client also be controlled by the opener's service workers?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #612 and the question about the about:blank document created by window.open(). Compare the proposed controller inheritance with the existing origin inheritance described here, then determine the intended service-worker behavior and document the decision in the relevant specification discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.