You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse Monroy (JIRA)" <ji...@apache.org> on 2016/02/16 10:38:18 UTC

[jira] [Commented] (CB-10313) Report on Duplicate ID on a webpage (webview)

    [ https://issues.apache.org/jira/browse/CB-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148341#comment-15148341 ] 

Jesse Monroy commented on CB-10313:
-----------------------------------

Okay. I ran some more tests and I figured out my notes on the bug were not good enough. This is why I could not reproduce it a week later. I am going to open a new ticket because the description is different.

> 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
>    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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org