Status Update
Comments
hu...@gmail.com <hu...@gmail.com> #2
Also, adding the excluding for this domain in the Settings => Performance doesn't work.
di...@chromium.org <di...@chromium.org> #3
pe...@google.com <pe...@google.com> #4
The NextAction date has arrived: 2024-06-12 To opt-out from this automation rule, please add Optout-Blintz-Nextaction-Alert to the "Chromium Labels" custom field.
ma...@chromium.org <ma...@chromium.org> #5
We definitely need a repro, either a URL or uploaded file, showing the problem here. The description is close-ish, but still hard to figure out what is meant by "correct params".
hu...@gmail.com <hu...@gmail.com> #6
1) I added window.addEventListener('load', onLoad, false);
2) inside onLoad I wait a little bit(100ms for example) to get the document.body and its offsetHeight. If I increase the timeout, it doesn't work.
3) if (height !== 0), I make window.parent.postMessage that sends height and width to parent, but if I navigate from this browser tab to another, all I can get is 0 for height and width.
pe...@google.com <pe...@google.com> #7
Thank you for providing more feedback. Adding the requester to the CC list.
de...@google.com <de...@google.com> #8
Note: Requesting you to copy the entire content of chrome://version details and please copy paste the info in .txt file format.
Thanks..!!
pe...@google.com <pe...@google.com> #9
The NextAction date has arrived: 2024-07-03 To opt-out from this automation rule, please add Optout-Blintz-Nextaction-Alert to the "Chromium Labels" custom field.
ma...@chromium.org <ma...@chromium.org> #10
Still need a repro file or URL here, or we will need to close this.
db...@chromium.org <db...@chromium.org> #12
(Though if it's cross-origin, it's possible it's
pe...@google.com <pe...@google.com> #13
The NextAction date has arrived: 2024-07-24 To opt-out from this automation rule, please add Optout-Blintz-Nextaction-Alert to the "Chromium Labels" custom field.
Description
Steps to reproduce the problem
Problem Description
iframe loaded, but window.addEventLIstener('message') hadn't been sent with the correct params with height and width on the background tab
It works correctly in Firefox and Safari.
Summary
window.addEventListener('message, callback) for iframe on inactive tab doesn't work
Additional Data
Category: JavaScript
Chrome Channel: Not sure
Regression: N/A