Skip to content

✨ Allow crossorigin=anonymous on Scripts#25291

Merged
honeybadgerdontcare merged 7 commits intoampproject:masterfrom
jridgewell:crossorigin-anonymous-validator
Oct 30, 2019
Merged

✨ Allow crossorigin=anonymous on Scripts#25291
honeybadgerdontcare merged 7 commits intoampproject:masterfrom
jridgewell:crossorigin-anonymous-validator

Conversation

@jridgewell
Copy link
Copy Markdown
Contributor

This is a necessary step in order to fix error reporting for errors generated by crossorigin scripts. Making the script anonymous signals to the browser that there is no User PII in the script, and will allow the errors to be generated will full stack trace and error message.

Fixes #24731

@amp-owners-bot
Copy link
Copy Markdown

Hey @ampproject/wg-caching, these files were changed:

  • validator/validator-main.protoascii

1 similar comment
@amp-owners-bot
Copy link
Copy Markdown

Hey @ampproject/wg-caching, these files were changed:

  • validator/validator-main.protoascii

@jridgewell
Copy link
Copy Markdown
Contributor Author

@honeybadgerdontcare: I corrected the other test to include your nit message.

@honeybadgerdontcare honeybadgerdontcare merged commit 264707d into ampproject:master Oct 30, 2019
@jridgewell jridgewell deleted the crossorigin-anonymous-validator branch October 30, 2019 21:42
amaltas added a commit that referenced this pull request Nov 5, 2019
amaltas added a commit that referenced this pull request Nov 5, 2019
amaltas added a commit that referenced this pull request Nov 6, 2019
* cl/277925913 Revision bump for #25291

* cl/277925913 Revision bump for #25291

* cl/278402306 Remove unused CSS selector code

* cl/278620720 Revision bump for #25210

* cl/278642597 Revision bump for #24793

* cl/278653831 Revision bump for #25425

* Fix merge issues in original rollup commit
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* Allow crossorigin=anonymous on Scripts

Fixes ampproject#24731

* Add tests

* nit

* nit .out file

* nits

* nit: alphabetical

* nit: alphabetical
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* cl/277925913 Revision bump for ampproject#25291

* cl/277925913 Revision bump for ampproject#25291

* cl/278402306 Remove unused CSS selector code

* cl/278620720 Revision bump for ampproject#25210

* cl/278642597 Revision bump for ampproject#24793

* cl/278653831 Revision bump for ampproject#25425

* Fix merge issues in original rollup commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Allow crossorigin="anonymous" on amp scripts in validator

3 participants