-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Conversation
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))); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
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 |
Added tests via chromium |
No description provided.