Fix accessibility/aria-invalid.html in isolated tree mode
<rdar://problem/91460480>
Created attachment 457007 [details] Patch
Created attachment 457024 [details] Patch
(In reply to Tyler Wilcock from comment #3) > Created attachment 457024 [details] > Patch --- a/LayoutTests/resources/accessibility-helper.js +++ a/LayoutTests/resources/accessibility-helper.js + const evalExpression = `${expression} === ${expectedValue}`; + if (eval(evalExpression)) + return `PASS: ${evalExpression}\n`; + else + return `FAIL: ${expression} !== ${expectedValue}\n`; Can we write this more succinctly as + if (eval(`${expression} === ${expectedValue}`)) + return `PASS: ${evalExpression}\n`; + return `FAIL: ${expression} !== ${expectedValue}\n`;
Created attachment 457106 [details] Patch
Committed r292686 (249478@main): <https://commits.webkit.org/249478@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 457106 [details].