2009-12-30 Adam Barth Reviewed by Eric Seidel. [v8] Move world-specific state out of V8Proxy https://bugs.webkit.org/show_bug.cgi?id=33034 This is the first step towards unifying the V8 implementation of isolated worlds with the JSC implementation. We need an object to encapulate all the world-specific bindings state. Previoulsy, we used V8Proxy for this purpose (along with a million other things), but there's a one-to-one mapping between V8Proxy objects and Frame objects. This patch takes the world-specific state and moves it to a new object, affectionately called V8DOMWindowShell. This object is the moral equivalent of JSDOMWindowShell but with more data members because life is more complicated in V8-land. This patch is almost entirely code motion. Future patches will clean up this class as we use it to represent window shells in isolated worlds as well as the main world. * WebCore.gypi: * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::updateSecurityOrigin): (WebCore::ScriptController::haveInterpreter): (WebCore::ScriptController::updateDocument): * bindings/v8/V8DOMWindowShell.cpp: Added. (WebCore::handleFatalErrorInV8): (WebCore::reportFatalErrorInV8): (WebCore::reportUnsafeJavaScriptAccess): (WebCore::V8DOMWindowShell::create): (WebCore::V8DOMWindowShell::V8DOMWindowShell): (WebCore::V8DOMWindowShell::isContextInitialized): (WebCore::V8DOMWindowShell::disposeContextHandles): (WebCore::V8DOMWindowShell::destroyGlobal): (WebCore::V8DOMWindowShell::clearForClose): (WebCore::V8DOMWindowShell::clearForNavigation): (WebCore::V8DOMWindowShell::initContextIfNeeded): (WebCore::V8DOMWindowShell::createNewContext): (WebCore::V8DOMWindowShell::installDOMWindow): (WebCore::V8DOMWindowShell::updateDocumentWrapper): (WebCore::V8DOMWindowShell::clearDocumentWrapper): (WebCore::V8DOMWindowShell::updateDocumentWrapperCache): (WebCore::V8DOMWindowShell::clearDocumentWrapperCache): (WebCore::V8DOMWindowShell::setSecurityToken): (WebCore::V8DOMWindowShell::updateDocument): (WebCore::V8DOMWindowShell::updateSecurityOrigin): (WebCore::V8DOMWindowShell::getHiddenObjectPrototype): (WebCore::V8DOMWindowShell::installHiddenObjectPrototype): (WebCore::V8DOMWindowShell::createWrapperFromCacheSlowCase): * bindings/v8/V8DOMWindowShell.h: Added. (WebCore::V8DOMWindowShell::context): (WebCore::V8DOMWindowShell::createWrapperFromCache): * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getConstructorForContext): (WebCore::V8DOMWrapper::instantiateV8Object): (WebCore::V8DOMWrapper::convertDocumentToV8Object): (WebCore::V8DOMWrapper::convertNewNodeToV8Object): * bindings/v8/V8IsolatedWorld.cpp: (WebCore::V8IsolatedWorld::V8IsolatedWorld): * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::V8Proxy): (WebCore::V8Proxy::~V8Proxy): (WebCore::V8Proxy::handleOutOfMemory): (WebCore::V8Proxy::evaluateInIsolatedWorld): (WebCore::V8Proxy::evaluateInNewContext): (WebCore::V8Proxy::setInjectedScriptContextDebugId): (WebCore::V8Proxy::clearForClose): (WebCore::V8Proxy::clearForNavigation): (WebCore::V8Proxy::mainWorldContext): (WebCore::V8Proxy::setContextDebugId): * bindings/v8/V8Proxy.h: (WebCore::V8Proxy::windowShell): (WebCore::V8Proxy::extensions): 2009-12-30 Dirk Schulze Reviewed by Eric Seidel. SVGResourceClipper needs to invalidate content https://bugs.webkit.org/show_bug.cgi?id=33054 Added invalidate() to SVGResourceClipper to reset clipData and drawing area after attribute changes. This fixes two LayoutTests. * svg/graphics/SVGResourceClipper.cpp: (WebCore::SVGResourceClipper::resetClipData): (WebCore::SVGResourceClipper::invalidate): * svg/graphics/SVGResourceClipper.h: 2009-12-30 Carol Szabo Reviewed by Laszlo Gombos. [Qt] RenderThemeQt::applyTheme is a misnomer and is suboptimally coded. https://bugs.webkit.org/show_bug.cgi?id=33035 This patch: - renames RenderThemeQt::applyTheme to initializeCommonQStyleOptions, - extracts the palette initialization code to a separate function in order to provide for readable pointer checking and moves this code up in the function to allow for future changes to the palette brushes needed for bug 30173, - optimizes some of the code in the function for readability, speed and size. - fixes some minor style issues No new tests because code behavior is not changed. * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::paintButton): (WebCore::RenderThemeQt::paintTextField): (WebCore::RenderThemeQt::paintMenuList): (WebCore::RenderThemeQt::paintMenuListButton): (WebCore::initPaletteFromPageClientIfExists): (WebCore::RenderThemeQt::initializeCommonQStyleOptions): * platform/qt/RenderThemeQt.h: 2009-12-30 Laszlo Gombos Reviewed by Simon Hausmann. [Qt] It should be possible to disable inspector https://bugs.webkit.org/show_bug.cgi?id=32724 This makes the r48430 available for other ports as well. No new tests, as there is no new functionality. * inspector/InjectedScriptHost.idl: Guard the interface with INSPECTOR guard. * inspector/InspectorBackend.idl: Ditto. * inspector/InspectorFrontendHost.idl: Ditto. 2009-12-30 Dimitri Glazkov Reviewed by Adam Barth. [V8] Generate configuring of all indexers. https://bugs.webkit.org/show_bug.cgi?id=33031 Refactorig, covered by existing tests. * bindings/scripts/CodeGeneratorV8.pm: Added generation of indexers for special cases. * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getTemplate): Removed custom tempalte configuration of indexers. * bindings/v8/custom/V8CustomBinding.h: Added decls for Applet, Embed, and Object elements (these will be generated, too -- later.) * bindings/v8/custom/V8HTMLPlugInElementCustom.cpp: (WebCore::npObjectIndexedGetter): Moved common code to a separate method. (WebCore::npObjectIndexedSetter): Ditto. (WebCore::INDEXED_PROPERTY_GETTER): Added custom handlers for Applet, Embed, and Object all calling the common method. (WebCore::INDEXED_PROPERTY_SETTER): Ditto. 2009-12-30 Dimitri Glazkov Reviewed by Adam Barth. [V8] Generate configuring of all named property getters/setters/enumerators. https://bugs.webkit.org/show_bug.cgi?id=32996 Refactoring, covered by existing tests. * bindings/scripts/CodeGeneratorV8.pm: Added generation of named property handlers for special cases (See bug for more info). * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getTemplate): Removed custom template configuration of named property handlers. * bindings/v8/custom/V8CustomBinding.h: Added decls for Applet, Embed, and Object elements (these will be generated, too -- later.) * bindings/v8/custom/V8HTMLPlugInElementCustom.cpp: (WebCore::npObjectNamedGetter): Moved common code to a separate method. (WebCore::npObjectNamedSetter): Ditto. (WebCore::NAMED_PROPERTY_GETTER): Added custom handlers for Applet, Embed, and Object all calling the common method. (WebCore::NAMED_PROPERTY_SETTER): Ditto. 2009-12-30 Jakub Wieczorek Reviewed by Simon Hausmann. [Qt] Fix PluginView::handlePostReadFile(). https://bugs.webkit.org/show_bug.cgi?id=33052 The function should actually rewrite the given file to the buffer. This change fixes http/tests/plugins/post-url-file.html, which can be unskipped now along with other passing http/plugins tests. * plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::handlePostReadFile): 2009-12-30 Holger Hans Peter Freyther Rubber stamped by Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=32121 [Qt] Revert "Implement ImageDecoderQt::clearFrameBufferCache()" from r52516. The implementation appears to either run into an ASSERT or leak memory at runtime as the m_buffer, m_reader may already exist. The bug was reopened and we do have a plan now. * platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::setData): (WebCore::ImageDecoderQt::clearFrameBufferCache): * platform/graphics/qt/ImageDecoderQt.h: 2009-12-30 Janne Koskinen Reviewed by Simon Hausmann. [Qt] Add support for Symbian def files * WebCore.pro: 2009-12-30 Simon Hausmann Unreviewed Qt/Symbian build fix. Don't build network state notifier support when building inside of Qt. Otherwise the Qt build depends on an external module that itself depends on Qt again. * WebCore.pro: 2009-12-30 Yury Semikhatsky Reviewed by Dimitri Glazkov. [v8] Use current isolated world's context for ScriptCallStack. https://bugs.webkit.org/show_bug.cgi?id=33016 * bindings/v8/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): * bindings/v8/ScriptCallStack.h: (WebCore::ScriptCallStack::state): * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::mainWorldScriptState): (WebCore::ScriptController::currentScriptState): (WebCore::ScriptController::clearWindowShell): * bindings/v8/ScriptController.h: * bindings/v8/V8IsolatedWorld.cpp: (WebCore::V8IsolatedWorld::scriptState): * bindings/v8/V8IsolatedWorld.h: 2009-12-30 Laszlo Gombos Reviewed by Simon Hausmann. Turn off DataGrid support by default. No new tests, as there is no new functionality. * WebCore.pro: 2009-12-29 Dirk Schulze Reviewed by Nikolas Zimmermann. Detailed boundingBoxes in SVG Renderer https://bugs.webkit.org/show_bug.cgi?id=32815 Add new bounding boxes for strokes, filters, masker and clipper in SVG. These new bounding boxes help to fix repaintRectInLocalCoordinates. We calculate the smallest repaint rect considering the new bounding boxes now, filters get the correct paint area, masker clip the mask image size to the visible area of the target. Tests: Many tests need an update. The changes in repaintRectInLocalCoordinates affect the LayoutTests. * rendering/RenderForeignObject.h: (WebCore::RenderForeignObject::strokeBoundingBox): * rendering/RenderObject.cpp: (WebCore::RenderObject::toSVGRenderBase): * rendering/RenderObject.h: * rendering/RenderPath.cpp: (WebCore::RenderPath::strokeBoundingBox): (WebCore::RenderPath::repaintRectInLocalCoordinates): (WebCore::RenderPath::setPath): * rendering/RenderPath.h: (WebCore::RenderPath::markerBoundingBox): * rendering/RenderSVGBlock.h: (WebCore::RenderSVGBlock::toSVGRenderBase): * rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::strokeBoundingBox): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): * rendering/RenderSVGContainer.h: * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout): (WebCore::RenderSVGImage::repaintRectInLocalCoordinates): * rendering/RenderSVGImage.h: (WebCore::RenderSVGImage::toSVGRenderBase): (WebCore::RenderSVGImage::strokeBoundingBox): * rendering/RenderSVGInline.h: (WebCore::RenderSVGInline::objectBoundingBox): (WebCore::RenderSVGInline::repaintRectInLocalCoordinates): * rendering/RenderSVGModelObject.h: (WebCore::RenderSVGModelObject::toSVGRenderBase): * rendering/RenderSVGRoot.h: (WebCore::RenderSVGRoot::strokeBoundingBox): * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::strokeBoundingBox): (WebCore::RenderSVGText::repaintRectInLocalCoordinates): * rendering/RenderSVGText.h: (WebCore::RenderSVGText::toSVGRenderBase): * rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderBase::~SVGRenderBase): (WebCore::SVGRenderBase::prepareToRenderSVGContent): (WebCore::SVGRenderBase::filterBoundingBoxForRenderer): (WebCore::SVGRenderBase::clipperBoundingBoxForRenderer): (WebCore::SVGRenderBase::maskerBoundingBoxForRenderer): * rendering/SVGRenderSupport.h: (WebCore::SVGRenderBase::toSVGRenderBase): (WebCore::SVGRenderBase::strokeBoundingBox): (WebCore::SVGRenderBase::markerBoundingBox): * rendering/SVGRootInlineBox.h: (WebCore::SVGRootInlineBox::toSVGRenderBase): (WebCore::SVGRootInlineBox::objectBoundingBox): (WebCore::SVGRootInlineBox::repaintRectInLocalCoordinates): * svg/SVGFilterElement.cpp: (WebCore::SVGFilterElement::filterBoundingBox): * svg/SVGFilterElement.h: * svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::maskBoundingBox): (WebCore::SVGMaskElement::drawMaskerContent): * svg/SVGMaskElement.h: * svg/graphics/SVGResourceClipper.cpp: (WebCore::SVGResourceClipper::clipperBoundingBox): * svg/graphics/SVGResourceClipper.h: * svg/graphics/SVGResourceFilter.cpp: (WebCore::SVGResourceFilter::filterBoundingBox): (WebCore::shouldProcessFilter): (WebCore::SVGResourceFilter::prepareFilter): * svg/graphics/SVGResourceFilter.h: * svg/graphics/SVGResourceMasker.cpp: (WebCore::SVGResourceMasker::maskerBoundingBox): (WebCore::SVGResourceMasker::applyMask): * svg/graphics/SVGResourceMasker.h: 2009-12-29 Andrei Popescu Reviewed by Adam Barth. Add Android hook to NetworkStateNotifier class so that the Java side can notify WebCore when the network state changes. https://bugs.webkit.org/show_bug.cgi?id=32871 No new tests required, this is platform code. * platform/network/NetworkStateNotifier.h: * platform/network/android/NetworkStateNotifierAndroid.cpp: Added. (WebCore::NetworkStateNotifier::networkStateChange): 2009-12-29 Eric Seidel No review, rolling out r52630. http://trac.webkit.org/changeset/52630 Change caused layout tests failures and crashes. * Android.mk: * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * rendering/RenderPath.cpp: (WebCore::RenderPath::repaintRectInLocalCoordinates): (WebCore::RenderPath::setPath): (WebCore::RenderPath::path): (WebCore::RenderPath::paint): (WebCore::): (WebCore::DrawMarkersData::DrawMarkersData): (WebCore::drawMarkerWithData): (WebCore::updateMarkerDataForElement): (WebCore::drawStartAndMidMarkers): (WebCore::RenderPath::drawMarkersIfNeeded): * rendering/RenderPath.h: * rendering/RenderSVGContainer.h: * rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::paint): * rendering/RenderSVGViewportContainer.h: * rendering/SVGMarkerLayoutInfo.cpp: Removed. * rendering/SVGMarkerLayoutInfo.h: Removed. * svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::canvasResource): * svg/graphics/SVGResource.cpp: (WebCore::SVGResource::SVGResource): (WebCore::ResourceSet::ResourceSet): (WebCore::clientMap): (WebCore::SVGResource::~SVGResource): (WebCore::SVGResource::removeClient): (WebCore::SVGResource::addClient): * svg/graphics/SVGResourceMarker.cpp: (WebCore::SVGResourceMarker::SVGResourceMarker): (WebCore::SVGResourceMarker::setMarker): (WebCore::SVGResourceMarker::setRef): (WebCore::SVGResourceMarker::draw): (WebCore::SVGResourceMarker::cachedBounds): (WebCore::SVGResourceMarker::externalRepresentation): * svg/graphics/SVGResourceMarker.h: (WebCore::SVGResourceMarker::refX): (WebCore::SVGResourceMarker::refY): 2009-12-29 Dan Bernstein Reviewed by Sam Weinig. Move the focus ring rect array, width and offset out of GraphicsContext https://bugs.webkit.org/show_bug.cgi?id=33028 * platform/graphics/GraphicsContext.cpp: Removed initFocusRing(), clearFocusRing(), focusRingBoundingRect(), addFocusRingRect(), focusRingWidth(), focusRingOffset(), and focusRingRects(). * platform/graphics/GraphicsContext.h: Ditto. Added the focus ring rect vector, width and offset as parameters to drawFocusRing(). * platform/graphics/GraphicsContextPrivate.h: (WebCore::GraphicsContextState::GraphicsContextState): Cleaned up style. (WebCore::GraphicsContextPrivate::GraphicsContextPrivate): Removed m_focusRingRects, m_focusRingWidth and m_focusRingOffset. * platform/graphics/IntRect.cpp: (WebCore::unionRect): Added this helper function. * platform/graphics/IntRect.h: * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/haiku/GraphicsContextHaiku.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/win/GraphicsContextCGWin.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/wince/GraphicsContextWince.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::drawFocusRing): Ditto. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::addFocusRingRects): Updated for new prototype. Added empty rect checks that were previously done in GraphicsContext::addFocusRingRect(). * rendering/RenderBlock.h: * rendering/RenderBox.cpp: (WebCore::RenderBox::addFocusRingRects): Ditto. * rendering/RenderBox.h: * rendering/RenderInline.cpp: (WebCore::RenderInline::addFocusRingRects): Ditto. (WebCore::RenderInline::paintOutline): Collect focus ring rects into a vector and pass it to drawFocusRing(). Use unionRect() instead of focusRingBoundingRect(). * rendering/RenderInline.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::paintOutline): Ditto. * rendering/RenderObject.h: (WebCore::RenderObject::addFocusRingRects): Changed to take a Vector to which the rects are added. * rendering/RenderPath.cpp: (WebCore::RenderPath::addFocusRingRects): Updated for new prototype. Added empty rect check that was previously done in GraphicsContext::addFocusRingRect(). * rendering/RenderPath.h: * rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::addFocusRingRects): Updated for new prototype. Added empty rect check that was previously done in GraphicsContext::addFocusRingRect(). * rendering/RenderSVGContainer.h: * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::addFocusRingRects): Updated for new prototype. Added empty rect check that was previously done in GraphicsContext::addFocusRingRect(). * rendering/RenderSVGImage.h: * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::addFocusRingRects): Updated for new prototype. Added empty rect check that was previously done in GraphicsContext::addFocusRingRect(). * rendering/RenderTextControl.h: 2009-12-28 Dumitru Daniliuc Reviewed by Maciej Stachowiak. 1. Changes the order in which some functions are called to match the pre-r52536 order. Namely, when a new Database object is created, DatabaseTracker::addOpenDatabase() is called in the constructor, before doing anything else related to that database (like trying to get a file handle to the database file). Chromium's implementation depends on this ordering. 2. Changes Database::performOpenAndVerify() to close the open handle to the database file immediately if the database version does not match the expected one. The current behavior is to add the Database object to a DatabaseThread collection and let the database thread close the handle when it's destroyed. https://bugs.webkit.org/show_bug.cgi?id=33005 All LayoutTests/storage tests pass in clean WebKit and Chromium clients. * storage/Database.cpp: (WebCore::Database::openDatabase): Notify DatabaseTracker and Document that a Database object is about to be destroyed (when a database file cannot be opened, or its version doesn't match the expected one). (WebCore::Database::Database): Notify DatabaseTracker and Document that a new Database object was created. (WebCore::Database::performOpenAndVerify): If a database version does not match the expected one, immediately close the open file handle to the database file. 2009-12-29 Nikolas Zimmermann Reviewed by Dirk Schulze. Marker code is buggy: referencePoint translation is off https://bugs.webkit.org/show_bug.cgi?id=33012 Rewrite marker code, as it was buggy: - Correct refX/refY handling (covered by new marker-referencePoint.svg test) - Calculate marker bounds on layout time, instead of paint time, to deliver correct repaint rects - Cleanup RenderPath code, which was cluttered by marker stuff (outlay in SVGMarkerLayoutInfo) - Fix SVGResource assuming that there is only one resource per resource type per element. Markers can have three different resources of the same type (three markers, start/mid/end markers) Fixes all svg/custom/marker*.svg tests, that use dynamic updates (propagation failed before). Test: svg/custom/marker-referencePoint.svg * Android.mk: * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * rendering/RenderPath.cpp: (WebCore::RenderPath::repaintRectInLocalCoordinates): (WebCore::RenderPath::setPath): (WebCore::RenderPath::paint): (WebCore::RenderPath::calculateMarkerBoundsIfNeeded): * rendering/RenderPath.h: (WebCore::RenderPath::path): * rendering/RenderSVGContainer.h: * rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::markerContentTransformation): * rendering/RenderSVGViewportContainer.h: * rendering/SVGMarkerLayoutInfo.cpp: Added. (WebCore::SVGMarkerLayoutInfo::SVGMarkerLayoutInfo): (WebCore::SVGMarkerLayoutInfo::~SVGMarkerLayoutInfo): (WebCore::SVGMarkerLayoutInfo::initialize): (WebCore::updateMarkerDataForElement): (WebCore::recordMarkerData): (WebCore::processStartAndMidMarkers): (WebCore::SVGMarkerLayoutInfo::calculateBoundaries): (WebCore::SVGMarkerLayoutInfo::drawMarkers): * rendering/SVGMarkerLayoutInfo.h: Added. (WebCore::MarkerData::): (WebCore::MarkerData::MarkerData): (WebCore::MarkerLayout::MarkerLayout): * svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::canvasResource): * svg/graphics/SVGResource.cpp: (WebCore::resourceSet): (WebCore::SVGResource::SVGResource): (WebCore::SVGResource::~SVGResource): (WebCore::SVGResource::removeClient): (WebCore::SVGResource::addClient): * svg/graphics/SVGResourceMarker.cpp: (WebCore::SVGResourceMarker::SVGResourceMarker): (WebCore::SVGResourceMarker::markerBoundaries): (WebCore::SVGResourceMarker::markerTransformation): (WebCore::SVGResourceMarker::draw): (WebCore::SVGResourceMarker::externalRepresentation): * svg/graphics/SVGResourceMarker.h: (WebCore::SVGResourceMarker::setRenderer): (WebCore::SVGResourceMarker::setReferencePoint): (WebCore::SVGResourceMarker::referencePoint): 2009-12-29 Alexander Pavlov Reviewed by Pavel Feldman. Fix UI nits in the Audits panel. https://bugs.webkit.org/show_bug.cgi?id=32932 * inspector/front-end/AuditLauncherView.js: (WebInspector.AuditLauncherView.prototype._selectAllClicked): (WebInspector.AuditLauncherView.prototype._createCategoryElement): (WebInspector.AuditLauncherView.prototype._createLauncherUI.handleSelectAllClick): (WebInspector.AuditLauncherView.prototype._createLauncherUI): * inspector/front-end/AuditResultView.js: (WebInspector.AuditResultView): (WebInspector.AuditRuleResultPane): * inspector/front-end/audits.css: 2009-12-29 Johnny Ding Reviewed by Dimitri Glazkov. https://bugs.webkit.org/show_bug.cgi?id=32863 Make NodeList support call-as-function Test: fast/dom/NodeList/nodelist-item-call-as-function.html * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getTemplate): * bindings/v8/custom/V8NodeListCustom.cpp: (WebCore::V8NodeList::callAsFunctionCallback): 2009-12-29 Simon Fraser Reviewed by Dan Bernstein. Typed text in table not correctly redrawn on page with compositing layers https://bugs.webkit.org/show_bug.cgi?id=32874 Use the same test in RenderTableCell::computeRectForRepaint() that we use elsewhere to decide when to use layoutState, which is to test for layoutStateEnabled() and no repaint container. Not possible to make a repaint test that exercises the problem, so no test. * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::computeRectForRepaint): 2009-12-29 Alexander Pavlov Reviewed by Timothy Hatcher. Discard port from cookie domain when matching cookies. WebKit cookies do not hold the port information, so we should match only hostnames. https://bugs.webkit.org/show_bug.cgi?id=31787 * inspector/front-end/inspector.js: (WebInspector.updateResource): 2009-12-29 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. [Qt] Fix warnings in MediaPlayerPrivatePhonon.cpp https://bugs.webkit.org/show_bug.cgi?id=33019 No new tests as there is no new functionality. * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp: (WebCore::MediaPlayerPrivate::totalTimeChanged): 2009-12-29 Kent Tamura Reviewed by Maciej Stachowiak. Implement HTML5