You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/03/28 04:38:14 UTC
[jira] [Commented] (CB-6369) InAppBrowser->CSS/JS
Injection->openWithScript test failed!
[ https://issues.apache.org/jira/browse/CB-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950329#comment-13950329 ]
ASF GitHub Bot commented on CB-6369:
------------------------------------
GitHub user lmnbeyond opened a pull request:
https://github.com/apache/cordova-mobile-spec/pull/53
CB-6369:Update the descriptions of expected results for InAppBrowser ope...
...nWithScript tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lmnbeyond/cordova-mobile-spec CB-6369
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-mobile-spec/pull/53.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 #53
----
commit aebd633d5c8f68ce5f648734778df5a4dd11ba9b
Author: liumn <li...@polyvi.com>
Date: 2014-03-28T03:34:51Z
CB-6369:Update the descriptions of expected results for InAppBrowser openWithScript tests.
----
> InAppBrowser->CSS/JS Injection->openWithScript test failed!
> -----------------------------------------------------------
>
> Key: CB-6369
> URL: https://issues.apache.org/jira/browse/CB-6369
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS, mobile-spec, Plugin InAppBrowser
> Affects Versions: 3.4.0
> Environment: Cordova-ios 3.5.0-dev
> org.apache.cordova.inappbrowser 0.3.3-dev
> Reporter: glmnbeyond
>
> Steps to reproduce it:
> 1) Using createmobilespec.sh to create mobilespec project
> 2) Load mobile-spec tests
> 3) Navigate to "In App Browser" and "CSS / JS Injection" section
> 4) Test "Script File Injection(callback)" "Script Literal Injection" and "Script Literal Injection(callback)"
> Results:
> The actual test results don't match with the descriptions of expected test results.
> Expected:
> The actual test results match with the descriptions of expected test results.
> For example, the expected test result of "Script Literal Injection (callback)" should be
> "open successfully in InAppBrowser with the text {color:green}"Script literal successfully injected"{color} and alert dialog with the text "Results verified". " instead of "open successfully in InAppBrowser with text {color:red}"InAppBrowser - Script / Style Injection Test"{color} and alert dialog with the text "Results verified"."
--
This message was sent by Atlassian JIRA
(v6.2#6252)