New issue
Advanced search Search tips

Issue 876549 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Javascript error when opening emoji keyboard from shelf

Project Member Reported by shend@chromium.org, Aug 21

Issue description

Chrome Version: ChromeOS 70.0.3519.3
IME Version: 20180806
OS: Chrome

Opening the emoji keyboard from the shelf can sometimes result in the following error:

Uncaught TypeError: Cannot read property 'firstChild' of null
    at Object.$goog$dom$removeChildren$ [as removeChildren] (chos_privatebackground-debug.js:26512)
    at $i18n$input$chrome$ui$widget$CandidateRow$$clearCandidates$ [as clearCandidates] (chos_privatebackground-debug.js:46813)
    at $i18n$input$chrome$ui$keyboard$CandidateKeyboardView$$clearCandidates$ [as clearCandidates] (chos_privatebackground-debug.js:45987)
    at $i18n$input$chrome$ui$keyboard$Keyboard$$activateHeaderBar_$ [as activateHeaderBar_] (chos_privatebackground-debug.js:46686)
 
Yingbing has also encountered this error yesterday, seems like some issue with the render life cycle, I think he's putting a safe-guard on that part of code for a quick fix.
Okay, thanks!
Cc: -wuyingbing@chromium.org shend@chromium.org
Owner: wuyingbing@chromium.org
Status: Assigned (was: Available)
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 29

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/overlays/chromeos-overlay/+/02d5da2ab215ae700542eeb0a613fa91cd75303c

commit 02d5da2ab215ae700542eeb0a613fa91cd75303c
Author: Darren Shen <shend@google.com>
Date: Wed Aug 29 18:16:14 2018

Status: Fixed (was: Assigned)

Sign in to add a comment