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

Issue 2132283002: Use Document::validBaseElementURL to init preloadscanner (Closed)

Created:
4 years, 5 months ago by kouhei (in TOK)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews-html_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, kinuko+watch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use Document::validBaseElementURL to init preloadscanner Before this CL, Document::baseElementURL was used to initialize PreloadScanner. However, this URL can be !isValid(). This CL introduces Document::validBaseElementURL() which returns baseElementURL only when its valid, end returns empty URL when its invalid. This can safely be used to initialize preload scanner. BUG=623365 Committed: https://crrev.com/51b5da563d004465a203dd40892a13b8543721e1 Cr-Commit-Position: refs/heads/master@{#404595}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/fast/parser/preloader-base-invalidurl.html View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/parser/preloader-base-invalidurl-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
kouhei (in TOK)
4 years, 5 months ago (2016-07-10 16:18:28 UTC) #2
Charlie Harrison
Can the layout test be simpler / more reduced? I don't have access to the ...
4 years, 5 months ago (2016-07-10 18:02:11 UTC) #7
kouhei (in TOK)
On 2016/07/10 18:02:11, csharrison wrote: > Can the layout test be simpler / more reduced? ...
4 years, 5 months ago (2016-07-11 00:04:55 UTC) #8
haraken
LGTM
4 years, 5 months ago (2016-07-11 03:39:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2132283002/1
4 years, 5 months ago (2016-07-11 03:39:44 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-11 03:43:26 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/51b5da563d004465a203dd40892a13b8543721e1 Cr-Commit-Position: refs/heads/master@{#404595}
4 years, 5 months ago (2016-07-11 03:45:41 UTC) #14
Yoav Weiss
4 years, 5 months ago (2016-07-11 07:40:19 UTC) #15
Message was sent while issue was closed.
On 2016/07/11 03:45:41, commit-bot: I haz the power wrote:
> Patchset 1 (id:??) landed as
> https://crrev.com/51b5da563d004465a203dd40892a13b8543721e1
> Cr-Commit-Position: refs/heads/master@{#404595}

LGTM

Powered by Google App Engine
This is Rietveld 408576698