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

Issue 17895003: Add --expose-internals-for-testing flag (Closed)

Created:
7 years, 6 months ago by Rick Byers
Modified:
7 years, 1 month ago
Reviewers:
jam, eseidel
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Ian Vollick, ojan, Dirk Pranke
Visibility:
Public.

Description

Add --expose-internals-for-testing flag This can be handy for interactive design and debugging complex layout tests that need access to window.internals. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209740

Patch Set 1 #

Total comments: 5

Patch Set 2 : Tweaks from CR feedback from jam@ #

Patch Set 3 : Fix spacing #

Patch Set 4 : Move flag to be content-shell specific #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M content/content_shell.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/common/shell_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/common/shell_switches.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A content/shell/renderer/shell_render_view_observer.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A content/shell/renderer/shell_render_view_observer.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Rick Byers
Hey jam, Is this simple additional flag OK with you? I had been just keeping ...
7 years, 6 months ago (2013-06-26 14:49:19 UTC) #1
jam
lgtm https://codereview.chromium.org/17895003/diff/1/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/17895003/diff/1/content/public/common/content_switches.h#newcode43 content/public/common/content_switches.h:43: extern const char kExposeInternalsForTesting[]; nit: can you try ...
7 years, 6 months ago (2013-06-26 16:46:16 UTC) #2
Rick Byers
Thanks! https://codereview.chromium.org/17895003/diff/1/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/17895003/diff/1/content/public/common/content_switches.h#newcode43 content/public/common/content_switches.h:43: extern const char kExposeInternalsForTesting[]; On 2013/06/26 16:46:16, jam ...
7 years, 6 months ago (2013-06-26 17:32:04 UTC) #3
jam
https://codereview.chromium.org/17895003/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/17895003/diff/1/content/renderer/render_view_impl.cc#newcode3839 content/renderer/render_view_impl.cc:3839: switches::kExposeInternalsForTesting)) On 2013/06/26 17:32:05, Rick Byers wrote: > On ...
7 years, 6 months ago (2013-06-26 17:38:11 UTC) #4
Rick Byers
It turns out that for non-component builds this WebKitTestingSupport I'm calling into is only linked ...
7 years, 6 months ago (2013-06-26 20:39:25 UTC) #5
Rick Byers
On 2013/06/26 20:39:25, Rick Byers wrote: > It turns out that for non-component builds this ...
7 years, 5 months ago (2013-07-01 12:17:35 UTC) #6
jam
lgtm
7 years, 5 months ago (2013-07-02 16:43:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/17895003/22001
7 years, 5 months ago (2013-07-02 16:54:32 UTC) #8
Rick Byers
On 2013/07/02 16:43:26, jam wrote: > lgtm Thanks! Sorry I didn't notice the link issue ...
7 years, 5 months ago (2013-07-02 16:55:14 UTC) #9
commit-bot: I haz the power
Change committed as 209740
7 years, 5 months ago (2013-07-02 18:54:27 UTC) #10
eseidel
Stumbled across this reading beverloo's weekly updates. Very interesting.
7 years, 1 month ago (2013-11-05 22:03:55 UTC) #11
Rick Byers
7 years, 1 month ago (2013-11-05 22:27:42 UTC) #12
Thanks.  "interesting" as in "valuable" or as in "scary" <grin>?

I've occasionally browsed to some test site with the flag set and wondered
how much risk of attack there was if the site wanted to be malicious ;-)


On Tue, Nov 5, 2013 at 5:03 PM, <eseidel@chromium.org> wrote:

> Stumbled across this reading beverloo's weekly updates.  Very interesting.
>
> https://chromiumcodereview.appspot.com/17895003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698