[webkit-changes] [WebKit/WebKit] e41d88: Make http/tests/site-isolation/post-message.html n...

Alex Christensen noreply at github.com
Wed Sep 20 18:09:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e41d88f5cd2fc3f52bd19c56e1163d9f4be7fbe8
      https://github.com/WebKit/WebKit/commit/e41d88f5cd2fc3f52bd19c56e1163d9f4be7fbe8
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M LayoutTests/http/tests/site-isolation/post-message-expected.txt
    M LayoutTests/http/tests/site-isolation/post-message.html
    M LayoutTests/http/tests/site-isolation/resources/post-message-to-parent.html

  Log Message:
  -----------
  Make http/tests/site-isolation/post-message.html not flaky
https://bugs.webkit.org/show_bug.cgi?id=261853
rdar://115812816

Reviewed by Pascoe.

It has been flaky since its introduction because of a race condition between
the load event and the iframe sending the first message.  To resolve this,
wait until the load event then send a message.  Also, test sending the message
in both directions.

* LayoutTests/http/tests/site-isolation/post-message-expected.txt:
* LayoutTests/http/tests/site-isolation/post-message.html:
* LayoutTests/http/tests/site-isolation/resources/post-message-to-parent.html:

Canonical link: https://commits.webkit.org/268226@main




More information about the webkit-changes mailing list