| Index: third_party/WebKit/PerformanceTests/ShadowDOM/SlotDistibutedNextPrevious.html
|
| diff --git a/third_party/WebKit/PerformanceTests/ShadowDOM/SlotDistibutedNextPrevious.html b/third_party/WebKit/PerformanceTests/ShadowDOM/SlotDistibutedNextPrevious.html
|
| deleted file mode 100644
|
| index 438cd7342a191a9784305cb958b40f9d3a7af647..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/PerformanceTests/ShadowDOM/SlotDistibutedNextPrevious.html
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../resources/runner.js"></script>
|
| -<div id="host">
|
| -</div>
|
| -<script>
|
| -'use strict';
|
| -const numAssignedDivs = 100;
|
| -
|
| -const host = document.getElementById('host');
|
| -for (let i = 0; i < numAssignedDivs; ++i){
|
| - let div = document.createElement('div');
|
| - div.setAttribute('slot', 's1');
|
| - div.appendChild(document.createTextNode('div' + i));
|
| - host.appendChild(div);
|
| -}
|
| -
|
| -const slot = document.createElement('slot');
|
| -slot.setAttribute('name', 's1');
|
| -const shadowRoot = host.attachShadow({mode: 'open'});
|
| -shadowRoot.appendChild(slot);
|
| -
|
| -function run() {
|
| - slot.innerText;
|
| -}
|
| -
|
| -PerfTestRunner.measureRunsPerSecond({
|
| - description: 'Measure Slot Distribution Calculation',
|
| - run: run,
|
| - done: () => {
|
| - }
|
| -});
|
| -</script>
|
| -
|
|
|