- 05 Apr, 2011 40 commits
-
-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57814 Reviewed by Sam Weinig. Don't load resources with Very Low priority until there are no other resources to load for the host (or until document is complete enough that we stop limiting requests). No tests, this is difficult to observe reliably with our current testing infrastructure. Verified working with Wireshark. * loader/ResourceLoadScheduler.cpp: (WebCore::ResourceLoadScheduler::servePendingRequests): (WebCore::ResourceLoadScheduler::HostInformation::limitRequests): * loader/ResourceLoadScheduler.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
steveblock@google.com authored
Reviewed by Dimitri Glazkov. JavaInstance should be a pure interface https://bugs.webkit.org/show_bug.cgi?id=55383 This patch fixes JavaInstance for V8 only. It factors out a JavaInstance interface which does not use JNI types. This will allow the Java bridge to be used with objects that don't use JNI directly. The existing jobject-backed implementation is moved to a new JavaInstanceJobject class which implements the interface. No new tests, refactoring only. * Android.v8bindings.mk: * WebCore.gypi: * bridge/jni/JobjectWrapper.h: * bridge/jni/v8/JNIUtilityPrivate.cpp: (JSC::Bindings::jvalueToJavaValue): (JSC::Bindings::javaValueToJvalue): * bridge/jni/v8/JavaInstanceJobjectV8.cpp: (JavaInstanceJobject::JavaInstanceJobject): (JavaInstanceJobject::~JavaInstanceJobject): (JavaInstanceJobject::begin): (JavaInstanceJobject::end): (JavaInstanceJobject::getClass): (JavaInstanceJobject::invokeMethod): (JavaInstanceJobject::getField): * bridge/jni/v8/JavaInstanceJobjectV8.h: Copied from Source/WebCore/bridge/jni/v8/JavaInstanceV8.h. (JSC::Bindings::JavaInstanceJobject::javaInstance): * bridge/jni/v8/JavaInstanceV8.h: (JSC::Bindings::JavaInstance::~JavaInstance): git-svn-id: svn://svn.chromium.org/blink/trunk@82950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. Move MouseEvent-dispatching logic into MouseEventDispatchMediator. https://bugs.webkit.org/show_bug.cgi?id=57639 Refactoring, covered by existing tests. * dom/EventDispatcher.cpp: (WebCore::EventDispatcher::dispatchEvent): Moved useful assertion here from dispatchMouseEvent. (WebCore::EventDispatcher::adjustRelatedTarget): Converted into a method. * dom/EventDispatcher.h: Adjusted decls. (WebCore::EventDispatcher::node): Added. * dom/MouseEvent.cpp: (WebCore::MouseEvent::create): Moved useful assertion here from dispatchMouseEvent. (WebCore::MouseEventDispatchMediator::MouseEventDispatchMediator): Added. (WebCore::MouseEventDispatchMediator::event): Added. (WebCore::MouseEventDispatchMediator::dispatchEvent): Added. * dom/MouseEvent.h: (WebCore::MouseEvent::setRelatedTarget): Added. * dom/Node.cpp: (WebCore::Node::dispatchMouseEvent): Changed to use MouseEventDispatchMediator. git-svn-id: svn://svn.chromium.org/blink/trunk@82948 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zimmermann@webkit.org authored
Reviewed by Adam Roben & Dirk Schulze. text-tspan-02-b.svg from SVG 1.1 2nd edition fails https://bugs.webkit.org/show_bug.cgi?id=57831 Add text-tspan-02-b.svg from SVG 1.1 2nd edition, which was buggy. Add reduced testcase, which exposes a bug with midpoint splitting, which is now fixed. * platform/mac/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.checksum: Added. * platform/mac/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png: Added. * platform/mac/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Added. * platform/mac/svg/text/text-midpoint-split-bug-expected.checksum: Added. * platform/mac/svg/text/text-midpoint-split-bug-expected.png: Added. * platform/mac/svg/text/text-midpoint-split-bug-expected.txt: Added. * svg/W3C-SVG-1.1-SE/text-tspan-02-b.svg: Added. * svg/text/text-midpoint-split-bug.svg: Added. 2011-04-05 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Adam Roben & Dirk Schulze. text-tspan-02-b.svg from SVG 1.1 2nd edition fails https://bugs.webkit.org/show_bug.cgi?id=57831 We were not spanning rotation values correcty accross text children, which resulted in text-span-02-b.svg misrendering. While rewriting the rotation specific code, it came apparent that the LayoutScope concept is flawed in general and should be replaced by a global list of x/y/dx/dy/rotate values for the whole text subtree. This makes it much simpler to implement the demand that the last rotation value spans the whole scope. A follow-up patch will optimize the required memory. Example: <text rotate="10,20,999,50">AB<tspan rotate="30">CDE</>FGH</text> text: A B C D E F G H rotate="10 20 30 30 30 50 50 50" Tests: svg/W3C-SVG-1.1-SE/text-tspan-02-b.svg svg/text/text-midpoint-split-bug.svg * rendering/RenderBlockLineLayout.cpp: Move SVG specific midpoint creation after the non-SVG specific code that may mutate the midpoints. otherwhise we end up in an (WebCore::RenderBlock::findNextLineBreak): inconsistent state. We were intereferring with the ignoreSpaces code resulting in wrong truncations - covered by new testcase. * rendering/svg/SVGTextLayoutAttributes.cpp: (WebCore::SVGTextLayoutAttributes::reserveCapacity): Also reserveCapacity for the text metrics list (minor optimization). (WebCore::SVGTextLayoutAttributes::fillWithEmptyValue): Added helper function for use from SVGTextLayoutAttributesBuilder. (WebCore::SVGTextLayoutAttributes::appendEmptyValue): Ditto. (WebCore::safeValueAtPosition): Ditto. (Inline helper) (WebCore::SVGTextLayoutAttributes::appendSingleValueFromAttribute): Ditto. * rendering/svg/SVGTextLayoutAttributes.h: Ditto. * rendering/svg/SVGTextLayoutAttributesBuilder.cpp: Rewrite code, see explaination above. (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextSubtree): (WebCore::processRenderSVGInlineText): (WebCore::SVGTextLayoutAttributesBuilder::collectTextPositioningElements): (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForAllCharacters): (WebCore::SVGTextLayoutAttributesBuilder::propagateLayoutAttributes): (WebCore::fillListAtPosition): (WebCore::SVGTextLayoutAttributesBuilder::fillAttributesAtPosition): * rendering/svg/SVGTextLayoutAttributesBuilder.h: (WebCore::SVGTextLayoutAttributesBuilder::TextPosition::TextPosition): git-svn-id: svn://svn.chromium.org/blink/trunk@82947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
leviw@chromium.org authored
Reviewed by Ryosuke Niwa. DeleteButtonController is given invalid style https://bugs.webkit.org/show_bug.cgi?id=57853 DeleteButtonController was assigned an invalid style that can lead to assertions in debug builds. This matches up the code with its intent. No new tests as this changes nothing on release builds. * editing/DeleteButtonController.cpp: (WebCore::DeleteButtonController::createDeletionUI): git-svn-id: svn://svn.chromium.org/blink/trunk@82946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
* Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView getVariable:value:]): git-svn-id: svn://svn.chromium.org/blink/trunk@82945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Laszlo Gombos. [Qt] EditorQt.cpp has coding-style errors https://bugs.webkit.org/show_bug.cgi?id=40260 This patch does not require new test cases. * editing/qt/EditorQt.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@82944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: go to line dialog highlights wrong line. https://bugs.webkit.org/show_bug.cgi?id=57845 * inspector/front-end/GoToLineDialog.js: (WebInspector.GoToLineDialog.prototype._highlightSelectedLine): git-svn-id: svn://svn.chromium.org/blink/trunk@82943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Dimitri Glazkov. Implement CSSPropertyDirection in CSSStyleApplyProperty https://bugs.webkit.org/show_bug.cgi?id=57608 No new tests required as no new functionality introduced. * css/CSSStyleApplyProperty.cpp: Add implementation class for CSSPropertyDirection * css/CSSStyleSelector.cpp: Remove existing implementation for CSSPropertyDirection * css/CSSStyleSelector.h: Add getter for element git-svn-id: svn://svn.chromium.org/blink/trunk@82942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=55755 <rdar://problem/9087969> Unreviewed. Update Qt specific expected results after r82925. * platform/qt/fast/dom/Window/window-properties-expected.txt: * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Steve Block. Factoring the creation of 'FunctionOnly' callbacks in V8. https://bugs.webkit.org/show_bug.cgi?id=57760 This method creates a template from an existing functionality in V8GeolocationCustom.cpp to V8Utilities to be used by the custom bindings of both Geolocation and the Media Stream API. No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html * bindings/v8/V8Utilities.cpp: (WebCore::throwTypeMismatchException): * bindings/v8/V8Utilities.h: (WebCore::createFunctionOnlyCallback): * bindings/v8/custom/V8GeolocationCustom.cpp: (WebCore::V8Geolocation::getCurrentPositionCallback): (WebCore::V8Geolocation::watchPositionCallback): git-svn-id: svn://svn.chromium.org/blink/trunk@82940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
Reviewed by Laszlo Gombos. [Qt] Make WebKitLibraries optional for building QtWebKit https://bugs.webkit.org/show_bug.cgi?id=57542 * Scripts/build-webkit: git-svn-id: svn://svn.chromium.org/blink/trunk@82939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Laszlo Gombos. [Qt] MiniBrowser defaultUrl does not work https://bugs.webkit.org/show_bug.cgi?id=57021 Match the behavior and coding of MiniBrowser to QtTestBrowser. * MiniBrowser/qt/main.cpp: (main): git-svn-id: svn://svn.chromium.org/blink/trunk@82938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chang.shu@nokia.com authored
Unreviewed. Unskip passed tests after bugs 57572, 57568, 42540, 42692 have been resolved. * platform/qt-wk2/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@82937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alex@webkit.org authored
Another compilation fix after r82929 horrible patch merge. * UIProcess/WebPageProxy.messages.in: git-svn-id: svn://svn.chromium.org/blink/trunk@82936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zimmermann@webkit.org authored
Reviewed by Andreas Kling. Switch from Vector<UChar> to StringBuilder in bindings/ https://bugs.webkit.org/show_bug.cgi?id=57838 * bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::cssPropertyName): * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp: (WebCore::cssPropertyInfo): git-svn-id: svn://svn.chromium.org/blink/trunk@82935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zimmermann@webkit.org authored
Reviewed by Andreas Kling. Switch from Vector<UChar> to StringBuilder in accessibility/ https://bugs.webkit.org/show_bug.cgi?id=57837 * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::listMarkerTextForNodeAndPosition): (WebCore::AccessibilityObject::stringForVisiblePositionRange): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityDescriptionForElements): git-svn-id: svn://svn.chromium.org/blink/trunk@82934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alex@webkit.org authored
Fix compilation error after r82929. * WebProcess/WebPage/WebPage.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: Scripts with syntax errors are cropped in the UI https://bugs.webkit.org/show_bug.cgi?id=57828 * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.addMessageToSource): git-svn-id: svn://svn.chromium.org/blink/trunk@82932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zimmermann@webkit.org authored
Reviewed by Andreas Kling. Cleanup StringConcatenate https://bugs.webkit.org/show_bug.cgi?id=57836 Don't use PassRefPtr in local variables, properly store in RefPtrs and release on return. Add a makeString() variant taking 9 arguments, needed by a follow-up patch. * wtf/text/StringConcatenate.h: (WTF::tryMakeString): (WTF::makeString): git-svn-id: svn://svn.chromium.org/blink/trunk@82931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
laszlo.1.gombos@nokia.com authored
Reviewed by Laszlo Gombos. [Qt] [Symbian] Disable WebKitTestRunner for Symbian https://bugs.webkit.org/show_bug.cgi?id=54977 This change is a preparation to enable building webkit2 for Symbian. Bug 57834 is filed to fix and enable WebKitTestRunner for Symbian. * Tools.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@82930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alex@webkit.org authored
2011-04-05 Amruth Raj <amruthraj@motorola.com>, Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> and Alejandro G. Castro <alex@igalia.com> Reviewed by Martin Robinson. [GTK] Implement WebPage class for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=54230 Added functions to handle the generation of commands from the keycodes. * GNUmakefile.am: * Scripts/webkit2/messages.py: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::getEditorCommandsForKeyEvent): * UIProcess/gtk/WebView.cpp: (WebKit::backspaceCallback): (WebKit::selectAllCallback): (WebKit::cutClipboardCallback): (WebKit::copyClipboardCallback): (WebKit::pasteClipboardCallback): (WebKit::toggleOverwriteCallback): (WebKit::popupMenuCallback): (WebKit::showHelpCallback): (WebKit::deleteFromCursorCallback): (WebKit::moveCursorCallback): (WebKit::WebView::WebView): (WebKit::WebView::getEditorCommandsForKeyEvent): * UIProcess/gtk/WebView.h: (WebKit::WebView::addPendingEditorCommand): * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp: Added. (WebKit::WebEditorClient::getEditorCommandsForKeyEvent): (WebKit::WebEditorClient::executePendingEditorCommands): (WebKit::WebEditorClient::handleKeyboardEvent): (WebKit::WebEditorClient::handleInputMethodKeydown): * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/gtk/WebPageGtk.cpp: Added. (WebKit::WebPage::platformInitialize): (WebKit::WebPage::platformPreferencesDidChange): (WebKit::scroll): (WebKit::WebPage::performDefaultBehaviorForKeyEvent): (WebKit::WebPage::platformHasLocalDataForURL): (WebKit::WebPage::cachedResponseMIMETypeForURL): (WebKit::WebPage::platformCanHandleRequest): git-svn-id: svn://svn.chromium.org/blink/trunk@82929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, add chromium-linux expectation for fast/ruby/overhang-vertical.html (the test changed in r82903). * platform/chromium-linux/fast/ruby/overhang-vertical-expected.png: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@82928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=57832 Reviewed by Andreas Kling. Only QWKPage has loadFinished signal so connect to it instead of BrowserWindow. * MiniBrowser/qt/UrlLoader.cpp: (UrlLoader::UrlLoader): git-svn-id: svn://svn.chromium.org/blink/trunk@82927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, revert bad rebaseline of english-lr-text-expected.html in r82918. * platform/chromium-linux/fast/blockflow/english-lr-text-expected.checksum: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.checksum: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@apple.com authored
Reviewed by Darin Adler. Remove onformchange and onforminput events/event handlers https://bugs.webkit.org/show_bug.cgi?id=55755 <rdar://problem/9087969> * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-property-descriptors-expected.txt: * fast/forms/formchange-event-expected.txt: Removed. * fast/forms/formchange-event.html: Removed. * fast/forms/forminput-event-expected.txt: Removed. * fast/forms/forminput-event.html: Removed. * fast/forms/script-tests/formchange-event.js: Removed. * fast/forms/script-tests/forminput-event.js: Removed. 2011-04-05 Alexey Proskuryakov <ap@apple.com> Reviewed by Darin Adler. Remove onformchange and onforminput events/event handlers https://bugs.webkit.org/show_bug.cgi?id=55755 <rdar://problem/9087969> Covered by existing tests. * dom/Document.h: * dom/Document.idl: * dom/Element.h: * dom/Element.idl: * dom/Event.cpp: (WebCore::Event::fromUserGesture): * dom/EventNames.h: * html/FormAssociatedElement.h: * html/HTMLAttributeNames.in: * html/HTMLElement.cpp: (WebCore::HTMLElement::parseMappedAttribute): * html/HTMLElement.h: * html/HTMLFormControlElement.h: (WebCore::HTMLFormControlElement::isEnumeratable): * html/HTMLFormElement.cpp: * html/HTMLFormElement.h: * html/HTMLFormElement.idl: * html/HTMLInputElement.h: * html/HTMLKeygenElement.h: * html/HTMLObjectElement.h: (WebCore::HTMLObjectElement::isEnumeratable): * html/HTMLOutputElement.h: (WebCore::HTMLOutputElement::isEnumeratable): * html/HTMLSelectElement.h: (WebCore::HTMLSelectElement::isEnumeratable): * html/HTMLTextAreaElement.h: (WebCore::HTMLTextAreaElement::isEnumeratable): * page/DOMWindow.h: * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@82925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, rebaseline Kusa-Makura-background-canvas.html on chromium-mac after r82903. * platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Removed. * platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.png: * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Removed. * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, rolling out r82915. http://trac.webkit.org/changeset/82915 https://bugs.webkit.org/show_bug.cgi?id=57825 Broke 270 chromium tests on win and linux (Requested by podivilov on #webkit). * rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::defaultGUIFont): git-svn-id: svn://svn.chromium.org/blink/trunk@82923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
[Qt] Linux Release minimal build fix after r82919. * MiniBrowser/qt/BrowserWindow.cpp: (BrowserWindow::loadURLListFromFile): * QtTestBrowser/launcherwindow.cpp: (LauncherWindow::loadURLListFromFile): git-svn-id: svn://svn.chromium.org/blink/trunk@82922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, remove unnecessary checksum files for fast/ruby tests. * platform/chromium-linux/fast/blockflow/english-lr-text-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-beforeafter-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-length-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-run-break-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-runs-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-runs-spans-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-trailing-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-rt-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text1-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text2-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text3-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt1-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt2-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-text1-expected.checksum: Removed. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=57824 * platform/qt/Skipped:Add fast/ruby/overhang-horizontal.html and fast/ruby/overhang-vertical.html. git-svn-id: svn://svn.chromium.org/blink/trunk@82920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
Reviewed by Andreas Kling. [Qt] Make URL loader accessible from testbrowser's menus https://bugs.webkit.org/show_bug.cgi?id=57823 Add "Load URLs from file" to QtTestBrowser's and to MiniBrowser's menu. * MiniBrowser/qt/BrowserWindow.cpp: (BrowserWindow::BrowserWindow): (BrowserWindow::loadURLListFromFile): (BrowserWindow::~BrowserWindow): * MiniBrowser/qt/BrowserWindow.h: * QtTestBrowser/launcherwindow.cpp: (LauncherWindow::LauncherWindow): (LauncherWindow::~LauncherWindow): (LauncherWindow::createChrome): (LauncherWindow::loadURLListFromFile): * QtTestBrowser/launcherwindow.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, update fast/ruby/* chromium expectations after r82903. * platform/chromium-linux/fast/ruby/ruby-beforeafter-expected.png: * platform/chromium-linux/fast/ruby/ruby-length-expected.png: * platform/chromium-linux/fast/ruby/ruby-run-break-expected.png: * platform/chromium-linux/fast/ruby/ruby-runs-expected.png: * platform/chromium-linux/fast/ruby/ruby-runs-spans-expected.png: * platform/chromium-linux/fast/ruby/ruby-trailing-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-rt-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text1-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text2-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text3-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt1-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt2-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-text1-expected.png: * platform/chromium-mac/fast/ruby/ruby-beforeafter-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-length-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-run-break-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-runs-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-runs-spans-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-trailing-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-rt-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text1-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text2-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text3-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-rt1-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-rt2-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-text1-expected.png: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.checksum: Removed. * platform/chromium-win/fast/blockflow/english-lr-text-expected.png: * platform/chromium-win/fast/ruby/overhang-horizontal-expected.png: Added. * platform/chromium-win/fast/ruby/overhang-vertical-expected.png: Added. * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.png: * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.txt: * platform/chromium-win/fast/ruby/ruby-length-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-length-expected.png: * platform/chromium-win/fast/ruby/ruby-length-expected.txt: * platform/chromium-win/fast/ruby/ruby-run-break-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-run-break-expected.png: * platform/chromium-win/fast/ruby/ruby-run-break-expected.txt: * platform/chromium-win/fast/ruby/ruby-runs-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-runs-expected.png: * platform/chromium-win/fast/ruby/ruby-runs-expected.txt: * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.png: * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.txt: * platform/chromium-win/fast/ruby/ruby-trailing-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-trailing-expected.png: * platform/chromium-win/fast/ruby/ruby-trailing-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hans@chromium.org authored
Reviewed by Adam Barth Clean up IndexedDB WebKit API https://bugs.webkit.org/show_bug.cgi?id=57507 Rename the backend proxy files that didn't have Backend in their name. Everything in WebKit should be in the WebKit namespace. Put everything behind the feature flag so we're consistient. Put the feature flag #if above includes. * WebKit.gyp: * src/IDBCallbacksProxy.cpp: (WebKit::IDBCallbacksProxy::create): (WebKit::IDBCallbacksProxy::IDBCallbacksProxy): (WebKit::IDBCallbacksProxy::onError): (WebKit::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBCursorBackendProxy.cpp: (WebKit::IDBCursorBackendProxy::create): (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy): * src/IDBCursorBackendProxy.h: * src/IDBDatabaseBackendProxy.cpp: (WebKit::IDBDatabaseBackendProxy::create): (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy): (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy): (WebKit::IDBDatabaseBackendProxy::name): (WebKit::IDBDatabaseBackendProxy::version): (WebKit::IDBDatabaseBackendProxy::objectStoreNames): (WebKit::IDBDatabaseBackendProxy::createObjectStore): (WebKit::IDBDatabaseBackendProxy::deleteObjectStore): (WebKit::IDBDatabaseBackendProxy::setVersion): (WebKit::IDBDatabaseBackendProxy::transaction): (WebKit::IDBDatabaseBackendProxy::close): (WebKit::IDBDatabaseBackendProxy::open): * src/IDBDatabaseCallbacksProxy.cpp: (WebKit::IDBDatabaseCallbacksProxy::create): (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy): * src/IDBDatabaseCallbacksProxy.h: * src/IDBFactoryBackendProxy.cpp: (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy): (WebKit::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/IDBIndexBackendProxy.cpp: (WebKit::IDBIndexBackendProxy::create): (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy): * src/IDBIndexBackendProxy.h: * src/IDBObjectStoreBackendProxy.cpp: (WebKit::IDBObjectStoreBackendProxy::create): (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy): (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy): (WebKit::IDBObjectStoreBackendProxy::name): (WebKit::IDBObjectStoreBackendProxy::keyPath): (WebKit::IDBObjectStoreBackendProxy::indexNames): (WebKit::IDBObjectStoreBackendProxy::get): (WebKit::IDBObjectStoreBackendProxy::put): (WebKit::IDBObjectStoreBackendProxy::deleteFunction): (WebKit::IDBObjectStoreBackendProxy::clear): (WebKit::IDBObjectStoreBackendProxy::createIndex): (WebKit::IDBObjectStoreBackendProxy::index): (WebKit::IDBObjectStoreBackendProxy::deleteIndex): (WebKit::IDBObjectStoreBackendProxy::openCursor): * src/IDBObjectStoreBackendProxy.h: Added. * src/IDBObjectStoreProxy.h: Removed. * src/IDBTransactionBackendProxy.cpp: (WebKit::IDBTransactionBackendProxy::create): (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy): (WebKit::IDBTransactionBackendProxy::objectStore): * src/IDBTransactionBackendProxy.h: (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction): * src/IDBTransactionCallbacksProxy.cpp: (WebKit::IDBTransactionCallbacksProxy::create): (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy): * src/IDBTransactionCallbacksProxy.h: * src/WebIDBCallbacksImpl.cpp: (WebKit::WebIDBCallbacksImpl::onError): (WebKit::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: * src/WebIDBCursorImpl.cpp: * src/WebIDBCursorImpl.h: * src/WebIDBDatabaseCallbacksImpl.cpp: (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange): * src/WebIDBDatabaseCallbacksImpl.h: * src/WebIDBDatabaseError.cpp: * src/WebIDBDatabaseImpl.cpp: * src/WebIDBDatabaseImpl.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl): * src/WebIDBFactoryImpl.h: * src/WebIDBIndexImpl.cpp: * src/WebIDBIndexImpl.h: * src/WebIDBKey.cpp: (WebKit::WebIDBKey::createFromValueAndKeyPath): (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue): * src/WebIDBKeyPath.cpp: (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&): * src/WebIDBKeyRange.cpp: * src/WebIDBObjectStoreImpl.cpp: * src/WebIDBObjectStoreImpl.h: * src/WebIDBTransactionCallbacksImpl.cpp: * src/WebIDBTransactionCallbacksImpl.h: * src/WebIDBTransactionImpl.cpp: * src/WebIDBTransactionImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simonjam@chromium.org authored
Reviewed by Adam Barth. Stop preload scanning CSS when it's impossible to have another @import. https://bugs.webkit.org/show_bug.cgi?id=57664 * fast/preloader/style-expected.txt: * fast/preloader/style.html: Updated to test invalid @import statements. 2011-04-05 James Simonsen <simonjam@chromium.org> Reviewed by Adam Barth. Stop preload scanning CSS when it's impossible to have another @import. https://bugs.webkit.org/show_bug.cgi?id=57664 @import statements are only allowed at the beginning of a CSS file. Only comments or @charset can precede them. After seeing anything else, abort early so that we: - don't have to parse the rest of the CSS. - don't preload something that the regular parser won't load. * html/parser/CSSPreloadScanner.cpp: (WebCore::CSSPreloadScanner::scan): Terminate early if we're done with @imports. (WebCore::CSSPreloadScanner::tokenize): Terminate early if we see a {} or any style rule. (WebCore::CSSPreloadScanner::emitRule): Only @charset or @import are allowed to precede @import. * html/parser/CSSPreloadScanner.h: Add DoneParsingImportRules state. git-svn-id: svn://svn.chromium.org/blink/trunk@82916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Tony Chang. [chromium] Specify 'sans-serif' as a fallback to the default UI font 'Arial' for non-latin UI scripts (e.g. CJK). https://bugs.webkit.org/show_bug.cgi?id=55035 No new tests, because it may still fail if the system is not configured properly to resolve 'sans-serif' to existing real font file, thus even manual test is hard to systematically tell it is working properly. * rendering/RenderThemeChromiumSkia.cpp git-svn-id: svn://svn.chromium.org/blink/trunk@82915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Darin Fisher. Don't clear existing files if the user cancels the file chooser dialog. https://bugs.webkit.org/show_bug.cgi?id=55200 * src/WebFileChooserCompletionImpl.cpp: (WebKit::WebFileChooserCompletionImpl::didChooseFile): git-svn-id: svn://svn.chromium.org/blink/trunk@82914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Update a test affected by the behavior change of r82908. https://bugs.webkit.org/show_bug.cgi?id=57636 * fast/forms/ValidityState-tooLong-textarea-expected.txt: * fast/forms/script-tests/ValidityState-tooLong-textarea.js: git-svn-id: svn://svn.chromium.org/blink/trunk@82913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Darin Fisher. [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow. https://bugs.webkit.org/show_bug.cgi?id=55681 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::find): (WebKit::WebFrameImpl::scopeStringMatches): git-svn-id: svn://svn.chromium.org/blink/trunk@82912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philn@webkit.org authored
Unreviewed, GTK rebaseline after r82903. * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: * platform/gtk/fast/ruby/ruby-beforeafter-expected.txt: * platform/gtk/fast/ruby/ruby-length-expected.txt: * platform/gtk/fast/ruby/ruby-run-break-expected.txt: * platform/gtk/fast/ruby/ruby-runs-expected.txt: * platform/gtk/fast/ruby/ruby-runs-spans-expected.txt: * platform/gtk/fast/ruby/ruby-trailing-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-text1-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82911 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-