You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "glmnbeyond (JIRA)" <ji...@apache.org> on 2014/03/28 04:21:15 UTC

[jira] [Updated] (CB-6369) InAppBrowser->CSS/JS Injection->openWithScript test failed!

     [ https://issues.apache.org/jira/browse/CB-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

glmnbeyond updated CB-6369:
---------------------------

    Description: 
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:read}"Script literal successfully injected"{color} and alert dialog with the text "Results verified". " instead of "open successfully in InAppBrowser with text {color:read}"InAppBrowser - Script / Style Injection Test"{color} and alert dialog with the text "Results verified"."

  was:
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 "Script literal successfully injected" and alert dialog with the text "Results verified". " instead of "open successfully in InAppBrowser with text "InAppBrowser - Script / Style Injection Test" and alert dialog with the text "Results verified"."


> 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:read}"Script literal successfully injected"{color} and alert dialog with the text "Results verified". " instead of "open successfully in InAppBrowser with text {color:read}"InAppBrowser - Script / Style Injection Test"{color} and alert dialog with the text "Results verified"."



--
This message was sent by Atlassian JIRA
(v6.2#6252)