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

Issue 1420073002: Make sure StyleResolver sets viewport before initializing HTMLPreloadScanner (Closed)

Created:
5 years, 2 months ago by Yoav Weiss
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure StyleResolver sets viewport before initializing HTMLPreloadScanner Following https://codereview.chromium.org/1392213002/ this CL makes sure that the default viewport is set on the document before HTMLPreloadScanner is initialized, in order to avoid double downloads in all cases. BUG=531820 Committed: https://crrev.com/e746b156143efdad62f8a76ae5a5c60d3b2302e8 Cr-Commit-Position: refs/heads/master@{#356275}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Avoiding resolving for HTML imports #

Patch Set 3 : Avoid XHR as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M content/browser/resource_loading_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
A + content/test/data/resource_loading/1270.png View Binary file 0 comments Download
A + content/test/data/resource_loading/635.png View Binary file 0 comments Download
M content/test/data/resource_loading/resource_loading_non_mobile.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Yoav Weiss
Hey David :) This continues (and hopefully ends) our double downloading saga. Can you take ...
5 years, 2 months ago (2015-10-22 15:41:31 UTC) #2
bokan
Why didn't the browser test you added last time catch this? Unfortunately, my knowledge of ...
5 years, 2 months ago (2015-10-22 16:56:46 UTC) #3
Yoav Weiss
On 2015/10/22 16:56:46, bokan wrote: > Why didn't the browser test you added last time ...
5 years, 2 months ago (2015-10-23 07:06:26 UTC) #4
Yoav Weiss
Kouhei, Can you take a look?
5 years, 2 months ago (2015-10-23 07:39:08 UTC) #6
kouhei (in TOK)
On 2015/10/23 07:39:08, Yoav Weiss wrote: > Kouhei, > > Can you take a look? ...
5 years, 1 month ago (2015-10-27 03:54:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420073002/40001
5 years, 1 month ago (2015-10-27 04:34:51 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/112926)
5 years, 1 month ago (2015-10-27 04:44:04 UTC) #11
Yoav Weiss
Jochen - mind taking a look at the tests?
5 years, 1 month ago (2015-10-27 04:45:25 UTC) #13
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-10-27 12:14:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420073002/40001
5 years, 1 month ago (2015-10-27 12:15:24 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-27 12:19:36 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 12:20:45 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e746b156143efdad62f8a76ae5a5c60d3b2302e8
Cr-Commit-Position: refs/heads/master@{#356275}

Powered by Google App Engine
This is Rietveld 408576698