[ServiceWorker] Make fetch() method better conformance with the spec.

In this patch, I don't implement the redirection procedure because it is a bit complicated and it could cause security issues.
When fetch() receives a redirect response, we treat it as an error in DocumentThreadableLoader::redirectReceived().

ResourceResponse's wasFetchedViaServiceWorker flag is used in ResourceFetcher::didReceiveResponse() and DocumentThreadableLoader::handleResponse() for CORS and CSP checking in the renderer side.
But this flag will be set correctly in https://codereview.chromium.org/375513002.
After this patch is landed, I will add LayoutTests for CORS and CSP checking as I described in https://codereview.chromium.org/375513002#msg18. 

BUG=373120

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Extract SortableDataGrid.

In future SortableDataGrid will inherit from ViewportDataGrid.

BUG=316092

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: mark fast/forms/select/menulist-appearance-basic.html as slow (dbg)

R=haraken@chromium.org
BUG=397425
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178906 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clear current target in TimelineModelImpl only when recording has stopped

reset can be called when clearing records in Timeline that is being recorded. After such action recording continues and current Target doesn't change.

BUG=397216
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Code refactoring, use renderView() method of FrameView instead of indirect access.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: fix build after r178904.

R=haraken@chromium.org
BUG=373120
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 178850 "DevTools: Introduce createRawLocationByConsoleCal..."

This CL or r178848 broke the following browser tests.
http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29/builds/3288

Let me revert the two CLs at the moment.

> DevTools: Introduce createRawLocationByConsoleCallFrame to linkify links in Network popover correctly.
> 
> Links to internal VM scripts were not linkified correctly in Network panel popover.
> To test this, send an XHR from console, and try to jump to an injected script from Network popover.
> 
> R=eustas, vsevik
> 
> Review URL: https://codereview.chromium.org/412183002

TBR=aandrey@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 178848 "[DevTools] Make toolbar counters declarative."

This CL or r178850 broke the following browser tests.                                                               
http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29/builds/3288                          
                                                                                                                    
Let me revert the two CLs at the moment.


> [DevTools] Make toolbar counters declarative.
> 
> This includes error-warning and devices counters.
> 
> BUG=none
> 
> Review URL: https://codereview.chromium.org/408853002

TBR=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178911 bbb929c8-8fbe-4397-9dbb-9b2b20218538