[
https://issues.apache.org/jira/browse/CB-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276024#comment-14276024
]
ASF GitHub Bot commented on CB-8295:
------------------------------------
GitHub user jpchase opened a pull request:
https://github.com/apache/cordova-mobile-spec/pull/115
CB-8295 Enable CSP for mobile spec
- Uses a javascript include file to document.write a CSP <meta> tag on page
- Minor changes to test pages where need to comply with CSP (e.g. remove
inline event handler)
- Changed to Bridge auto tests to remove nested specs, which was causing an
error on Android
- Some test pages excluded from CSP (e.g. those with heavy use of inline
javascript)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpchase/cordova-mobile-spec CB-8295
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-mobile-spec/pull/115.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #115
----
commit 008fa545d97479080aa577407bb18c0503753379
Author: Jason Chase <[email protected]>
Date: 2015-01-13T21:51:18Z
CB-8295 Enable CSP for mobile spec
- Uses a javascript include file to document.write a CSP <meta> tag on page
- Minor changes to test pages where need to comply with CSP (e.g. remove
inline event handler)
- Changed to Bridge auto tests to remove nested specs, which was causing an
error on Android
- Some test pages excluded from CSP (e.g. those with heavy use of inline
javascript)
----
> Enable CSP for mobilespec
> -------------------------
>
> Key: CB-8295
> URL: https://issues.apache.org/jira/browse/CB-8295
> Project: Apache Cordova
> Issue Type: Improvement
> Components: mobile-spec
> Affects Versions: Master
> Reporter: Jason Chase
> Assignee: Jason Chase
>
> With the work done in CB-8210 and CB-8252, it is now possible to run at least
> the mobilespec plugin tests under CSP. Consequently, it makes sense to turn
> on CSP by default for mobilespec. This should help ensure there are no
> regressions in the platform/plugin support for running under CSP.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]