Chromium Code Reviews| Index: third_party/WebKit/Source/core/timing/PerformanceObserver.cpp |
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp |
| index bbd92920cba7868293214fec83a66ae4715cc663..c3d7cac9d83ecec0fb07e0b96d547cadc281ea92 100644 |
| --- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp |
| +++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp |
| @@ -49,7 +49,7 @@ void PerformanceObserver::observe(const PerformanceObserverInit& observerInit, |
| } |
| if (entryTypes == PerformanceEntry::Invalid) { |
| exceptionState.throwTypeError( |
| - "A Performance Observer MUST have a non-empty entryTypes attribute."); |
| + "A Performance Observer MUST have a valid entryTypes attribute."); |
|
Yoav Weiss
2016/11/04 21:49:16
Just to clarify, if one of the entries is valid, t
sunjian
2016/11/09 23:27:58
Done.
|
| return; |
| } |
| m_filterOptions = entryTypes; |