To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
InternalSettings::setScrollTopLeftInteropEnabled is doing for example).
The problem here is that not all features start running after the page's JS has ran.
I now need to test and add runtime-enabled flags to Link header based dns-prefetch. I don't think I can do that if by default the test would be off unless the test's JS turned it on. Can I rely on InternalSettings/RuntimeEnabled being preserved between page reloads?
The problem here is that not all features start running after the page's JS has ran.
I now need to test and add runtime-enabled flags to Link header based dns-prefetch. I don't think I can do that if by default the test would be off unless the test's JS turned it on. Can I rely on InternalSettings/RuntimeEnabled being preserved between page reloads?
// FIXME: The following are RuntimeEnabledFeatures and likely cannot be changed after process start. These setters should be removed or moved onto internals.runtimeFlags
For now these setters are working (at least after a page reload), but are they guaranteed to work?
The initial reason I wrote this mail was because ScrollLeftTopInterop made e.g. inbox.google.com almost impossible to use. When I then tried to disable the feature, a bunch of scroll-behavior tests started to crash :-/
Completely off topic - but have you filed a bug with the Inbox team regarding this? This means they are not being very friendly to other browsers, they are not adhering to the standards, or they use browser sniffing. :(
@jochen: I support your patch, given that there seem to be no movement towards toggling scropLeftTopInterop on for stable channels at the moment, and it was deviating common scroll code from the path blink ships.
Yoav Weiss <yo...@yoav.ws> writes:
> On Fri, Feb 6, 2015 at 10:58 AM, 'Jochen Eisinger' via blink-dev <blin...@chromium.org> wrote:
>
> The initial reason I wrote this mail was because ScrollLeftTopInterop made e.g. inbox.google.com almost impossible
> to use. When I then tried to disable the feature, a bunch of scroll-behavior tests started to crash :-/
>
>
> That's a good reason.
>
> Maybe, like what Mike suggested, we can add a mechanism that turns on feature flags for entire test directories?
> I don't know if having the flag as part of the path is the best way to go, but maybe a config file?
Seen PhysicalTestSuite in Tools/Scripts/webkitpy/layout_tests/port/base.py ?
On Sun, Feb 8, 2015 at 9:56 AM, Morten Stenshorne <mste...@opera.com> wrote:Yoav Weiss <yo...@yoav.ws> writes:
> On Fri, Feb 6, 2015 at 10:58 AM, 'Jochen Eisinger' via blink-dev <blin...@chromium.org> wrote:
>
> The initial reason I wrote this mail was because ScrollLeftTopInterop made e.g. inbox.google.com almost impossible
> to use. When I then tried to disable the feature, a bunch of scroll-behavior tests started to crash :-/
>
>
> That's a good reason.
>
> Maybe, like what Mike suggested, we can add a mechanism that turns on feature flags for entire test directories?
> I don't know if having the flag as part of the path is the best way to go, but maybe a config file?
Seen PhysicalTestSuite in Tools/Scripts/webkitpy/layout_tests/port/base.py ?Now I have :)If I understand it correctly, it can be used to turn on a command line flag on a certain directory.
Do we have a way to control specific feature flags from the command line?
Also, how would one use that? Override that function in the python code? Maybe we can hook it up with a config file.
Oh, that's awesome!!
Julien
Cheers,
On Sat, Feb 7, 2015 at 9:07 AM, Antonio Gomes <toni...@gmail.com> wrote:
@jochen: I support your patch, given that there seem to be no movement towards toggling scropLeftTopInterop on for stable channels at the moment, and it was deviating common scroll code from the path blink ships.I think this is the key issue here. scrollLeftTopInterop is different from most other RuntimeEnabledFeatures in that it toggles the behavior of major APIs in a way that's (I believe) non-trivial to feature detect for. Supporting both modes is a burden on the engine and we really shouldn't leave the engine in this state for long.
That said, it would be shame to just give up on this issue. Perhaps we should have a separate thread about how best to move it along.