Skip to content

Add test for policies with disposition=report in workers #575

@fred-wang

Description

@fred-wang

Looking for "Content-Security-Policy-Report-Only", I can't find any test related to workers:

find -type f | xargs grep 'Content-Security-Policy-Report-Only'
./trusted-types-reporting.html.headers:Content-Security-Policy-Report-Only: trusted-types two; report-uri /content-security-policy/resources/dummy-report.php
./trusted-types-reporting-check-report.html.sub.headers:Content-Security-Policy-Report-Only: trusted-types one two; report-uri /reporting/resources/report.py?op=put&reportID={{$id}}
./trusted-types-eval-reporting-report-only.html:  //   Content-Security-Policy-Report-Only: require-trusted-types-for 'script'
./trusted-types-report-only.html.headers:Content-Security-Policy-Report-Only: trusted-types two; report-uri /content-security-policy/resources/dummy-report.php; require-trusted-types-for 'script';
./trusted-types-duplicate-names-list-report-only.html.headers:Content-Security-Policy-Report-Only: trusted-types a b c
./support/navigation-report-only-support.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script';
./trusted-types-report-only.html:  //   Content-Security-Policy-Report-Only: trusted-types ...; report-uri ...
./no-require-trusted-types-for-report-only.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script'
./trusted-types-reporting-check-report.html:  Content-Security-Policy-Report-Only: \
./empty-default-policy-report-only.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script';
./require-trusted-types-for-report-only.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script'
./trusted-types-duplicate-names-list-report-only.html:// Content-Security-Policy-Report-Only: trusted-types a b c
./default-policy-report-only.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script';
./trusted-types-eval-reporting-report-only.html.headers:Content-Security-Policy-Report-Only: require-trusted-types-for 'script'
./trusted-types-reporting.html:  //   Content-Security-Policy-Report-Only: trusted-types two; report-uri ...

This is used for the following algorithms:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions