WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
HTML repro file
minnodes.html (text/html), 464 bytes, created by
Pete Blois
on 2013-02-25 13:01:29 PST
(
hide
)
Description:
HTML repro file
Filename:
MIME Type:
Creator:
Pete Blois
Created:
2013-02-25 13:01:29 PST
Size:
464 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><div class='timeTook'></div> > <script> >for (var i = 0; i < 1500; ++i) { > document.body.appendChild(document.createTextNode(' ')); > document.body.appendChild(document.createElement('div')); > document.body.appendChild(document.createTextNode(' ')); >} >var startTime = Date.now(); >window.setTimeout(function() { > document.querySelector('.timeTook').textContent = > 'Took: ' + (Date.now() - startTime) + 'ms'; >}, 0); > </script> ></html>
<!DOCTYPE html> <html> <div class='timeTook'></div> <script> for (var i = 0; i < 1500; ++i) { document.body.appendChild(document.createTextNode(' ')); document.body.appendChild(document.createElement('div')); document.body.appendChild(document.createTextNode(' ')); } var startTime = Date.now(); window.setTimeout(function() { document.querySelector('.timeTook').textContent = 'Took: ' + (Date.now() - startTime) + 'ms'; }, 0); </script> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 110786
: 190110 |
190545
|
190549
|
190554
|
190557
|
190747
|
190773
|
191086
|
191094