Aditya Dhade

Results 19 comments of Aditya Dhade

After testing YouTube and Twitter embeds inside the `srcdoc` attribute of an `IFRAME`, it was observed that two `sandbox` tokens—`allow-scripts` and `allow-same-origin`—are necessary for them to work properly. Without the...

When only the `allow-scripts` token is provided, I observed the following issues: 1. **JavaScript Errors**: Assets are being fetched, but errors occur because JavaScript attempts to access objects like `window`,...

For the enqueued scripts the following can be the detailed message. ![Image](https://github.com/user-attachments/assets/3d7b6548-fff4-41eb-94fd-8ba85683f861) @felixarntz can this message be improved by adding more links to resources?

@iamjohnford The issue you are referring to could be caused by palette-based PNG, which will be fixed by #2024. For more details, see #2018.

@westonruter We could add new settings to the `Media Settings` page where we have already added some settings. Should we add a toggle `Image Compression` which will be enabled by...

I think we could use the [Compression Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API) to compress the JSON. Here is the [browser support](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API#browser_compatibility) for Compression Streams API. I created this [codepen](https://codepen.io/Aditya-Dhade/pen/pvoNZKy?editors=1111) to test the compression...

> Before we do that, however, let's make sure that Safari is able to send a Blob which was previously created before `pagehide`. I worry that Safari may destroy it...

From my testing, the issue appears when uploading a JPG image with the image output format set to AVIF or WebP, and the "Output Fallback Images" option enabled. In some...

> If we do this, we should add a `pagehide` event handler before we load any of the extensions, so that our `pagehide` callback is called first, which then causes...

@westonruter I was experimenting with creating a `WP CLI` command to act as an orchestrator. Its purpose would be to check the system environment for `node`, which is required for...