New issue
Advanced search Search tips

Issue 897643 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 897373
Owner:
Closed: Oct 26
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

<TD> DOM with empty innterText returns charcode 9 (H-Tab)

Reported by nakamura...@kotobuki.co.jp, Oct 22

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. create the following simple HTML.

<table>
    <tr>
        <td></td>
        <td></td>
    </tr>
</table>

2. open it with Chrome browser.
3. run the following javascript code.

document.querySelectorAll('td')[0].innerText.charCodeAt()

4. You will see it returns 9 which means Horizontal Tab despite it should be NaN.

What is the expected behavior?
I wrote it in reproducing steps.

What went wrong?
I wrote it in reproducing steps.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes 69

Does this work in other browsers? Yes

Chrome version: 70.0.3538.67  Channel: stable
OS Version: OS X 10.13.6
Flash Version:
 
Bisected to r585756 "Implement Element#innerText to conform the spec"
Landed in 70.0.3533.0
Ironically, the CL message says "NOT READY FOR COMMIT"...
Labels: Needs-Triage-M70 Needs-Bisect
Components: Blink>DOM
Cc: viswa.karala@chromium.org
 Issue 898042  has been merged into this issue.
Cc: swarnasree.mukkala@chromium.org
Labels: -Pri-2 -Type-Compat -Needs-Bisect RegressedIn-70 Triaged-ET ReleaseBlock-Stable Target-70 Target-71 Target-72 M-70 FoundIn-71 FoundIn-70 FoundIn-72 hasbisect OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Owner: yosin@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on reported chrome version #70.0.3538.67 and latest canary #72.0.3589.0 using Ubuntu 17.10, Windows 10 and Mac OS 10.13.6. The following is the bisect information.

Bisect Information:
==============
Good Build:70.0.3532.0
Bad Build:70.0.3533.0

Change Log: https://chromium.googlesource.com/chromium/src/+/72d438ee5563db3087ea1f6630834343bdb8fb65
Reviewed on: https://chromium-review.googlesource.com/1114673

As per comment#1 assigning it Yoshifumi.
@Yoshifumi: Please help us in re-assigning if it is not related to your change.
Adding ReleaseBlock-Stable as this is a regression in M-70. Please feel free to remove if not applicable.

Thanks.!
 Issue 898007  has been merged into this issue.
Mergedinto: 897373
Status: Duplicate (was: Assigned)

Sign in to add a comment