| Index: third_party/WebKit/LayoutTests/shadow-dom/crashes/slot-dir-attribute-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/crashes/slot-dir-attribute-crash.html b/third_party/WebKit/LayoutTests/shadow-dom/crashes/slot-dir-attribute-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a3c3f2c7a53662b7bf967aeeb8506d85d4f506b1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/crashes/slot-dir-attribute-crash.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<script src='../../resources/testharness.js'></script>
|
| +<script src='../../resources/testharnessreport.js'></script>
|
| +<script>
|
| +test(() => {
|
| + let slot = document.createElement("slot");
|
| + // This could cause crash. See crbug.com/627385
|
| + slot.setAttribute("dir", "auto");
|
| + assert_true(true, 'This test must run without crash.');
|
| +}, "HTMLSlotElement's dir attribute should not be used until Blink supports slots in a flat tree.");
|
| +</script>
|
|
|