Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example on this page doesn't work #10730

Open
codyswanner opened this issue Mar 13, 2024 · 3 comments
Open

The example on this page doesn't work #10730

codyswanner opened this issue Mar 13, 2024 · 3 comments
Labels
idle live-samples issues related to live samples (EmbedLiveSample macro) p2 We want to address this but may have other higher priority items. plus:playground regression

Comments

@codyswanner
Copy link

MDN URL

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

What specific section or headline is this issue about?

Creating a URL representing the contents of a typed array

What information was incorrect, unhelpful, or incomplete?

When trying to run the demo, the Playground returns error "InvalidAccessError: A parameter or an operation is not supported by the underlying object" and the button under the "Result" header opens a blank page.

What did you expect to see?

When using the demo, it seems like there should be an array of ASCII values. Instead, there is an error message in the Playground, and the demo under the "Result" header just opens a blank page.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

I am using this page to learn JavaScript for web development, if I can help with this I'd like to! I just need some pointers on where to start, and I might need someone to help me walk through the code of the page.

MDN metadata

Page report details
@codyswanner codyswanner added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 13, 2024
@wbamberg
Copy link
Collaborator

wbamberg commented Mar 18, 2024

@caugner , this looks like a Playground regression? This worked in May 2023: https://web.archive.org/web/20230525042810/https://developer.mozilla.org/en-US/docs/Web/API/Blob#examples

@caugner
Copy link
Contributor

caugner commented Mar 18, 2024

@wbamberg Yes, it looks like a duplicate of #9360.

I opened #9801 to potentially fix this, but we discussed this internally and refrained from proceeding with that approach due to security concerns. We still want to fix this though. Let's move this issue over to yari.

@caugner caugner transferred this issue from mdn/content Mar 18, 2024
@caugner caugner added p2 We want to address this but may have other higher priority items. plus:playground and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 18, 2024
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 18, 2024
@caugner caugner removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 20, 2024
@mirunacurtean
Copy link

mirunacurtean commented Apr 17, 2024

Just an update from a cross browser perspective; the Playground console error is only showing in Firefox, while nothing is displayed in the Playground Console in Chrome or Safari when trying to to run the demo (however, we can look at the browser console and observe an error informing us that pop ups are not permitted)

Firefox
image

Safari/ Chrome
image

Note: also a duplicate of #9956 and of #9646

@mirunacurtean mirunacurtean added live-samples issues related to live samples (EmbedLiveSample macro) regression labels Apr 18, 2024
@github-actions github-actions bot added the idle label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle live-samples issues related to live samples (EmbedLiveSample macro) p2 We want to address this but may have other higher priority items. plus:playground regression
Projects
None yet
Development

No branches or pull requests

4 participants