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

Issue 1364863002: DocumentLoader::isCommittedButEmpty is timing-dependent. (Closed)

Created:
5 years, 3 months ago by Nate Chapin
Modified:
4 years, 4 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DocumentLoader::isCommittedButEmpty is timing-dependent. It's possible for it to be checked after the DocumentLoader has finished, at which point it will incorrectly return false. BUG=520389, 331745 TEST=DocumentLoaderTest.isCommittedButEmpty Committed: https://crrev.com/dbb678baafd71e3af774d34cbac20b860b8f674e Cr-Commit-Position: refs/heads/master@{#408277}

Patch Set 1 #

Patch Set 2 : Drop the enum value #

Patch Set 3 : #

Patch Set 4 : Potential fix for android failures #

Patch Set 5 : another android experiment #

Patch Set 6 : Trybot debugging is the best #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : Rebase (8 months late) #

Patch Set 13 : Experiment #

Patch Set 14 : another #

Patch Set 15 : Sigh. #

Patch Set 16 : Emulate net::ERR_ABORTED when replacing empty error page. #

Patch Set 17 : moar fix #

Patch Set 18 : Make test change #

Patch Set 19 : One other idea #

Patch Set 20 : fix compile #

Patch Set 21 : One other idea #

Patch Set 22 : One other idea #

Patch Set 23 : Back to the original test fix #

Total comments: 2

Patch Set 24 : Drop unnecessary wait onReceivedError #

Patch Set 25 : Oops, fix compile #

Total comments: 2

Patch Set 26 : Emulate onPageFinished #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (34 generated)
Nate Chapin
This is a post-merge followup to https://codereview.chromium.org/1357763002/. I never got it fully passing bots before. ...
5 years, 2 months ago (2015-10-22 22:47:10 UTC) #2
dcheng
lgtm
5 years, 2 months ago (2015-10-23 00:19:21 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1364863002/220001
4 years, 5 months ago (2016-06-30 19:12:43 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/96942)
4 years, 5 months ago (2016-06-30 20:18:22 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1364863002/240001
4 years, 5 months ago (2016-06-30 23:40:32 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/255971)
4 years, 5 months ago (2016-07-01 00:55:31 UTC) #12
Nate Chapin
sgurun, would you mind reviewing this test change? I'm fixing a bug in blink that ...
4 years, 5 months ago (2016-07-20 18:38:30 UTC) #24
sgurun-gerrit only
On 2016/07/20 18:38:30, Nate Chapin wrote: > sgurun, would you mind reviewing this test change? ...
4 years, 5 months ago (2016-07-20 18:46:15 UTC) #25
sgurun-gerrit only
On 2016/07/20 18:46:15, sgurun wrote: > On 2016/07/20 18:38:30, Nate Chapin wrote: > > sgurun, ...
4 years, 5 months ago (2016-07-21 23:59:43 UTC) #26
sgurun-gerrit only
On 2016/07/21 23:59:43, sgurun wrote: > On 2016/07/20 18:46:15, sgurun wrote: > > On 2016/07/20 ...
4 years, 5 months ago (2016-07-22 00:01:05 UTC) #28
gsennton
On 2016/07/20 18:38:30, Nate Chapin wrote: > sgurun, would you mind reviewing this test change? ...
4 years, 4 months ago (2016-07-26 15:34:58 UTC) #29
gsennton
https://codereview.chromium.org/1364863002/diff/430001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/1364863002/diff/430001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode684 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:684: onReceivedErrorHelper.waitForCallback(onReceivedErrorHelperCallCount, 1); This call is now unnecessary given that ...
4 years, 4 months ago (2016-07-26 15:35:19 UTC) #30
Nate Chapin
https://codereview.chromium.org/1364863002/diff/430001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/1364863002/diff/430001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode684 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:684: onReceivedErrorHelper.waitForCallback(onReceivedErrorHelperCallCount, 1); On 2016/07/26 15:35:19, gsennton wrote: > This ...
4 years, 4 months ago (2016-07-26 18:39:01 UTC) #31
Nate Chapin
On 2016/07/26 15:34:58, gsennton wrote: > On 2016/07/20 18:38:30, Nate Chapin wrote: > > sgurun, ...
4 years, 4 months ago (2016-07-26 18:40:38 UTC) #32
sgurun-gerrit only
On 2016/07/26 18:40:38, Nate Chapin wrote: > On 2016/07/26 15:34:58, gsennton wrote: > > On ...
4 years, 4 months ago (2016-07-27 02:10:10 UTC) #41
sgurun-gerrit only
On 2016/07/27 02:10:10, sgurun wrote: > On 2016/07/26 18:40:38, Nate Chapin wrote: > > On ...
4 years, 4 months ago (2016-07-27 02:13:01 UTC) #42
gsennton
Alright, yeah, I agree with Selim here, let's just emulate the onPageFinished in this CL. ...
4 years, 4 months ago (2016-07-27 09:38:09 UTC) #43
Nate Chapin
OK, now emulating onPageFinished, PTAL. https://codereview.chromium.org/1364863002/diff/470001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/1364863002/diff/470001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode679 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:679: public void testOnReceivedErrorCallback() throws ...
4 years, 4 months ago (2016-07-27 22:21:27 UTC) #46
sgurun-gerrit only
On 2016/07/27 22:21:27, Nate Chapin wrote: > OK, now emulating onPageFinished, PTAL. > > https://codereview.chromium.org/1364863002/diff/470001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java ...
4 years, 4 months ago (2016-07-27 22:35:26 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1364863002/490001
4 years, 4 months ago (2016-07-27 23:34:18 UTC) #52
commit-bot: I haz the power
Committed patchset #26 (id:490001)
4 years, 4 months ago (2016-07-27 23:41:13 UTC) #54
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:44:43 UTC) #56
Message was sent while issue was closed.
Patchset 26 (id:??) landed as
https://crrev.com/dbb678baafd71e3af774d34cbac20b860b8f674e
Cr-Commit-Position: refs/heads/master@{#408277}

Powered by Google App Engine
This is Rietveld 408576698