[CSS Grid Layout] Enable runtime feature if feature flag is enabled
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Apr 2014 21:57:12 +0000 (21:57 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Apr 2014 21:57:12 +0000 (21:57 +0000)
commit1d060b559f02f6980a6092b59eecb857f82a46cf
tree26abcfbf54e1f57a238b0c4b47258352669d7898
parentb9ccf5d1cc95010287c5e48339f4f0b1364bd12e
[CSS Grid Layout] Enable runtime feature if feature flag is enabled
https://bugs.webkit.org/show_bug.cgi?id=130013

Reviewed by Simon Fraser.

Source/WebKit/mac:

Enable CSS Grid Layout runtime feature when ENABLE_CSS_GRID_LAYOUT flag is true.

* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):

Source/WebKit2:

Enable CSS Grid Layout runtime feature when ENABLE_CSS_GRID_LAYOUT flag is true.

* Shared/WebPreferencesStore.h:

LayoutTests:

Modify layout test as feature is not disabled by default in WK2.
The test now checks that the runtime feature can be disabled.

* fast/css-grid-layout/grid-disabled-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-disabled-by-default-expected.txt.
* fast/css-grid-layout/grid-disabled.html: Renamed from LayoutTests/fast/css-grid-layout/grid-disabled-by-default.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css-grid-layout/grid-disabled-expected.txt [moved from LayoutTests/fast/css-grid-layout/grid-disabled-by-default-expected.txt with 70% similarity]
LayoutTests/fast/css-grid-layout/grid-disabled.html [moved from LayoutTests/fast/css-grid-layout/grid-disabled-by-default.html with 57% similarity]
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebPreferences.mm
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebPreferencesStore.h