Updated HTMLCanvasElement to accept "experimental-webgl" as the context name.
        https://bugs.webkit.org/show_bug.cgi?id=31672



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Mads Ager  <ager@chromium.org>

        Reviewed by Eric Seidel.

        [V8] Don't crash in DOMWindow event getter in OOM situations
        https://bugs.webkit.org/show_bug.cgi?id=32017

        Add missing null handle checks in DOMWindow event property
        accessors.  V8Proxy::context(frame) can return a null handle in
        OOM situations either if failing to initialize a context or if an
        OOM is handled gracefully and javascript is disabled.

        No new tests because we don't have a good way to test
        out-of-memory bugs.

        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        (WebCore::ACCESSOR_GETTER):
        (WebCore::ACCESSOR_SETTER):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Changed mallocs to fastMallocs and frees to fastFrees in GraphicsContext3D. Also added error returns
        https://bugs.webkit.org/show_bug.cgi?id=30778



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Adam Barth.

        Provide a way to get ScriptState for the inspected page.

        https://bugs.webkit.org/show_bug.cgi?id=32020

        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::mainWorldScriptState):
        * bindings/v8/ScriptController.h:
        * bindings/v8/ScriptState.cpp:
        (WebCore::scriptStateFromPage):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Eric Z. Ayers  <zundel@google.com>

        Reviewed by Pavel Feldman.

        Adds test for Timeline network resource records.

        https://bugs.webkit.org/show_bug.cgi?id=31378

        * inspector/timeline-network-resource-expected.txt: Added.
        * inspector/timeline-network-resource.html: Added.
        * inspector/timeline-network-resource.js: Added.
        * inspector/timeline-test.js:
        (printTimelineRecords):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Steve Block  <steveblock@google.com>

        Reviewed by Dimitri Glazkov.

        Adds V8 bindings for Geolocation.
        https://bugs.webkit.org/show_bug.cgi?id=30206

        Also adds Geolocation files to Chrome build files.

        * WebCore.gyp/WebCore.gyp: Modified. Corrects list of Geolocation IDL files.
        * WebCore.gypi: Modified. Adds Geolocation files.
        * bindings/v8/DOMObjectsInclude.h: Modified. Adds Geolocation includes.
        * bindings/v8/DerivedSourcesAllInOne.cpp: Modified. Adds Geolocation files.
        * bindings/v8/V8Index.cpp: Modified. Includes Geolocation generated headers.
        * bindings/v8/V8Index.h: Modified. Adds Geolocation types to DOM_OBJECT_TYPES.
        * bindings/v8/custom/V8CoordinatesCustom.cpp: Added. Handles optional properties.
        * bindings/v8/custom/V8CustomBinding.h: Modified. Declares callbacks and getters.
        * bindings/v8/custom/V8CustomPositionCallback.cpp: Added.
        (WebCore::V8CustomPositionCallback::V8CustomPositionCallback): Added. Constructor.
        (WebCore::V8CustomPositionCallback::~V8CustomPositionCallback): Added. Destructor.
        (WebCore::V8CustomPositionCallback::handleEvent): Added. Invokes callback.
        * bindings/v8/custom/V8CustomPositionCallback.h: Added.
        (WebCore::V8CustomPositionCallback::create): Added. Factory method.
        * bindings/v8/custom/V8CustomPositionErrorCallback.cpp: Added.
        (WebCore::V8CustomPositionErrorCallback::V8CustomPositionErrorCallback): Added. Constructor.
        (WebCore::V8CustomPositionErrorCallback::~V8CustomPositionErrorCallback): Added. Destructor.
        (WebCore::V8CustomPositionErrorCallback::handleEvent): Added. Invokes callback.
        * bindings/v8/custom/V8CustomPositionErrorCallback.h: Added.
        (WebCore::V8CustomPositionErrorCallback::create): Added. Factory method.
        * bindings/v8/custom/V8GeolocationCustom.cpp: Added.
        (WebCore::throwTypeMismatchException): Added. Throws a type mismatch error.
        (WebCore::createPositionCallback): Added. Handles type checking for successCallback argument.
        (WebCore::createPositionErrorCallback): Added. Handles type checking for errorCallback argument.
        (WebCore::createPositionOptions): Added. Handles type checking for positionOptions argument.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        check-webkit-style complains about #imports with / in them
        https://bugs.webkit.org/show_bug.cgi?id=32022

        We need to exclude #import directives in addition to #include from the
        binary operator whitespace checks.

        * Scripts/modules/cpp_style.py:
        * Scripts/modules/cpp_style_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Put test into skiplist because of missing layoutTestController.evaluateInWebInspector().

* platform/qt/Skipped: inspector/timeline-network-resource.html added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add expected Windows failure results for tests that use textInputController

<http://webkit.org/b/32021> covers fixing these tests.

Rubber-stamped by Sam Weinig.

* platform/win/Skipped: Removed tests that use textInputController.

* platform/win/editing/selection/5825350-1-expected.txt: Added.
* platform/win/editing/selection/5825350-2-expected.txt: Added.
* platform/win/editing/selection/mixed-editability-10-expected.txt: Added.
* platform/win/fast/events/ime-composition-events-001-expected.txt: Added.
* platform/win/fast/forms/input-maxlength-ime-completed-expected.txt: Added.
* platform/win/fast/forms/input-maxlength-ime-preedit-expected.txt: Added.
* platform/win/fast/text/international/thai-cursor-position-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Timothy Hatcher.

        Reloading WebInspector from context menu is closing it instead of reloading.
        https://bugs.webkit.org/show_bug.cgi?id=32004

        When reloading WebInspector, don't delete its m_page.

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::close):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Re-enable DRT's watchdog timer on Windows

It was accidentally disabled in r50907.

* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
into an if condition.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix tests that use the TestNetscapePlugin in Debug_Internal builds

Reviewed by Ada Chan.

Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
TestNetscapePlugin fail in Debug_Internal builds

* DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
directory in Debug and Debug_All builds, but not in Debug_Internal
builds.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a timing-out test to the Skipped file on Windows

Rubber-stamped by Ada Chan.

* platform/win/Skipped: Added
fast/dom/Window/window-postmessage-clone.html, which was timing out
due to eventSender.beginDragFiles being unimplemented.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Xiyuan Xia  <xiyuan@chromium.org>

        Reviewed by Darin Fisher.

        Only fire start/stop events when main frame is not loading.

        https://bugs.webkit.org/show_bug.cgi?id=31838

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
@namespace directives need to use "maybe_space" in the "maybe_ns_prefix" portion of the grammar to match
the spec.  Not doing so prevent comments from being used immmediately after the namespace prefix.

Reviewed by David Kilzer.

Added fast/css/namespaces-comments.xml

* css/CSSGrammar.y:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by Alexey Proskuryakov.

        Make pywebsocket log errors to a file
        https://bugs.webkit.org/show_bug.cgi?id=31604

        * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
        (by passing the path to the server via a recently added -l option).



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        PLATFORM(CAIRO) should be defined by WIN_CAIRO define
        https://bugs.webkit.org/show_bug.cgi?id=22250

        * wtf/Platform.h: Remove WTF_PLATFORM_CAIRO as it is
        already define in config.h

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Enabling WebSocket tests on Windows again - let's see what errors get logged.

        * platform/win/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-12-01  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Escape key in the Search Field should be more User Friendly
        https://bugs.webkit.org/show_bug.cgi?id=32005

        * inspector/front-end/inspector.js:
        (WebInspector.loaded): add mousedown listener on the search field
        (WebInspector.searchFieldManualFocus): user clicked to focus on the search field
        (WebInspector.searchKeyDown): handle escape

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove user content before running each test on Windows

Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows

Reviewed by Alexey Proskuryakov.

* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): Remove all user content
before each test, which matches Mac.

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