Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Issue 615033002: Refactor of various layout tests to use RAF (Closed)

Created:
6 years, 2 months ago by alex clarke (OOO till 29th)
Modified:
6 years, 2 months ago
CC:
aandrey+blink_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, caseq+blink_chromium.org, cbiesinger, devtools-reviews_chromium.org, dstockwell, Eric Willigers, eustas+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, Mike Lawther (Google), paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, rjwright, sergeyv+blink_chromium.org, shans, Steve Block, Timothy Loh, vsevik+blink_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Refactor of various layout tests to use RAF Refactor of various layout tests to use RAF because they break/become flaky when the 1ms minimum delay in DOMTimer.cpp is removed by patch https://codereview.chromium.org/467153003/ BUG=402694

Patch Set 1 #

Total comments: 4

Patch Set 2 : Try runAfterDisplay instead of nested RAFs #

Patch Set 3 : Fix a bug #

Patch Set 4 : Had to change runAfterDisplay since it no longer worked #

Patch Set 5 : Test to see if mod to resource-client-removal.svg was bad #

Patch Set 6 : Can't turn runAfterDisplay into nested RAF :( #

Patch Set 7 : fix use-detatch.svg #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -49 lines) Patch
M LayoutTests/css3/flexbox/repaint.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/css3/flexbox/repaint-rtl-column.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/font-face-css-change-while-loading.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/form-request-autocomplete.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/history/redirect-via-iframe.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/history/same-document-iframes-changing-fragment.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/html/marquee-scrollamount.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/loader/unschedule-relayout-after-unload.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/inspector/inspector-test.js View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_associate_with_navigation_timing.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/resources/js-test.js View 2 chunks +2 lines, -2 lines 1 comment Download
M LayoutTests/resources/run-after-display.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/animations/reinserting-svg-into-document.html View 2 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/svg/animations/smil-leak-element-instances.svg View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/animations/smil-leak-element-instances-noBaseValRef.svg View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/js-late-gradient-creation.svg View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/custom/js-late-marker-and-object-creation.svg View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/js-late-mask-and-object-creation.svg View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/js-late-pattern-creation.svg View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/custom/pending-resource-after-removal.xhtml View 1 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/resource-client-removal.svg View 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/use-detach.svg View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M LayoutTests/svg/repaint/image-with-clip-path.svg View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
jamesr
Thanks for the patch, but I'm afraid I won't be able to go through these.
6 years, 2 months ago (2014-09-30 21:05:03 UTC) #3
alexclarke
+jchaffraix@chromium.org Hi Julien, I'm looking for a reviewer for these test refactors, would you be ...
6 years, 2 months ago (2014-10-01 09:48:06 UTC) #6
Julien - ping for review
https://codereview.chromium.org/615033002/diff/1/LayoutTests/fast/events/scroll-event-raf-timing.html File LayoutTests/fast/events/scroll-event-raf-timing.html (right): https://codereview.chromium.org/615033002/diff/1/LayoutTests/fast/events/scroll-event-raf-timing.html#newcode35 LayoutTests/fast/events/scroll-event-raf-timing.html:35: }, 1); Those delay changes are separated from the ...
6 years, 2 months ago (2014-10-03 22:22:32 UTC) #7
alex clarke (OOO till 29th)
Sorry for the very slow response, this fell through the cracks. PTAL https://codereview.chromium.org/615033002/diff/1/LayoutTests/fast/events/scroll-event-raf-timing.html File LayoutTests/fast/events/scroll-event-raf-timing.html ...
6 years, 2 months ago (2014-10-10 17:46:02 UTC) #8
alex clarke (OOO till 29th)
PTAL
6 years, 2 months ago (2014-10-14 10:20:33 UTC) #9
eseidel
You can see how flaky they are: http://test-results.appspot.com/dashboards/flakiness_dashboard.html
6 years, 2 months ago (2014-10-14 16:13:28 UTC) #11
eseidel
https://codereview.chromium.org/615033002/diff/210001/LayoutTests/resources/js-test.js File LayoutTests/resources/js-test.js (right): https://codereview.chromium.org/615033002/diff/210001/LayoutTests/resources/js-test.js#newcode694 LayoutTests/resources/js-test.js:694: requestAnimationFrame(callback); I might leave a comment to explain why ...
6 years, 2 months ago (2014-10-14 16:15:58 UTC) #12
Julien - ping for review
On 2014/10/14 at 16:15:58, eseidel wrote: > https://codereview.chromium.org/615033002/diff/210001/LayoutTests/resources/js-test.js > File LayoutTests/resources/js-test.js (right): > > https://codereview.chromium.org/615033002/diff/210001/LayoutTests/resources/js-test.js#newcode694 ...
6 years, 2 months ago (2014-10-15 20:37:03 UTC) #13
alex clarke (OOO till 29th)
6 years, 2 months ago (2014-10-21 15:52:03 UTC) #14
Sorry again for the slow response.  Iv'e been working on some other stuff.
Anyway Eric suggested I change all the affected setTimeout 0s to 1's with a
fixme.  I've actually all of them in https://codereview.chromium.org/644093003/

Powered by Google App Engine
This is Rietveld 408576698