Skip to content

test: follow the upstream rewrites of the tests with pending evaluate promises - #2027

Merged
Yury Semikhatsky (yury-s) merged 4 commits into
microsoft:mainfrom
yury-s:port-evaluate-rewrites
Oct 29, 2026
Merged

Yury Semikhatsky (yury-s) merged 4 commits into
microsoft:mainfrom
yury-s:port-evaluate-rewrites

Conversation

@yury-s

@yury-s Yury Semikhatsky (yury-s) commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Port the new versions of CA-011, EV-063, DD-019, RO-012, RO-013 and RO-100 from test: do not keep evaluate promises pending across other calls playwright#43656 line by line, and drop the notes that explained how the old ports differed. TR-041 already matches.
  • Answer /favicon.ico with 204 in the test servers. Headless Chrome and Edge request it after a load and log the 404 as a console error, which broke NA-085, RO-157 and the click tests.
  • Read the frame URL after the evaluate in OO-029, as upstream does.

… promises

Port the new versions of CA-011, EV-063, DD-019, RO-012, RO-013 and RO-100
from microsoft/playwright#43656 line by line, and drop the Java notes that
explained how the old ports differed. TR-041 already matches.
Headless Chrome and Edge request /favicon.ico after a load and log the
404 as a console error, which got into the console messages of NA-085,
RO-157 and other tests. Without the 404 the ports of TZ-006, CL-017 and
CL-083 and the old click test can collect all messages, as upstream does.
The frame of a nested OOPIF gets its URL from its own session, together
with its execution context. Reading the URL first could give "".
@yury-s
Yury Semikhatsky (yury-s) merged commit c773834 into microsoft:main Oct 29, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants