mdn / mdn/browser-compat-data

api.HTMLObjectElement.contentWindow - null in Firefox if same-origin policy is not met in v112

Open
#19,503 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:firefox data:api info needed
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Browser bug (a bug with a feature that may impact site compatibility)

What information was incorrect, unhelpful, or incomplete?

If same-origin policy is not met, Firefox now returns null for object.contentWindow, version v112.

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

compatibility table extended (?)

Did you test this? If so, how?

yes, Chrome, Edge, Safari, FF

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

could not find info among FF releases:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases

  • checked 114 - 84 (released on December 15, 2020, yet most probably FF bug was introduced in v114).
Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow

MDN metadata
MDN page report details
  • Query: api.HTMLObjectElement.contentWindow
  • Report started: 2023-04-26T15:48:16.329Z

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 with the MDN HTMLObjectElement.contentWindow page and verify the reported Firefox behavior against the linked browser tests and release information. Confirm the affected Firefox version and the expected compatibility result before updating the corresponding browser-compatibility data; the issue is done when the table accurately records the confirmed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.