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

Issue 16358008: Allow parsing of custom window features, such as 'moo=foo'.

Created:
7 years, 6 months ago by dreijer
Modified:
7 years, 5 months ago
CC:
blink-reviews, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Allow parsing of custom window features, such as 'moo=foo'. This patch is part of a bigger patch for #110510, which allows custom window features on popup windows to be propagated to other handlers, such as ContentBrowserClient::CanCreateWindow(). This is particularly helpful in frameworks such as CEF, which allows third-parties to integrate with Chromium and provide custom handling for specific window features. A separate code review for the Chromium part of this bug is available here: https://codereview.chromium.org/15994016 BUG=110510

Patch Set 1 #

Patch Set 2 : Style change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M Source/core/page/WindowFeatures.cpp View 1 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
commit-bot: I haz the power
No comments yet.
7 years, 6 months ago (2013-06-04 16:02:08 UTC) #1
dreijer
This patch is part of a bigger patch for #110510, which allows custom window features ...
7 years, 6 months ago (2013-06-04 18:29:26 UTC) #2
dreijer
On 2013/06/04 18:29:26, dreijer wrote: > This patch is part of a bigger patch for ...
7 years, 6 months ago (2013-06-04 18:32:06 UTC) #3
eseidel
I'm lacking sufficient context here.
7 years, 5 months ago (2013-06-28 20:25:43 UTC) #4
abarth-chromium
not lgtm As far as I can tell, this change is motivated by wanting to ...
7 years, 5 months ago (2013-06-29 00:59:12 UTC) #5
dreijer
On 2013/06/29 00:59:12, abarth wrote: > not lgtm > > As far as I can ...
7 years, 5 months ago (2013-07-15 14:58:08 UTC) #6
abarth-chromium
> What's the rationale > behind preventing such features to trickle through Webkit to Chromium? ...
7 years, 5 months ago (2013-07-15 21:04:19 UTC) #7
dreijer
On 2013/07/15 21:04:19, abarth wrote: > > What's the rationale > > behind preventing such ...
7 years, 5 months ago (2013-07-15 21:10:58 UTC) #8
abarth-chromium
7 years, 5 months ago (2013-07-15 21:16:05 UTC) #9
On 2013/07/15 21:10:58, dreijer wrote:
> I'm sorry too, of course. It'd still be nice with an explanation of why this
> specific use case is undesired in Chromium.

The purpose of the Chromium project is to build a great browser.  It's great
that other folks find the code useful for other purposes, but we're not
interested in adding complexity to the code to support those use cases.

> I'm curious what downsides there are
> to allow something upstream to parse custom features.

These custom features are not web standards.  Blink is focused on support
standard web technologies.  Having extra complexity in the code base to support
non-standard, non-browser use cases is a cost, and we've chosen not to take on
that cost.

> Chromium itself can still
> only care about the "official" features and throw everything else away, i.e.
> you're just moving this decision from inside of Webkit to Chromium, which
would
> probably be able to make a more educated guess as to what's allowed anyway.

Unfortunately, the code would still exist in the code base, which means other
developers need to maintain the code.  You could argue that the maintenance cost
is small, but it's non-zero.  We don't wish to pay that maintenance cost. 
Instead, you're welcome to use the code for your own purposes (it's open source
after all), and you're welcome to maintain your own modifications in your own
branch.  We're just not going to accept them into trunk.

Powered by Google App Engine
This is Rietveld 408576698