Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing CSP related dead code. #12287

Merged
merged 3 commits into from Dec 5, 2017
Merged

Conversation

glevitzky
Copy link
Contributor

No description provided.

+ 'content');
expect(html).to.equal('<html><base href="https://acme.org/embed1">'
+ '<meta http-equiv=Content-Security-Policy content="script-src '
+ '\'none\';object-src \'none\';child-src \'none\'">content');
});

it('should insert CSP', () => {
spec.html = '<html><head></head><body></body></html>';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we verify that the violation listener was added?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@keithwrightbos keithwrightbos merged commit 9aa6383 into ampproject:master Dec 5, 2017
ghost pushed a commit that referenced this pull request Dec 6, 2017
* Removing CSP related dead code.

* Unused import.

* Added test for violation listener inclusion.
jpettitt pushed a commit to jpettitt/amphtml that referenced this pull request Dec 6, 2017
* Removing CSP related dead code.

* Unused import.

* Added test for violation listener inclusion.
jpettitt added a commit to jpettitt/amphtml that referenced this pull request Dec 7, 2017
* Removing CSP related dead code.

* Unused import.

* Added test for violation listener inclusion.
jpettitt pushed a commit to jpettitt/amphtml that referenced this pull request Dec 11, 2017
* Removing CSP related dead code.

* Unused import.

* Added test for violation listener inclusion.
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
* Removing CSP related dead code.

* Unused import.

* Added test for violation listener inclusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants