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

Issue 1203873004: Retrieve resources from media and supports query rules while serializing (Closed)

Created:
5 years, 6 months ago by ingemara
Modified:
5 years, 6 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Retrieve resources from media and supports query rules while serializing Traverse rules behind media and supports queries while serializing (and gathering resources referenced from) stylesheets. Resources from non-matching queries will be skipped as they haven't been fetched. BUG=503919 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197813

Patch Set 1 #

Patch Set 2 : Indent media query and rename div #

Total comments: 2

Patch Set 3 : Address nit, test for skipping retrieving of resources #

Patch Set 4 : Use switch-case, traverse @supports rules as well #

Patch Set 5 : Remove unnecessary include #

Total comments: 5

Patch Set 6 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -16 lines) Patch
M Source/core/page/PageSerializer.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/page/PageSerializer.cpp View 1 2 3 4 5 3 chunks +51 lines, -15 lines 0 comments Download
M Source/web/tests/PageSerializerTest.cpp View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M Source/web/tests/data/pageserializer/css/css_test_page.html View 1 2 3 4 5 3 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
ingemara
PTAL. I based the reviewers on the last changes made to PageSerializer by tiger. If ...
5 years, 6 months ago (2015-06-24 11:55:09 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203873004/20001
5 years, 6 months ago (2015-06-24 15:31:09 UTC) #4
philipj_slow
This looks good, but perhaps also test that "Resources from non-matching queries will be skipped ...
5 years, 6 months ago (2015-06-24 15:32:23 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/68141)
5 years, 6 months ago (2015-06-24 18:03:54 UTC) #7
philipj_slow
On 2015/06/24 18:03:54, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 6 months ago (2015-06-24 22:18:58 UTC) #8
hajimehoshi
lgtm https://codereview.chromium.org/1203873004/diff/20001/Source/core/page/PageSerializer.cpp File Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1203873004/diff/20001/Source/core/page/PageSerializer.cpp#newcode328 Source/core/page/PageSerializer.cpp:328: if (rule->type() == CSSRule::IMPORT_RULE) { switch-case seems better ...
5 years, 6 months ago (2015-06-25 02:27:05 UTC) #9
ingemara
On 2015/06/25 02:27:05, hajimehoshi wrote: > lgtm > > https://codereview.chromium.org/1203873004/diff/20001/Source/core/page/PageSerializer.cpp > File Source/core/page/PageSerializer.cpp (right): > ...
5 years, 6 months ago (2015-06-25 08:06:52 UTC) #10
philipj_slow
LGTM, just some nitpickety stuff https://codereview.chromium.org/1203873004/diff/80001/Source/core/page/PageSerializer.cpp File Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1203873004/diff/80001/Source/core/page/PageSerializer.cpp#newcode346 Source/core/page/PageSerializer.cpp:346: case CSSRule::SUPPORTS_RULE: { Good ...
5 years, 6 months ago (2015-06-25 09:07:41 UTC) #11
ingemara
On 2015/06/25 09:07:41, philipj wrote: > https://codereview.chromium.org/1203873004/diff/80001/Source/web/tests/data/pageserializer/css/css_test_page.html#newcode26 > Source/web/tests/data/pageserializer/css/css_test_page.html:26: } /* media not > all ...
5 years, 6 months ago (2015-06-25 09:30:09 UTC) #12
hajimehoshi
On 2015/06/25 09:30:09, ingemara wrote: > On 2015/06/25 09:07:41, philipj wrote: > > > https://codereview.chromium.org/1203873004/diff/80001/Source/web/tests/data/pageserializer/css/css_test_page.html#newcode26 ...
5 years, 6 months ago (2015-06-25 09:37:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203873004/100001
5 years, 6 months ago (2015-06-25 09:39:14 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-25 11:33:28 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197813

Powered by Google App Engine
This is Rietveld 408576698