- 05 Feb, 2010 25 commits
-
-
kenneth@webkit.org authored
[Qt] Make it possible to choose whether the launcher should use the traditional QWidget based QWebView or the newer QGraphics based QGraphicsWebView on a QGraphicsView. * QtLauncher/main.cpp: (LauncherWindow::LauncherWindow): (LauncherWindow::eventFilter): (LauncherWindow::loadStarted): (LauncherWindow::print): (LauncherWindow::screenshot): (LauncherWindow::setEditable): (LauncherWindow::setupUI): (main): * QtLauncher/webview.cpp: (WebViewGraphicsBased::WebViewGraphicsBased): (WebViewGraphicsBased::resizeEvent): (GraphicsWebView::mousePressEvent): (GraphicsWebView::contextMenuEvent): * QtLauncher/webview.h: (WebViewTraditional::WebViewTraditional): (GraphicsWebView::GraphicsWebView): (WebViewGraphicsBased::setPage): git-svn-id: svn://svn.chromium.org/blink/trunk@54416 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Timothy Hatcher. Web Inspector: Tab width for javascript source is 8, should be 4 https://bugs.webkit.org/show_bug.cgi?id=31248 * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): * inspector/front-end/TextEditorModel.js: (WebInspector.TextEditorModel.prototype.set replaceTabsWithSpaces): (WebInspector.TextEditorModel.prototype._innerSetText): (WebInspector.TextEditorModel.prototype._replaceTabsIfNeeded): git-svn-id: svn://svn.chromium.org/blink/trunk@54415 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. send() should return false, after frame that opened a WebSokcet is detached https://bugs.webkit.org/show_bug.cgi?id=34630 * websocket/tests/send-after-close-on-unload-expected.txt: Added. * websocket/tests/send-after-close-on-unload.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54414 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tony@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=24872 Add a test to make sure copying from a list and pasting into a list keeps the list at the same indention level rather than nesting. * editing/pasteboard/paste-list-002-expected.txt: Added. * editing/pasteboard/paste-list-002.html: Added. 2010-02-05 Tony Chang <tony@chromium.org> Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=24872 When pasting a list into another list should not indent another level. If the cursor is at the beginning of the line, it should insert the list items before the current list item. If the cursor is at the end of the line, it should insert the list items after the current list item. This matches Firefox and IE and makes the common activity of reordering a list work as expected. This also adds a small helper method (isListItem) to htmlediting.h. Test: editing/pasteboard/paste-list-002.html * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply): (WebCore::ReplaceSelectionCommand::insertAsListItems): * editing/ReplaceSelectionCommand.h: * editing/htmlediting.cpp: (WebCore::isListItem): (WebCore::appendedSublist): * editing/htmlediting.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vestbo@webkit.org authored
Reviewed by Lars Knoll. Previously this target ended up generating a file named Makefile.DerivedSources.DerivedSources, and so on. * DerivedSources.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@54412 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrowe@apple.com authored
Fix the ability to #include <WebKit/DOMFile.h>. * MigrateHeaders.make: Mark DOMBlob.h as a public header since the already-public DOMFile.h depends on it. git-svn-id: svn://svn.chromium.org/blink/trunk@54411 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Fisher. Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin https://bugs.webkit.org/show_bug.cgi?id=34509 Resubmit: The previous commit (r54333) was rolled back. * WebKit.gyp: * tests/TransparencyWinTest.cpp: Added. (WebCore::RECTToFloatRect): (WebCore::drawNativeRect): (WebCore::getPixelAt): (WebCore::clearTopLayerAlphaChannel): (WebCore::clearTopLayerAlphaPixel): (WebCore::operator<<): (WebCore::TEST): * tests/UniscribeHelperTest.cpp: Added. (WebCore::UniscribeTest::UniscribeTest): (WebCore::UniscribeTest::MakeFont): (WebCore::UniscribeTest::SetUp): (WebCore::UniscribeTest::TearDown): (TEST_F): git-svn-id: svn://svn.chromium.org/blink/trunk@54410 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. should not crash when document opened websocket is unloaded https://bugs.webkit.org/show_bug.cgi?id=34562 * websocket/tests/close-on-unload-and-force-gc-expected.txt: Added. * websocket/tests/close-on-unload-and-force-gc.html: Added. * websocket/tests/close-on-unload-reference-in-parent-expected.txt: Added. * websocket/tests/close-on-unload-reference-in-parent.html: Added. * websocket/tests/resources/close-on-unload-iframe-reference-in-parent.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrowe@apple.com authored
file to prevent a weak external failure. Reviewed by Timothy Hatcher. JavaScriptCore: * JavaScriptCore.xcodeproj/project.pbxproj: Accommodate rename of script. JavaScriptGlue: * JavaScriptGlue.xcodeproj/project.pbxproj: Accommodate rename of script. WebCore: * WebCore.base.exp: Remove symbol. * WebCore.xcodeproj/project.pbxproj: Accommodate rename of script. WebKit: * WebKit.xcodeproj/project.pbxproj: Accommodate rename of script. WebKitTools: * Scripts/check-for-weak-vtables-and-externals: Renamed from WebKitTools/Scripts/check-for-weak-vtables. Teach the script how to detect weak external symbols so that these errors can be caught immediately in the future. git-svn-id: svn://svn.chromium.org/blink/trunk@54405 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ukai@chromium.org authored
Reviewed by Shinichiro Hamaji. websocket/tests/close-on-unload.html failed on Mac Tiger https://bugs.webkit.org/show_bug.cgi?id=34563 * platform/mac-tiger/Skipped: remove websocket/tests/close-on-unload*.html * websocket/tests/close-on-unload_wsh.py: use dict instead of set. git-svn-id: svn://svn.chromium.org/blink/trunk@54404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dbates@webkit.org authored
[Qt] Unreviewed, build fix for Qt bot. * runtime/JSStringBuilder.h: Changed #include <X.h> notation #include "X.h". git-svn-id: svn://svn.chromium.org/blink/trunk@54403 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
* JavaScriptCore.xcodeproj/project.pbxproj: git-svn-id: svn://svn.chromium.org/blink/trunk@54402 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
* ForwardingHeaders/runtime/WeakGCPtr.h: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=33383 <rdar://problem/7559449> Reviewed by Alexey Proskuryakov and Darin Adler. There were two bugs here: 1. A stale wrapper would invalidate a node's event listeners, even if the node had a fresh wrapper keeping it alive. The fix for this is for an event listener to keep a WeakGCPtr back-pointer to the wrapper it expects to mark it. The wrapper destructor checks this back-pointer, and only invalidates the event listener in the case of a match. 2. Conversely, a stale wrapper would not invalidate a node's event listeners soon enough, if its destructor didn't have a chance to run before an event fired on the node. (This can only happen in cases where we've made some other error and failed to mark a wrapper that was circuitously observable in the DOM. But we know we have edge case bugs like this, and we don't want them to be crashes.) The fix for this is to check the wrapper back-pointer before firing the event listener. As long as the the wrapper back-pointer is not null, it's safe to fire the listener. * ForwardingHeaders/runtime/WeakGCPtr.h: Added. Appease build gods. * bindings/js/JSAbstractWorkerCustom.cpp: (WebCore::JSAbstractWorker::addEventListener): (WebCore::JSAbstractWorker::removeEventListener): * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::markChildren): (WebCore::JSDOMWindow::addEventListener): (WebCore::JSDOMWindow::removeEventListener): Updated to pass a wrapper to the JSEventListener constructor. * bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::JSEventListener): (WebCore::JSEventListener::initializeJSFunction): (WebCore::JSEventListener::invalidateJSFunction): * bindings/js/JSEventListener.h: (WebCore::JSEventListener::create): (WebCore::JSEventListener::isolatedWorld): (WebCore::JSEventListener::wrapper): (WebCore::JSEventListener::setWrapper): (WebCore::JSEventListener::jsFunction): (WebCore::createJSAttributeEventListener): Implemented the back-pointer described above. Refactored the jsFunction() accessor to return 0 if the wrapper back-pointer is 0. * bindings/js/JSEventSourceCustom.cpp: (WebCore::JSEventSource::addEventListener): (WebCore::JSEventSource::removeEventListener): * bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::JSLazyEventListener): (WebCore::JSLazyEventListener::initializeJSFunction): * bindings/js/JSLazyEventListener.h: (WebCore::JSLazyEventListener::create): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::markChildren): (WebCore::JSMessagePort::addEventListener): (WebCore::JSMessagePort::removeEventListener): * bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::addEventListener): (WebCore::JSNode::removeEventListener): (WebCore::JSNode::markChildren): * bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::addEventListener): (WebCore::JSSVGElementInstance::removeEventListener): * bindings/js/JSWebSocketCustom.cpp: (WebCore::JSWebSocket::addEventListener): (WebCore::JSWebSocket::removeEventListener): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::markChildren): (WebCore::JSWorkerContext::addEventListener): (WebCore::JSWorkerContext::removeEventListener): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::markChildren): (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): * bindings/js/JSXMLHttpRequestUploadCustom.cpp: (WebCore::JSXMLHttpRequestUpload::markChildren): (WebCore::JSXMLHttpRequestUpload::addEventListener): (WebCore::JSXMLHttpRequestUpload::removeEventListener): Updated to pass a wrapper to the JSEventListener constructor. * bindings/js/ScriptEventListener.cpp: (WebCore::createAttributeEventListener): Updated to pass a wrapper to the JSEventListener constructor. (WebCore::getEventListenerHandlerBody): Updated for the fact that jsFunction() is no longer a virtual accessor on the EventHandler base class. * bindings/scripts/CodeGeneratorJS.pm: Updated for the fact that jsFunction() is no longer a virtual accessor on the EventHandler base class. Added a "JS" to invalidateEventListeners and markEventListeners to clarify that these actions are for JS event listeners only. Added a wrapper parameter to invalidateEventListeners for the back-pointer check explained above. * dom/EventListener.h: (WebCore::EventListener::invalidateJSFunction): ditto * dom/EventTarget.h: (WebCore::EventTarget::markJSEventListeners): (WebCore::EventTarget::invalidateJSEventListeners): ditto LayoutTests: REGRESSION (r52082): Missing event handlers on JQuery demo page (33383) https://bugs.webkit.org/show_bug.cgi?id=33383 <rdar://problem/7559449> Reviewed by Alexey Proskuryakov and Darin Adler. * fast/events/bogus-event-listener-invalidation-expected.txt: Added. * fast/events/bogus-event-listener-invalidation.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrowe@apple.com authored
git-svn-id: svn://svn.chromium.org/blink/trunk@54398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrowe@apple.com authored
git-svn-id: svn://svn.chromium.org/blink/trunk@54397 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25002 When inserting a new paragraph, avoid nesting empty divs. When pasting near the end of a paragraph, this prevents each paste command for getting nested one level deeper. Three paste tests have been rebaselined since this causes the pasted content to be outside the last div instead of inside. E.g., <div>foo<div>bar</div>[pasted content]</div> is now <div>foo<div>bar</div></div><div>[pasted content]</div> The new test verifies this behavior. * editing/inserting/paragraph-outside-nested-divs-expected.txt: Added. * editing/inserting/paragraph-outside-nested-divs.html: Added. * platform/mac/editing/pasteboard/paste-text-012-expected.txt: * platform/mac/editing/pasteboard/paste-text-013-expected.txt: * platform/mac/editing/pasteboard/paste-text-017-expected.txt: 2010-02-04 Tony Chang <tony@chromium.org> Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25002 When inserting a new paragraph, avoid nesting empty divs. When pasting near the end of a paragraph, this prevents each paste command for getting nested one level deeper. Test: editing/inserting/paragraph-outside-nested-divs.html * editing/InsertParagraphSeparatorCommand.cpp: (WebCore::highestVisuallyEquivalentDiv): (WebCore::InsertParagraphSeparatorCommand::doApply): git-svn-id: svn://svn.chromium.org/blink/trunk@54395 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
construct JSStrings, throwing a JS exception should we run out of memory whilst allocating storage for the string. Reviewed by Oliver Hunt. Similarly, add jsMakeNontrivialString methods to use in cases where previously we were calling makeString & passing the result to jsNontrivialString. Again, these new methods throw if we hit an out of memory condition. Move throwOutOfMemoryError into ExceptionHelpers, to make it more widely available. * JavaScriptCore.xcodeproj/project.pbxproj: * runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncToString): (JSC::arrayProtoFuncToLocaleString): (JSC::arrayProtoFuncJoin): * runtime/DateConstructor.cpp: (JSC::callDate): * runtime/DatePrototype.cpp: (JSC::dateProtoFuncToString): (JSC::dateProtoFuncToUTCString): (JSC::dateProtoFuncToGMTString): * runtime/ErrorPrototype.cpp: (JSC::errorProtoFuncToString): * runtime/ExceptionHelpers.cpp: (JSC::throwOutOfMemoryError): * runtime/ExceptionHelpers.h: * runtime/JSStringBuilder.h: Added. (JSC::JSStringBuilder::releaseJSString): (JSC::jsMakeNontrivialString): * runtime/NumberPrototype.cpp: (JSC::numberProtoFuncToPrecision): * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncToString): * runtime/Operations.cpp: * runtime/Operations.h: * runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncToString): * runtime/StringBuilder.h: (JSC::StringBuilder::append): * runtime/StringPrototype.cpp: (JSC::stringProtoFuncBig): (JSC::stringProtoFuncSmall): (JSC::stringProtoFuncBlink): (JSC::stringProtoFuncBold): (JSC::stringProtoFuncFixed): (JSC::stringProtoFuncItalics): (JSC::stringProtoFuncStrike): (JSC::stringProtoFuncSub): (JSC::stringProtoFuncSup): (JSC::stringProtoFuncFontcolor): (JSC::stringProtoFuncFontsize): (JSC::stringProtoFuncAnchor): git-svn-id: svn://svn.chromium.org/blink/trunk@54394 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dumi@chromium.org authored
succeeds. 2. Jump straight to the transaction error callback when a statement fails in a way that makes sqlite automatically rollback the transaction. 3. Fix the code that handles the "quota reached" failure, as it is one of the failures that lead to an automatic transaction rollback. Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=34280 * platform/sql/SQLiteDatabase.cpp: (WebCore::SQLiteDatabase::isAutoCommitOn): * platform/sql/SQLiteDatabase.h: * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::begin): (WebCore::SQLiteTransaction::commit): (WebCore::SQLiteTransaction::rollback): (WebCore::SQLiteTransaction::transactionWasRolledBackBySqlite): * platform/sql/SQLiteTransaction.h: * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::SQLTransaction): (WebCore::SQLTransaction::runStatements): (WebCore::SQLTransaction::runCurrentStatement): (WebCore::SQLTransaction::handleCurrentStatementError): (WebCore::SQLTransaction::deliverQuotaIncreaseCallback): LayoutTests: 1. Enhance quota-tracking.html: if sqlite automatically rolls back a transaction because of a statement failure, make sure the rest of the statements in the transaction are not executed. 2. Fix the expectations for quota-tracking.html. Sqlite cannot recover from reaching a DB's max size. Reviewed by Eric Seidel. * storage/quota-tracking-expected.txt: * storage/quota-tracking.html: git-svn-id: svn://svn.chromium.org/blink/trunk@54393 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pkasting@chromium.org authored
Rollback r54387, it doesn't fix builds and Chromium doesn't want this behavior. * platform/chromium/ScrollbarThemeChromiumMac.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54392 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
* wtf/MathExtras.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
darin@apple.com authored
Reviewed by David Levin. Make MathExtras.h compatible with <cmath> https://bugs.webkit.org/show_bug.cgi?id=34618 * wtf/MathExtras.h: Include <cmath> instead of <math.h>. Use "using" as we do elsewhere in WTF for the four functions from <cmath> we want to use without the prefix. Later we could consider making the std explicit at call sites instead. git-svn-id: svn://svn.chromium.org/blink/trunk@54388 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
senorblanco@chromium.org authored
Unreviewed, build fix. Fix for Chromium/Mac after palindromic scrollbar change (54345). Covered by many layout tests. * platform/chromium/ScrollbarThemeChromiumMac.h: (WebCore::ScrollbarThemeChromiumMac::maxOverlapBetweenPages): git-svn-id: svn://svn.chromium.org/blink/trunk@54387 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. WebKitGTK doesn't build GtkLauncher when --enable-mathml is specified. Updated WebCore/GNUmakefile.am to include needed files in build. https://bugs.webkit.org/show_bug.cgi?id=34387 No new tests. * GNUmakefile.am: git-svn-id: svn://svn.chromium.org/blink/trunk@54386 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. Misc coding style fixes in Haiku port code. https://bugs.webkit.org/show_bug.cgi?id=34527 No tests needed. * platform/haiku/ContextMenuItemHaiku.cpp: Trailing white space, NULL -> 0 * platform/haiku/DragImageHaiku.cpp: Trailing white space. * platform/haiku/FileChooserHaiku.cpp: Sorted headers. * platform/haiku/LocalizedStringsHaiku.cpp: Needed to include NotImplemented.h git-svn-id: svn://svn.chromium.org/blink/trunk@54383 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 04 Feb, 2010 15 commits
-
-
ossy@webkit.org authored
* platform/qt/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. WorkerContext.close() does not work in the chromium port https://bugs.webkit.org/show_bug.cgi?id=34551 Test: Adding new downstream test. * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::workerContextClosedTask): Now shuts down the worker thread when WorkerContext::close() is invoked. git-svn-id: svn://svn.chromium.org/blink/trunk@54380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
introduced in r54368 skipped because of missing DnD support. * platform/gtk/Skipped: * platform/qt/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
christian@webkit.org authored
Reviewed by Gustavo Noronha Silva. [GTK] Add and cleanup return values of signals in view and frame https://bugs.webkit.org/show_bug.cgi?id=33484 Add missing and cleanup return values of web frame and web view signals. * webkit/webkitwebframe.cpp: (webkit_web_frame_class_init): * webkit/webkitwebview.cpp: (DNDContentsRequest::webkit_web_view_class_init): git-svn-id: svn://svn.chromium.org/blink/trunk@54378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enrica@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=34609 Reviewed by Csaba Osztrogonac. The test has been added with the original patch. * platform/qt/ClipboardQt.cpp: (WebCore::ClipboardQt::writePlainText): Added missing allocation of m_writeData. git-svn-id: svn://svn.chromium.org/blink/trunk@54377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://bugs.webkit.org/show_bug.cgi?id=34612alice.liu@apple.com authored
codes for most elements that arent listbox or menupopup related" <rdar://problem/7436861> Reviewed by Jon Honeycutt. * AccessibleBase.cpp: (AccessibleBase::accSelect): - Stop sending E_INVALIDARG for elements that request TAKE_SELECTION that aren't beneath listboxes or menupopups. This was too restrictive since any element can be selectable. - Correct the misinterpretation of MSDN's stipulation of situations involving adding, removing, and extending selection on single-select elements git-svn-id: svn://svn.chromium.org/blink/trunk@54376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
christian@webkit.org authored
Reviewed by Xan Lopez. Require either libsoup 2.28.2 or 2.29.90. * configure.ac: 2010-02-04 Christian Dywan <christian@twotoasts.de> Reviewed by Xan Lopez. Conditionalize third party cookie policy for libsoup 2.29.90. * platform/network/soup/CookieJarSoup.cpp: (WebCore::setCookies): * platform/network/soup/DNSSoup.cpp: (WebCore::prefetchDNS): * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::restartedCallback): (WebCore::startHttp): * platform/network/soup/ResourceRequestSoup.cpp: (WebCore::ResourceRequest::toSoupMessage): (WebCore::ResourceRequest::updateFromSoupMessage): git-svn-id: svn://svn.chromium.org/blink/trunk@54375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
christian@webkit.org authored
Rubber-stamped by Gustavo Noronha Silva. Add ENABLE(VIDEO) guards around freeOwnedGPtr<GstElement> implementation. * platform/gtk/GOwnPtrGtk.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@54374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@apple.com authored
git-svn-id: svn://svn.chromium.org/blink/trunk@54373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@apple.com authored
Assertion failure in CheckedRadioButtons::removeButton when using jQuery 1.4.1 https://bugs.webkit.org/show_bug.cgi?id=34520 Test: fast/dom/HTMLInputElement/cloned-input-checked-state.html * dom/Element.cpp: (WebCore::Element::cloneElementWithoutChildren): Copy non-attribute properties before attributes. Otherwise, copying "checked" property would make the cloned node checked, unchecking original (they share a name, and are thus in the same radio group). We do want the original to be unchecked, but we also want to know its original state in HTMLInputElement::copyNonAttributeProperties(). * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::copyNonAttributeProperties): Use setChecked instead of plain assignment to prevent m_checked getting out of sync with checkedRadioButtons. Also, copy field related to default checked state, so that m_checked won't be overridden when copying attributes. git-svn-id: svn://svn.chromium.org/blink/trunk@54372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
git-svn-id: svn://svn.chromium.org/blink/trunk@54371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bfulgham@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=34613 Reviewed by Adam Roben. * WebFrame.cpp: (WebFrame::spoolPage): Adjust the GraphicsContext passed to the paintContents method so that the World Transform is properly positioned to account for margin settings at the time that PluginViewWin.cpp processes the drawing operations. git-svn-id: svn://svn.chromium.org/blink/trunk@54370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrowe@apple.com authored
and the case when WEBKITLIBRARIESDIR is not set. Reviewed by Steve Falkenburg. * win/tools/scripts/auto-version.sh: git-svn-id: svn://svn.chromium.org/blink/trunk@54369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enrica@apple.com authored
<rdar://problem/7595685> https://bugs.webkit.org/show_bug.cgi?id=34609 Reviewed by Oliver Hunt. WebCore: Test: editing/pasteboard/drop-inputtext-acquires-style.html The dragging code did not distinguish the case of dragging the content of an input control as a special case. The markup placed in the pasteboard included the style information. I've modified the Clipboard class interface adding a new method writePlainText to match the behavior of the copy and cut commands and modified the drag code to detect the special case. I've modified all the platform specific implementations of the Clipboard class. * dom/Clipboard.h: Added writePlainText pure virtual function. * editing/Editor.cpp: (WebCore::Editor::cut): Renamed nodeIsTextFormControl to isNodeInTextFormControl. (WebCore::Editor::copy): Renamed nodeIsTextFormControl to isNodeInTextFormControl. * editing/htmlediting.cpp: (WebCore::isNodeInTextFormControl): Added, after removing the implementation with the old name in Editor.cpp * editing/htmlediting.h: * page/DragController.cpp: (WebCore::DragController::startDrag): * platform/Pasteboard.h: * platform/android/ClipboardAndroid.cpp: (WebCore::ClipboardAndroid::writePlainText): Added. * platform/android/ClipboardAndroid.h: * platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::writePlainText): Added. * platform/chromium/ClipboardChromium.h: * platform/gtk/ClipboardGtk.cpp: (WebCore::ClipboardGtk::writePlainText): Added. * platform/gtk/ClipboardGtk.h: * platform/haiku/ClipboardHaiku.cpp: (WebCore::ClipboardHaiku::writePlainText): Added. * platform/haiku/ClipboardHaiku.h: * platform/mac/ClipboardMac.h: * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::writePlainText): Added. * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writePlainText): Added helper function. * platform/qt/ClipboardQt.cpp: (WebCore::ClipboardQt::writePlainText): Added. * platform/qt/ClipboardQt.h: * platform/win/ClipboardWin.cpp: (WebCore::ClipboardWin::writePlainText): Added. * platform/win/ClipboardWin.h: LayoutTests: * editing/pasteboard/drop-inputtext-acquires-style-expected.txt: Added. * editing/pasteboard/drop-inputtext-acquires-style.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54368 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sullivan@apple.com authored
WebLocalizedString() could use an assertion that it is being called on the main thread Reviewed by Tim Hatcher. WebKit: * WebKit.xcodeproj/project.pbxproj: Updated for renamed file (WebLocalizableStrings.m -> WebLocalizableStrings.mm) WebKit/mac: * Misc/WebLocalizableStrings.m: Removed. * Misc/WebLocalizableStrings.mm: Copied from mac/Misc/WebLocalizableStrings.m. Renamed to use .mm extension so it can include a C++ header. (WebLocalizedString): Added an assertion that this is being called on the main thread. git-svn-id: svn://svn.chromium.org/blink/trunk@54367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-