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

Shazron Abdullah updated CB-10313:
----------------------------------
    Component/s: Android

> Report on Duplicate ID on a webpage (webview)
> ---------------------------------------------
>
>                 Key: CB-10313
>                 URL: https://issues.apache.org/jira/browse/CB-10313
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.2.0
>         Environment: Android 5.1.0 Lollipop (API level 22)
> Android 4.4.2 KitKat (API level 19)
> Phonegap Build cli-5.2.0
>            Reporter: Jesse Monroy
>              Labels: build, triaged
>
> This a bug, a request for improvement, and a feature request. This may affect 
> other version. I have not tested beyond my devices.
> I will create a sample app within 24 hours.
> **THE BUG**
> The current set of webview engines do not report when an element ID has been 
> duplicted. Accordingly,
>  [W3C - Global|http://www.w3.org/TR/html4/struct/global.html]
> **Section 7.5.2:**
> bq.   id = name \[CS] This attribute assigns a name to an element. This name 
> must be unique in a document.
> - Firefox 34 does not use the element, does not report the error, and runs 
> Javascript.
> - Chrome Version 39.0.2171.71 *USES* the element, does not report the error, 
> and runs Javascript.
> - On Cordova/Phonegap *USES* the element, does not report the error, AND 
> *fails** to run some Javascript components. I can report - _localstorage, 
> cordova.device (plugin), cordova-plugin-appversion._
> **THE IMPROVEMENT**
> Run Javascript components regards.
> **THE FEATURE**
> Fail the *build*, *report the failure* to the developer, and allow to 
> override.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to