Support $262.IsHTMLDDA
There is already a %GetUndetectable runtime test function, so use that. Bug: v8:7184 Change-Id: I04af03d95c4245ab9c7061cb00d5890972b82f46 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2181195 Commit-Queue: Marja Hölttä <marja@chromium.org> Reviewed-by: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#67553}
This commit is contained in:
parent
153dbf4a6d
commit
50ee1df474
@ -17,6 +17,7 @@ group("v8_test262") {
|
||||
"harness-adapt.js",
|
||||
"harness-adapt-donotevaluate.js",
|
||||
"harness-agent.js",
|
||||
"harness-ishtmldda.js",
|
||||
"test262.status",
|
||||
"testcfg.py",
|
||||
"local-tests/",
|
||||
|
5
test/test262/harness-ishtmldda.js
Normal file
5
test/test262/harness-ishtmldda.js
Normal file
@ -0,0 +1,5 @@
|
||||
// Copyright 2020 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.
|
||||
|
||||
$262.IsHTMLDDA = %GetUndetectable();
|
@ -446,16 +446,6 @@
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7184
|
||||
'annexB/language/expressions/yield/star-iterable-return-emulates-undefined-throws-when-called': [FAIL],
|
||||
'annexB/language/statements/for-await-of/iterator-close-return-emulates-undefined-throws-when-called': [FAIL],
|
||||
'annexB/language/statements/for-of/iterator-close-return-emulates-undefined-throws-when-called': [FAIL],
|
||||
|
||||
# http://crbug/v8/10451
|
||||
'annexB/language/expressions/assignment/dstr/array-pattern-emulates-undefined': [FAIL],
|
||||
'annexB/language/expressions/assignment/dstr/object-pattern-emulates-undefined': [FAIL],
|
||||
'annexB/language/expressions/yield/star-iterable-throw-emulates-undefined-throws-when-called': [FAIL],
|
||||
'annexB/language/statements/const/dstr/array-pattern-emulates-undefined': [FAIL],
|
||||
'annexB/language/statements/const/dstr/object-pattern-emulates-undefined': [FAIL],
|
||||
'annexB/language/statements/function/default-parameters-emulates-undefined': [FAIL],
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=5690
|
||||
'language/expressions/call/eval-spread': [FAIL],
|
||||
|
@ -55,6 +55,7 @@ FEATURE_FLAGS = {
|
||||
'FinalizationRegistry': '--harmony-weak-refs-with-cleanup-some',
|
||||
'WeakRef': '--harmony-weak-refs-with-cleanup-some',
|
||||
'host-gc-required': '--expose-gc-as=v8GC',
|
||||
'IsHTMLDDA': '--allow-natives-syntax',
|
||||
'top-level-await': '--harmony-top-level-await',
|
||||
'regexp-match-indices': '--harmony-regexp-match-indices',
|
||||
# https://github.com/tc39/test262/pull/2395
|
||||
@ -206,6 +207,8 @@ class TestCase(testcase.D8TestCase):
|
||||
list(self.suite.harness) +
|
||||
([os.path.join(self.suite.root, "harness-agent.js")]
|
||||
if self.__needs_harness_agent() else []) +
|
||||
([os.path.join(self.suite.root, "harness-ishtmldda.js")]
|
||||
if "IsHTMLDDA" in self.test_record.get("features", []) else []) +
|
||||
([os.path.join(self.suite.root, "harness-adapt-donotevaluate.js")]
|
||||
if self.fail_phase_only and not self._fail_phase_reverse else []) +
|
||||
self._get_includes() +
|
||||
|
Loading…
Reference in New Issue
Block a user