WPT
wpt / trusted-types / eval-function-constructor.html
Spec: Trusted Types ↗
Runs: Chrome 155.0.8038.0 (wpt@397d01d8e, 2026-09-02) | Firefox 157.0a1 (wpt@397d01d8e, 2026-09-02) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-5f6fa (wpt@b1a7025f8, 2026-09-02) | Servo Servo 0.5 (wpt@2ccd2cbf8, 2026-09-01) | Blitz 7727414ca (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 61/65 | 65/65 | 61/65 | 61/65 | 61/65 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Function constructor with mixed plain and trusted strings, mask #0 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #0 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #0 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #0 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #1 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #1 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #1 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #1 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #2 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #2 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #2 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #2 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #3 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #3 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #3 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #3 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #4 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #4 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #4 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #4 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #5 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #5 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #5 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #5 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #6 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #6 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #6 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #6 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #7 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #7 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #7 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #7 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #8 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #8 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #8 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #8 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #9 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #9 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #9 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #9 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #10 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #10 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #10 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #10 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #11 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #11 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #11 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #11 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #12 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #12 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #12 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #12 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #13 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #13 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #13 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #13 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #14 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncFunction constructor with mixed plain and trusted strings, mask #14 | PASS | PASS | PASS | PASS | PASS | — |
| GeneratorFunction constructor with mixed plain and trusted strings, mask #14 | PASS | PASS | PASS | PASS | PASS | — |
| AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #14 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with mixed plain and trusted strings, mask #15 | PASS | PASS | PASS | PASS | PASS | — |
| Function constructor with trusted strings, and a forged toString() for the one at index 0 | FAIL | PASS | FAIL | FAIL | FAIL | — |
| Function constructor with trusted strings, and a forged toString() for the one at index 1 | FAIL | PASS | FAIL | FAIL | FAIL | — |
| Function constructor with trusted strings, and a forged toString() for the one at index 2 | FAIL | PASS | FAIL | FAIL | FAIL | — |
| Function constructor with trusted strings, and a forged toString() for the one at index 3 | FAIL | PASS | FAIL | FAIL | FAIL | — |