Implement css3-conditional's @supports rule
https://bugs.webkit.org/show_bug.cgi?id=86146

Patch by Pablo Flouret <pablof@motorola.com> on 2012-10-18
Reviewed by Antti Koivisto.

.:

* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:
* configure.ac:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

Source/WebCore:

The "@supports" rule is a conditional group rule whose condition tests
whether the user agent supports CSS property:value pairs.

http://dev.w3.org/csswg/css3-conditional/#at-supports

Test: css3/supports.html

* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* GNUmakefile.features.am:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

* css/CSSGrammar.y.in:
* css/CSSParser.cpp:
(WebCore):
(WebCore::CSSParser::detectSupportsToken): Tries to find 'and', 'not' and 'or' tokens.
(WebCore::CSSParser::detectAtToken): Enter SupportsMode if @supports is detected.
(WebCore::CSSParser::realLex): Try to detect supports tokens when in SupportsMode.
* css/CSSParser.h: Added new SupportsMode parsing mode.
(CSSParser):

Source/WebKit/chromium:

* features.gypi:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

Tools:

* Scripts/webkitperl/FeatureList.pm:
* qmake/mkspecs/features/features.pri:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:
    Add an ENABLE_CSS3_CONDITIONAL_RULES flag.

LayoutTests:

* css3/supports-expected.txt: Added.
* css3/supports.html: Added.

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:
* platform/wk2/TestExpectations:
    Skip the test until the feature is enabled.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Generated messages should have a receiver name and a name
https://bugs.webkit.org/show_bug.cgi?id=99740

Reviewed by Andreas Kling.

As a first step towards getting rid of MessageID, give each generated message a name and receiver name
and pass them along when sending the messages.

* Platform/CoreIPC/Connection.h:
(CoreIPC::Connection::send):
(CoreIPC::Connection::sendSync):
* Platform/CoreIPC/MessageSender.h:
(CoreIPC::MessageSender::send):
* Scripts/webkit2/messages.py:
(message_to_struct_declaration):
(generate_messages_header):
* Scripts/webkit2/messages_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Crash in WebCore::Document::webkitExitFullscreen + 618
https://bugs.webkit.org/show_bug.cgi?id=99496

Reviewed by Eric Carlson.

Prospective fix for null-dereference crash in Document::webkitExitFullscreen().

* dom/Document.cpp:
(WebCore::Document::webkitExitFullscreen): Null check page() before calling page()->chrome.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed.  Rolled DEPS.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-18

* DEPS:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a script for exporting http/tests/w3c/webperf/submission to W3C
https://bugs.webkit.org/show_bug.cgi?id=99675

Reviewed by Tony Gentilcore.

Tools:

This does the inverse of Scripts/import-w3c-performance-wg-tests.

* Scripts/export-w3c-performance-wg-tests: Added.

LayoutTests:

The W3C tests expect a company to contribute them. Move these to the Intel directory.

* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_clearMarks-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_clearMarks-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_clearMarks.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_clearMarks.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_clearMeasures-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_clearMeasures-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_clearMeasures.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_clearMeasures.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_mark-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_mark-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_mark.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_mark.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_mark_exception-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_mark_exception-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_mark_exception.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_mark_exception.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_associate_with_navigation_timing-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure_associate_with_navigation_timing-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_associate_with_navigation_timing.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure_associate_with_navigation_timing.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_exception-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure_exception-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_exception.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_measure_exception.html.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_method_exist-expected.txt: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_method_exist-expected.txt.
* http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_method_exist.html: Renamed from LayoutTests/http/tests/w3c/webperf/submission/user-timing/test_user_timing_method_exist.html.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt-5.0-wk2/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:


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