WebKit-https.git
9 years ago2010-06-19 Hayato Ito <hayato@chromium.org>
eric@webkit.org [Sun, 20 Jun 2010 00:50:46 +0000 (00:50 +0000)]
2010-06-19  Hayato Ito  <hayato@chromium.org>

        Reviewed by Adam Barth.

        Add tests for 'page-break-{before,after}: avoid'.
        All tests are expected to fail due to lack of implementations.

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

        * printing/page-break-after-avoid-expected.txt: Added.
        * printing/page-break-after-avoid.html: Added.
        * printing/page-break-avoid-expected.txt: Added.
        * printing/page-break-avoid.html: Added.
        * printing/page-break-before-avoid-expected.txt: Added.
        * printing/page-break-before-avoid.html: Added.
        * printing/script-tests/page-break-after-avoid.js: Added.
        (test):
        * printing/script-tests/page-break-avoid.js: Added.
        (test):
        * printing/script-tests/page-break-before-avoid.js: Added.
        (test):

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

9 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=40882
weinig@apple.com [Sun, 20 Jun 2010 00:39:44 +0000 (00:39 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=40882
Add ability to have a WebProcess per WebContext.

Reviewed by Anders Carlsson.

WebKit2:

- Move to a one-to-one correspondence of WebContexts to WebProcessProxies.
- Add explicit shared contexts for general use.
- Only non-shared contexts can use injected bundles.

* UIProcess/API/C/WKContext.cpp:
(WKContextCreate):
(WKContextCreateWithInjectedBundlePath):
(WKContextGetSharedProcessContext):
(WKContextGetSharedThreadContext):
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKContextPrivate.h:
Change API for WKContext to no longer take a WKProcessModel type and instead
have explicit Create/Get functions for the different kind of contexts. Added
two shared contexts, one threaded, one process, and made the threaded on private
for now.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:]):
Make WKViews that don't have an explicit context use the shared process
context by default.

* UIProcess/Launcher/WebProcessLauncher.h:
* UIProcess/Launcher/mac/WebProcessLauncher.mm:
(WebKit::launchWebProcess):
* UIProcess/Launcher/win/WebProcessLauncher.cpp:
(WebKit::launchWebProcess):
Use a boolean argument to note whether we are using a thread or a process
instead of using the process model enum.

* UIProcess/ProcessModel.h:
(WebKit::):
Convert to using explicit Shared modifier for shared contexts.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::sharedProcessContext):
(WebKit::WebContext::sharedThreadContext):
(WebKit::WebContext::ensureWebProcess):
(WebKit::WebContext::createWebPage):
(WebKit::WebContext::reviveIfNecessary):
* UIProcess/WebContext.h:
(WebKit::WebContext::create):
(WebKit::WebContext::process):
* UIProcess/WebPageNamespace.cpp:
(WebKit::WebPageNamespace::createWebPage):
(WebKit::WebPageNamespace::preferencesDidChange):
(WebKit::WebPageNamespace::getStatistics):
* UIProcess/WebPageNamespace.h:
(WebKit::WebPageNamespace::process):
(WebKit::WebPageNamespace::reviveIfNecessary):
Move WebProcessProxy creation logic up into WebContext.

* UIProcess/WebProcessManager.cpp:
(WebKit::WebProcessManager::getWebProcess):
(WebKit::WebProcessManager::processDidClose):
* UIProcess/WebProcessManager.h:
Keep a map of WebContexts to WebProcessProxies in addition to the two
shared processes.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::create):
(WebKit::WebProcessProxy::WebProcessProxy):
(WebKit::WebProcessProxy::connect):
(WebKit::WebProcessProxy::didClose):
* UIProcess/WebProcessProxy.h:
Store a WebContext instead of the process model.

* mac/WebKit2.exp:
Add new functions.

WebKitTools:

Move to use new shared contexts API.

* MiniBrowser/mac/AppDelegate.h:
* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]):
(-[BrowserAppDelegate getCurrentPageNamespace]):
(-[BrowserAppDelegate validateMenuItem:]):
(-[BrowserAppDelegate _setProcessModel:]):
(-[BrowserAppDelegate setSharedProcessProcessModel:]):
(-[BrowserAppDelegate setSharedThreadProcessModel:]):
* MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):

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

9 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Sun, 20 Jun 2010 00:38:00 +0000 (00:38 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        When V8 ScriptData caching was originally submitted it causes crashes
        in external scripts with high-byte characters. This new test crashes on
        the original code, but now passes.

        * fast/js/parser-high-byte-character-expected.txt: Added.
        * fast/js/parser-high-byte-character.html: Added.
        * fast/js/script-tests/parser-high-byte-character.js: Added.
        (runTest):
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        This stores V8's ScriptData in the memory cache and also causes the
        network platform layer to be notified of the available cacheable
        metadata.

        Chromium's morejs benchmark showed a ~7% improvement when this was
        originally submitted (before it had to be rolled back).

        Test: fast/js/parser-high-byte-character.html

        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        (WebCore::ScriptSourceCode::cachedScript):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::precompileScript):
        (WebCore::V8Proxy::evaluate):
        * bindings/v8/V8Proxy.h:

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

9 years ago2010-06-19 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 21:48:54 +0000 (21:48 +0000)]
2010-06-19  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        * platform/chromium/test_expectations.txt: Tuned expectations according to the bot result runs.

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

9 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
abarth@webkit.org [Sat, 19 Jun 2010 20:39:30 +0000 (20:39 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Add LayoutTest to ensure resources within <noscript> are not preloaded
        https://bugs.webkit.org/show_bug.cgi?id=40849

        * fast/preloader/noscript-expected.txt: Added.
        * fast/preloader/noscript.html: Added.
        * fast/preloader/resources/noscript-image1.png: Copied from BugsSite/data/mail.
        * fast/preloader/resources/noscript-image2.png: Copied from BugsSite/data/mail.

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

9 years ago2010-06-19 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Sat, 19 Jun 2010 17:24:54 +0000 (17:24 +0000)]
2010-06-19  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kent Tamura.

        [BREWMP] Port SocketStream
        https://bugs.webkit.org/show_bug.cgi?id=39671

        Port SocketStream with BREW MP's ISocket interface.

        * platform/network/brew/SocketStreamError.h: Added.
        (WebCore::SocketStreamError::SocketStreamError):
        * platform/network/brew/SocketStreamHandle.h: Added.
        (WebCore::SocketStreamHandle::create):
        * platform/network/brew/SocketStreamHandleBrew.cpp: Added.
        (WebCore::socketStreamConnectCallback):
        (WebCore::getHostByNameCallback):
        (WebCore::socketReadableCallback):
        (WebCore::networkManager):
        (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate):
        (WebCore::SocketStreamHandlePrivate::~SocketStreamHandlePrivate):
        (WebCore::SocketStreamHandlePrivate::socketConnected):
        (WebCore::SocketStreamHandlePrivate::socketReadyRead):
        (WebCore::SocketStreamHandlePrivate::connect):
        (WebCore::SocketStreamHandlePrivate::send):
        (WebCore::SocketStreamHandlePrivate::close):
        (WebCore::SocketStreamHandlePrivate::socketClosed):
        (WebCore::SocketStreamHandlePrivate::socketError):
        (WebCore::SocketStreamHandle::SocketStreamHandle):
        (WebCore::SocketStreamHandle::~SocketStreamHandle):
        (WebCore::SocketStreamHandle::platformSend):
        (WebCore::SocketStreamHandle::platformClose):
        (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
        (WebCore::SocketStreamHandle::receivedCredential):
        (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
        (WebCore::SocketStreamHandle::receivedCancellation):
        * platform/network/brew/SocketStreamHandlePrivate.h: Added.

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

9 years ago2010-06-19 Jay Civelli <jcivelli@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 17:11:35 +0000 (17:11 +0000)]
2010-06-19  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by David Levin.

        Adding a < operator to WebURLs so they can be used in std::maps.
        https://bugs.webkit.org/show_bug.cgi?id=40632

        * public/WebCString.h:
        (WebKit::operator<):
        * public/WebURL.h:
        (WebKit::operator<):
        * src/WebCString.cpp:
        (WebKit::WebCString::compare):

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

9 years ago2010-06-19 Nikita Vasilyev <me@elv1s.ru>
eric@webkit.org [Sat, 19 Jun 2010 16:47:37 +0000 (16:47 +0000)]
2010-06-19  Nikita Vasilyev  <me@elv1s.ru>

        Reviewed by Pavel Feldman.

        Web Inspector: subtitleElement.textContent is always empty. Use subtitleAsText method instead.
        https://bugs.webkit.org/show_bug.cgi?id=40420

        * inspector/elements-tests.js:
        (frontend_getSelectedElementStyles):
2010-06-19  Nikita Vasilyev  <me@elv1s.ru>

        Reviewed by Pavel Feldman.

        Web Inspector: Prevent from copying "filename.css" in Styles pane
        https://bugs.webkit.org/show_bug.cgi?id=40420

        * inspector/front-end/Section.js:
        (WebInspector.Section.prototype.set subtitle):
        (WebInspector.Section.prototype.get subtitleAsText):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection):
        * inspector/front-end/inspector.css:
        (.styles-section .subtitle::before, .styles-section .subtitle a::before):

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

9 years ago2010-06-19 Alex Milowski <alex@milowski.com>
eric@webkit.org [Sat, 19 Jun 2010 16:35:25 +0000 (16:35 +0000)]
2010-06-19  Alex Milowski  <alex@milowski.com>

        Reviewed by Darin Adler.

        A fix for a change in https://bugs.webkit.org/show_bug.cgi?id=39941
        that caused a compile error in MathML.
        https://bugs.webkit.org/show_bug.cgi?id=40827

        * mathml/MathMLElement.cpp:
        (WebCore::MathMLElement::MathMLElement):

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

9 years ago2010-06-19 Kartikaya Gupta <kagupta@rim.com>
eric@webkit.org [Sat, 19 Jun 2010 16:21:03 +0000 (16:21 +0000)]
2010-06-19  Kartikaya Gupta  <kagupta@rim.com>

        Reviewed by Nikolas Zimmermann.

        CPP bindings missing some APIs
        https://bugs.webkit.org/show_bug.cgi?id=40570

        Add missing C++ DOM API bindings. Specifically:
        - NodeFilter callback support
        - Missing custom method implementations in HTMLCollection and HTMLOptionsCollection
        - Missing EventTarget static type-determination methods
        - Fix CPP binding generator to not generate d-ptrs for classes that extend EventTarget and just use the parent's d-ptr instead
        - Switch binding generator to use DOMWindow instead of AbstractView so that necessary W3C-defined methods (e.g. getComputedStyle) are accessible.

        * bindings/cpp/WebDOMDOMWindowCustom.cpp: Added.
        (WebDOMDOMWindow::addEventListener):
        (WebDOMDOMWindow::removeEventListener):
        * bindings/cpp/WebDOMEventTarget.cpp:
        (toWebKit):
        * bindings/cpp/WebDOMEventTarget.h:
        * bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Added.
        (WebDOMHTMLCollection::item):
        (WebDOMHTMLCollection::namedItem):
        * bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Added.
        (WebDOMHTMLOptionsCollection::length):
        (WebDOMHTMLOptionsCollection::setLength):
        * bindings/cpp/WebDOMNodeFilterCustom.cpp: Added.
        (WebDOMNodeFilter::acceptNode):
        (toWebKit):
        * bindings/cpp/WebNativeNodeFilterCondition.cpp: Added.
        (WebNativeNodeFilterCondition::WebNativeNodeFilterCondition):
        (WebNativeNodeFilterCondition::~WebNativeNodeFilterCondition):
        (WebNativeNodeFilterCondition::acceptNode):
        * bindings/cpp/WebNativeNodeFilterCondition.h: Added.
        (WebNativeNodeFilterCondition::create):
        * bindings/scripts/CodeGeneratorCPP.pm:
        * dom/NodeFilter.idl:
        * page/DOMWindow.idl:

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

9 years ago2010-06-19 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 15:22:05 +0000 (15:22 +0000)]
2010-06-19  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update

        * platform/chromium/test_expectations.txt: Added a flaky crash.

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

9 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 15:13:50 +0000 (15:13 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed. Build fix for r61488.

        * features.gypi: Define use_accelerated_compositing.

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

9 years ago2010-06-19 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Sat, 19 Jun 2010 15:05:39 +0000 (15:05 +0000)]
2010-06-19  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Darin Adler.

        Include <string.h> in StringExtras.h
        https://bugs.webkit.org/show_bug.cgi?id=40808

        Without string.h, RVCT 2.2 can't compile StringExtras.h.
        It can't find strlen and strncmp.

        * wtf/StringExtras.h:

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

9 years ago2010-06-19 Vangelis Kokkevis <vangelis@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 14:53:08 +0000 (14:53 +0000)]
2010-06-19  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium] Adding a conditional gyp dependency for the WebCore target to
        the gles2_c_lib which is required by the gpu compositor. The dependency will
        only kick in if the accelerated_compositing path is enabled.
        https://bugs.webkit.org/show_bug.cgi?id=40801

        * WebCore.gyp/WebCore.gyp:

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

9 years ago2010-06-19 Yael Aharon <yael.aharon@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 14:19:32 +0000 (14:19 +0000)]
2010-06-19  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Platform plugin's multi-select does not take OptGroup into account
        https://bugs.webkit.org/show_bug.cgi?id=40718

        In multi-select elements, optgroup elements are counted in the index calculation,
        but in single-select they are not. Keep the same logic even when NO_LISTBOX_RENDERING
        is enabled.
        Added tests to the existing manual test, as testing this requires a special build, in which
        NO_LISTBOX_RENDERING is enabled.

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::listBoxSelectItem):
        * manual-tests/no-listbox-rendering.html:
        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::listBoxSelectItem):
2010-06-19  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Platform plugin's multi-select does not take OptGroup into account
        https://bugs.webkit.org/show_bug.cgi?id=40718

        Make sure that SelectData is valid throughout the lifetime of the dialog.
        This is mostly important for the Orbt based plugin.
        Added virtual desctructors where they were missing.

        * Api/qwebkitplatformplugin.h:
        (QWebSelectData::~QWebSelectData):
        (QWebSelectMethod::~QWebSelectMethod):
        (QWebNotificationData::~QWebNotificationData):
        * WebCoreSupport/QtPlatformPlugin.cpp:
        (WebCore::SelectInputMethodWrapper::SelectInputMethodWrapper):
        (WebCore::SelectInputMethodWrapper::~SelectInputMethodWrapper):
        (WebCore::SelectInputMethodWrapper::show):
        * WebCoreSupport/QtPlatformPlugin.h:
        * examples/platformplugin/WebPlugin.cpp:
        * examples/platformplugin/qwebkitplatformplugin.h:
        (QWebSelectData::~QWebSelectData):
        (QWebSelectMethod::~QWebSelectMethod):
        (QWebNotificationData::~QWebNotificationData):

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

9 years ago2010-06-19 Thomas Van Lenten <thomasvl@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 14:07:01 +0000 (14:07 +0000)]
2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>

        Reviewed by David Levin.

        Warnings from -Wextra in a Chromium Mac build
        1. checks of unsigned >= 0
        2. enumeral and non-enumeral type in conditional expression
        3. copy ctors that don't call the super copy ctor or ctor
        No functionality change so no new tests.

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

        * platform/chromium/ChromiumDataObject.cpp:
        (WebCore::ChromiumDataObject::ChromiumDataObject):
        * platform/chromium/ThemeChromiumMac.mm:
        (WebCore::updateStates):
        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::RenderThemeChromiumMac::updateActiveState):
2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>

        Reviewed by David Levin.

        Warnings from -Wextra in a Chromium Mac build
        1. checks of unsigned >= 0
        2. enumeral and non-enumeral type in conditional expression
        3. copy ctors that don't call the super copy ctor or ctor

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

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::getSuggestion):
        (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
        (WebKit::AutoFillPopupMenuClient::valueChanged):
        (WebKit::AutoFillPopupMenuClient::selectionChanged):
        * src/AutocompletePopupMenuClient.cpp:
        (WebKit::AutocompletePopupMenuClient::getSuggestion):
        (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):

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

9 years ago2010-06-19 Ben Murdoch <benm@google.com>
eric@webkit.org [Sat, 19 Jun 2010 13:54:51 +0000 (13:54 +0000)]
2010-06-19  Ben Murdoch  <benm@google.com>

        Reviewed by Pavel Feldman.

        Fix build break with inspector disabled.
        https://bugs.webkit.org/show_bug.cgi?id=40790

        Replace a #include with a forward declaration.

        Fixing a build break so no new tests required.

        * inspector/InspectorController.h: Forward declare InspectorValue
           rather than #including its header which has its content guarded
           out.

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

9 years ago2010-06-19 Zhe Su <suzhe@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 13:32:34 +0000 (13:32 +0000)]
2010-06-19  Zhe Su  <suzhe@chromium.org>

        Reviewed by Darin Fisher.

        [chromium]Refactor input method related APIs.
        https://bugs.webkit.org/show_bug.cgi?id=40608

        No new tests are needed, because there is no new functionality.

        * page/FocusController.cpp:
        (WebCore::FocusController::setFocusedNode):
2010-06-19  Zhe Su  <suzhe@chromium.org>

        Reviewed by Darin Fisher.

        [chromium]Refactor input method related APIs.
        https://bugs.webkit.org/show_bug.cgi?id=40608

        * WebKit.gyp:
        * public/WebCompositionCommand.h:
        * public/WebCompositionUnderline.h: Added.
        (WebKit::WebCompositionUnderline::WebCompositionUnderline):
        * public/WebTextInputType.h: Added.
        (WebKit::):
        * public/WebViewClient.h:
        * public/WebWidget.h:
        * public/WebWidgetClient.h:
        (WebKit::WebWidgetClient::resetInputMethod):
        * src/CompositionUnderlineBuilder.h: Added.
        (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
        * src/CompositionUnderlineVectorBuilder.cpp: Added.
        (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
        * src/CompositionUnderlineVectorBuilder.h: Added.
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::setInputMethodState):
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::setComposition):
        (WebKit::WebPopupMenuImpl::confirmComposition):
        (WebKit::WebPopupMenuImpl::textInputType):
        (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleCompositionEvent):
        (WebKit::WebViewImpl::setComposition):
        (WebKit::WebViewImpl::confirmComposition):
        (WebKit::WebViewImpl::textInputType):
        (WebKit::WebViewImpl::caretOrSelectionBounds):
        * src/WebViewImpl.h:

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

9 years ago2010-06-19 Victoria Kirst <vrk@google.com>
eric@webkit.org [Sat, 19 Jun 2010 13:05:35 +0000 (13:05 +0000)]
2010-06-19  Victoria Kirst  <vrk@google.com>

        Reviewed by David Levin.

        Modifying the WebMediaPlayer interface to be compatible with
        a change in chrome.
        This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
        has been updated, so this commit should NOT break chromium anymore,
        nor should it cause any test failures.
        https://bugs.webkit.org/show_bug.cgi?id=39445

        * public/WebMediaPlayer.h: Changed buffered() to be non-const.

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

9 years ago2010-06-19 George Wright <gwright@rim.com>
eric@webkit.org [Sat, 19 Jun 2010 12:32:02 +0000 (12:32 +0000)]
2010-06-19  George Wright  <gwright@rim.com>

        Reviewed by George Staikos.

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

        Make setWapInputFormat() public again as CSSStyleSelector.cpp calls this when WCSS is enabled.

        * html/HTMLInputElement.h:
        (WebCore::HTMLInputElement::data):

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

9 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 12:31:38 +0000 (12:31 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/test_expectations.txt:
          - progress-element.html is essentially flaky on Mac.
          - use-clipped-hit.svg passes recently.

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

9 years ago2010-06-19 No'am Rosenthal <noam.rosenthal@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 11:58:18 +0000 (11:58 +0000)]
2010-06-19  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Simon Hausmann.

        Bridge documentation: some snippets have the wrong indentation
        https://bugs.webkit.org/show_bug.cgi?id=40717

        Fixed code snippets

        * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
        (wrapInFunction):

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

9 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 11:43:21 +0000 (11:43 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Add expectations for <meter> and <progress>.

        * platform/chromium-linux/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.txt: Added.
        * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-06-02 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sat, 19 Jun 2010 11:02:54 +0000 (11:02 +0000)]
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        This initial implementation passes 25 of the 27 tests in
        http/tests/isolatedworld as well as four others that use the
        call in LayoutTests.

        Further work/investigation is required to support the two
        remaining tests.

        * platform/qt/Skipped:
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        getOwnPropertyNames() crashes if PropertyNameArray is size 0. This change allows
        http/tests/world-reuse.html and didClearWindowObject.html to fail instead of crash.

        * WebCore.pro: Add qwebscriptworld.*
        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::convertValueToQVariant):
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        * Api/headers.pri:
        * Api/qwebframe.cpp:
        (QWebFrame::evaluateScriptInIsolatedWorld):
        * Api/qwebframe.h:
        * Api/qwebscriptworld.cpp: Added.
        (QWebScriptWorld::QWebScriptWorld):
        (QWebScriptWorld::world):
        (QWebScriptWorld::~QWebScriptWorld):
        * Api/qwebscriptworld.h: Added.
        * Api/qwebscriptworld_p.h: Added.
        (QWebScriptWorldPrivate::QWebScriptWorldPrivate):
        (QWebScriptWorldPrivate::~QWebScriptWorldPrivate):
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::evaluateScriptInIsolatedWorld):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

9 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 10:18:27 +0000 (10:18 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Rebaseline for tetDecoration.svg.

        * platform/chromium-linux/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/chromium-linux/svg/batik/text/textDecoration-expected.png: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.png: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-06-19 Olivier Goffart <olivier.goffart@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 10:04:00 +0000 (10:04 +0000)]
2010-06-19  Olivier Goffart  <olivier.goffart@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Compilation in QWebPagePrivate::timerEvent with clang
        https://bugs.webkit.org/show_bug.cgi?id=40714

        QObject::timerEvent is protected and cannot be accessed by QWebPagePrivate
        with clang

        QWebPagePrivate is a friend of QWebPage and then should have access to
        all protected members of parents of QWebPage, including QObject.
        But the clang team do not want to conform to this aspect of the specification
        because "It is either a drafting error or a horrible mistake."
        See http://llvm.org/bugs/show_bug.cgi?id=6840

        This change is better because QWebPage does not reimplement the timerEvent
        (QWebPagePrivate::timerEvent is called from QWebPage::event)
        So customers that would reimplement their own timerEvent
        for their own timer now get a chance to catch them.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::timerEvent):

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

9 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:45:12 +0000 (09:45 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Don't use __attribute__((may_alias)) with the Intel compiler,
        as it doesn't understand it.

        * wtf/Vector.h:

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

9 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:23:15 +0000 (09:23 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Fix compilation with the Intel C++ compiler (11.1.072).

        Like RVCT, label pointers must be void*, not const void*.

        * bytecode/Opcode.h:

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

9 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:09:24 +0000 (09:09 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Add the WTF_COMPILER_INTEL for when the Intel compiler is used
        for building. Usually, the Intel compiler masquerades as
        another compiler in the system and gets away with it, but some
        times specific fixes are required (such as when using language
        extensions).

        * wtf/Platform.h:

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

9 years ago2010-06-19 Mirko Damiani <mirko@develer.com>
eric@webkit.org [Sat, 19 Jun 2010 08:45:03 +0000 (08:45 +0000)]
2010-06-19  Mirko Damiani  <mirko@develer.com>

        Reviewed by Simon Hausmann.

        [Qt] Avoid truncation of zoom factor in QWebFrame's print function.
        https://bugs.webkit.org/show_bug.cgi?id=40662

        The zoom factor is a qreal number but its value is truncated to an
        integer. So a cast to qreal is needed to avoid this issue.

        * Api/qwebframe.cpp:
        (QWebFrame::print):

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

9 years ago2010-06-19 Zhenyao Mo <zmo@google.com>
eric@webkit.org [Sat, 19 Jun 2010 08:31:22 +0000 (08:31 +0000)]
2010-06-19  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        fast/canvas/webgl/get-active-test.html failed in Chrome Mac
        https://bugs.webkit.org/show_bug.cgi?id=40496

        * fast/canvas/webgl/get-active-test-expected.txt: Test of two contexts and two programs, also test the uniform array name ends with "[0]".
        * fast/canvas/webgl/script-tests/get-active-test.js: Ditto.
2010-06-19  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        fast/canvas/webgl/get-active-test.html failed in Chrome Mac
        https://bugs.webkit.org/show_bug.cgi?id=40496

        * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
        (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
        (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
        (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):

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

9 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 07:26:25 +0000 (07:26 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Some very minor cleanups for HTML5 Parser
        https://bugs.webkit.org/show_bug.cgi?id=40638

        No new tests because no new functionality.

        * html/HTML5DocumentParser.cpp:
        (WebCore::): Make ctor explicit.
        * html/HTML5DocumentParser.h:
        (WebCore::HTML5DocumentParser::InsertionPointRecord::InsertionPointRecord): Make ctor explicit.
        * html/HTML5Lexer.cpp:
        (WebCore::HTMLNames::isEndTagBufferingState): Use switch to generate an efficient table with single branch.
        * html/HTML5Token.h:
        (WebCore::HTML5Token::forceQuirks): Add const.
        * html/HTML5TreeBuilder.h:
        (WebCore::HTML5TreeBuilder::isPaused): Add const.

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 07:12:37 +0000 (07:12 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add three more non-core Chromium builders to start testing DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=40335

        * BuildSlaveSupport/build.webkit.org-config/config.json: Added 3 builders.

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

9 years ago2010-06-18 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 07:08:21 +0000 (07:08 +0000)]
2010-06-18  Aaron Boodman  <aa@chromium.org>

        Remove WebKit::WebDocument::isXHTMLDocument.
        https://bugs.webkit.org/show_bug.cgi?id=40815

        * dom/Document.h: remove isXHTML() getter.
2010-06-18  Aaron Boodman  <aa@chromium.org>

        Remove WebKit::WebDocument::isXHTMLDocument.
        https://bugs.webkit.org/show_bug.cgi?id=40815

        * public/WebDocument.h: Remove isXHTMLDocument().
        * src/WebDocument.cpp: Ditto.

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

9 years ago2010-06-19 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 07:05:45 +0000 (07:05 +0000)]
2010-06-19  Aaron Boodman  <aa@chromium.org>

        Unreviewed, rolling out r61466.
        http://trac.webkit.org/changeset/61466
        https://bugs.webkit.org/show_bug.cgi?id=40816

        Landed wrong change

        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::initContextIfNeeded):
        * bindings/v8/V8DOMWindowShell.h:
2010-06-19  Aaron Boodman  <aa@chromium.org>

        Unreviewed, rolling out r61466.
        http://trac.webkit.org/changeset/61466
        https://bugs.webkit.org/show_bug.cgi?id=40816

        Landed wrong change

        * src/WebKit.cpp:
        (WebKit::shutdown):

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

9 years ago2010-06-18 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 06:54:24 +0000 (06:54 +0000)]
2010-06-18  Aaron Boodman  <aa@chromium.org>

        WebKit API: Undo static hooks into V8 when WebKit is shut down.
        https://bugs.webkit.org/show_bug.cgi?id=40816

        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::initContextIfNeeded):
        (WebCore::V8DOMWindowShell::initializeV8IfNeeded):
        (WebCore::V8DOMWindowShell::uninitializeV8IfNeeded):
        * bindings/v8/V8DOMWindowShell.h:
2010-06-18  Aaron Boodman  <aa@chromium.org>

        WebKit API: Undo static hooks into V8 when WebKit is shut downm
        https://bugs.webkit.org/show_bug.cgi?id=40816

        * src/WebKit.cpp:
        (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().

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

9 years ago2010-06-18 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Sat, 19 Jun 2010 04:33:58 +0000 (04:33 +0000)]
2010-06-18  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=19575
        layout test svg/batik/text/textDecoration.svg hangs

        Reenable this test since crash is gone (tested on OS X 10.5.8).

        * platform/mac/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/mac/svg/batik/text/textDecoration-expected.png: Added.
        * platform/mac/svg/batik/text/textDecoration-expected.txt: Added.
        * svg/batik/text/textDecoration.svg: Renamed from LayoutTests/svg/batik/text/textDecoration.svg-disabled.

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

9 years ago2010-06-18 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 19 Jun 2010 03:35:45 +0000 (03:35 +0000)]
2010-06-18  Adam Barth  <abarth@webkit.org>

        Unreviewed, rolling out r61459.
        http://trac.webkit.org/changeset/61459
        https://bugs.webkit.org/show_bug.cgi?id=40869

        Seems to have broken two tests on the Tiger buildbot:

        dom/html/level2/html/AppletsCollection.html
        plugins/qt-qwidget-plugin.html

        Anders wasn't on #webkit...

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::spawnPluginHost):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage name]):
        (-[WebBasePluginPackage path]):
        (-[WebBasePluginPackage filename]):
        (-[WebBasePluginPackage pluginDescription]):
        (-[WebBasePluginPackage setName:]):
        (-[WebBasePluginPackage setPath:]):
        (-[WebBasePluginPackage setPluginDescription:]):
        (-[WebBasePluginPackage description]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        (-[WebNetscapePluginPackage _tryLoad]):
        (-[WebNetscapePluginPackage _unloadWithShutdown:]):
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage load]):

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

9 years agoBug 19509 - Database Tables in the Inspector should be sortable
jberlin@webkit.org [Sat, 19 Jun 2010 03:23:38 +0000 (03:23 +0000)]
Bug 19509 - Database Tables in the Inspector should be sortable
https://bugs.webkit.org/show_bug.cgi?id=19509

Reviewed by Darin Adler.

* inspector/front-end/StoragePanel.js:
(WebInspector.StoragePanel.prototype.dataGridForResult):
Make each column in the DataGrid sortable.
(WebInspector.StoragePanel.prototype._sortDataGrid.comparator):
Make sure to sort numeric columns by their numeric values, instead of lexicographically.
(WebInspector.StoragePanel.prototype._sortDataGrid):
Sort the entries in the DataGrid based on the selected column.

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 03:18:07 +0000 (03:18 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        * WebCore.gyp/WebCore.gyp: Modified inclusion rule in to actually add WebSystemInterface.mm.

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

9 years agoFix Tiger build.
andersca@apple.com [Sat, 19 Jun 2010 01:15:51 +0000 (01:15 +0000)]
Fix Tiger build.

* Plugins/WebBasePluginPackage.mm:
(-[WebBasePluginPackage isJavaPlugIn]):

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

9 years agoMore clang++ warning fixes.
andersca@apple.com [Sat, 19 Jun 2010 01:07:14 +0000 (01:07 +0000)]
More clang++ warning fixes.

Reviewed by Oliver Hunt.

* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
* platform/graphics/mac/FontPlatformData.h:
* platform/graphics/mac/WebLayer.mm:
(-[CALayer _descriptionWithPrefix:]):

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sat, 19 Jun 2010 00:35:06 +0000 (00:35 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Change some WebPluginDabase ivars to use WebCore::String instead of NSString.
        https://bugs.webkit.org/show_bug.cgi?id=40869

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::spawnPluginHost):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage name]):
        (-[WebBasePluginPackage path]):
        (-[WebBasePluginPackage filename]):
        (-[WebBasePluginPackage pluginDescription]):
        (-[WebBasePluginPackage description]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        (-[WebNetscapePluginPackage _tryLoad]):
        (-[WebNetscapePluginPackage _unloadWithShutdown:]):
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage load]):

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

9 years ago[Chromium] Plumbing for top-level frame names
atwilson@chromium.org [Sat, 19 Jun 2010 00:15:52 +0000 (00:15 +0000)]
[Chromium] Plumbing for top-level frame names
https://bugs.webkit.org/show_bug.cgi?id=40430

Reviewed by Darin Fisher.

WebKit/chromium:

* public/WebFrame.h:
Removed obsolete clearName() API and added better documentation for
setName().
* src/WebFrameImpl.cpp:
Removed clearName() API.
* src/WebFrameImpl.h:
Removed clearName() API.

WebKitTools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::reset):
Changed obsolete call to clearName() to use setName(WebString()) instead.

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

9 years ago Test by Chris Brichford.
ap@apple.com [Sat, 19 Jun 2010 00:15:50 +0000 (00:15 +0000)]
    Test by Chris Brichford.

        https://bugs.webkit.org/show_bug.cgi?id=19759
        ChildNodeList for an attribute node is not properly invalidated after appending a child

        This issue has been fixed in another bug, just landing an additional test.

        * fast/dom/Attr/child-nodes-length-cache-expected.txt: Added.
        * fast/dom/Attr/child-nodes-length-cache.html: Added.

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

9 years agoWebKit: Rename WebPluginPackage.m to make it an Objective-C++ file.
andersca@apple.com [Sat, 19 Jun 2010 00:01:09 +0000 (00:01 +0000)]
WebKit: Rename WebPluginPackage.m to make it an Objective-C++ file.

Reviewed by Sam Weinig.

* WebKit.xcodeproj/project.pbxproj:

WebKit/mac: Rename WebPluginPackage.m to make it an Objective-C++ file.

Reviewed by Sam Weinig.

* Plugins/WebPluginPackage.m: Removed.
* Plugins/WebPluginPackage.mm: Copied from Plugins/WebPluginPackage.m.

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 23:56:41 +0000 (23:56 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        * WebCore.gyp/WebCore.gyp: Renamed WebSystemInterface.m to WebSystemInterface.mm.

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:51:31 +0000 (23:51 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Get rid of the NSEnumerators from WebBasePluginPackage
        https://bugs.webkit.org/show_bug.cgi?id=40868

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage MIMETypes]):
        (-[WebBasePluginPackage supportsExtension:]):
        (-[WebBasePluginPackage supportsMIMEType:]):
        * Plugins/WebPluginDatabase.mm:
        (-[WebPluginDatabase pluginForMIMEType:]):
        (-[WebPluginDatabase pluginForExtension:]):
        (-[WebPluginDatabase refresh]):
        (-[WebPluginDatabase _removePlugin:]):
        * WebCoreSupport/WebPlatformStrategies.mm:
        (WebPlatformStrategies::getPluginInfo):

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:23:47 +0000 (23:23 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebKit.xcodeproj/project.pbxproj:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebCoreSupport/WebSystemInterface.h:
        * WebCoreSupport/WebSystemInterface.m: Removed.
        * WebCoreSupport/WebSystemInterface.mm: Copied from WebKit/mac/WebCoreSupport/WebSystemInterface.m.
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * platform/mac/WebCoreSystemInterface.h:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.h:
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: Removed.
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: Copied from WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.m.
        * mac/WebKit2.exp:

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:17:06 +0000 (23:17 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Clean up WebPluginDatabase.mm
        https://bugs.webkit.org/show_bug.cgi?id=40866

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (pathByResolvingSymlinksAndAliases):
        (-[WebBasePluginPackage initWithPath:]):
        Change an instance method into a static function.

        * Plugins/WebPluginDatabase.mm:
        (PluginPackageCandidates::PluginPackageCandidates):
        (PluginPackageCandidates::update):
        (PluginPackageCandidates::bestCandidate):
        Add a new PluginPackageCandidates class.

        (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]):
        Use PluginPackageCandidates here.

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

9 years agoWebCore: Convert column span from an unsigned short type to an unsigned int
levin@chromium.org [Fri, 18 Jun 2010 23:13:00 +0000 (23:13 +0000)]
WebCore: Convert column span from an unsigned short type to an unsigned int
type. Fixes a divide-by-zero crash arising from using a zero colspan
value coming from a narrow cast of an int to an unsigned short.
https://bugs.webkit.org/show_bug.cgi?id=40812

Patch by Abhishek Arya <inferno@chromium.org> on 2010-06-18
Reviewed by Adam Barth.

Test: fast/table/zero-colspan-crash.html

* rendering/RenderTable.h: Change span from unsigned short to unsigned int.
* rendering/RenderTableSection.cpp: Fix a compiler warning with comparing
  unsigned int with signed int. Value of an unsigned int here cannot be
  greater than maximum positive value of a signed int.
(WebCore::RenderTableSection::addCell):

LayoutTests: Tests that we do not crash while rendering a fixed table layout.
https://bugs.webkit.org/show_bug.cgi?id=40812

Patch by Abhishek Arya <inferno@chromium.org> on 2010-06-18
Reviewed by Adam Barth.

* fast/table/zero-colspan-crash-expected.txt: Added.
* fast/table/zero-colspan-crash.html: Added.

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

9 years ago2010-06-18 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Fri, 18 Jun 2010 23:09:23 +0000 (23:09 +0000)]
2010-06-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Incorrect handling of multiple BOMs scattered through a file.
        https://bugs.webkit.org/show_bug.cgi?id=40865

        When determining the offset of open and close braces in a source
        with BOMs we were finishing our count early as we failed to account
        for BOMs prior to the open/close brace positions effecting those
        positions.

        * parser/Lexer.cpp:
        (JSC::Lexer::sourceCode):
2010-06-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Incorrect handling of multiple BOMs scattered through a file.
        https://bugs.webkit.org/show_bug.cgi?id=40865

        Put a few more BOMs into this testcase so that it hits the other cases
        that were missed before.

        * fast/js/resources/bom-in-file-retains-correct-offset.js:
        (g.f):
        (g):

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

9 years agoFix Tiger build.
andersca@apple.com [Fri, 18 Jun 2010 23:01:41 +0000 (23:01 +0000)]
Fix Tiger build.

* WebCoreSupport/WebPlatformStrategies.mm:

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 22:30:43 +0000 (22:30 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        Update a few more chromium-win baselines after http://trac.webkit.org/changeset/61393.

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 22:20:18 +0000 (22:20 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add platform strategies for WebKit2.
        https://bugs.webkit.org/show_bug.cgi?id=40863

        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: Added.
        (WebKit::WebPlatformStrategies::initialize):
        (WebKit::WebPlatformStrategies::WebPlatformStrategies):
        (WebKit::WebPlatformStrategies::createPluginStrategy):
        (WebKit::WebPlatformStrategies::refreshPlugins):
        (WebKit::WebPlatformStrategies::getPluginInfo):
        * WebProcess/WebCoreSupport/WebPlatformStrategies.h: Added.
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::WebProcess):

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 22:16:09 +0000 (22:16 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        Update a few more chromium-mac baselines after http://trac.webkit.org/changeset/61393.

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

9 years ago[Qt] Text spacing miscalculation when using wordSpacing.
hausmann@webkit.org [Fri, 18 Jun 2010 22:11:14 +0000 (22:11 +0000)]
[Qt] Text spacing miscalculation when using wordSpacing.
https://bugs.webkit.org/show_bug.cgi?id=40483

Patch by Ananth Jasty <ext-ananth.jasty@nokia.com> on 2010-06-18
Reviewed by Simon Hausmann.

Removed wordSpacing compensation in FontQt whitespace width
calculation. The QFontMetrics::width() overload that takes
a character does not take QFont's word spacing into account.

* platform/graphics/qt/FontQt.cpp:
(WebCore::Font::floatWidthForComplexText):

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 22:08:45 +0000 (22:08 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Get rid of PluginDataMac.mm and use the plug-in strategy instead
        https://bugs.webkit.org/show_bug.cgi?id=40860

        * Plugins/WebBasePluginPackage.h:
        * WebCoreSupport/WebPlatformStrategies.h:
        * WebCoreSupport/WebPlatformStrategies.mm:
        (WebPlatformStrategies::createPluginStrategy):
        (WebPlatformStrategies::refreshPlugins):
        (WebPlatformStrategies::getPluginInfo):
        * WebCoreSupport/WebViewFactory.mm:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Get rid of PluginDataMac.mm and use the plug-in strategy instead
        https://bugs.webkit.org/show_bug.cgi?id=40860

        * WebCore.xcodeproj/project.pbxproj:
        * page/mac/WebCoreViewFactory.h:
        * plugins/PluginData.cpp:
        (WebCore::PluginData::refresh):
        (WebCore::PluginData::initPlugins):
        * plugins/PluginStrategy.h:
        * plugins/mac/PluginDataMac.mm: Removed.

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

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@61443 268f45cc-cd09-0410...
weinig@apple.com [Fri, 18 Jun 2010 21:52:54 +0000 (21:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 21:50:32 +0000 (21:50 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        Update chromium baselines after http://trac.webkit.org/changeset/61418.

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

9 years agoFix some (not all) clang++ warnings.
andersca@apple.com [Fri, 18 Jun 2010 21:48:54 +0000 (21:48 +0000)]
Fix some (not all) clang++ warnings.

Reviewed by Dan Bernstein.

* dom/Position.h:
(WebCore::lastOffsetInNode):
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::deleteInsignificantText):
* loader/appcache/ApplicationCache.cpp:
(WebCore::ApplicationCache::resourceForRequest):
* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::offsetForPosition):
(WebCore::ComplexTextController::collectComplexTextRuns):
* platform/network/CredentialStorage.cpp:
(WebCore::protectionSpaceMapKeyFromURL):
* rendering/style/StyleRareNonInheritedData.h:

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

9 years ago2010-06-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 18 Jun 2010 21:44:43 +0000 (21:44 +0000)]
2010-06-18  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed.

        Skipped some failing tests and conglomerated a skipped test into another group.

        * platform/gtk/Skipped: Cleanups and three more skipped tests.

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 21:40:25 +0000 (21:40 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        Update chromium-linux baselines after http://trac.webkit.org/changeset/61393.

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 21:23:19 +0000 (21:23 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Add stubbed out WebPlatformStrategies class to WebKit.
        https://bugs.webkit.org/show_bug.cgi?id=40851

        * WebKit.xcodeproj/project.pbxproj:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Add stubbed out WebPlatformStrategies class to WebKit.
        https://bugs.webkit.org/show_bug.cgi?id=40851

        * WebCoreSupport/WebPlatformStrategies.h: Added.
        * WebCoreSupport/WebPlatformStrategies.mm: Added.
        (WebPlatformStrategies::initialize):
        (WebPlatformStrategies::WebPlatformStrategies):
        (WebPlatformStrategies::createPluginStrategy):
        * WebView/WebView.mm:
        (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Add stubbed out WebPlatformStrategies class to WebKit.
        https://bugs.webkit.org/show_bug.cgi?id=40851

        * WebCore.base.exp:
        * platform/PlatformStrategies.cpp:
        * platform/PlatformStrategies.h:
        (WebCore::PlatformStrategies::~PlatformStrategies):

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 21:19:48 +0000 (21:19 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        Update chromium-win baselines after http://trac.webkit.org/changeset/61393.

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

9 years agoFix build errors when building with clang++.
andersca@apple.com [Fri, 18 Jun 2010 21:09:31 +0000 (21:09 +0000)]
Fix build errors when building with clang++.

Reviewed by Darin Adler.

* loader/archive/cf/LegacyWebArchiveMac.mm:
Move the const qualifier to the right place.

* page/EditorClient.h:
* platform/Pasteboard.h:
Use @class when forward declaring Objective-C classes in Objective-C.

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

9 years ago Reviewed by Geoff Garen.
ap@apple.com [Fri, 18 Jun 2010 21:05:59 +0000 (21:05 +0000)]
    Reviewed by Geoff Garen.

        https://bugs.webkit.org/show_bug.cgi?id=40852
        <rdar://problem/8105498> Limit simultaneous DNS prefetch request number (40852)

        No change in functionality, so no tests.

        We still queue up to 64 names, but only make up to 8 requests at once. If there are names
        remaining in queue, we retry after a short timeout (which is easier than posting
        notifications from client callback).

        * platform/network/cf/DNSCFNet.cpp:
        (WebCore::DNSResolveQueue::add):
        (WebCore::DNSResolveQueue::fired):

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

9 years ago2010-06-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 18 Jun 2010 21:03:35 +0000 (21:03 +0000)]
2010-06-18  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed.

        Adding baselines for new tests and correcting one incorrect baseline.

        * platform/gtk/media/video-replaces-poster-expected.txt: Correting this incorrect baseline.
        * platform/gtk/svg/hixie/text/001-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-1-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-2-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-3-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-4-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-stretch-1-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-stretch-2-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-stretch-3-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacing-stretch-4-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt: Added.
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-1-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-2-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-3-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-4-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-with-tspans-1-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-with-tspans-2-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-with-tspans-3-expected.txt: Added.
        * platform/gtk/svg/text/select-x-list-with-tspans-4-expected.txt: Added.

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

9 years ago2010-06-18 Robert Hogan <robert@webkit.org>
robert@webkit.org [Fri, 18 Jun 2010 21:01:07 +0000 (21:01 +0000)]
2010-06-18  Robert Hogan  <robert@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] pass plugins/open-and-close-window-with-plugin.html on Qt

        Capture logDestroy messages from the test plugin. DRT's WebPage
        is already destroyed by the time they are emitted.

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

        Unskip:
        plugins/open-and-close-window-with-plugin.html
        plugins/geturlnotify-during-document-teardown.html

        * platform/qt/Skipped:
2010-06-18  Robert Hogan  <robert@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] pass plugins/open-and-close-window-with-plugin.html on Qt

        Capture logDestroy messages from the test plugin. DRT's WebPage
        is already destroyed by the time they are emitted.

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

        Unskip:
        plugins/open-and-close-window-with-plugin.html
        plugins/geturlnotify-during-document-teardown.html

        * Api/qwebpage.cpp:
        (QWebPage::javaScriptConsoleMessage):

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

9 years agoWebGL demos show bad flicker
zmo@google.com [Fri, 18 Jun 2010 20:44:56 +0000 (20:44 +0000)]
WebGL demos show bad flicker
https://bugs.webkit.org/show_bug.cgi?id=38560

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

9 years ago2010-06-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 18 Jun 2010 20:41:02 +0000 (20:41 +0000)]
2010-06-18  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed.

        Adding baselines for new tests. Some tests that fail have been labeled
        with bug numbers. Also removed a newly defunct test from the skipped list.

        * platform/gtk/Skipped: Removed newly baselined tests and one defunct test.
        * platform/gtk/editing/selection/select-text-overflow-ellipsis-expected.txt: Added.
        * platform/gtk/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.txt: Added.
        * platform/gtk/fast/css/css3-space-in-nth-and-lang-expected.txt: Added.
        * platform/gtk/fast/css/inline-element-line-break-expected.txt: Added.
        * platform/gtk/fast/css/non-standard-checkbox-size-expected.txt: Added.
        * platform/gtk/fast/css/pseudo-element-line-break-expected.txt: Added.
        * platform/gtk/fast/lists/w3-css3-list-styles-alphabetic-expected.txt: Added.
        * platform/gtk/fast/multicol/single-line-expected.txt: Added.
        * platform/gtk/fast/repaint/block-no-inflow-children-expected.txt: Added.
        * platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt: Added.
        * platform/gtk/fast/repaint/moving-shadow-on-path-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-percent-inside-percent-table-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-percent-width-inside-div-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.txt: Added.
        * platform/gtk/fast/table/fixed-table-with-small-percent-width-expected.txt: Added.
        * platform/gtk/media/video-replaces-poster-expected.txt: Added.
        * platform/gtk/svg/css/shadow-and-opacity-expected.txt: Copied from LayoutTests/platform/mac/svg/css/shadow-and-opacity-expected.txt.
        * platform/gtk/svg/custom/empty-mask-expected.txt: Added.
        * platform/gtk/svg/custom/js-repaint-rect-on-path-with-stroke-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/js-repaint-rect-on-path-with-stroke-expected.txt.
        * platform/gtk/svg/custom/marker-opacity-expected.txt: Added.
        * platform/gtk/svg/custom/marker-referencePoint-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/marker-referencePoint-expected.txt.
        * platform/gtk/svg/custom/mask-invalidation-expected.txt: Added.
        * platform/gtk/svg/custom/pattern-excessive-malloc-expected.txt: Added.
        * platform/gtk/svg/custom/pattern-size-bigger-than-target-size-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/pattern-size-bigger-than-target-size-expected.txt.
        * platform/gtk/svg/custom/pattern-skew-transformed-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/pattern-skew-transformed-expected.txt.
        * platform/gtk/svg/custom/relative-sized-content-expected.txt: Added.
        * platform/gtk/svg/custom/relative-sized-deep-shadow-tree-content-expected.txt: Added.
        * platform/gtk/svg/custom/relative-sized-shadow-tree-content-expected.txt: Added.
        * platform/gtk/svg/custom/stroke-width-large-expected.txt: Added.
        * platform/gtk/svg/custom/text-xy-updates-SVGList-expected.txt: Added.
        * platform/gtk/svg/filters/feDisplacementMap-expected.txt: Copied from LayoutTests/platform/mac/svg/filters/feDisplacementMap-expected.txt.
        * platform/gtk/svg/overflow/overflow-on-foreignObject-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-foreignObject-expected.txt.
        * platform/gtk/svg/overflow/overflow-on-inner-svg-element-defaults-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-inner-svg-element-defaults-expected.txt.
        * platform/gtk/svg/overflow/overflow-on-inner-svg-element-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-inner-svg-element-expected.txt.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-auto-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-hidden-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-scroll-expected.txt: Added.
        * platform/gtk/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt: Added.
        * platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.txt: Added.
        * platform/gtk/svg/text/selection-background-color-expected.txt: Added.
        * platform/gtk/svg/text/selection-doubleclick-expected.txt: Added.
        * platform/gtk/svg/text/selection-styles-expected.txt: Added.
        * platform/gtk/svg/text/selection-tripleclick-expected.txt: Added.
        * platform/gtk/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.txt.
        * platform/gtk/svg/zoom/page/absolute-sized-document-scrollbars-expected.txt: Added.
        * platform/gtk/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-foreignObject-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-008-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-009-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-svg-float-border-padding-expected.txt: Added.
        * platform/gtk/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.txt.
        * platform/gtk/svg/zoom/text/absolute-sized-document-scrollbars-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/text/absolute-sized-document-scrollbars-expected.txt.
        * platform/gtk/svg/zoom/text/relative-sized-document-scrollbars-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/text/relative-sized-document-scrollbars-expected.txt.
        * platform/gtk/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Added.
        * platform/gtk/svg/zoom/text/zoom-foreignObject-expected.txt: Added.
        * platform/gtk/svg/zoom/text/zoom-hixie-mixed-008-expected.txt: Added.
        * platform/gtk/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt: Added.
        * platform/gtk/svg/zoom/text/zoom-svg-float-border-padding-expected.txt: Added.
        * platform/gtk/transforms/2d/hindi-rotated-expected.txt: Added.

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

9 years ago2010-06-17 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Fri, 18 Jun 2010 20:14:23 +0000 (20:14 +0000)]
2010-06-17  Oliver Hunt  <oliver@apple.com>

        Reviewed by Sam Weinig.

        Don't throw away exception information for functions that use exceptions
        https://bugs.webkit.org/show_bug.cgi?id=40786

        Simple patch to stop JSC from throwing away the exception information
        of a function that uses "exceptiony" features like try and throw.  This
        is a speed up for catching expressions but it's difficult to quantify as
        the old cost of reparsing is amortised over all exceptions caught in the
        effected function.

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::generate):
        (JSC::BytecodeGenerator::emitCatch):
        * bytecompiler/BytecodeGenerator.h:
        (JSC::BytecodeGenerator::emitThrow):

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

9 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 20:08:29 +0000 (20:08 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add PlatformStrategies and PluginStrategy classes.
        https://bugs.webkit.org/show_bug.cgi?id=40850

        * wtf/Platform.h:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add PlatformStrategies and PluginStrategy classes.
        https://bugs.webkit.org/show_bug.cgi?id=40850

        * WebCore.xcodeproj/project.pbxproj:
        * platform/PlatformStrategies.cpp: Added.
        (WebCore::PlatformStrategies::~PlatformStrategies):
        (WebCore::platformStrategies):
        (WebCore::setPlatformStrategies):
        * platform/PlatformStrategies.h: Added.
        (WebCore::PlatformStrategies::pluginStrategy):
        (WebCore::PlatformStrategies::PlatformStrategies):
        * plugins/PluginData.cpp:
        * plugins/PluginStrategy.h: Added.
        (WebCore::PluginStrategy::~PluginStrategy):

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

9 years ago2010-06-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 18 Jun 2010 20:01:44 +0000 (20:01 +0000)]
2010-06-18  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed.

        Fix the GTK+ build after r61413 and 61379.

        * bindings/scripts/CodeGeneratorGObject.pm:
        Produce a g_value_set that uses getterExpressionPrefix instead of the raw getter.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
        (webkit_dom_test_obj_get_property): Update expected test results.

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

9 years agoNo review. Fix Tiger and Leopards tests.
cfleizach@apple.com [Fri, 18 Jun 2010 19:45:29 +0000 (19:45 +0000)]
No review. Fix Tiger and Leopards tests.

AX: presentational role needs to be inherited by required elements
https://bugs.webkit.org/show_bug.cgi?id=40132

* platform/mac-leopard/Skipped:
* platform/mac-tiger/Skipped:

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

9 years ago2010-06-18 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Fri, 18 Jun 2010 19:16:09 +0000 (19:16 +0000)]
2010-06-18  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Unreviewed build fix.

        * wtf/CMakeLists.txt: Add MD5.cpp.
2010-06-18  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Unreviewed build fix.

        * CMakeLists.txt: Add inspector/ScriptBreakpoint.cpp.

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

9 years agoUpdate copyright header.
aestes@apple.com [Fri, 18 Jun 2010 19:11:26 +0000 (19:11 +0000)]
Update copyright header.

Rubber-stamped by Sam Weinig.

* html/HTMLLinkElement.h:

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

9 years agoWebCore: <rdar://problem/8091385> Prevent a crash in WebCore when removing a styleshe...
aestes@apple.com [Fri, 18 Jun 2010 19:03:07 +0000 (19:03 +0000)]
WebCore: <rdar://problem/8091385> Prevent a crash in WebCore when removing a stylesheet link element in
in a listener to its beforeload event.
https://bugs.webkit.org/show_bug.cgi?id=40742

Reviewed by Dan Bernstein.

Postpone loading of link elements until after they have been inserted into the DOM and
attached. This prevents DOM mutations triggered by beforeload handlers from firing in the
midst of DOM insertion, which can lead to assertion failures and crashes.

Test: fast/dom/beforeload/remove-link-in-beforeload-listener.html

* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::HTMLLinkElement): Initialize m_shouldProcessAfterAttach to false.
(WebCore::HTMLLinkElement::processCallback): Add a static callback function which calls
HTMLLinkElement::process().
(WebCore::HTMLLinkElement::insertedIntoDocument): Instead of calling process() directly, set
m_shouldProcessAfterAttach to true to indicate that process() should be called after attach().
(WebCore::HTMLLinkElement::removedFromDocument): Set m_shouldProcessAfterAttach to false.
(WebCore::HTMLLinkElement::attach): If m_shouldProcessAfterAttach is true, register
HTMLLinkElement::processCallback() as a post-attach callback.
* html/HTMLLinkElement.h: Add m_shouldProcessAfterAttach.
(WebCore::HTMLLinkElement::canLazyAttach): Override canLazyAttach() to return false to
indicate that a full attach should be performed.  This ensures the post-attach callbacks are
fired.

LayoutTests: <rdar://problem/8091385> Test that removing a stylesheet link element in a listener to its
beforeload event does not crash WebCore.
https://bugs.webkit.org/show_bug.cgi?id=40742

Reviewed by Dan Bernstein.

* fast/dom/beforeload/remove-link-in-beforeload-listener-expected.txt: Added.
* fast/dom/beforeload/remove-link-in-beforeload-listener.html: Added.

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

9 years agoUnreviewed. Update Qt specific expected files after r61418.
ossy@webkit.org [Fri, 18 Jun 2010 18:40:44 +0000 (18:40 +0000)]
Unreviewed. Update Qt specific expected files after r61418.

* platform/qt/editing/pasteboard/paste-text-005-expected.txt:
* platform/qt/editing/pasteboard/paste-text-006-expected.txt:
* platform/qt/editing/pasteboard/paste-text-007-expected.txt:
* platform/qt/editing/pasteboard/paste-text-014-expected.txt:

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

9 years agoUnreviewed. Windows build fix.
cfleizach@apple.com [Fri, 18 Jun 2010 18:18:08 +0000 (18:18 +0000)]
Unreviewed. Windows build fix.

AX: presentational role needs to be inherited by required elements
https://bugs.webkit.org/show_bug.cgi?id=40132

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole):

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

9 years agoAX: presentational role needs to be inherited by required elements
cfleizach@apple.com [Fri, 18 Jun 2010 17:58:42 +0000 (17:58 +0000)]
AX: presentational role needs to be inherited by required elements
https://bugs.webkit.org/show_bug.cgi?id=40132

Reviewed by David Kilzer.

WebCore:

Test: platform/mac/accessibility/inherited-presentational-lists.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
* accessibility/AccessibilityRenderObject.h:
(WebCore::AccessibilityRenderObject::node):

LayoutTests:

* platform/mac/accessibility/inherited-presentational-lists-expected.txt: Added.
* platform/mac/accessibility/inherited-presentational-lists.html: Added.

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

9 years agoFix GTK build after reflection change.
darin@apple.com [Fri, 18 Jun 2010 17:54:44 +0000 (17:54 +0000)]
Fix GTK build after reflection change.

* bindings/scripts/CodeGeneratorGObject.pm: Changed code
that emits setters to convey the correct type of the attribute.
The GObject code generator takes a different approach to attributes
than the others, so it's hacked a bit to make it more like them.
We should find a way to share more code between the different generators.

* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
Updated to expect correct results.

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

9 years ago2010-06-18 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Fri, 18 Jun 2010 17:42:35 +0000 (17:42 +0000)]
2010-06-18  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed: Qt build fix.

        * inspector/InspectorController.cpp:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=39798
justin.garcia@apple.com [Fri, 18 Jun 2010 17:35:50 +0000 (17:35 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=39798
No selection change notification for editing operation that doesn't change the selection's DOM position

Reviewed by Ojan Vafai.

WebCore:

Some editing operations change the selection visually without affecting its position within
the DOM.  This was previously known to occur for certain typing commands, but it can also
occur for some Pastes and changes to block style.

* editing/Editor.cpp:
(WebCore::Editor::appliedEditing):
(WebCore::Editor::unappliedEditing):
(WebCore::Editor::reappliedEditing):
(WebCore::Editor::changeSelectionAfterCommand):
* editing/Editor.h:

LayoutTests:

block-style-001.html demonstrated the bug, so no new tests have been added.

* platform/mac/editing/execCommand/format-block-expected.txt:
* platform/mac/editing/execCommand/outdent-selection-expected.txt:
* platform/mac/editing/pasteboard/paste-text-005-expected.txt:
* platform/mac/editing/pasteboard/paste-text-006-expected.txt:
* platform/mac/editing/pasteboard/paste-text-007-expected.txt:
* platform/mac/editing/pasteboard/paste-text-014-expected.txt:
* platform/mac/editing/style/apple-style-editable-mix-expected.txt:
* platform/mac/editing/style/block-style-001-expected.txt:
* platform/mac/editing/style/block-style-002-expected.txt:
* platform/mac/editing/style/block-style-003-expected.txt:
* platform/mac/editing/style/create-block-for-style-005-expected.txt:
* platform/mac/editing/style/create-block-for-style-006-expected.txt:
* platform/mac/editing/style/create-block-for-style-008-expected.txt:
* platform/mac/editing/style/relative-font-size-change-002-expected.txt:
* platform/mac/editing/style/relative-font-size-change-003-expected.txt:
* platform/mac/editing/style/relative-font-size-change-004-expected.txt:
* platform/mac/editing/style/table-selection-expected.txt:

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

9 years agoRoll chromium DEPS 50089:50171
atwilson@chromium.org [Fri, 18 Jun 2010 17:22:23 +0000 (17:22 +0000)]
Roll chromium DEPS 50089:50171
https://bugs.webkit.org/show_bug.cgi?id=40842

Reviewed by Dumitru Daniliuc.

* DEPS:
Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().

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

9 years ago2010-06-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
leandro@webkit.org [Fri, 18 Jun 2010 17:12:14 +0000 (17:12 +0000)]
2010-06-18  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Unreviewed build fix.

        [EFL] Build break on Debug build.
        https://bugs.webkit.org/show_bug.cgi?id=40810

        * CMakeLists.txt: Add CSSPreloadScanner.cpp

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

9 years ago Reviewed by Darin Adler.
ap@apple.com [Fri, 18 Jun 2010 16:59:49 +0000 (16:59 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=40803
        TestNetscapePlugin has an incorrect implementation of "property" property

        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginGetProperty): Don't
        pass a static string back, it's going to be released by NPAPI implementation.

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

9 years ago2010-06-18 Pavel Podivilov <podivilov@chromium.org>
yurys@chromium.org [Fri, 18 Jun 2010 16:51:49 +0000 (16:51 +0000)]
2010-06-18  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: persist breakpoints in inspector settings.
        https://bugs.webkit.org/show_bug.cgi?id=14190

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::setSessionSettings):
        (WebCore::InspectorController::didCommitLoad):
        (WebCore::InspectorController::setBreakpoint):
        (WebCore::InspectorController::removeBreakpoint):
        (WebCore::InspectorController::didParseSource):
        (WebCore::InspectorController::breakpointsSettingKey):
        (WebCore::InspectorController::loadBreakpoints):
        (WebCore::InspectorController::saveBreakpoints):
        * inspector/InspectorController.h:
        * inspector/InspectorValues.cpp:
        (WebCore::InspectorValue::parseJSON):
        * inspector/InspectorValues.h:
        * inspector/ScriptBreakpoint.cpp: Added.
        (WebCore::ScriptBreakpoint::sourceBreakpointsFromInspectorObject):
        (WebCore::ScriptBreakpoint::inspectorObjectFromSourceBreakpoints):
        * inspector/ScriptBreakpoint.h:
        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.addBreakpoint):
        (WebInspector.BreakpointManager.prototype.restoredBreakpoint):
        (WebInspector.BreakpointManager.prototype.breakpointsForSourceID):
        (WebInspector.BreakpointManager.prototype.breakpointsForURL):
        (WebInspector.BreakpointManager.prototype._addBreakpoint):
        * inspector/front-end/inspector.js:
        (WebInspector.restoredBreakpoint):

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

9 years ago2010-06-18 Darin Adler <darin@apple.com>
darin@apple.com [Fri, 18 Jun 2010 16:47:54 +0000 (16:47 +0000)]
2010-06-18  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Implement additional DOM attribute reflection for bindings
        https://bugs.webkit.org/show_bug.cgi?id=39936

        - Added support for [Reflect] for long, unsigned long, and boolean
          attributes.
        - Fixed code that set attributes like this: <video controls="controls">
          to instead set them like this: <video controls>.
        - Added lots more uses of [Reflect].
        - Removed now-unneeded [ConvertFromString].
        - Made [Reflect] imply [ConvertNullToNullString] so we can get rid
          of most uses of the latter.
        - Made [Reflect] automatically lowercase the name of the reflected
          content attribute to minimize the need to specify a custom content
          attribute name.

        One thing this patch does *not* do is remove the unneeded functions
        in the various DOM classes that are no longer used by the bindings.
        We should do that in a followup.

        * bindings/scripts/CodeGenerator.pm: Added new functions so code
        can be shared across bindings, GetterExpressionPrefix and
        SetterExpressionPrefix. We can do a lot more refactoring like
        this in the future.

        * bindings/scripts/CodeGeneratorCPP.pm: Removed unneeded
        ConvertFromString handling, changed to use the new
        GetterExpressionPrefix and SetterExpressionPrefix functions
        to better handle reflected DOM attributes.

        * bindings/scripts/CodeGeneratorGObject.pm: Removed unneeded
        ConvertFromString handling, changed to use the new
        GetterExpressionPrefix and SetterExpressionPrefix functions
        to better handle reflected DOM attributes. Fixed a few things
        in the output so the .cpp file will have more WebKit style.
        The .h file should be GTK style, but the .cpp file can be the
        standard WebKit style eventually.

        * bindings/scripts/CodeGeneratorJS.pm: Changed to use the new
        GetterExpressionPrefix and SetterExpressionPrefix functions
        and removed a now-unneeded IsSVGAnimatedType special case since
        the new functions take care of it. Made reflected attributes
        automatically convert null to the null string without a
        separate ConvertNullToNullString attribute.

        * bindings/scripts/CodeGeneratorObjC.pm: Changed to use the new
        GetterExpressionPrefix and SetterExpressionPrefix functions
        and removed a now-unneeded IsSVGAnimatedType special case since
        the new functions take care of it. Redid the special cases for
        ownerDocument and for operator to fit better with the new code
        paths. Removed unneeded ConvertFromString handling.

        * bindings/scripts/CodeGeneratorV8.pm: Changed to use the new
        GetterExpressionPrefix and SetterExpressionPrefix functions
        and removed a now-unneeded IsSVGAnimatedType special case since
        the new functions take care of it. Made reflected attributes
        automatically convert null to the null string without a
        separate ConvertNullToNullString attribute.

        * bindings/scripts/test/TestObj.idl: Added some test cases for
        content attribute reflection and for exceptions in string-typed
        attributes.

        * bindings/scripts/test/CPP/WebKitDOMTestObj.cpp: Updated.
        * bindings/scripts/test/CPP/WebKitDOMTestObj.h: Ditto.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
        * bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
        * bindings/scripts/test/JS/JSTestObj.h: Ditto.
        * bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
        * bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
        * bindings/scripts/test/V8/V8TestObj.cpp: Ditto.

        * dom/Element.cpp:
        (WebCore::Element::getIntegralAttribute): Added.
        (WebCore::Element::setIntegralAttribute): Added.
        (WebCore::Element::getUnsignedIntegralAttribute): Added.
        (WebCore::Element::setUnsignedIntegralAttribute): Added.
        * dom/Element.h: Added new attribute get/set functions for bindings.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::isURLAttribute): Added. Returns true for
        srcAttr.
        * html/HTMLMediaElement.h: Added isURLAttribute.

        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::isURLAttribute): Changed to call
        HTMLMediaElement::isURLAttribute before checking for posterAttr.

        * html/HTMLAnchorElement.idl:
        * html/HTMLAppletElement.idl:
        * html/HTMLAreaElement.idl:
        * html/HTMLBRElement.idl:
        * html/HTMLBaseElement.idl:
        * html/HTMLBaseFontElement.idl:
        * html/HTMLBlockquoteElement.idl:
        * html/HTMLBodyElement.idl:
        * html/HTMLButtonElement.idl:
        * html/HTMLDListElement.idl:
        * html/HTMLDirectoryElement.idl:
        * html/HTMLDivElement.idl:
        * html/HTMLElement.idl:
        * html/HTMLEmbedElement.idl:
        * html/HTMLFontElement.idl:
        * html/HTMLFormElement.idl:
        * html/HTMLFrameElement.idl:
        * html/HTMLFrameSetElement.idl:
        * html/HTMLHRElement.idl:
        * html/HTMLHeadElement.idl:
        * html/HTMLHeadingElement.idl:
        * html/HTMLHtmlElement.idl:
        * html/HTMLIFrameElement.idl:
        * html/HTMLImageElement.idl:
        * html/HTMLInputElement.idl:
        * html/HTMLIsIndexElement.idl:
        * html/HTMLLIElement.idl:
        * html/HTMLLabelElement.idl:
        * html/HTMLLegendElement.idl:
        * html/HTMLLinkElement.idl:
        * html/HTMLMapElement.idl:
        * html/HTMLMediaElement.idl:
        * html/HTMLMenuElement.idl:
        * html/HTMLMetaElement.idl:
        * html/HTMLModElement.idl:
        * html/HTMLOListElement.idl:
        * html/HTMLObjectElement.idl:
        * html/HTMLOptGroupElement.idl:
        * html/HTMLOptionElement.idl:
        * html/HTMLParagraphElement.idl:
        * html/HTMLParamElement.idl:
        * html/HTMLPreElement.idl:
        * html/HTMLQuoteElement.idl:
        * html/HTMLScriptElement.idl:
        * html/HTMLStyleElement.idl:
        * html/HTMLTableCaptionElement.idl:
        * html/HTMLTableCellElement.idl:
        * html/HTMLTableColElement.idl:
        * html/HTMLTableElement.idl:
        * html/HTMLTableRowElement.idl:
        * html/HTMLTableSectionElement.idl:
        * html/HTMLTextAreaElement.idl:
        * html/HTMLUListElement.idl:
        * html/HTMLVideoElement.idl:
        * svg/SVGElement.idl:
        Added more uses of [Reflect]. Got rid of uses of [ConvertNullToNullString] that
        are now unneeded since [Reflect] now implies that. Changed formatting to be
        simpler and consistent without all the lining up and multiple lines.

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

9 years agoRemove some unnecessary checks that cause compiler warnings.
dumi@chromium.org [Fri, 18 Jun 2010 16:39:59 +0000 (16:39 +0000)]
Remove some unnecessary checks that cause compiler warnings.
https://bugs.webkit.org/show_bug.cgi?id=40772

Reviewed by Dimitri Glazkov.

* bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
(WebCore::V8SQLResultSetRowList::itemCallback):
* bindings/v8/npruntime.cpp:

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

9 years ago2010-06-18 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Fri, 18 Jun 2010 16:11:20 +0000 (16:11 +0000)]
2010-06-18  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: Implement 'takeHeapSnapshot' in InspectorController.

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

        * bindings/js/ScriptProfiler.h:
        (WebCore::ScriptProfiler::takeHeapSnapshot):
        * bindings/v8/ScriptProfiler.cpp:
        (WebCore::ScriptProfiler::takeHeapSnapshot):
        * bindings/v8/ScriptProfiler.h:
        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::takeHeapSnapshot):
        * inspector/InspectorBackend.h:
        * inspector/InspectorBackend.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::takeHeapSnapshot):
        * inspector/InspectorController.h:

        * src/js/HeapProfilerPanel.js:
        (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
        * src/js/InspectorControllerImpl.js:
        (devtools.InspectorBackendImpl):
        * src/js/ProfilerAgent.js:
        (devtools.ProfilerAgent.prototype.startProfiling):

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

9 years agoREGRESSION (r61379?): Assertion failure in Element::getURLAttribute() when accessing...
mitz@apple.com [Fri, 18 Jun 2010 15:55:44 +0000 (15:55 +0000)]
REGRESSION (r61379?): Assertion failure in Element::getURLAttribute() when accessing the src attribute of a script element
https://bugs.webkit.org/show_bug.cgi?id=40831

Reviewed by Anders Carlsson.

WebCore:

Test: fast/dom/HTMLScriptElement/isURLAttribute.html

* html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::isURLAttribute): Check for the 'src' attribute.

LayoutTests:

* fast/dom/HTMLScriptElement/isURLAttribute-expected.txt: Added.
* fast/dom/HTMLScriptElement/isURLAttribute.html: Added.

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

9 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 15:54:23 +0000 (15:54 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        New baselines after http://trac.webkit.org/changeset/61393.

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

9 years ago2010-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
eric@webkit.org [Fri, 18 Jun 2010 15:46:24 +0000 (15:46 +0000)]
2010-06-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r61405.
        http://trac.webkit.org/changeset/61405
        https://bugs.webkit.org/show_bug.cgi?id=40838

        broke chromium mac compile (Requested by tonyg-cr1 on
        #webkit).

        * fast/js/parser-high-byte-character-expected.txt: Removed.
        * fast/js/parser-high-byte-character.html: Removed.
        * fast/js/script-tests/parser-high-byte-character.js: Removed.
2010-06-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r61405.
        http://trac.webkit.org/changeset/61405
        https://bugs.webkit.org/show_bug.cgi?id=40838

        broke chromium mac compile (Requested by tonyg-cr1 on
        #webkit).

        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::evaluate):
        * bindings/v8/V8Proxy.h:

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

9 years ago2010-06-18 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Fri, 18 Jun 2010 15:44:24 +0000 (15:44 +0000)]
2010-06-18  Leandro Pereira  <leandro@profusion.mobi>

        Unreviewed.

        Adding myself to the committers list.

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago2010-06-18 Zhenyao Mo <zmo@google.com>
eric@webkit.org [Fri, 18 Jun 2010 15:14:10 +0000 (15:14 +0000)]
2010-06-18  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        Fix WebGLRenderingContext helper functions find{Texture/Renderbuffer/Buffer}
        https://bugs.webkit.org/show_bug.cgi?id=40176

        * fast/canvas/webgl/gl-object-get-calls-expected.txt: Test name == 0 cases, and test getVertexAttrib return original WebGLBuffer object.
        * fast/canvas/webgl/script-tests/gl-object-get-calls.js: Ditto.
2010-06-18  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        Fix WebGLRenderingContext helper functions find{Texture/Renderbuffer/Buffer}
        https://bugs.webkit.org/show_bug.cgi?id=40176

        * html/canvas/WebGLBuffer.cpp: Remove constructor with existing name.
        * html/canvas/WebGLBuffer.h: Ditto.
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getVertexAttrib): Use findBuffer instead of creating a new WebGLBuffer.
        (WebCore::WebGLRenderingContext::findTexture): Deal with name == 0 case and return raw pointer.
        (WebCore::WebGLRenderingContext::findRenderbuffer): Ditto.
        (WebCore::WebGLRenderingContext::findBuffer): Find WebGLBuffer object using given name.
        * html/canvas/WebGLRenderingContext.h: Add findBuffer function declaration, change return type to raw pointer.

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

9 years ago2010-06-18 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Fri, 18 Jun 2010 15:00:29 +0000 (15:00 +0000)]
2010-06-18  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by David Levin.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        When V8 ScriptData caching was originally submitted it causes crashes
        in external scripts with high-byte characters. This new test crashes on
        the original code, but now passes.

        * fast/js/parser-high-byte-character-expected.txt: Added.
        * fast/js/parser-high-byte-character.html: Added.
        * fast/js/script-tests/parser-high-byte-character.js: Added.
        (runTest):
2010-06-18  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by David Levin.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        This stores V8's ScriptData in the memory cache and also causes the
        network platform layer to be notified of the available cacheable
        metadata.

        Chromium's morejs benchmark showed a ~7% improvement when this was
        originally submitted (before it had to be rolled back).

        Test: fast/js/parser-high-byte-character.html

        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        (WebCore::ScriptSourceCode::cachedScript):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::precompileScript):
        (WebCore::V8Proxy::evaluate):
        * bindings/v8/V8Proxy.h:

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

9 years ago[Qt] Fix documentation for the declarative module import.
hausmann@webkit.org [Fri, 18 Jun 2010 13:35:28 +0000 (13:35 +0000)]
[Qt] Fix documentation for the declarative module import.

Patch by Alexis Menard <alexis.menard@nokia.com> on 2010-06-18
Reviewed by Simon Hausmann.

* declarative/qdeclarativewebview.cpp:

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

9 years ago2010-06-18 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Fri, 18 Jun 2010 13:09:59 +0000 (13:09 +0000)]
2010-06-18  Dirk Schulze  <krit@webkit.org>

        Not reviewed. Rebaseline gtk results.

        * platform/gtk/Skipped:
        * platform/gtk/svg/custom/broken-internal-references-expected.txt:
        * platform/gtk/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/gtk/svg/filters/filter-on-tspan-expected.txt:
        * platform/gtk/svg/text/text-hkern-expected.txt:
        * platform/gtk/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/gtk/svg/text/text-vkern-expected.txt:
        * platform/gtk/svg/text/text-vkern-on-horizontal-text-expected.txt:

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

9 years ago2010-06-18 Anton Muhin <antonm@chromium.org>
antonm@chromium.org [Fri, 18 Jun 2010 12:50:21 +0000 (12:50 +0000)]
2010-06-18  Anton Muhin  <antonm@chromium.org>

        Reviewed by Dimitri Glazkov.

        [v8] Finish migration to new named property query API
        https://bugs.webkit.org/show_bug.cgi?id=40771
        Remove definition which allowed gradual transition to new API.
        See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
        Requires V8 roll.

        * DEPS:
2010-06-18  Anton Muhin  <antonm@chromium.org>

        Reviewed by Dimitri Glazkov.

        [v8] Finish migration to new named property query API
        https://bugs.webkit.org/show_bug.cgi?id=40771
        Remove definition which allowed gradual transition to new API.
        See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.

        * config.h:

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