New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603396 link

Starred by 9 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature
Proj-Servicification


Sign in to add a comment

Use mojo for Chrome Loading

Project Member Reported by yhirano@chromium.org, Apr 14 2016

Issue description

Project Member

Comment 1 by bugdroid1@chromium.org, Apr 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be

commit 6e4dac6c4668c879b0034d8ab4ed82a96c7a51be
Author: yhirano <yhirano@chromium.org>
Date: Mon Apr 25 07:07:56 2016

Remove PlatformImpl::createURLLoader

PlatformImpl::createURLLoader is used only by tests. In that case,
resource_dispatcher is null and the returned url loader should be
used only for local resources such as data URLs. This CL moves
the implementation to TestBlinkWebUnitTestSupport to make it explicit.

BUG= 603396 

Review URL: https://codereview.chromium.org/1904403004

Cr-Commit-Position: refs/heads/master@{#389421}

[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/child/blink_platform_impl.cc
[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/child/blink_platform_impl.h
[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/test/test_blink_web_unit_test_support.cc

Project Member

Comment 2 by bugdroid1@chromium.org, Apr 25 2016

Labels: merge-merged-2716
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be

commit 6e4dac6c4668c879b0034d8ab4ed82a96c7a51be
Author: yhirano <yhirano@chromium.org>
Date: Mon Apr 25 07:07:56 2016

Remove PlatformImpl::createURLLoader

PlatformImpl::createURLLoader is used only by tests. In that case,
resource_dispatcher is null and the returned url loader should be
used only for local resources such as data URLs. This CL moves
the implementation to TestBlinkWebUnitTestSupport to make it explicit.

BUG= 603396 

Review URL: https://codereview.chromium.org/1904403004

Cr-Commit-Position: refs/heads/master@{#389421}

[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/child/blink_platform_impl.cc
[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/child/blink_platform_impl.h
[modify] https://crrev.com/6e4dac6c4668c879b0034d8ab4ed82a96c7a51be/content/test/test_blink_web_unit_test_support.cc

Project Member

Comment 3 by bugdroid1@chromium.org, May 18 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84

commit 20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84
Author: yhirano <yhirano@chromium.org>
Date: Wed May 18 05:20:45 2016

Define parameter structs of resource messages out of resource_messages.h

This is a preliminary change for ipc migration. In order to define typemaps between
mojo types and existing IPC related structs, we need to move them out of
resource_messages.h because it cannot be included from headers.

This CL doesn't change the behavior.

BUG= 603396 

Review-Url: https://codereview.chromium.org/1977313002
Cr-Commit-Position: refs/heads/master@{#394335}

[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/DEPS
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/async_resource_handler.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/async_revalidation_manager.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/async_revalidation_manager.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/async_revalidation_manager_unittest.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/resource_dispatcher_host_unittest.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/loader/resource_message_filter.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/browser/security_exploit_browsertest.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/child/request_extra_data.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/child/resource_dispatcher.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/child/resource_dispatcher.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/child/resource_dispatcher_unittest.cc
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/common/resource_messages.h
[add] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/common/resource_request.cc
[add] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/common/resource_request.h
[add] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/common/resource_request_completion_status.cc
[add] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/common/resource_request_completion_status.h
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/content_common.gypi
[modify] https://crrev.com/20c94ea9b16a32a26dd1cdfef5c4fce3eb968c84/content/renderer/scheduler/resource_dispatch_throttler_unittest.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Aug 11 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/336f01e389835aad6280247dc1ae8eef3868f8d3

commit 336f01e389835aad6280247dc1ae8eef3868f8d3
Author: yhirano <yhirano@chromium.org>
Date: Thu Aug 11 23:47:45 2016

Stop ShouldServiceRequest from running callback

As a preparation for loading mojo migration, this CL stops ShouldServiceRequest
from running a callback. Instead, it merely returns a boolean
indicating whether it should serve the request.

This CL is a refactoring and doesn't change the behavior.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2235123002
Cr-Commit-Position: refs/heads/master@{#411449}

[modify] https://crrev.com/336f01e389835aad6280247dc1ae8eef3868f8d3/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/336f01e389835aad6280247dc1ae8eef3868f8d3/content/browser/loader/resource_dispatcher_host_impl.h

Project Member

Comment 5 by bugdroid1@chromium.org, Aug 13 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/72f62279cd7c4370dd7e068b900d9359a7e9589c

commit 72f62279cd7c4370dd7e068b900d9359a7e9589c
Author: yhirano <yhirano@chromium.org>
Date: Sat Aug 13 12:50:06 2016

Use mojo for Chrome Loading, Part 1

This CL introduces content::mojom::URLLoader for Chrome Loading
with mojo.

Currently the loader is used only in LayoutTests/virtual/mojo-loading
tests, and it lacks a lot of functionalities. I will implement more
features in subsequent CLs.

BUG= 603396 

Review-Url: https://codereview.chromium.org/1970693002
Cr-Commit-Position: refs/heads/master@{#411894}

[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/DEPS
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/DEPS
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/async_resource_handler_unittest.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/mojo_async_resource_handler.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/mojo_async_resource_handler.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/resource_message_filter.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/resource_message_filter.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/test_url_loader_client.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/test_url_loader_client.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/url_loader_factory_impl.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/url_loader_factory_impl.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/renderer_host/render_process_host_impl.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/browser/renderer_host/render_process_host_impl.h
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/resource_dispatcher.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/resource_dispatcher.h
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/resource_dispatcher_unittest.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/url_response_body_consumer.cc
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/url_response_body_consumer.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/url_response_body_consumer_unittest.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/web_url_loader_impl.h
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/BUILD.gn
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/typemaps.gni
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/url_loader.mojom
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/url_loader_factory.mojom
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/url_loader_status.typemap
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/url_request.typemap
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/common/url_response_head.typemap
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/content_browser.gypi
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/content_child.gypi
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/content_tests.gypi
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/public/common/BUILD.gn
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/renderer/renderer_blink_platform_impl.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/renderer/renderer_blink_platform_impl.h
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/test/data/hello.html
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/test/data/hello.html.mock-http-headers
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/content/test/test_blink_web_unit_test_support.cc
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/mojo/public/tools/bindings/chromium_bindings_configuration.gni
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/third_party/WebKit/LayoutTests/VirtualTestSuites
[add] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/third_party/WebKit/LayoutTests/virtual/mojo-loading/webexposed/README.txt
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
[modify] https://crrev.com/72f62279cd7c4370dd7e068b900d9359a7e9589c/third_party/WebKit/public/platform/WebURLRequest.h

Project Member

Comment 6 by bugdroid1@chromium.org, Aug 31 2016

Cc: tzik@chromium.org
Project Member

Comment 9 by bugdroid1@chromium.org, Oct 6 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/32125d6a67379d78518aa612886b29b7f055fca3

commit 32125d6a67379d78518aa612886b29b7f055fca3
Author: tzik <tzik@chromium.org>
Date: Thu Oct 06 05:29:05 2016

Fix a null ptr crash on a empty body response on mojo loading

|body_consumer_| can be null on a request completion of an empty body
response.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2390293002
Cr-Commit-Position: refs/heads/master@{#423443}

[modify] https://crrev.com/32125d6a67379d78518aa612886b29b7f055fca3/content/child/resource_dispatcher.cc

Project Member

Comment 10 by bugdroid1@chromium.org, Oct 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4

commit bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4
Author: tzik <tzik@chromium.org>
Date: Fri Oct 07 02:08:06 2016

Clear mojo URLLoaderClient in ResourceDispatcher on cancellation

If a URL request is cancelled by a requester, there's a chance on
URLResponseBodyConsumer to run OnReadable() on an invalid
ResourceDispatcher::PendingRequestInfo. That causes a null pointer
access.

This CL clears the URLLoaderClient earlier in the cancellation phase to
avoid the crash.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2399463002
Cr-Commit-Position: refs/heads/master@{#423779}

[modify] https://crrev.com/bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4/content/child/resource_dispatcher.cc

Project Member

Comment 11 by bugdroid1@chromium.org, Oct 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1c895912ab579d514c7e1c03c0121dff543ce507

commit 1c895912ab579d514c7e1c03c0121dff543ce507
Author: tzik <tzik@chromium.org>
Date: Fri Oct 07 12:36:47 2016

Make SyncLoad result handling pluggable

Use a base::Callback to dispatch a SyncLoad result instead of
IPC::Message, so that we can share most of synchronous load code between
Chrome IPC version and Mojo IPC version.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2390313002
Cr-Commit-Position: refs/heads/master@{#423840}

[modify] https://crrev.com/1c895912ab579d514c7e1c03c0121dff543ce507/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/1c895912ab579d514c7e1c03c0121dff543ce507/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/1c895912ab579d514c7e1c03c0121dff543ce507/content/browser/loader/sync_resource_handler.cc
[modify] https://crrev.com/1c895912ab579d514c7e1c03c0121dff543ce507/content/browser/loader/sync_resource_handler.h

Project Member

Comment 12 by bugdroid1@chromium.org, Oct 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c

commit f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c
Author: finnur <finnur@chromium.org>
Date: Fri Oct 07 15:51:55 2016

Revert of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation (patchset #2 id:20001 of https://codereview.chromium.org/2399463002/ )

Reason for revert:
This is a speculative revert...

Two tests started failing somewhat reliably on Win7 in the build where this was checked in and all the other CLs in that build look completely unrelated.

NavigatingExtensionPopupBrowserTest.DownloadViaPost
PageLoadMetricsBrowserTest.IgnoreDownloads

I've actually already disabled the NavigatingExtensionPopupBrowserTest in a separate CL, but if the PageLoadMetricsBrowserTest doesn't get fixed with this revert then we can undo the revert.

Original issue's description:
> Clear mojo URLLoaderClient in ResourceDispatcher on cancellation
>
> If a URL request is cancelled by a requester, there's a chance on
> URLResponseBodyConsumer to run OnReadable() on an invalid
> ResourceDispatcher::PendingRequestInfo. That causes a null pointer
> access.
>
> This CL clears the URLLoaderClient earlier in the cancellation phase to
> avoid the crash.
>
> BUG= 603396 
>
> Committed: https://crrev.com/bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4
> Cr-Commit-Position: refs/heads/master@{#423779}

TBR=yhirano@chromium.org,jam@chromium.org,tzik@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 603396 

Review-Url: https://codereview.chromium.org/2396393002
Cr-Commit-Position: refs/heads/master@{#423868}

[modify] https://crrev.com/f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c/content/child/resource_dispatcher.cc

Project Member

Comment 13 by bugdroid1@chromium.org, Oct 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4c55a1b55ff37c8ea5832a99282f8683ccd22f45

commit 4c55a1b55ff37c8ea5832a99282f8683ccd22f45
Author: gab <gab@chromium.org>
Date: Fri Oct 07 16:57:10 2016

Reland of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation (patchset #1 id:1 of https://codereview.chromium.org/2396393002/ )

Reason for revert:
Still flakes after this revert, relanding.

Original issue's description:
> Revert of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation (patchset #2 id:20001 of https://codereview.chromium.org/2399463002/ )
>
> Reason for revert:
> This is a speculative revert...
>
> Two tests started failing somewhat reliably on Win7 in the build where this was checked in and all the other CLs in that build look completely unrelated.
>
> NavigatingExtensionPopupBrowserTest.DownloadViaPost
> PageLoadMetricsBrowserTest.IgnoreDownloads
>
> https://build.chromium.org/p/chromium.win/builders/Win7%20%2832%29%20Tests
>
> I've actually already disabled the NavigatingExtensionPopupBrowserTest in a separate CL, but if the PageLoadMetricsBrowserTest doesn't get fixed with this revert then we can undo the revert.
>
> Original issue's description:
> > Clear mojo URLLoaderClient in ResourceDispatcher on cancellation
> >
> > If a URL request is cancelled by a requester, there's a chance on
> > URLResponseBodyConsumer to run OnReadable() on an invalid
> > ResourceDispatcher::PendingRequestInfo. That causes a null pointer
> > access.
> >
> > This CL clears the URLLoaderClient earlier in the cancellation phase to
> > avoid the crash.
> >
> > BUG= 603396 
> >
> > Committed: https://crrev.com/bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4
> > Cr-Commit-Position: refs/heads/master@{#423779}
>
> TBR=yhirano@chromium.org,jam@chromium.org,tzik@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG= 603396 
>
> Committed: https://crrev.com/f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c
> Cr-Commit-Position: refs/heads/master@{#423868}

TBR=yhirano@chromium.org,jam@chromium.org,tzik@chromium.org,nasko@chromium.org,kinuko@chromium.org,lukasza@chromium.org,finnur@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 603396 

Review-Url: https://codereview.chromium.org/2400263002
Cr-Commit-Position: refs/heads/master@{#423887}

[modify] https://crrev.com/4c55a1b55ff37c8ea5832a99282f8683ccd22f45/content/child/resource_dispatcher.cc

Project Member

Comment 14 by bugdroid1@chromium.org, Oct 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/22b69a9b20e099fbe14c70b621bc630043222146

commit 22b69a9b20e099fbe14c70b621bc630043222146
Author: yhirano <yhirano@chromium.org>
Date: Wed Oct 19 04:39:51 2016

Relax ad-hoc assumptions on InterceptingResourceHandler

InterceptingResourceHandler holds two ResourceHandlers but it requires
those ResourceHandlers to meet certain conditions in addition to the
usual ResourceHandler contract.

This CL removes some (not all) requirements so that it can work with
MojoAsyncResourceHandler.

With this CL,
 - OnResponseStarted on the old handler can return false.
 - OnResponseStarted on the new handler can return false.
 - OnResponseStarted on the new handler can defer processing.
 - OnWillStart on the old handler can return false.
 - OnReadCompleted on the old handler can return false.
 - OnReadCompleted on the old handler can defer processing.
 - the payload given to |UseHandler| can be longer than the size of the
   buffer exposed via OnWillRead.
 - InterceptingResourceHandler reads only "committed" data.
   Previously, it read data on the buffer exposed by OnWillRead
   before OnReadCompleted was called.

BUG= 603396 

Review-Url: https://chromiumcodereview.appspot.com/2327463002
Cr-Commit-Position: refs/heads/master@{#426134}

[modify] https://crrev.com/22b69a9b20e099fbe14c70b621bc630043222146/content/browser/loader/intercepting_resource_handler.cc
[modify] https://crrev.com/22b69a9b20e099fbe14c70b621bc630043222146/content/browser/loader/intercepting_resource_handler.h
[modify] https://crrev.com/22b69a9b20e099fbe14c70b621bc630043222146/content/browser/loader/intercepting_resource_handler_unittest.cc
[modify] https://crrev.com/22b69a9b20e099fbe14c70b621bc630043222146/content/browser/loader/mime_sniffing_resource_handler_unittest.cc

Project Member

Comment 15 by bugdroid1@chromium.org, Oct 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4020282e126730319280b79d29c13464be2d6be5

commit 4020282e126730319280b79d29c13464be2d6be5
Author: tzik <tzik@chromium.org>
Date: Mon Oct 24 03:17:46 2016

Implement Mojo SyncLoad

This CL add a Mojo IPC for synchronous resource loading, and plumps it
from content::ResourceDispatcher to content::ResourceDispatcherHost.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2390983003
Cr-Commit-Position: refs/heads/master@{#427011}

[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/browser/loader/resource_dispatcher_host_unittest.cc
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/browser/loader/url_loader_factory_impl.cc
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/browser/loader/url_loader_factory_impl.h
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/child/resource_dispatcher.cc
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/common/typemaps.gni
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/common/url_loader_factory.mojom
[add] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/content/common/url_sync_load_result.typemap
[modify] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/third_party/WebKit/LayoutTests/VirtualTestSuites
[add] https://crrev.com/4020282e126730319280b79d29c13464be2d6be5/third_party/WebKit/LayoutTests/virtual/mojo-loading/http/tests/xmlhttprequest/web-apps/README.txt

Blockedon: 659917
Project Member

Comment 17 by bugdroid1@chromium.org, Oct 27 2016

Labels: merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/32125d6a67379d78518aa612886b29b7f055fca3

commit 32125d6a67379d78518aa612886b29b7f055fca3
Author: tzik <tzik@chromium.org>
Date: Thu Oct 06 05:29:05 2016

Fix a null ptr crash on a empty body response on mojo loading

|body_consumer_| can be null on a request completion of an empty body
response.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2390293002
Cr-Commit-Position: refs/heads/master@{#423443}

[modify] https://crrev.com/32125d6a67379d78518aa612886b29b7f055fca3/content/child/resource_dispatcher.cc

Project Member

Comment 18 by bugdroid1@chromium.org, Oct 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7cec170843da455dfe406b29d9cec4e01b592f75

commit 7cec170843da455dfe406b29d9cec4e01b592f75
Author: yhirano <yhirano@chromium.org>
Date: Mon Oct 31 05:02:45 2016

Use BrowserAssociatedInterface for mojo-loading

With this CL, mojo-loading starts using an associated ptr for
URLLoaderFactory rather than usual interface ptr. This change is to
resolve the IPC ordering issue with related IPCs such as navigation
and Service Worker IPCs.

This CL doesn't make URLLoader or URLLoaderClient associated. It
will be done in a separate CL.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2433233004
Cr-Commit-Position: refs/heads/master@{#428654}

[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/browser/loader/resource_message_filter.cc
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/browser/loader/resource_message_filter.h
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/browser/loader/url_loader_factory_impl.cc
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/browser/loader/url_loader_factory_impl.h
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/browser/renderer_host/render_process_host_impl.cc
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/renderer/renderer_blink_platform_impl.cc
[modify] https://crrev.com/7cec170843da455dfe406b29d9cec4e01b592f75/content/renderer/renderer_blink_platform_impl.h

Comment 19 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840
Project Member

Comment 20 by bugdroid1@chromium.org, Nov 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fe95d9b23ae824a85531260d87bb6f7897ea139c

commit fe95d9b23ae824a85531260d87bb6f7897ea139c
Author: yhirano <yhirano@chromium.org>
Date: Mon Nov 07 04:17:47 2016

Use Associated interfaces for mojo-loading

This CL makes URLLoader and URLLoaderClient associated for mojo-loading in
order to deal with the IPC ordering issue with the exising IPC messages.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2449933003
Cr-Commit-Position: refs/heads/master@{#430216}

[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/DEPS
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/resource_message_filter.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/resource_message_filter.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/url_loader_factory_impl.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/url_loader_factory_impl.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/browser/service_worker/service_worker_fetch_dispatcher.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/resource_dispatcher.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/resource_dispatcher.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/resource_dispatcher_unittest.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/url_response_body_consumer_unittest.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/web_url_loader_impl.h
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/common/url_loader_factory.mojom
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/renderer/renderer_blink_platform_impl.cc
[modify] https://crrev.com/fe95d9b23ae824a85531260d87bb6f7897ea139c/content/test/test_blink_web_unit_test_support.cc

Project Member

Comment 21 by bugdroid1@chromium.org, Nov 12 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ffcc0b4318abf391735e2eb2f46381a3264bd2c6

commit ffcc0b4318abf391735e2eb2f46381a3264bd2c6
Author: yhirano <yhirano@chromium.org>
Date: Sat Nov 12 04:01:43 2016

Use a proper URLLoaderAssociatedRequest in MojoAsyncResourceHandler tests

We used to pass null URLLoaderAssociatedRequest to MojoAsyncResourceHandler. As
we are planning to set an error_handler to the associated binding, we need to
pass a proper URLLoaderAssociatedRequest.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2489793002
Cr-Commit-Position: refs/heads/master@{#431764}

[modify] https://crrev.com/ffcc0b4318abf391735e2eb2f46381a3264bd2c6/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/ffcc0b4318abf391735e2eb2f46381a3264bd2c6/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/ffcc0b4318abf391735e2eb2f46381a3264bd2c6/content/browser/loader/test_url_loader_client.h

Project Member

Comment 22 by bugdroid1@chromium.org, Nov 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3ed22b610c31300b8c2746e1beb214a571d9f61b

commit 3ed22b610c31300b8c2746e1beb214a571d9f61b
Author: yhirano <yhirano@chromium.org>
Date: Tue Nov 15 16:40:37 2016

Mark WebURLResponse data size getters as ForTesting

The following getters are only used in tests, and I want to delete them
eventually.

 - encodedDataLength
 - encodedBodyLength
 - decodedBodyLength

BUG= 603396 

Review-Url: https://codereview.chromium.org/2483793002
Cr-Commit-Position: refs/heads/master@{#432195}

[modify] https://crrev.com/3ed22b610c31300b8c2746e1beb214a571d9f61b/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/3ed22b610c31300b8c2746e1beb214a571d9f61b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
[modify] https://crrev.com/3ed22b610c31300b8c2746e1beb214a571d9f61b/third_party/WebKit/public/platform/WebURLResponse.h

Project Member

Comment 23 by bugdroid1@chromium.org, Nov 16 2016

Project Member

Comment 24 by bugdroid1@chromium.org, Nov 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7153dc4799a3cea581c8d125990dc84d12fef576

commit 7153dc4799a3cea581c8d125990dc84d12fef576
Author: yhirano <yhirano@chromium.org>
Date: Wed Nov 16 09:42:46 2016

Implement redirect handling on MojoAsyncResourceHandler

This CL introduces redirect handling for loading with mojo.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2467833002
Cr-Commit-Position: refs/heads/master@{#432447}

[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/service_worker/service_worker_browsertest.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/child/resource_dispatcher.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/common/typemaps.gni
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/common/url_loader.mojom
[add] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/common/url_request_redirect_info.typemap
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/content/renderer/service_worker/service_worker_context_client.cc
[modify] https://crrev.com/7153dc4799a3cea581c8d125990dc84d12fef576/third_party/WebKit/LayoutTests/TestExpectations

Blockedon: 666216
Blockedon: 666217
Project Member

Comment 27 by bugdroid1@chromium.org, Nov 26 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bbc904d0f1d2c8db77e9344aaa3779c27d04a055

commit bbc904d0f1d2c8db77e9344aaa3779c27d04a055
Author: yhirano <yhirano@chromium.org>
Date: Sat Nov 26 05:59:26 2016

Implement TransferNavigation with mojo

This CL implements transfer navigation which transfer a content::ResourceLoader
from one renderer to another.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2496193002
Cr-Commit-Position: refs/heads/master@{#434569}

[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/cross_site_transfer_browsertest.cc
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/DEPS
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/resource_request_info_impl.cc
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/content/browser/loader/resource_request_info_impl.h
[modify] https://crrev.com/bbc904d0f1d2c8db77e9344aaa3779c27d04a055/third_party/WebKit/LayoutTests/FlagExpectations/site-per-process

Blockedon: 669357
Project Member

Comment 29 by bugdroid1@chromium.org, Dec 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06

commit 47a9f9bc844919d1bcdbf27a2a28256b1f40dd06
Author: tzik <tzik@chromium.org>
Date: Thu Dec 01 04:16:24 2016

Fix and refactor downloaded file handling in the loading stack

In download_to_file mode of resource loading, the resource handler needs
to call ResourceDispatcherHostImpl::RegisterDownloadedTempFile when the
file is created, and needs to call UnregisterDownloadedTempFile after the
client handles the file. Otherwise, the file is deleted before the client
uses it.
However, MojoAsyncResourceHandler doesn't call them, and that causes
layout test failure around XHR with responseType = 'blob'. This CL fixes
that by adding the RDTF and UDTF pair, and refactors similar code in
AsyncResourceHandler to share the same lifetime management of the
downloaded file in ResourceDispatcherHostImpl.

BUG= 603396 ,  659917 

Review-Url: https://codereview.chromium.org/2503813002
Cr-Commit-Position: refs/heads/master@{#435551}

[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/BUILD.gn
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/DEPS
[add] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/downloaded_temp_file_impl.cc
[add] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/downloaded_temp_file_impl.h
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/resource_dispatcher_host_unittest.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/child/resource_dispatcher.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/common/url_loader.mojom
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/content/renderer/service_worker/service_worker_context_client.cc
[modify] https://crrev.com/47a9f9bc844919d1bcdbf27a2a28256b1f40dd06/third_party/WebKit/LayoutTests/TestExpectations

Blockedon: 658305
Project Member

Comment 32 by bugdroid1@chromium.org, Dec 20 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a275b3ccec68e3e75a81bd6b51fd937fabf97416

commit a275b3ccec68e3e75a81bd6b51fd937fabf97416
Author: yhirano <yhirano@chromium.org>
Date: Tue Dec 20 03:58:40 2016

Dispatch transfer size update notification on mojo-loading

With this CL, MojoAsyncResourceHandler dispatches OnTransferSizeUpdated messages
when report_raw_headers is set in the request. This is for devtools which needs
transfer size update events.

BUG= 603396 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2566943002
Cr-Commit-Position: refs/heads/master@{#439697}

[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/DEPS
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/child/resource_dispatcher.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/child/resource_dispatcher.h
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/common/url_loader.mojom
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/renderer/service_worker/service_worker_context_client.cc
[add] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/test/data/gzip-content.svgz
[add] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/content/test/data/gzip-content.svgz.mock-http-headers
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/net/test/url_request/url_request_mock_http_job.cc
[modify] https://crrev.com/a275b3ccec68e3e75a81bd6b51fd937fabf97416/third_party/WebKit/LayoutTests/TestExpectations

Project Member

Comment 33 by bugdroid1@chromium.org, Dec 20 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d16a6bc2ccee2249dec6028140ac5792c4ca991e

commit d16a6bc2ccee2249dec6028140ac5792c4ca991e
Author: yhirano <yhirano@chromium.org>
Date: Tue Dec 20 07:44:02 2016

Most css1/ tests should wait for basebg.gif to be loaded

Many css1/ tests compare the image output with the expected one. They expected
that tests finish when the layout result becomes stable.

But the test runner may finish tests before loading some resources. Even worse,
the document load event may be dispatched before loading some resources. They're
working by chance, and changing the loading timing a bit will break them.

This CL makes those tests wait for css1/resources/basebg.gif to be loaded.

BUG= 603396 ,  675870 

Review-Url: https://codereview.chromium.org/2588283002
Cr-Commit-Position: refs/heads/master@{#439733}

[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/FlagExpectations/root-layer-scrolls
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/VirtualTestSuites
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/class_as_selector.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/comments.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/containment.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/contextual_selectors.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/grouping.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/id_as_selector.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/basic/inheritance.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_bottom.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_bottom_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_bottom_width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_bottom_width_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_color.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_color_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_left.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_left_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_left_width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_left_width_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_right.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_right_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_right_width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_right_width_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_style.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_style_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_top.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_top_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_top_width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_top_width_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/border_width_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/clear.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/clear_float.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/float.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/float_elements_in_series.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/float_margin.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/float_on_text_elements.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/height.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_bottom.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_bottom_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_left.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_left_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_right.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_right_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_top.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/margin_top_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_bottom.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_bottom_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_left.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_left_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_right.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_right_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_top.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/padding_top_inline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/box_properties/width.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/cascade/cascade_order.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/cascade/important.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/display.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/list_style.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/list_style_image.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/list_style_position.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/list_style_type.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/classification/white_space.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background_attachment.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background_color.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background_image.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background_position.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/background_repeat.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/color_and_background/color.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/conformance/forward_compatible_parsing.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font_family.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font_size.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font_style.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font_variant.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/font_properties/font_weight.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/canvas.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/floating_elements.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/height_of_lines.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/horizontal_formatting.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/inline_elements.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/replaced_elements.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/formatting_model/vertical_formatting.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/pseudo/anchor.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/pseudo/firstletter.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/pseudo/firstline.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/pseudo/multiple_pseudo_elements.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/pseudo/pseudo_elements_in_selectors.html
[add] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/resources/base.js
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/letter_spacing.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/line_height.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/text_align.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/text_decoration.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/text_indent.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/text_transform.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/vertical_align.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/text_properties/word_spacing.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/units/color_units.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/units/length_units.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/units/percentage_units.html
[modify] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/css1/units/urls.html
[add] https://crrev.com/d16a6bc2ccee2249dec6028140ac5792c4ca991e/third_party/WebKit/LayoutTests/virtual/mojo-loading/css1/README.txt

Project Member

Comment 34 by bugdroid1@chromium.org, Dec 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f6c76cf17426aa54344a27ee8ece4bfae901719c

commit f6c76cf17426aa54344a27ee8ece4bfae901719c
Author: yhirano <yhirano@chromium.org>
Date: Thu Dec 22 11:42:18 2016

Move URLLoaderClientImpl to a separate file

This CL moves URLLoaderClientImpl defined in resource_dispatcher.cc to a separate file
as content::URLLoaderClientImpl and adds unittests.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2597873002
Cr-Commit-Position: refs/heads/master@{#440386}

[modify] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/BUILD.gn
[modify] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/resource_dispatcher.cc
[modify] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/resource_dispatcher.h
[modify] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/resource_dispatcher_unittest.cc
[add] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/test_request_peer.cc
[add] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/test_request_peer.h
[add] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/url_loader_client_impl.cc
[add] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/url_loader_client_impl.h
[add] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/child/url_loader_client_impl_unittest.cc
[modify] https://crrev.com/f6c76cf17426aa54344a27ee8ece4bfae901719c/content/test/BUILD.gn

Blockedon: 676996
Project Member

Comment 36 by bugdroid1@chromium.org, Dec 27 2016

Project Member

Comment 38 by bugdroid1@chromium.org, Jan 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0

commit 2a525f9d4ab7f144b179ed013482e3ec98dfd6d0
Author: yhirano <yhirano@chromium.org>
Date: Wed Jan 18 08:16:46 2017

Implement CachedMetadata handling on MojoAsyncResourceHandler

With this CL, MojoAsyncResourcehandler dispatches the cached metadata if it
is attached with the net::URLRequest.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2629513003
Cr-Commit-Position: refs/heads/master@{#444302}

[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/child/test_request_peer.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/child/test_request_peer.h
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/child/url_loader_client_impl.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/child/url_loader_client_impl.h
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/child/url_loader_client_impl_unittest.cc
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/common/url_loader.mojom
[modify] https://crrev.com/2a525f9d4ab7f144b179ed013482e3ec98dfd6d0/content/renderer/service_worker/service_worker_context_client.cc

Project Member

Comment 39 by bugdroid1@chromium.org, Jan 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/246883ff6add126d1f6482fe5f883a2d6a2b2525

commit 246883ff6add126d1f6482fe5f883a2d6a2b2525
Author: yhirano <yhirano@chromium.org>
Date: Thu Jan 19 04:19:08 2017

[Mojo-Loading] OnStartLoadingResponseBody should be called after OnReceiveResponse

In content::ResourceHandler, OnWillRead can be called before OnResponseStarted.
MojoAsyncResourceHandler calls OnStartLoadingResponseBody when
OnResponseStarted is called, and that means OnStartLoadingResponseBody can be
called before OnReceiveResponse.

That complicates clients' code. With this CL, it is guaranteed that
URLLoaderClient::OnStartLoadingResponseBody is called after
URLLoaderClient::OnReceiveResponse.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2633123002
Cr-Commit-Position: refs/heads/master@{#444638}

[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/child/url_loader_client_impl.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/child/url_loader_client_impl_unittest.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/child/url_response_body_consumer.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/child/url_response_body_consumer.h
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/child/url_response_body_consumer_unittest.cc
[modify] https://crrev.com/246883ff6add126d1f6482fe5f883a2d6a2b2525/content/common/url_loader.mojom

Project Member

Comment 40 by bugdroid1@chromium.org, Jan 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3b6cc5bcfd2a9275549e49b8ecc6d6b8b8bb9773

commit 3b6cc5bcfd2a9275549e49b8ecc6d6b8b8bb9773
Author: yhirano <yhirano@chromium.org>
Date: Thu Jan 19 04:27:39 2017

[Mojo Loading] Cancel loading in a timely manner

A mojo resource loading is cancelled when the associated URLLoader is destructed.
This CL moves the destruction timing from the PendingRequestInfo destruction
timing to the timing when ResourceDispatcher::RemovePendingRequest is called
in order to be aligned with the existing impelementation with IPC.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2632243005
Cr-Commit-Position: refs/heads/master@{#444641}

[modify] https://crrev.com/3b6cc5bcfd2a9275549e49b8ecc6d6b8b8bb9773/content/child/resource_dispatcher.cc

Project Member

Comment 41 by bugdroid1@chromium.org, Jan 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b51a6f0bc428a9bcc23c681d32588fcbbe22924c

commit b51a6f0bc428a9bcc23c681d32588fcbbe22924c
Author: yhirano <yhirano@chromium.org>
Date: Fri Jan 20 06:41:24 2017

[Mojo-Loading] Split too large data chunk in renderer

With this CL, URLResponseBodyConsumer splits a too large data chunk to smaller
chunks. Also, it stops sending chunks and defers the remaining jobs to
subsequent tasks if it has already sent many bytes to the client in the task.

The main motivation is performance (thread janks), but splitting a large chunk
is needed also because some existing clients (e.g., NaCl compiler) cannot
handle large chunks.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2644053002
Cr-Commit-Position: refs/heads/master@{#445002}

[modify] https://crrev.com/b51a6f0bc428a9bcc23c681d32588fcbbe22924c/content/child/url_response_body_consumer.cc
[modify] https://crrev.com/b51a6f0bc428a9bcc23c681d32588fcbbe22924c/content/child/url_response_body_consumer.h
[modify] https://crrev.com/b51a6f0bc428a9bcc23c681d32588fcbbe22924c/content/child/url_response_body_consumer_unittest.cc

Project Member

Comment 43 by bugdroid1@chromium.org, Jan 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7358250caa2a9c6db318ed1d1caa6d542b3e08c5

commit 7358250caa2a9c6db318ed1d1caa6d542b3e08c5
Author: yhirano <yhirano@chromium.org>
Date: Fri Jan 20 15:22:08 2017

Fix flaky FtpBrowserTest.DirectoryListingNavigation

The test executes a script assuming the DOM tree has already been created, but
it is not generally true and that leads to flakiness. This CL fixes that by
changing the script.

BUG= 521409 ,  603396 

Review-Url: https://codereview.chromium.org/2641173005
Cr-Commit-Position: refs/heads/master@{#445058}

[modify] https://crrev.com/7358250caa2a9c6db318ed1d1caa6d542b3e08c5/chrome/browser/net/ftp_browsertest.cc

Project Member

Comment 44 by bugdroid1@chromium.org, Jan 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3c522c90b1d17cdbacc845d4bd5c931c926143ce

commit 3c522c90b1d17cdbacc845d4bd5c931c926143ce
Author: yhirano <yhirano@chromium.org>
Date: Mon Jan 23 10:38:36 2017

WebURLLoaderImplTest should not depend on LoadingIPCType

It simply passes the value to ResourceDispatcher which is mocked on this test.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2650673002
Cr-Commit-Position: refs/heads/master@{#445349}

[modify] https://crrev.com/3c522c90b1d17cdbacc845d4bd5c931c926143ce/content/child/web_url_loader_impl_unittest.cc

Project Member

Comment 45 by bugdroid1@chromium.org, Jan 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9

commit bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9
Author: tzik <tzik@chromium.org>
Date: Tue Jan 24 15:08:05 2017

Implement upload progress handling in Mojo loading

This CL integrates upload progress events from the browser side loading
stack in Mojo to the renderer.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2574143003
Cr-Commit-Position: refs/heads/master@{#445727}

[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/DEPS
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/async_resource_handler_browsertest.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/loader/upload_progress_tracker_unittest.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/child/resource_dispatcher.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/child/url_loader_client_impl.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/child/url_loader_client_impl.h
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/common/url_loader.mojom
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/content/renderer/service_worker/service_worker_context_client.cc
[modify] https://crrev.com/bedcbce4a048c2e6c6eaf7a3cef82eecf85543e9/third_party/WebKit/LayoutTests/TestExpectations

Project Member

Comment 46 by bugdroid1@chromium.org, Jan 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/933ee58984d38b13be78bb9859b5e9109ad565a5

commit 933ee58984d38b13be78bb9859b5e9109ad565a5
Author: yhirano <yhirano@chromium.org>
Date: Fri Jan 27 13:28:40 2017

[Mojo-Loading] Implement URLLoader::SetPriority

This CL implements URLLoader::SetPriority corresponding to
ResourceHostMsg_DidChangePriority IPC message.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2646343007
Cr-Commit-Position: refs/heads/master@{#446657}

[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/browser/loader/DEPS
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/child/resource_dispatcher.cc
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/BUILD.gn
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/OWNERS
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/url_loader.mojom
[modify] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/url_request.typemap
[add] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/url_request_struct_traits.cc
[add] https://crrev.com/933ee58984d38b13be78bb9859b5e9109ad565a5/content/common/url_request_struct_traits.h

Project Member

Comment 48 by bugdroid1@chromium.org, Feb 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eb9d3ad9b2c939b6fa108d544b61df54a1eadebb

commit eb9d3ad9b2c939b6fa108d544b61df54a1eadebb
Author: yhirano <yhirano@chromium.org>
Date: Fri Feb 24 10:33:31 2017

Revert of Use the loading task runner for mojo-loading (patchset #1 id:1 of https://codereview.chromium.org/2710403002/ )

Reason for revert:
Breaking virtual/mojo-loading layout tests.

Original issue's description:
> Use the loading task runner for mojo-loading
>
> BUG= 603396 
>
> Review-Url: https://codereview.chromium.org/2710403002
> Cr-Commit-Position: refs/heads/master@{#452778}
> Committed: https://chromium.googlesource.com/chromium/src/+/63e321a30306e18812ad0cdaa6be57964497ac01

TBR=tzik@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 603396 

Review-Url: https://codereview.chromium.org/2717523004
Cr-Commit-Position: refs/heads/master@{#452790}

[modify] https://crrev.com/eb9d3ad9b2c939b6fa108d544b61df54a1eadebb/content/child/resource_dispatcher.cc
[modify] https://crrev.com/eb9d3ad9b2c939b6fa108d544b61df54a1eadebb/content/child/url_loader_client_impl.cc

Project Member

Comment 49 by bugdroid1@chromium.org, Feb 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a2adc9e7c94a24c344395a8be00ff2c5f1b6f84c

commit a2adc9e7c94a24c344395a8be00ff2c5f1b6f84c
Author: yhirano <yhirano@chromium.org>
Date: Fri Feb 24 22:42:48 2017

Use the loading task runner for mojo-loading

This CL sets the loading task runner for the resource loading data pipe
handle watcher. This CL doesn't set the task runner for URLLoaderClientImpl's
binding because it is not allowed for a channel associated interface.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2710403002
Cr-Original-Commit-Position: refs/heads/master@{#452778}
Committed: https://chromium.googlesource.com/chromium/src/+/63e321a30306e18812ad0cdaa6be57964497ac01
Review-Url: https://codereview.chromium.org/2710403002
Cr-Commit-Position: refs/heads/master@{#452966}

[modify] https://crrev.com/a2adc9e7c94a24c344395a8be00ff2c5f1b6f84c/content/child/resource_dispatcher.cc
[modify] https://crrev.com/a2adc9e7c94a24c344395a8be00ff2c5f1b6f84c/content/child/url_loader_client_impl.cc

Project Member

Comment 51 by bugdroid1@chromium.org, Mar 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181

commit 6f57b50b31b18fdfbd8cabf7a6709cd7f809f181
Author: yhirano <yhirano@chromium.org>
Date: Wed Mar 01 03:44:20 2017

[Mojo-Loading] Use independent URLLoaderClient

With this CL, various content/ classes start using independent URLLoaderClient
and DownloadedTempFile instead of associated interfaces.

As the blob creation became a sync operation, no message ordering guarantee
is needed for DownloadedTempFile. According to the test results, it seems
the guarantee is not needed for URLLoaderClient, too.

This CL also sets the appropriate task runner (i.e., the loading task runner)
to the URLLoaderClientImpl, which was blocked by the channel-associated interfaces.

BUG= 603396 

Review-Url: https://codereview.chromium.org/2715423003
Cr-Commit-Position: refs/heads/master@{#453832}

[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/downloaded_temp_file_impl.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/downloaded_temp_file_impl.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/mojo_async_resource_handler.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_dispatcher_host_impl.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_dispatcher_host_unittest.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_message_filter.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_message_filter.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_request_info_impl.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/resource_request_info_impl.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/test_url_loader_client.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/test_url_loader_client.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/url_loader_factory_impl.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/url_loader_factory_impl.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/child/resource_dispatcher.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/child/url_loader_client_impl.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/child/url_loader_client_impl.h
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/child/url_loader_client_impl_unittest.cc
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/common/url_loader.mojom
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/common/url_loader_factory.mojom
[modify] https://crrev.com/6f57b50b31b18fdfbd8cabf7a6709cd7f809f181/content/renderer/service_worker/service_worker_context_client.cc

Cc: jonr...@chromium.org
The change in #51 has seemed to introduce a flakiness in the webkit_tests virtual/mojo-loading/http/tests/security/xss-DENIED-iframe-src-alias.html

Failing build: https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/9171

The offending portion had previously been reverted in #48 when it last caused these test errors.

I'm hesitant to revert a larger change like this for a test flake. Could someone look into the cause of the error?
Thank you for reporting! Can you file a bug?
It looks http/tests/security/xss-DENIED-iframe-src-alias.html which is not affected by the change is also flaky.

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=webkit_tests&tests=http%2Ftests%2Fsecurity%2Fxss-DENIED-iframe-src-alias.html
Thanks for seeing the other flake: filed issue 698002 to track both flakes separately from this imlementation.

Comment 57 by tzik@chromium.org, Mar 21 2017

Blockedon: 703483
The current architecture trusts the process ID sent by the (untrusted) renderer process.  I don't think we can ship this until we fix that.  If requests are coming from the renderer through ResourceMessageFilter instead of URLLoaderFactoryImpl, this should be a simple fix, since the filter already knows the child ID to expect.
Cc: -tzik@chromium.org zik@chromium.org mmenke@chromium.org
Cc: -zik@chromium.org tzik@chromium.org
(oops)
#58- I thought that's how things are implemented today (RMF implements URLLoaderFactory and that's where we get requester_info for requests), but I'm maybe missing something?
Wow...I'm shocked, but it certainly looks to me like you're right.

That's completely bizarre - it's a 1 line change to rely on the child ID from the MessageFilter code, but for some reason we're not doing that.  If https://cs.chromium.org/chromium/src/content/browser/loader/resource_dispatcher_host_impl.cc?gsn=OnRequestResource&l=858 used requester_info->child_id() instead of routing_id, we'd be using a trusted ID instead of an untrusted one, right?  Or am I missing something?  Most other methods get child ID that way, too.

Seems like a similarly simple change to make the Mojo path use the ID from the ResourceMessageFilter.
If I'm right, the old API let a hostile renderer issue requests on behalf of other processes, but not get the result back.  The Mojo API lets the hostile renderer issues requests on behalf of other processes, and get the result back, too, so I think it's still a regression?
I'm not following - are you talking about rout[e, ing] id? It's not process ID.
Oh, it's not?  I had thought it was the same as child ID, seeing as it's presumably used for...um...routing communication for a request back to the renderer process.
Anyhow, sorry for the false alarm - you're correct.  I think there used to be another name for child id (Process ID?  Host ID?) that was used in a number of places in loader, and even if it's gone now, I remain eternally confused.
route_id is associated with frames today.  In mojo case we don't rely on route_id for any communication purposes but just for some boookkeepings, and I think neither traditional IPC code does (it basically relies on RMF::Send)?

Mojo code uses mojo::URLLoaderClient and its message pipe (that's established when we get request in RMF), so I *think* it's not possible for hostile renderer to let the response back to wrong process.
(oops, sent #67 before I saw #66-- so looks like now we're cool though still having some confusion around :))
One other concern:  Cookies.  With IPC, if you do document.cookie to set a cookie, and then send an XHR or add a subresource to the document, presumably the cookie will be set before the request is issued (I don't know renderer code, so this is just an assumption about ordering, and also seems like something webdevs probably expect).

With Mojo, we don't have that guarantee, unless we move cookies over to the same pipe as issuing new requests.

There's a similar race with providing cookies, where permissions are set when devtools is opened (I guess?), but that's already racy (I think?) and the failure case isn't as problematic - we just don't send cookie headers to the renderer for that request.  Not sure about any other races.

Sorry for raising these issues late in the game, I've just started thinking about how the network process will work in a Mojo world.
Currently, renderer => browser messages (i.e., URLLoader and URLLoaderFactory method calls) are channel-associated, which means they are delivered using the same message channel that the existing ChromeIPC messages (and other channel-associated interfaces) are using. Does this address your concern?
Yea, that solves the issue.
Blockedon: 706689
Labels: -Type-Feature Type-Launch
Cc: kenjibaheux@chromium.org
I made this bug Type-Launch in order to run a finch experiment on beta and stable.

Comment 75 Deleted

Labels: -Type-Launch Type-Feature
Oops, I was wrong, issue 703483 is the bug for measurement. Sorry for the noise.
Project Member

Comment 77 by bugdroid1@chromium.org, Apr 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a

commit 4e1eb3c8414a02dc9d8e289c8da105ad1fff718a
Author: yhirano <yhirano@chromium.org>
Date: Wed Apr 19 08:38:27 2017

Some fast/table tests should wait for images specified via CSS url()

Some fast/table expect images specified via CSS url() specifier are loaded
before the test runner dumps the output, but it's actually not guaranteed. This
leads to test flakiness.

Currently all url() are written inline, so we can rely on the Document load
event. This CL adds resources/base.js which calls notifyDone when the event is
fired.

BUG= 603396 ,  712930 

Review-Url: https://codereview.chromium.org/2822093003
Cr-Commit-Position: refs/heads/master@{#465532}

[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/ImageFirstTests
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/NeverFixTests
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/VirtualTestSuites
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-cell-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-cell.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-column-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-column-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-column-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-column.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-quirks-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-quirks.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-row-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-row-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-row-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table-row.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_border-table.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_image-crash.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_layers-hide-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_layers-hide.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_layers-show-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_layers-show.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-cell-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-cell.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-column-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-column-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-column-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-column.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-row-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-row-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-row-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table-row.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_position-table.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-cell-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-cell.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-column-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-column-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-column-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-column.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-row-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-row-group-collapsed-border.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-row-group.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table-row.html
[modify] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/backgr_simple-table.html
[add] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/fast/table/resources/wait-for-onload.js
[add] https://crrev.com/4e1eb3c8414a02dc9d8e289c8da105ad1fff718a/third_party/WebKit/LayoutTests/virtual/mojo-loading/fast/table/README.txt

Comment 78 by jam@chromium.org, Apr 26 2017

Blocking: 715628

Comment 79 by jam@chromium.org, Apr 26 2017

Blocking: 715630

Comment 80 by jam@chromium.org, Jul 7 2017

Blocking: 740130

Comment 81 by jam@chromium.org, Aug 10 2017

Blocking: 754100
Project Member

Comment 82 by bugdroid1@chromium.org, Sep 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fcbbc4413ec72b9b0b4da5bceca350e627dbfcf6

commit fcbbc4413ec72b9b0b4da5bceca350e627dbfcf6
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Sep 04 06:51:02 2017

[wpt] Fix response-cancel-stream.html flakiness

Currently the test expects that one one read call makes the response
body stream closed, which is not always true. With this change, the test
reads the body stream till the end.

Bug:  603396 
Change-Id: I41b6fbb465945702c6374835f2b4f632a1bc2c5c
Reviewed-on: https://chromium-review.googlesource.com/648869
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499445}
[modify] https://crrev.com/fcbbc4413ec72b9b0b4da5bceca350e627dbfcf6/third_party/WebKit/LayoutTests/external/wpt/fetch/api/response/response-cancel-stream.html

Project Member

Comment 83 by bugdroid1@chromium.org, Sep 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/421ee4d888a432c47cde61140fec77d4c6ea7270

commit 421ee4d888a432c47cde61140fec77d4c6ea7270
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Sep 04 07:11:07 2017

Enable LoadingWithMojo on non-android platforms

Bug:  603396 , 703483
Change-Id: If0c08781c5977d496af33201710174a2b331efc3
Reviewed-on: https://chromium-review.googlesource.com/647346
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499447}
[modify] https://crrev.com/421ee4d888a432c47cde61140fec77d4c6ea7270/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/421ee4d888a432c47cde61140fec77d4c6ea7270/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/421ee4d888a432c47cde61140fec77d4c6ea7270/content/public/common/content_features.cc

Project Member

Comment 84 by bugdroid1@chromium.org, Sep 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/857420b32d9429f5aedf2ab2cd78446eddfc840d

commit 857420b32d9429f5aedf2ab2cd78446eddfc840d
Author: Greg Thompson <grt@chromium.org>
Date: Mon Sep 04 09:30:49 2017

Revert "Enable LoadingWithMojo on non-android platforms"

This reverts commit 421ee4d888a432c47cde61140fec77d4c6ea7270.

Reason for revert: speculative revert for new http/tests/devtools/elements/styles-3/styles-change-node-while-editing.html failures seen on https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/10838 and https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty%20%28dbg%29/builds/4703.

Original change's description:
> Enable LoadingWithMojo on non-android platforms
> 
> Bug:  603396 , 703483
> Change-Id: If0c08781c5977d496af33201710174a2b331efc3
> Reviewed-on: https://chromium-review.googlesource.com/647346
> Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
> Reviewed-by: John Abd-El-Malek <jam@chromium.org>
> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#499447}

TBR=kinuko@chromium.org,jam@chromium.org,yhirano@chromium.org

Change-Id: I7a9eb4e66399b02caa65727230caa60e9eb9690e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  603396 , 703483
Reviewed-on: https://chromium-review.googlesource.com/648127
Reviewed-by: Greg Thompson <grt@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499465}
[modify] https://crrev.com/857420b32d9429f5aedf2ab2cd78446eddfc840d/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/857420b32d9429f5aedf2ab2cd78446eddfc840d/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/857420b32d9429f5aedf2ab2cd78446eddfc840d/content/public/common/content_features.cc

Project Member

Comment 85 by bugdroid1@chromium.org, Sep 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9954327aa6843a506bb77e475336e717bc1db28a

commit 9954327aa6843a506bb77e475336e717bc1db28a
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Tue Sep 05 01:24:05 2017

Update virtual/mojo-loading test expectations

In many cases the original tests are also failing.

Bug:  603396 
Change-Id: Ie648b25f649f0e7202eab1f5227772a51c9de16d
Reviewed-on: https://chromium-review.googlesource.com/647425
Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499535}
[modify] https://crrev.com/9954327aa6843a506bb77e475336e717bc1db28a/third_party/WebKit/LayoutTests/TestExpectations

Project Member

Comment 86 by bugdroid1@chromium.org, Sep 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ceffb6f0de79979f9fa7024b0ab8b640659bc04a

commit ceffb6f0de79979f9fa7024b0ab8b640659bc04a
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Sep 06 11:35:06 2017

Reland "Enable LoadingWithMojo on non-android platforms"

This reverts commit 857420b32d9429f5aedf2ab2cd78446eddfc840d.

Reason for reland: http/tests/devtools tests are a bit unstable right
now and hence I added expectations to TestExpectations. I expect this
change won't cause test breakage.

Original change's description:
> Revert "Enable LoadingWithMojo on non-android platforms"
> 
> This reverts commit 421ee4d888a432c47cde61140fec77d4c6ea7270.
> 
> Reason for revert: speculative revert for new http/tests/devtools/elements/styles-3/styles-change-node-while-editing.html failures seen on https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/10838 and https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty%20%28dbg%29/builds/4703.
> 
> Original change's description:
> > Enable LoadingWithMojo on non-android platforms
> > 
> > Bug:  603396 , 703483
> > Change-Id: If0c08781c5977d496af33201710174a2b331efc3
> > Reviewed-on: https://chromium-review.googlesource.com/647346
> > Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
> > Reviewed-by: John Abd-El-Malek <jam@chromium.org>
> > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#499447}
> 
> TBR=kinuko@chromium.org,jam@chromium.org,yhirano@chromium.org
> 
> Change-Id: I7a9eb4e66399b02caa65727230caa60e9eb9690e
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug:  603396 , 703483
> Reviewed-on: https://chromium-review.googlesource.com/648127
> Reviewed-by: Greg Thompson <grt@chromium.org>
> Commit-Queue: Greg Thompson <grt@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#499465}

TBR=kinuko@chromium.org,jam@chromium.org,yhirano@chromium.org,grt@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  603396 , 703483
Change-Id: I4b3c09885ee84f6fa68a2bfa95250921ae8d108a
Reviewed-on: https://chromium-review.googlesource.com/652386
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499932}
[modify] https://crrev.com/ceffb6f0de79979f9fa7024b0ab8b640659bc04a/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/ceffb6f0de79979f9fa7024b0ab8b640659bc04a/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/ceffb6f0de79979f9fa7024b0ab8b640659bc04a/content/public/common/content_features.cc

Project Member

Comment 87 by bugdroid1@chromium.org, Sep 13 2017

Comment 88 by jam@chromium.org, Oct 24 2017

Blockedon: 778044
Project Member

Comment 89 by bugdroid1@chromium.org, Oct 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b63f62c8970e61c507be2bbd0bff507f26493dfa

commit b63f62c8970e61c507be2bbd0bff507f26493dfa
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Tue Oct 31 15:20:45 2017

Enable LoadingWithMojo on Android

Bug:  603396 , 703483
Change-Id: Ib1c9a03e3b4820d6f89c4ffe63f99f0baac6090a
Reviewed-on: https://chromium-review.googlesource.com/746541
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512835}
[modify] https://crrev.com/b63f62c8970e61c507be2bbd0bff507f26493dfa/content/public/common/content_features.cc

Project Member

Comment 90 by bugdroid1@chromium.org, Nov 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c0d367c6ced32e05e1957f2a5ca2cb4655833ebe

commit c0d367c6ced32e05e1957f2a5ca2cb4655833ebe
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Nov 01 05:32:03 2017

Rename label for LoadingWithMojo on fieldtrial_testing_config

Bug:  603396 , 703483
Change-Id: I8b9c2ae5251670130e6c22be971fd610121be15e
Reviewed-on: https://chromium-review.googlesource.com/748221
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513082}
[modify] https://crrev.com/c0d367c6ced32e05e1957f2a5ca2cb4655833ebe/testing/variations/fieldtrial_testing_config.json

Components: Internals>Network>Service
Components: -Internals>Network>Service Internals>Services>Network
Apologies, applied the wrong component in bulk.
Blocking: 788241
Project Member

Comment 94 by bugdroid1@chromium.org, Dec 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/491e311c3a78192830126f0679d1481591185d24

commit 491e311c3a78192830126f0679d1481591185d24
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Dec 04 07:34:32 2017

Remove mojo-loading virtual test suite

As we have launched LoadingWithMojo, the virtual test suite is no longer
needed.

Bug:  603396 ,  788241 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_mojo
Change-Id: Id40b27d02de03d3880076c53283527c5fed7a294
Reviewed-on: https://chromium-review.googlesource.com/805175
Reviewed-by: Taiju Tsuiki <tzik@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521285}
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/ASANExpectations
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/enable-features=NetworkService
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/root-layer-scrolls
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/FlagExpectations/site-per-process
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/LeakExpectations
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/MSANExpectations
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/NeverFixTests
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/SlowTests
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/491e311c3a78192830126f0679d1481591185d24/third_party/WebKit/LayoutTests/VirtualTestSuites
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/css1/README.txt
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/fast/table/README.txt
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/http/tests/README.txt
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/http/tests/devtools/sources/debugger-ui/source-frame-count-expected.txt
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/http/tests/images/gif-animated-partial-load-expected.png
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/http/tests/performance-timing/longtask-v2/README.txt
[delete] https://crrev.com/6e1a1cdba89e456c7a3236f3ddd12983c7b211bf/third_party/WebKit/LayoutTests/virtual/mojo-loading/webexposed/README.txt

Project Member

Comment 95 by bugdroid1@chromium.org, Dec 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8de90b8ed5fbeafbb7ff8e9e2f4c4fe76fb7582d

commit 8de90b8ed5fbeafbb7ff8e9e2f4c4fe76fb7582d
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Fri Dec 08 02:22:57 2017

Enable blink-side switch for LoadingWithMojo

As we have launched LoadingWithMojo feature, this change enables the
the blink side switch. This does not affect the product behavior because
the chromium side switch has already been enabled and the blink side
switch is turned on by it. This only affects layout tests behavior.

Bug:  603396 
Change-Id: Ifaa2e519e7aad51da1c0789c024ddb887e8e1cca
Reviewed-on: https://chromium-review.googlesource.com/805455
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522681}
[modify] https://crrev.com/8de90b8ed5fbeafbb7ff8e9e2f4c4fe76fb7582d/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
[modify] https://crrev.com/8de90b8ed5fbeafbb7ff8e9e2f4c4fe76fb7582d/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp
[modify] https://crrev.com/8de90b8ed5fbeafbb7ff8e9e2f4c4fe76fb7582d/third_party/WebKit/Source/platform/runtime_enabled_features.json5

Project Member

Comment 96 by bugdroid1@chromium.org, Dec 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8193e8706e41d61289bd44a7242eb7fc98731e6e

commit 8193e8706e41d61289bd44a7242eb7fc98731e6e
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Tue Dec 12 06:44:23 2017

Remove content_features::kLoadingWithMojo

This change removes the feature as we've launched it.

Bug:  788241 , 603396 
Change-Id: If651428dd301b4393570a05e7a20499e95f7ed7b
Reviewed-on: https://chromium-review.googlesource.com/818597
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#523359}
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/android_webview/lib/aw_main_delegate.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/chrome/browser/about_flags.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/chrome/browser/flag_descriptions.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/chrome/browser/flag_descriptions.h
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/browser/cross_site_transfer_browsertest.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/browser/loader/async_resource_handler_browsertest.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/child/runtime_features.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/public/common/content_features.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/public/common/content_features.h
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/renderer/loader/site_isolation_stats_gatherer_browsertest.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/content/renderer/loader/web_url_loader_impl.cc
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/testing/variations/fieldtrial_testing_config.json
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
[modify] https://crrev.com/8193e8706e41d61289bd44a7242eb7fc98731e6e/third_party/WebKit/public/platform/WebRuntimeFeatures.h

Status: Fixed (was: Assigned)
Done!

Sign in to add a comment