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

Resource Timing: encoded/decoded body size for SW responses #33283

Closed
wants to merge 2 commits into from

Conversation

noamr
Copy link
Contributor

@noamr noamr commented Mar 21, 2022

No description provided.

t.add_cleanup(() => registration.unregister());
t.add_cleanup(() => iframe.remove());
await wait_for_state(t, registration.installing, 'activated');
const waitForMessage = new Promise(resolve => window.addEventListener('message', ({data}) => resolve(data)));
Copy link
Contributor

Choose a reason for hiding this comment

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

The multiple uses of data here are a bit confusing. Can you rename the "internal" data to buffer, or something similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@yoavweiss
Copy link
Contributor

Looks good, but as it seems like all implementations are currently failing these tests, I'd somewhat prefer to submit these through an implementation patch to test the tests :)

@noamr
Copy link
Contributor Author

noamr commented Nov 30, 2022

Looks good, but as it seems like all implementations are currently failing these tests, I'd somewhat prefer to submit these through an implementation patch to test the tests :)

Fair enough, on its way

@noamr
Copy link
Contributor Author

noamr commented Jan 18, 2023

Added tests via chromium

@noamr noamr closed this Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants