New issue
Advanced search Search tips

Issue 753370 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 736430
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Element.getElementsByTagName() works differently in 60 version

Reported by petr.ple...@booking.com, Aug 8 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Steps to reproduce the problem:
Right after version upgrade our app stopped working.

We do some XML processing.

Just try to execute this line:

var b = a.getElementsByTagName("DimensionDefinition")[0];

where a - is XML from the file.

What is the expected behavior?
In the version 59 and earlier it was returning elements <dataSet:DimensionDefinition>

We expect this behavior as true

What went wrong?
Now this statement doesn't work.

Instead we have to write:

getElementsByTagName("dataSet:DimensionDefinition")

Did this work before? Yes 59

Does this work in other browsers? Yes

Chrome version: 60.0.3112.90  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

May be it was an error in XML parser - but fact is fact - we have two machines with two different versions and they parse file differently.

This is not good of course.

Thanks!
 
sample.xml
8.4 KB View Download

Comment 1 by woxxom@gmail.com, Aug 8 2017

Duplicate of  issue 736430 .
This is an intended change to comply with the new spec, see  issue 645165 .
Mergedinto: 736430
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment