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

Issue 2345233002: Enable runtime features with status=test before WebKit (Closed)

Created:
4 years, 3 months ago by Marcel Hlopko
Modified:
4 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, Hannes Payer (out of office), jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Michael Lippautz, Peter Beverloo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable runtime features with status=test before WebKit There was a sligh difference in how status=test and status=experimental were handled. Content turned on experimental features before initializing webkit and the content shell enabled test features *after* webkit was started. This is a problem when the feature alters webkit initialization. This cl moves enabling test features to the place where experimental features are enabled. BUG=268240 LOG=no Committed: https://crrev.com/852ffcf3023df225ba0888efcf1e0b60bec40a14 Cr-Commit-Position: refs/heads/master@{#419192}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Incorporate comments + steal stuff from jochens cl #

Total comments: 1

Patch Set 3 : Rename #

Total comments: 1

Patch Set 4 : Not crashing windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -24 lines) Patch
M content/public/renderer/content_renderer_client.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_thread_observer.cc View 1 2 3 3 chunks +0 lines, -24 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Marcel Hlopko
Ptal
4 years, 3 months ago (2016-09-16 11:17:46 UTC) #4
jochen (gone - plz use gerrit)
I already did that (and cc'd you on the CL :) )
4 years, 3 months ago (2016-09-16 11:18:40 UTC) #5
clamy
Thanks! A few questions below. https://codereview.chromium.org/2345233002/diff/1/content/public/renderer/content_renderer_client.h File content/public/renderer/content_renderer_client.h (right): https://codereview.chromium.org/2345233002/diff/1/content/public/renderer/content_renderer_client.h#newcode343 content/public/renderer/content_renderer_client.h:343: virtual void SetRuntimeFeatures() {} ...
4 years, 3 months ago (2016-09-16 12:00:13 UTC) #6
jochen (gone - plz use gerrit)
btw, I closed my CL. This one lgtm from myside, but please also address clamy@'s ...
4 years, 3 months ago (2016-09-16 12:25:08 UTC) #7
haraken
LGTM 2.
4 years, 3 months ago (2016-09-16 12:42:59 UTC) #10
Marcel Hlopko
On 2016/09/16 at 11:18:40, jochen wrote: > I already did that (and cc'd you on ...
4 years, 3 months ago (2016-09-16 14:57:23 UTC) #11
Marcel Hlopko
I addressed comments and moved other related code over to the callback (as jochen did ...
4 years, 3 months ago (2016-09-16 15:13:37 UTC) #16
clamy
Thanks! Lgtm with one comment. https://codereview.chromium.org/2345233002/diff/20001/content/public/renderer/content_renderer_client.h File content/public/renderer/content_renderer_client.h (right): https://codereview.chromium.org/2345233002/diff/20001/content/public/renderer/content_renderer_client.h#newcode343 content/public/renderer/content_renderer_client.h:343: virtual void SetRuntimeFeaturesDefaultsBeforeWebKitInitialization() {} ...
4 years, 3 months ago (2016-09-16 15:20:03 UTC) #17
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2345233002/diff/40001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc File content/shell/renderer/layout_test/layout_test_content_renderer_client.cc (right): https://codereview.chromium.org/2345233002/diff/40001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc#newcode255 content/shell/renderer/layout_test/layout_test_content_renderer_client.cc:255: EnableRendererLayoutTestMode(); This will crash windows
4 years, 3 months ago (2016-09-16 15:32:45 UTC) #18
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/2345233002/60001
4 years, 3 months ago (2016-09-16 15:37:49 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-16 16:51:22 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 16:54:21 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/852ffcf3023df225ba0888efcf1e0b60bec40a14
Cr-Commit-Position: refs/heads/master@{#419192}

Powered by Google App Engine
This is Rietveld 408576698