зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1706451 [wpt PR 28604] - Handle exceptions thrown at step 12 of HTMLConstructor [1], a=testonly
Automatic update from web-platform-tests Handle exceptions thrown at step 12 of HTMLConstructor [1] [1] https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors Bug: 1197894 Change-Id: I2cc34e8b747ddc9325f03b3830e54a52651bf242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2837484 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#875303} -- wpt-commits: 0eaf38744197756c848df29403243b5f8e0c6e53 wpt-pr: 28604
This commit is contained in:
Родитель
c73515865d
Коммит
dbb195b40b
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Check for crash at step #12 of HTML Constructors</title>
|
||||
<meta name='author' href='mailto:masonf@chromium.org'>
|
||||
<link rel='help' href='https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors'>
|
||||
<link rel='help' href='https://crbug.com/1197894'>
|
||||
|
||||
<uh-oh></uh-oh>
|
||||
|
||||
<script type="module">
|
||||
Reflect.preventExtensions(document.querySelector('uh-oh'));
|
||||
customElements.define('uh-oh', class extends HTMLElement {});
|
||||
</script>
|
||||
|
||||
This test passes if it does not crash.
|
Загрузка…
Ссылка в новой задаче