Chromium Code Reviews
DescriptionRawResourceTest: Use loadingTaskRunner to be balanced with Resource
ResourceCallback::schedule() was changed to use loadingTaskRunner
instead of Timer, but RawResourceTest is still using a Timer to remove
a client from a Resource. Since tests expects tasks are scheduled
sequentially, we should use the same infrastructure to run asynchronous
tasks for both Resource and tests.
Tests work without task reordering at this point, but tests fail
due to reordering if this file is moved under platform and run with
TestingPlatformSupportWithMockScheduler.
TEST=webkit_unit_tests --ftest_filter=RawResourceTest.AddClientDuringCallback
BUG=655920
Review-Url: https://codereview.chromium.org/2631093004
Cr-Commit-Position: refs/heads/master@{#444022}
Committed: https://chromium.googlesource.com/chromium/src/+/2a568e5096fc65ebf8f338288000dac8fffadc84
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|
|||||||||||||||||||