cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10313) Report on Duplicate ID on a webpage (webview)
Date Tue, 12 Jan 2016 21:47:39 GMT

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

Nikhil Khandelwal commented on CB-10313:
----------------------------------------

A sample will be useful to understand this issue.

> 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


Mime
View raw message