Sync web-platform-tests PR 24777 into mozilla-central (this bug is closed when the sync is complete).
Revert "[COOP] Access reporting. Fix the python server."
This reverts commit 9c96261a884c9ebd9daff66b7e41398d65c9d11c.
Reason for revert: This appears to have broken external/wpt/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop-ro.https.html
Original change's description:
[COOP] Access reporting. Fix the python server.
A python server is used has a communication channel in between documents
from different browsing context group and potentially cross-origin.
There are two methods:
- one for writing a message.
- one for reading the message.
I initially supposed we won't need to store more than one message in the
stash. It turns out there are tests doing two write in a row without any
read in the middle. It was throwing an exception when this
This patch makes the server to maintain a queue of messages instead. It
doesn't throw errors anymore.
Reviewed-by: Pâris Meuleman \<firstname.lastname@example.org>
Commit-Queue: Arthur Sonzogni \<email@example.com>
Reviewed-by: Tim Schumann \<firstname.lastname@example.org>
Commit-Queue: Tim Schumann \<email@example.com>