Web Inspector: Console: "time" and "timeEnd" should have same number of required arguments
https://bugs.webkit.org/show_bug.cgi?id=101451

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-11-08
Reviewed by Yury Semikhatsky.

Solution: make console.time "title" parameter mandatory.

* page/Console.idl: Changed parameter specification.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Unreviewed build fix after r133880.

* UIProcess/API/efl/ewk_context.cpp:
(EwkContext::setAdditionalPluginPath):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Adding a platform-specific baseline for the test added in r133868.

* platform/gtk/http/tests/security/XFrameOptions: Added.
* platform/gtk/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Warn in the inspector console when using dpi and dpcm units outside of media="print"
https://bugs.webkit.org/show_bug.cgi?id=100865

Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-11-08
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Added function that prints warning to inspector console whenever dpi or dpcm CSS units
are used for screen media.

Test: fast/media/mq-resolution-dpi-dpcm-warning.html

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::setMediaQueries):
* css/MediaList.cpp:
(WebCore):
(WebCore::addResolutionWarningMessageToConsole):
(WebCore::reportMediaQueryWarningIfNeeded):
* css/MediaList.h:
(WebCore):
* css/MediaQueryMatcher.cpp:
(WebCore::MediaQueryMatcher::matchMedia):
* css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::parserAppendRule):

LayoutTests:

Added layout test that checks if warning is printed to console when dpi or dpcm CSS
units are used for resolution media feature.

* fast/media/mq-resolution-dpi-dpcm-warning-expected.txt: Added.
* fast/media/mq-resolution-dpi-dpcm-warning.html: Added.

Skip tests for platforms that doesn't support resolution media feature.

* platform/chromium/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Add option to disable rulers (Elements panel)
https://bugs.webkit.org/show_bug.cgi?id=101554

Reviewed by Pavel Feldman.

A new setting, showMetricsRulers, has been introduced (off by default, so users need to opt in to see the rulers).
The setting value is passed into InspectorDOMAgent, down to the InspectorOverlayPage, which affects the drawGrid() and
drawRulers() calls. As a side effect, the issue when the rulers were painted for elements having no renderers has been fixed.

No new tests, a UI change.

* English.lproj/localizedStrings.js: Add "Show rulers" string.
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::highlightConfigFromInspectorObject): Copy over the showRulers value.
* inspector/InspectorOverlay.cpp:
(WebCore::buildObjectForHighlight): Copy over the showRulers value.
* inspector/InspectorOverlay.h:
(HighlightConfig): Add |bool showRulers|.
(WebCore::Highlight::Highlight): Initialize fields.
(Highlight): Add |bool showRulers|.
(WebCore::Highlight::setDataFromConfig):
* inspector/InspectorOverlayPage.html:
* inspector/front-end/DOMAgent.js: Make use of WebInspector.settings.showMetricsRulers when building the highlight DTO.
* inspector/front-end/Settings.js: Add showMetricsRulers.
* inspector/front-end/SettingsScreen.js:
(WebInspector.GenericSettingsTab): Add "Show rulers" checkbox in the Elements panel section.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline svg/css/group-with-shadow.svg
https://bugs.webkit.org/show_bug.cgi?id=101592

Unreviewed gardening.

Test svg/css/group-with-shadow.svg has to be rebaselined after r133834.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-11-08

* platform/efl-wk1/svg/css/group-with-shadow-expected.png: Removed.
* platform/efl/svg/css/group-with-shadow-expected.png: Added.
* platform/efl/svg/css/group-with-shadow-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Gardening after r133807 and r133820
https://bugs.webkit.org/show_bug.cgi?id=101585

Unreviewed gardening.

Skipping of compositing/absolute-inside-out-of-view-fixed.html and
editing/execCommand/switch-list-type-with-orphaned-li.html for EFL.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-11-08

* platform/efl/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline fast/canvas/fillText-shadow.html
https://bugs.webkit.org/show_bug.cgi?id=101587

Unreviewed gardening.

Test fast/canvas/fillText-shadow.html has to be rebased after r133834.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-11-08

* platform/efl/fast/canvas/fillText-shadow-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unused parameters on GraphicsLayerUpdater.cpp
https://bugs.webkit.org/show_bug.cgi?id=101577

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-11-08
Reviewed by Kentaro Hara.

The parameter 'displayID' is not used when !USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
Use UNUSED_PARAM macro for removing -Wunused-parameter warnings

* platform/graphics/GraphicsLayerUpdater.cpp:
(WebCore::GraphicsLayerUpdater::GraphicsLayerUpdater):
(WebCore::GraphicsLayerUpdater::screenDidChange):

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