cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glmnbeyond (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6369) InAppBrowser->CSS/JS Injection->openWithScript test failed!
Date Fri, 28 Mar 2014 03:23:15 GMT

     [ 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: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"."

  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 {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"."


> 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)

Mime
View raw message