8c1397e4a0
Fix issue created by patch https://codereview.chromium.org/2582993002/ CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng TBR=yangguo@chromium.org BUG=v8:4360 Review-Url: https://codereview.chromium.org/2599973002 Cr-Commit-Position: refs/heads/master@{#41945}
11 lines
424 B
JavaScript
11 lines
424 B
JavaScript
// Copyright 2016 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
if (this.Intl) {
|
|
assertThrows(() => Object.getOwnPropertyDescriptor(Intl.Collator.prototype,
|
|
'compare')
|
|
.get.call(new Intl.DateTimeFormat())('a', 'b'),
|
|
TypeError)
|
|
}
|