[CSS Grid Layout] Percentages of indefinite sizes should compute to auto
https://bugs.webkit.org/show_bug.cgi?id=128173

Reviewed by Darin Adler.

Source/WebCore:

We should treat percentages of indefinite sizes as auto as
mandated by the spec. Otherwise we would end up calculating a
percentage of -1, the value we use to represent infinite.

Added some test cases to the current tests.

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::gridTrackSize):
* rendering/style/GridTrackSize.h:
(WebCore::GridTrackSize::isPercentage):

LayoutTests:

Added a grid with indefinite sizes to check that we use auto to
compute the track breadths instead of the specified percentages.

* fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
* fast/css-grid-layout/grid-columns-rows-get-set.html:
* fast/css-grid-layout/grid-element-repeat-get-set-expected.txt:
* fast/css-grid-layout/grid-element-repeat-get-set.html:
* fast/css-grid-layout/named-grid-line-get-set-expected.txt:
* fast/css-grid-layout/named-grid-line-get-set.html:
* fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js:
* fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
* fast/css-grid-layout/resources/grid.css:
(.indefiniteSizeGrid):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused member variable of NetworkInfoController
https://bugs.webkit.org/show_bug.cgi?id=129674

Reviewed by Gyuyoung Kim.

* Modules/networkinfo/NetworkInfoController.cpp:
(WebCore::NetworkInfoController::NetworkInfoController):
(WebCore::NetworkInfoController::create):
(WebCore::provideNetworkInfoTo):
* Modules/networkinfo/NetworkInfoController.h: Removed m_page which is not really used.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165049 268f45cc-cd09-0410-ab3c-d52691b4dbfc