Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
31
node_modules/selenium-webdriver/lib/test/data/safari/frames_benchmark.html
generated
vendored
Normal file
31
node_modules/selenium-webdriver/lib/test/data/safari/frames_benchmark.html
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<script>
|
||||
var start;
|
||||
var dom;
|
||||
|
||||
function run() {
|
||||
if (dom) {
|
||||
dom.parentNode.removeChild(dom);
|
||||
}
|
||||
|
||||
dom = document.createElement('div');
|
||||
var result = document.createElement('div');
|
||||
dom.appendChild(result);
|
||||
document.body.appendChild(dom);
|
||||
|
||||
start = Date.now();
|
||||
|
||||
for (var i = 0; i < 100; i++) {
|
||||
var iframe = document.createElement('iframe');
|
||||
iframe.style.width = '200px';
|
||||
iframe.style.height = '30px';
|
||||
dom.appendChild(iframe);
|
||||
var content = iframe.contentWindow.document.createTextNode('hello, world');
|
||||
iframe.contentWindow.document.body.appendChild(content);
|
||||
iframe.contentWindow.document.body.style.overflow = 'hidden';
|
||||
}
|
||||
|
||||
result.innerHTML = 'Done! ' + (Date.now() - start) + ' ms';
|
||||
}
|
||||
</script>
|
||||
<input type="button" value="Go!" onclick="run()">
|
||||
Loading…
Add table
Add a link
Reference in a new issue