cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Monroy (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-10313) Report on Duplicate ID on a webpage (webview)
Date Fri, 22 Jan 2016 02:08:39 GMT

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

Jesse Monroy edited comment on CB-10313 at 1/22/16 2:07 AM:
------------------------------------------------------------

[~nikhilkh] I created a [test app|https://github.com/jessemonroy650/cordova-bug-duplicate-id]
to submit, but it fails to show the issue. I must conclude that the bug requires some other
component I have not included in the test app.

To note, I DID TEST AND CONFIRM this on my app. The app has been sent to Google Play with
the fix. 

I will take my original app and create a branch we can test with. It will be another week
before I have time for this.



was (Author: jessemonroy650):
[~nikhilkh] I created a [https://github.com/jessemonroy650/cordova-bug-duplicate-id|test app]
to submit, but it fails to show the issue. I must conclude that the bug requires some other
component I have not included in the test app.

To note, I DID TEST AND CONFIRM this on my app. The app has been sent to Google Play with
the fix. 

I will take my original app and create a branch we can test with. It will be another week
before I have time for this.


> 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