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

Issue 1158063002: Add plugins::TestPluginPlaceholder class and allow its use in Blink layout tests. (Closed)

Created:
5 years, 7 months ago by chrishtr
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@pluginfix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add plugins::TestPluginPlaceholder class and allow its use in Blink layout tests. BUG=436562 Committed: https://crrev.com/8a377e6551f1937fb9c29a5ee4f2cb9688e86979 Cr-Commit-Position: refs/heads/master@{#332235}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -3 lines) Patch
M components/plugins/renderer/plugin_placeholder.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/shell/renderer/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -1 line 0 comments Download
A content/shell/renderer/layout_test/test_plugin_placeholder.h View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A content/shell/renderer/layout_test/test_plugin_placeholder.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_delegate.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (5 generated)
chrishtr
The corresponding Blink CL is https://codereview.chromium.org/1153103004. This will allow us to test integration issues between ...
5 years, 7 months ago (2015-05-26 19:52:10 UTC) #2
tommycli
chrishtr: It is an awesome thing that you are making some comprehensive tests for PluginPlaceholder. ...
5 years, 7 months ago (2015-05-26 20:08:18 UTC) #3
chrishtr
https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc File components/plugins/renderer/test_plugin_placeholder.cc (right): https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc#newcode11 components/plugins/renderer/test_plugin_placeholder.cc:11: : PluginPlaceholder(nullptr, frame, params, "<div>Test content</div>") On 2015/05/26 at ...
5 years, 7 months ago (2015-05-26 20:52:36 UTC) #4
tommycli
https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc File components/plugins/renderer/test_plugin_placeholder.cc (right): https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc#newcode11 components/plugins/renderer/test_plugin_placeholder.cc:11: : PluginPlaceholder(nullptr, frame, params, "<div>Test content</div>") On 2015/05/26 20:52:36, ...
5 years, 7 months ago (2015-05-26 21:18:02 UTC) #5
chrishtr
On 2015/05/26 at 21:18:02, tommycli wrote: > https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc > File components/plugins/renderer/test_plugin_placeholder.cc (right): > > https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc#newcode11 ...
5 years, 7 months ago (2015-05-26 21:23:26 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1158063002/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): https://codereview.chromium.org/1158063002/diff/1/content/content_shell.gypi#newcode53 content/content_shell.gypi:53: '../components/components.gyp:test_plugins_renderer', this needs to be added in the gn ...
5 years, 7 months ago (2015-05-27 14:59:43 UTC) #7
chrishtr
On 2015/05/27 at 14:59:43, jochen wrote: > https://codereview.chromium.org/1158063002/diff/1/content/content_shell.gypi > File content/content_shell.gypi (right): > > https://codereview.chromium.org/1158063002/diff/1/content/content_shell.gypi#newcode53 ...
5 years, 6 months ago (2015-05-28 20:11:05 UTC) #8
chrishtr
On 2015/05/26 at 21:18:02, tommycli wrote: > https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc > File components/plugins/renderer/test_plugin_placeholder.cc (right): > > https://codereview.chromium.org/1158063002/diff/1/components/plugins/renderer/test_plugin_placeholder.cc#newcode11 ...
5 years, 6 months ago (2015-05-28 20:11:44 UTC) #9
chrishtr
FYI this patch would have prevented a canary crash bug I introduced yesterday. Both :( ...
5 years, 6 months ago (2015-05-28 20:13:57 UTC) #10
tommycli
chrishtr: see below. i apologize for the current state of PluginPlaceholder https://codereview.chromium.org/1158063002/diff/40001/content/shell/renderer/test_runner/test_plugin_placeholder.cc File content/shell/renderer/test_runner/test_plugin_placeholder.cc (right): ...
5 years, 6 months ago (2015-05-28 21:13:34 UTC) #11
chrishtr
https://codereview.chromium.org/1158063002/diff/40001/content/shell/renderer/test_runner/test_plugin_placeholder.cc File content/shell/renderer/test_runner/test_plugin_placeholder.cc (right): https://codereview.chromium.org/1158063002/diff/40001/content/shell/renderer/test_runner/test_plugin_placeholder.cc#newcode17 content/shell/renderer/test_runner/test_plugin_placeholder.cc:17: LOG(ERROR) << "TestPluginPlaceholder::TestPluginPlaceholder"; On 2015/05/28 at 21:13:33, tommycli wrote: ...
5 years, 6 months ago (2015-05-28 21:16:52 UTC) #12
tommycli
LGTM
5 years, 6 months ago (2015-05-28 21:19:10 UTC) #13
jochen (gone - plz use gerrit)
test_runner must not depend on content, however, this introduces a dependency via the plugin component ...
5 years, 6 months ago (2015-05-29 11:18:40 UTC) #14
chrishtr
On 2015/05/29 at 11:18:41, jochen wrote: > test_runner must not depend on content, however, this ...
5 years, 6 months ago (2015-05-29 19:27:29 UTC) #15
chrishtr
Also, I failed one test, because of: ERROR in /b/build/slave/linux/build/src/content/shell/renderer/layout_test/test_plugin_placeholder.h Illegal include: "components/plugins/renderer/plugin_placeholder.h" Because of ...
5 years, 6 months ago (2015-05-29 22:30:52 UTC) #16
jochen (gone - plz use gerrit)
you can just add it to content/shell/renderer/DEPS lgtm with that
5 years, 6 months ago (2015-06-01 13:01:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158063002/180001
5 years, 6 months ago (2015-06-01 15:19:03 UTC) #20
chrishtr
On 2015/06/01 at 13:01:12, jochen wrote: > you can just add it to content/shell/renderer/DEPS > ...
5 years, 6 months ago (2015-06-01 15:19:22 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/71518)
5 years, 6 months ago (2015-06-01 18:01:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158063002/180001
5 years, 6 months ago (2015-06-01 18:10:40 UTC) #25
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 6 months ago (2015-06-01 19:20:19 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-01 19:21:09 UTC) #27
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/8a377e6551f1937fb9c29a5ee4f2cb9688e86979
Cr-Commit-Position: refs/heads/master@{#332235}

Powered by Google App Engine
This is Rietveld 408576698