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

Fix #14422 and add more thorough check for CSP violations #1413

Closed
wants to merge 2 commits into from

Conversation

markelog
Copy link
Member

// Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
div.setAttribute( eventName, "t" );
support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false;
}
Copy link
Member

Choose a reason for hiding this comment

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

Why make these support.js changes? They don't seem to relate to testing CSP.

Copy link
Member Author

Choose a reason for hiding this comment

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

See this for more info.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, got it. Thanks.

Copy link
Member Author

Choose a reason for hiding this comment

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

I probably should note, that new assertion actually miss Firefox thing, as it turns out, Firefox do not send csp reports if error happen in the iframe.

Copy link
Member

Choose a reason for hiding this comment

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

Seriously?!? What if we used window.open for this one test?

Edit: Nevermind my fevered ramblings; obviously popup blockers kill that thought.

@markelog
Copy link
Member Author

markelog commented Nov 1, 2013

@gibson042 done

@gibson042
Copy link
Member

👍

@markelog
Copy link
Member Author

markelog commented Nov 8, 2013

Landed via 9e3d0f3

@markelog markelog closed this Nov 8, 2013
mescoda pushed a commit to mescoda/jquery that referenced this pull request Nov 4, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants