New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662210 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Bit confusing error message when observing invalid entries

Project Member Reported by panicker@chromium.org, Nov 3 2016

Issue description

Currently the message is
Uncaught TypeError: Failed to execute 'observe' on 'PerformanceObserver': A Performance Observer MUST have a non-empty entryTypes attribute."

Instead of "non-empty" this should mention "invalid".
 
Components: Blink>PerformanceAPIs
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/920e411ac7f876467faa8454256578d103e0304b

commit 920e411ac7f876467faa8454256578d103e0304b
Author: sunjian <sunjian@chromium.org>
Date: Thu Nov 10 03:22:27 2016

Updated error message in PerformanceObserver.observe

BUG= 662210 

Review-Url: https://codereview.chromium.org/2468063006
Cr-Commit-Position: refs/heads/master@{#431165}

[modify] https://crrev.com/920e411ac7f876467faa8454256578d103e0304b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp

Status: Fixed (was: Assigned)

Sign in to add a comment