Timeline
May 16, 2011:
- 11:59 PM Changeset in webkit [86658] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Yuzo Fujishima <yuzo@google.com>
Unreviewed Chromium test expectation change.
http/tests/appcache/interrupted-update.html is flaky on win, mac, and linux.
- platform/chromium/test_expectations.txt:
- 11:12 PM Changeset in webkit [86657] by
-
- 37 edits in trunk/Source/JavaScriptCore
2011-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86653.
http://trac.webkit.org/changeset/86653
https://bugs.webkit.org/show_bug.cgi?id=60944
"Caused regressions on Windows, OSX and EFL" (Requested by
yutak on #webkit).
- DerivedSources.make:
- DerivedSources.pro:
- GNUmakefile.am:
- GNUmakefile.list.am:
- JavaScriptCore.exp:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- create_hash_table:
- heap/Heap.cpp: (JSC::TypeCounter::operator()):
- interpreter/CallFrame.h: (JSC::ExecState::arrayTable): (JSC::ExecState::numberTable):
- runtime/ArrayConstructor.cpp: (JSC::ArrayConstructor::ArrayConstructor):
- runtime/ArrayConstructor.h:
- runtime/ArrayPrototype.cpp: (JSC::ArrayPrototype::getOwnPropertySlot): (JSC::ArrayPrototype::getOwnPropertyDescriptor):
- runtime/ArrayPrototype.h:
- runtime/BooleanPrototype.cpp: (JSC::BooleanPrototype::BooleanPrototype):
- runtime/BooleanPrototype.h:
- runtime/DateConstructor.cpp: (JSC::DateConstructor::DateConstructor):
- runtime/DateConstructor.h:
- runtime/ErrorPrototype.cpp: (JSC::ErrorPrototype::ErrorPrototype):
- runtime/ErrorPrototype.h:
- runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData): (JSC::JSGlobalData::~JSGlobalData):
- runtime/JSGlobalData.h:
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::reset):
- runtime/JSGlobalObject.h: (JSC::JSGlobalObject::addStaticGlobals): (JSC::JSGlobalObject::getOwnPropertySlot): (JSC::JSGlobalObject::getOwnPropertyDescriptor):
- runtime/JSGlobalObjectFunctions.cpp: (JSC::globalFuncJSCPrint):
- runtime/JSGlobalObjectFunctions.h:
- runtime/MathObject.cpp:
- runtime/NumberConstructor.cpp: (JSC::NumberConstructor::getOwnPropertySlot): (JSC::NumberConstructor::getOwnPropertyDescriptor):
- runtime/NumberPrototype.cpp: (JSC::NumberPrototype::NumberPrototype):
- runtime/NumberPrototype.h:
- runtime/ObjectPrototype.cpp: (JSC::ObjectPrototype::ObjectPrototype): (JSC::ObjectPrototype::put): (JSC::ObjectPrototype::getOwnPropertySlot):
- runtime/ObjectPrototype.h:
- runtime/RegExpPrototype.cpp: (JSC::RegExpPrototype::RegExpPrototype):
- runtime/RegExpPrototype.h:
- runtime/StringConstructor.cpp: (JSC::StringConstructor::StringConstructor):
- runtime/StringConstructor.h:
- 10:55 PM Changeset in webkit [86656] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 MORITA Hajime <morrita@google.com>
Unreviewed build fix for r86647, which broke SUPPORT_AUTOCORRECTION_PANEL.
- editing/SpellingCorrectionController.cpp: (WebCore::markersHaveIdenticalDescription): (WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection): (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
- 10:11 PM Changeset in webkit [86655] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Yuzo Fujishima <yuzo@google.com>
Unreviewed Chromium test expectation change.
svg/hixie/perf/00{1,2}.xml now pass on Linux.
- platform/chromium/test_expectations.txt:
- 9:26 PM Changeset in webkit [86654] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Kent Tamura <tkent@chromium.org>
Fix Leopard build.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::stepUpFromRenderer): Use double instead of int.
- 9:08 PM Changeset in webkit [86653] by
-
- 37 edits in trunk/Source/JavaScriptCore
2011-05-16 Geoffrey Garen <ggaren@apple.com>
Reviewed by Geoffrey Garen.
Global object initialization is expensive
https://bugs.webkit.org/show_bug.cgi?id=60933
Changed a bunch of globals to allocate their properties lazily, and changed
the global object to allocate a bunch of its globals lazily.
This reduces the footprint of a global object from 287 objects with 58
functions for 24K to 173 objects with 20 functions for 15K.
Large patch, but it's all mechanical.
- DerivedSources.make:
- JavaScriptCore.exp: Build!
- create_hash_table: Added a special case for fromCharCode, since it uses a custom "thunk generator".
- heap/Heap.cpp: (JSC::TypeCounter::operator()): Fixed a bug where the type counter would overcount objects that were owned through more than one mechanism because it was getting in the way of counting the results for this patch.
- interpreter/CallFrame.h: (JSC::ExecState::arrayConstructorTable): (JSC::ExecState::arrayPrototypeTable): (JSC::ExecState::booleanPrototypeTable): (JSC::ExecState::dateConstructorTable): (JSC::ExecState::errorPrototypeTable): (JSC::ExecState::globalObjectTable): (JSC::ExecState::numberConstructorTable): (JSC::ExecState::numberPrototypeTable): (JSC::ExecState::objectPrototypeTable): (JSC::ExecState::regExpPrototypeTable): (JSC::ExecState::stringConstructorTable): Added new tables.
- runtime/ArrayConstructor.cpp: (JSC::ArrayConstructor::ArrayConstructor): (JSC::ArrayConstructor::getOwnPropertySlot): (JSC::ArrayConstructor::getOwnPropertyDescriptor):
- runtime/ArrayConstructor.h: (JSC::ArrayConstructor::createStructure):
- runtime/ArrayPrototype.cpp: (JSC::ArrayPrototype::getOwnPropertySlot): (JSC::ArrayPrototype::getOwnPropertyDescriptor):
- runtime/ArrayPrototype.h:
- runtime/BooleanPrototype.cpp: (JSC::BooleanPrototype::BooleanPrototype): (JSC::BooleanPrototype::getOwnPropertySlot): (JSC::BooleanPrototype::getOwnPropertyDescriptor):
- runtime/BooleanPrototype.h: (JSC::BooleanPrototype::createStructure):
- runtime/DateConstructor.cpp: (JSC::DateConstructor::DateConstructor): (JSC::DateConstructor::getOwnPropertySlot): (JSC::DateConstructor::getOwnPropertyDescriptor):
- runtime/DateConstructor.h: (JSC::DateConstructor::createStructure):
- runtime/ErrorPrototype.cpp: (JSC::ErrorPrototype::ErrorPrototype): (JSC::ErrorPrototype::getOwnPropertySlot): (JSC::ErrorPrototype::getOwnPropertyDescriptor):
- runtime/ErrorPrototype.h: (JSC::ErrorPrototype::createStructure): Standardized these objects to use static tables for function properties.
- runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData): (JSC::JSGlobalData::~JSGlobalData):
- runtime/JSGlobalData.h: Added new tables.
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::reset): (JSC::JSGlobalObject::addStaticGlobals): (JSC::JSGlobalObject::getOwnPropertySlot): (JSC::JSGlobalObject::getOwnPropertyDescriptor):
- runtime/JSGlobalObject.h:
- runtime/JSGlobalObjectFunctions.cpp:
- runtime/JSGlobalObjectFunctions.h: Changed JSGlobalObject to use a static table for its global functions. This required uninlining some things to avoid a circular header dependency. However, those things probably shouldn't have been inlined in the first place.
Even more global object properties can be made lazy, but that requires
more in-depth changes.
- runtime/MathObject.cpp:
- runtime/NumberConstructor.cpp: (JSC::NumberConstructor::getOwnPropertySlot): (JSC::NumberConstructor::getOwnPropertyDescriptor):
- runtime/NumberPrototype.cpp: (JSC::NumberPrototype::NumberPrototype): (JSC::NumberPrototype::getOwnPropertySlot): (JSC::NumberPrototype::getOwnPropertyDescriptor):
- runtime/NumberPrototype.h: (JSC::NumberPrototype::createStructure):
- runtime/ObjectPrototype.cpp: (JSC::ObjectPrototype::ObjectPrototype): (JSC::ObjectPrototype::put): (JSC::ObjectPrototype::getOwnPropertySlot): (JSC::ObjectPrototype::getOwnPropertyDescriptor):
- runtime/ObjectPrototype.h: (JSC::ObjectPrototype::createStructure):
- runtime/RegExpPrototype.cpp: (JSC::RegExpPrototype::RegExpPrototype): (JSC::RegExpPrototype::getOwnPropertySlot): (JSC::RegExpPrototype::getOwnPropertyDescriptor):
- runtime/RegExpPrototype.h: (JSC::RegExpPrototype::createStructure):
- runtime/StringConstructor.cpp: (JSC::StringConstructor::StringConstructor): (JSC::StringConstructor::getOwnPropertySlot): (JSC::StringConstructor::getOwnPropertyDescriptor):
- runtime/StringConstructor.h: (JSC::StringConstructor::createStructure): Standardized these objects to use static tables for function properties.
- 7:51 PM Changeset in webkit [86652] by
-
- 20 edits1 copy2 adds in trunk/Source
2011-05-16 James Robinson <jamesr@chromium.org>
Reviewed by Kenneth Russell.
[chromium] Decouple LayerChromium/CCLayerImpl trees
https://bugs.webkit.org/show_bug.cgi?id=58830
Makes the CCLayerImpl tree self-hosting and provides an explicit step
to synchronize the LayerChromium tree to the CCLayerImpl tree.
Tested by compositing/ layout tests and by unit tests in WebKit/chromium.
- WebCore.gypi:
- platform/graphics/chromium/CanvasLayerChromium.cpp: (WebCore::CanvasLayerChromium::createCCLayerImpl):
- platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::LayerChromium): (WebCore::LayerChromium::~LayerChromium): (WebCore::LayerChromium::cleanupResources): (WebCore::LayerChromium::dumpLayer): (WebCore::LayerChromium::dumpLayerProperties): (WebCore::LayerChromium::createCCLayerImpl): (WebCore::LayerChromium::ccLayerImpl):
- platform/graphics/chromium/LayerChromium.h: (WebCore::LayerChromium::id): (WebCore::LayerChromium::setCCLayerImpl):
- platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::updateAndDrawLayers): (WebCore::LayerRendererChromium::updateLayers): (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces): (WebCore::LayerRendererChromium::updateCompositorResourcesRecursive):
- platform/graphics/chromium/LayerRendererChromium.h:
- platform/graphics/chromium/PluginLayerChromium.cpp: (WebCore::PluginLayerChromium::createCCLayerImpl):
- platform/graphics/chromium/TreeSynchronizer.cpp: Added. (WebCore::TreeSynchronizer::addCCLayerImplsToMapRecursive): (WebCore::TreeSynchronizer::synchronizeTreeRecursive): (WebCore::TreeSynchronizer::synchronizeTrees):
- platform/graphics/chromium/TreeSynchronizer.h:
- platform/graphics/chromium/VideoLayerChromium.cpp: (WebCore::VideoLayerChromium::createCCLayerImpl):
- platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp: (WebCore::CCCanvasLayerImpl::CCCanvasLayerImpl):
- platform/graphics/chromium/cc/CCCanvasLayerImpl.h: (WebCore::CCCanvasLayerImpl::create):
- platform/graphics/chromium/cc/CCLayerImpl.cpp: (WebCore::CCLayerImpl::CCLayerImpl): (WebCore::CCLayerImpl::addChild): (WebCore::CCLayerImpl::removeFromParent): (WebCore::CCLayerImpl::removeAllChildren): (WebCore::CCLayerImpl::clearChildList): (WebCore::CCLayerImpl::descendantsDrawsContent): (WebCore::CCLayerImpl::drawsContent): (WebCore::CCLayerImpl::updateCompositorResources):
- platform/graphics/chromium/cc/CCLayerImpl.h: (WebCore::CCLayerImpl::create): (WebCore::CCLayerImpl::parent): (WebCore::CCLayerImpl::children): (WebCore::CCLayerImpl::setMaskLayer): (WebCore::CCLayerImpl::maskLayer): (WebCore::CCLayerImpl::setReplicaLayer): (WebCore::CCLayerImpl::replicaLayer): (WebCore::CCLayerImpl::id): (WebCore::CCLayerImpl::owner): (WebCore::CCLayerImpl::setParent):
- platform/graphics/chromium/cc/CCPluginLayerImpl.cpp: (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
- platform/graphics/chromium/cc/CCPluginLayerImpl.h: (WebCore::CCPluginLayerImpl::create):
- platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: (WebCore::CCVideoLayerImpl::CCVideoLayerImpl):
- platform/graphics/chromium/cc/CCVideoLayerImpl.h: (WebCore::CCVideoLayerImpl::create):
2011-05-16 James Robinson <jamesr@chromium.org>
Reviewed by Kenneth Russell.
https://bugs.webkit.org/show_bug.cgi?id=58830
Add unit tests for the compositor's TreeSynchronizer.
- WebKit.gypi:
- tests/TreeSynchronizerTest.cpp: Added. (WebCore::MockCCLayerImpl::create): (WebCore::MockCCLayerImpl::~MockCCLayerImpl): (WebCore::MockCCLayerImpl::setCCLayerDestructionList): (WebCore::MockCCLayerImpl::MockCCLayerImpl): (WebCore::MockLayerChromium::create): (WebCore::MockLayerChromium::~MockLayerChromium): (WebCore::MockLayerChromium::createCCLayerImpl): (WebCore::MockLayerChromium::pushPropertiesTo): (WebCore::MockLayerChromium::MockLayerChromium): (WebCore::expectTreesAreIdentical): (WebCore::TEST):
- 7:49 PM Changeset in webkit [86651] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86648.
http://trac.webkit.org/changeset/86648
https://bugs.webkit.org/show_bug.cgi?id=60941
media/controls-css-overload.html still failing on non-GPU
tests (Requested by scherkus on #webkit).
- platform/chromium/test_expectations.txt:
- 7:34 PM Changeset in webkit [86650] by
-
- 5 edits in trunk
2011-05-16 Naoki Takano <takano.naoki@gmail.com>
Reviewed by Kent Tamura.
HTML5 Number Spinbox displays a 0 in situations where a 0 is not between the min and max.
https://bugs.webkit.org/show_bug.cgi?id=60871
- fast/forms/input-stepup-stepdown-from-renderer-expected.txt: Added expected results.
- fast/forms/script-tests/input-stepup-stepdown-from-renderer.js: Added test patterns when initial values are empty.
2011-05-16 Naoki Takano <takano.naoki@gmail.com>
Reviewed by Kent Tamura.
HTML5 Number Spinbox displays a 0 in situations where a 0 is not between the min and max.
https://bugs.webkit.org/show_bug.cgi?id=60871
Test: fast/forms/input-stepup-stepdown-from-renderer.html
In number input type, if the value is not a number, including empty, the currect valued is assumed 0.
But we have to handle it separately from the case when the value is actuall "0".
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::stepUpFromRenderer): Added cliping for default value.
- 6:42 PM Changeset in webkit [86649] by
-
- 3 edits2 adds in trunk
2011-05-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove bogus ASSERT in Document::setCompatibilityMode
https://bugs.webkit.org/show_bug.cgi?id=60935
This test case triggers the ASSERT.
- fast/parser/append-child-followed-by-document-write-expected.txt: Added.
- fast/parser/append-child-followed-by-document-write.html: Added.
2011-05-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove bogus ASSERT in Document::setCompatibilityMode
https://bugs.webkit.org/show_bug.cgi?id=60935
The ASSERT is invalid when the parser is in the initial state and the
document is non-empty, which is strange but not impossible.
Test: fast/parser/append-child-followed-by-document-write.html
- dom/Document.cpp: (WebCore::Document::setCompatibilityMode):
- 6:14 PM Changeset in webkit [86648] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, updating expectation for media/controls-css-overload.html.
- platform/chromium/test_expectations.txt:
- 6:11 PM Changeset in webkit [86647] by
-
- 14 edits in trunk/Source
2011-05-16 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Refactoring] Member variables of DocumentMarker should be encapsulated.
https://bugs.webkit.org/show_bug.cgi?id=56814
- Moved DocumentMarker's member variables to private and added getters for them.
- Added DocumentMarker setters and constructors, which contain assertions against m_type values because description and activeMatch are used with specific type of MarkerType.
- Moved chromium's WebKit::WebFrameImpl::addMarker() to DocumentMarkerController because it accesses DocumentMarker internals.
- Moved a version of DMC::addMarker() to private and add alternatives that hide internals of DocumentMarker. (The internal will be renewed by upcoming change.)
- dom/DocumentMarker.h: (WebCore::DocumentMarker::type): (WebCore::DocumentMarker::startOffset): (WebCore::DocumentMarker::endOffset): (WebCore::DocumentMarker::description): (WebCore::DocumentMarker::hasDescription): (WebCore::DocumentMarker::activeMatch): (WebCore::DocumentMarker::clearDescription): (WebCore::DocumentMarker::setStartOffset): (WebCore::DocumentMarker::setEndOffset): (WebCore::DocumentMarker::operator==): (WebCore::DocumentMarker::DocumentMarker): (WebCore::DocumentMarker::shiftOffsets): (WebCore::DocumentMarker::setActiveMatch):
- dom/DocumentMarkerController.cpp: (WebCore::DocumentMarkerController::addMarker): (WebCore::DocumentMarkerController::addTextMatchMarker): (WebCore::DocumentMarkerController::copyMarkers): (WebCore::DocumentMarkerController::removeMarkers): (WebCore::DocumentMarkerController::markerContainingPoint): (WebCore::DocumentMarkerController::markersInRange): (WebCore::DocumentMarkerController::renderedRectsForMarkers): (WebCore::DocumentMarkerController::removeMarkersFromList): (WebCore::DocumentMarkerController::repaintMarkers): (WebCore::DocumentMarkerController::shiftMarkers): (WebCore::DocumentMarkerController::setMarkersActive): (WebCore::DocumentMarkerController::hasMarkers): (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange): (WebCore::DocumentMarkerController::showMarkers):
- dom/DocumentMarkerController.h:
- editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
- editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection):
- editing/Editor.cpp: (WebCore::Editor::selectionStartHasMarkerFor):
- editing/SpellingCorrectionController.cpp: (WebCore::SpellingCorrectionController::respondToChangedSelection):
- editing/SpellingCorrectionController.h: (WebCore::SpellingCorrectionController::shouldStartTimerFor):
- rendering/HitTestResult.cpp: (WebCore::HitTestResult::spellingToolTip): (WebCore::HitTestResult::replacedString):
- rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): (WebCore::InlineTextBox::paintTextMatchMarker): (WebCore::InlineTextBox::computeRectForReplacementMarker): (WebCore::InlineTextBox::paintDocumentMarkers):
- rendering/svg/SVGInlineFlowBox.cpp: (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer):
2011-05-16 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Refactoring] Member variables of DocumentMarker should be encapsulated.
https://bugs.webkit.org/show_bug.cgi?id=56814
Moved addMarker() implementation to
WebCore::DocumentMarkerController::addTextMatchMarker().
- src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::addMarker):
- 6:01 PM Changeset in webkit [86646] by
-
- 4 edits in trunk/Source
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Fix the Cairo build for older versions of GTK+.
- platform/gtk/GtkWidgetBackingStoreX11.cpp: Include GtkVersioning.h to satisfy older versions of GTK+ 2.x.
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Take another shot at fixing the WinCairo build.
- Shared/cairo/LayerTreeContextCairo.cpp: Include NotImplemented.h using a framework include.
- 5:53 PM Changeset in webkit [86645] by
-
- 4 edits2 adds in trunk/Source/WebKit2
2011-05-16 Sam Weinig <sam@webkit.org>
Reviewed by Jon Honeycutt.
Add access to process pid in WebKit2 API
https://bugs.webkit.org/show_bug.cgi?id=60938
- UIProcess/API/C/mac/WKPagePrivateMac.cpp: Added. (WKPageGetProcessIdentifier):
- UIProcess/API/C/mac/WKPagePrivateMac.h: Added.
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::processIdentifier):
- UIProcess/WebPageProxy.h:
- WebKit2.xcodeproj/project.pbxproj: Add WKPageGetProcessIdentifier as SPI for the mac.
- 5:50 PM Changeset in webkit [86644] by
-
- 17 edits2 adds in trunk
2011-05-16 Ian Henderson <ianh@apple.com>
Reviewed by Joseph Pecoraro.
Page::goToItem doesn't work while loading is deferred
https://bugs.webkit.org/show_bug.cgi?id=60412
- loader/navigation-while-deferring-loads-expected.txt: Added.
- loader/navigation-while-deferring-loads.html: Added.
- platform/gtk/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
2011-05-16 Ian Henderson <ianh@apple.com>
Reviewed by Joseph Pecoraro.
Page::goToItem doesn't work while loading is deferred
https://bugs.webkit.org/show_bug.cgi?id=60412
If goToItem is called while loading is deferred, save the arguments
and try again later instead of doing nothing.
Test: loader/navigation-while-deferring-loads.html
- loader/FrameLoader.cpp: (WebCore::FrameLoader::setDefersLoading): Pipe the "defersLoading" state into HistoryController.
- loader/HistoryController.cpp: (WebCore::HistoryController::HistoryController): (WebCore::HistoryController::goToItem): Save the HistoryItem and FrameLoadType if loading is deferred. (WebCore::HistoryController::setDefersLoading): If we have a saved HistoryItem after resuming, try going to it.
- loader/HistoryController.h:
- page/Page.cpp: (WebCore::Page::goToItem): No longer bail early if loading is deferred, since HistoryController now handles this case.
2011-05-16 Ian Henderson <ianh@apple.com>
Reviewed by Joseph Pecoraro.
Page::goToItem doesn't work while loading is deferred
https://bugs.webkit.org/show_bug.cgi?id=60412
Add setDefersLoading and goBack methods to LayoutTestController. We
need to use goBack() instead of history.back() because the latter goes
through NavigationScheduler, hence doesn't exhibit the bug.
- DumpRenderTree/LayoutTestController.cpp: (goBackCallback): (setDefersLoadingCallback): (LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::goBack): (LayoutTestController::setDefersLoading):
- DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::goBack): (LayoutTestController::setDefersLoading):
- DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::goBack): (LayoutTestController::setDefersLoading):
- DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::goBack): (LayoutTestController::setDefersLoading):
- 5:31 PM Changeset in webkit [86643] by
-
- 4 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, checking in new baselines for media/video-canvas-alpha.html for chromium-gpu-{linux,win}.
- platform/chromium-gpu-linux/media/video-canvas-alpha-expected.png:
- platform/chromium-gpu-win/media/video-canvas-alpha-expected.png:
- platform/chromium/test_expectations.txt:
- 5:27 PM Changeset in webkit [86642] by
-
- 1 edit1 add in trunk/Source/WebKit2
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Add file missing from my previous commit.
- Shared/cairo/LayerTreeContextCairo.cpp: Added.
- 5:22 PM Changeset in webkit [86641] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, un-skipping a few Chromium layout test expectations.
- platform/chromium/test_expectations.txt:
- 5:21 PM Changeset in webkit [86640] by
-
- 14 edits6 deletes in trunk/Source
2011-05-16 Andrew Wilson <atwilson@chromium.org>
Unreviewed, rolling out r86625.
http://trac.webkit.org/changeset/86625
https://bugs.webkit.org/show_bug.cgi?id=60719
Caused failed assertion on Chromium gpu canary bots
- WebCore.gypi:
- platform/chromium/TraceEvent.h:
- platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::create): (WebCore::ContentLayerChromium::ContentLayerChromium): (WebCore::ContentLayerChromium::~ContentLayerChromium): (WebCore::ContentLayerChromium::paintContentsIfDirty): (WebCore::ContentLayerChromium::setLayerRenderer): (WebCore::ContentLayerChromium::createTilerIfNeeded): (WebCore::ContentLayerChromium::updateCompositorResources):
- platform/graphics/chromium/ContentLayerChromium.h: (WebCore::ContentLayerChromium::drawsContent):
- platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::paintContentsIfDirty): (WebCore::ImageLayerChromium::updateCompositorResources):
- platform/graphics/chromium/ImageLayerChromium.h:
- platform/graphics/chromium/LayerPainterChromium.h: Removed.
- platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::create): (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::updateRootLayerContents): (WebCore::LayerRendererChromium::drawRootLayer): (WebCore::LayerRendererChromium::updateAndDrawLayers): (WebCore::LayerRendererChromium::updateLayers):
- platform/graphics/chromium/LayerRendererChromium.h:
- platform/graphics/chromium/LayerTextureSubImage.cpp: Removed.
- platform/graphics/chromium/LayerTextureSubImage.h: Removed.
- platform/graphics/chromium/LayerTextureUpdater.h: Removed.
- platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Removed.
- platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Removed.
- platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::create): (WebCore::LayerTilerChromium::LayerTilerChromium): (WebCore::LayerTilerChromium::setLayerRenderer): (WebCore::LayerTilerChromium::setTileSize): (WebCore::LayerTilerChromium::update): (WebCore::LayerTilerChromium::uploadCanvas): (WebCore::LayerTilerChromium::updateFromPixels): (WebCore::LayerTilerChromium::draw):
- platform/graphics/chromium/LayerTilerChromium.h: (WebCore::LayerTilerChromium::Tile::Tile):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: (WebCore::CCHeadsUpDisplay::draw):
2011-05-16 Andrew Wilson <atwilson@chromium.org>
Unreviewed, rolling out r86625.
http://trac.webkit.org/changeset/86625
https://bugs.webkit.org/show_bug.cgi?id=60719
Caused failed assertion on Chromium gpu canary bots
- src/WebViewImpl.cpp:
- 4:50 PM Changeset in webkit [86639] by
-
- 2 edits in trunk/Source/WebKit
No need to compile .js files, that is what the JIT is for.
- WebKit.xcodeproj/project.pbxproj:
- 4:48 PM Changeset in webkit [86638] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, marking media/video-transformed.html as passing on all platforms.
- platform/chromium/test_expectations.txt:
- 4:43 PM Changeset in webkit [86637] by
-
- 1 edit1 copy1 move3 adds in trunk/LayoutTests
2011-05-16 Adam Barth <abarth@webkit.org>
Attempt to fix baselines for xss-DENIED-set-opener.html. This is too hard.
- platform/chromium-linux/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- platform/chromium-win-vista/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- 4:40 PM Changeset in webkit [86636] by
-
- 1 edit1 copy1 move2 adds in trunk/LayoutTests
2011-05-16 Adam Barth <abarth@webkit.org>
Attempt to fix baselines for set-href-attribute-hash.html. This is too hard.
- platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
- platform/chromium-win-vista/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
- 4:39 PM Changeset in webkit [86635] by
-
- 2 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=60927
fastCheckSelector() does not inline correctly in all cases
Reviewed by Dave Kilzer.
Use anonymous namespace instead of static qualifier to get internal linkage.
Use functions as template arguments instead of classes.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::SelectorChecker::fastCheckSelector):
- 4:36 PM Changeset in webkit [86634] by
-
- 3 edits1 delete in trunk/Source/WebKit2
2011-05-16 Martin Robinson <martin.james.robinson@gmail.com>
Try to fix the WinCairo build after r86612.
Move the LayerTreeContextGtk.cpp stub to LayerTreeContextCairo.cpp and add
it to the WinCairo build.
- GNUmakefile.am: Update the source list.
- Shared/cairo/LayerTreeContextCairo.cpp: Renamed from Source/WebKit2/Shared/gtk/LayerTreeContextGtk.cpp.
- win/WebKit2.vcproj: Update the source list.
- 4:36 PM Changeset in webkit [86633] by
-
- 3 edits in trunk/Source/WebCore
2011-05-16 Chris Rogers <crogers@google.com>
Unreviewed build fix.
Just return "nullptr" to fix compile errors
https://bugs.webkit.org/show_bug.cgi?id=60932
- platform/audio/mac/AudioBusMac.mm: (WebCore::AudioBus::loadPlatformResource):
- platform/audio/mac/AudioFileReaderMac.cpp: (WebCore::AudioFileReader::createBus):
- 4:33 PM Changeset in webkit [86632] by
-
- 10 edits in trunk/Source
2011-05-16 Emil A Eklund <eae@chromium.org>
Reviewed by Eric Seidel.
Replace docTop/Right/Bottom/Left/Width/Height with documentRect
https://bugs.webkit.org/show_bug.cgi?id=60743
Change RenderView::documentRect to compute rect once rather than four times.
Replace all uses of docTop/Right/Bottom/Left/Width/Height with documentRect to
simplify the code and reduce complexity.
Covered by existing tests.
- WebCore.exp.in:
- page/FrameView.cpp: (WebCore::FrameView::adjustViewSize): (WebCore::FrameView::forceLayoutForPagination):
- page/PrintContext.cpp: (WebCore::PrintContext::computePageRects):
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintRootBoxFillLayers):
- rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateRootLayerPosition):
- rendering/RenderView.cpp: (WebCore::RenderView::documentRect):
- rendering/RenderView.h:
2011-05-16 Emil A Eklund <eae@chromium.org>
Reviewed by Eric Seidel.
Replace docTop/Right/Bottom/Left/Width/Height with documentRect
https://bugs.webkit.org/show_bug.cgi?id=60743
Replace uses of docWidth/Height with documentRect.
- WebView/WebFrame.mm: (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]):
- 4:32 PM Changeset in webkit [86631] by
-
- 3 edits in trunk/Source/WebCore
2011-05-16 Tony Chang <tony@chromium.org>
Reviewed by Adam Barth.
[chromium] shard V8DerivedSources into 19 files
https://bugs.webkit.org/show_bug.cgi?id=60926
This reduces the clobber build time by 4s on my machine. It helps
by making the slowest to compile V8DerivedSources faster (and thus
more parallelizable). With 8 files, the 3 slowest are 23s, 18s and
10s. With 19 files, the 3 slowest are 16s, 10s, and 10s.
- WebCore.gyp/WebCore.gyp:
- storage/IDBObjectStore.h: Fix a missing include that was working because a different .cpp file before it was including the header.
- 4:13 PM Changeset in webkit [86630] by
-
- 3 edits in trunk/Source/WebCore
2011-05-16 Chris Rogers <crogers@google.com>
Unreviewed build fix.
Fix web audio enabled mac port compile errors
https://bugs.webkit.org/show_bug.cgi?id=60930
- platform/audio/mac/AudioBusMac.mm: (WebCore::AudioBus::loadPlatformResource):
- platform/audio/mac/AudioFileReaderMac.cpp: (WebCore::AudioFileReader::createBus):
- 4:12 PM Changeset in webkit [86629] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations changes to disable crashing tests.
https://bugs.webkit.org/show_bug.cgi?id=60931
- platform/chromium/test_expectations.txt:
- 4:10 PM Changeset in webkit [86628] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Document why RenderBlockLineLayout has its own deleteLineBoxTree implementation
https://bugs.webkit.org/show_bug.cgi?id=60925
I suspect this difference is really just papering over other bugs
but now that I finally understand the difference, I should at least
document it for others.
- rendering/RenderBlockLineLayout.cpp: (WebCore::deleteLineRange): (WebCore::RenderBlock::determineStartPosition):
- 4:02 PM Changeset in webkit [86627] by
-
- 2 edits in trunk/Source/WebKit/gtk
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] Scrolling in Twitter is broken after r86102
https://bugs.webkit.org/show_bug.cgi?id=60922
Fix adjustment handling for pages that trigger the slow scrolling path.
The slow scrolling path is triggered by WebCore when it determines that
doing a simple invalidation is quicker than doing a normal scroll. This
typically happens when there are large elements with fixed positions.
- WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::invalidateContentsForSlowScroll): Poke the adjustment watcher to update its adjustments when a page triggers the slow scrolling path.
- 4:02 PM Changeset in webkit [86626] by
-
- 2 edits3 adds in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, rebaselining media/video-aspect-ratio.html for chromium-gpu-{linux,mac,win}.
- platform/chromium-gpu-linux/media/video-aspect-ratio-expected.png: Added.
- platform/chromium-gpu-mac/media/video-aspect-ratio-expected.png: Added.
- platform/chromium-gpu-win/media/video-aspect-ratio-expected.png: Added.
- platform/chromium/test_expectations.txt:
- 3:58 PM Changeset in webkit [86625] by
-
- 14 edits2 copies4 adds in trunk/Source
2011-05-16 Alok Priyadarshi <alokp@chromium.org>
Reviewed by James Robinson.
[chromium] Split canvas from LayerTilerChromium
https://bugs.webkit.org/show_bug.cgi?id=60719
LayerTilerChromium now just does tiling. It delegates the task of painting and updating textures to LayerTextureUpdater.
Also abstracted LayerTextureSubImage to upload texture pixels.
- WebCore.gypi:
- platform/chromium/TraceEvent.h:
- platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::create): (WebCore::ContentLayerChromium::ContentLayerChromium): (WebCore::ContentLayerChromium::~ContentLayerChromium): (WebCore::ContentLayerChromium::paintContentsIfDirty): (WebCore::ContentLayerChromium::cleanupResources): (WebCore::ContentLayerChromium::setLayerRenderer): (WebCore::ContentLayerChromium::createTextureUpdater): (WebCore::ContentLayerChromium::drawsContent): (WebCore::ContentLayerChromium::createTilerIfNeeded): (WebCore::ContentLayerChromium::updateCompositorResources):
- platform/graphics/chromium/ContentLayerChromium.h:
- platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerTextureUpdater::ImageLayerTextureUpdater): (WebCore::ImageLayerTextureUpdater::~ImageLayerTextureUpdater): (WebCore::ImageLayerTextureUpdater::orientation): (WebCore::ImageLayerTextureUpdater::prepareToUpdate): (WebCore::ImageLayerTextureUpdater::updateTextureRect): (WebCore::ImageLayerTextureUpdater::imageRect): (WebCore::ImageLayerChromium::paintContentsIfDirty): (WebCore::ImageLayerChromium::updateCompositorResources): (WebCore::ImageLayerChromium::createTextureUpdater):
- platform/graphics/chromium/ImageLayerChromium.h:
- platform/graphics/chromium/LayerPainterChromium.h: Added.
- platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::create): (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::updateRootLayerContents): (WebCore::LayerRendererChromium::drawRootLayer): (WebCore::LayerRendererChromium::updateAndDrawLayers): (WebCore::LayerRendererChromium::updateLayers):
- platform/graphics/chromium/LayerRendererChromium.h:
- platform/graphics/chromium/LayerTextureSubImage.cpp: Added. (WebCore::LayerTextureSubImage::LayerTextureSubImage): (WebCore::LayerTextureSubImage::~LayerTextureSubImage): (WebCore::LayerTextureSubImage::setSubImageSize): (WebCore::LayerTextureSubImage::upload): (WebCore::LayerTextureSubImage::uploadWithTexSubImage): (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
- platform/graphics/chromium/LayerTextureSubImage.h: Added.
- platform/graphics/chromium/LayerTextureUpdater.h: Added. (WebCore::LayerTextureUpdater::LayerTextureUpdater): (WebCore::LayerTextureUpdater::~LayerTextureUpdater): (WebCore::LayerTextureUpdater::context):
- platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Added. (WebCore::LayerTextureUpdaterCanvas::LayerTextureUpdaterCanvas): (WebCore::LayerTextureUpdaterCanvas::paintContents): (WebCore::LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap): (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate): (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
- platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Added. (WebCore::LayerTextureUpdaterCanvas::~LayerTextureUpdaterCanvas): (WebCore::LayerTextureUpdaterCanvas::contentRect): (WebCore::LayerTextureUpdaterBitmap::~LayerTextureUpdaterBitmap): (WebCore::LayerTextureUpdaterBitmap::orientation):
- platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::create): (WebCore::LayerTilerChromium::LayerTilerChromium): (WebCore::LayerTilerChromium::setTileSize): (WebCore::LayerTilerChromium::prepareToUpdate): (WebCore::LayerTilerChromium::updateRect): (WebCore::LayerTilerChromium::draw):
- platform/graphics/chromium/LayerTilerChromium.h: (WebCore::LayerTilerChromium::Tile::Tile):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: (WebCore::CCHeadsUpDisplay::draw):
2011-05-16 Alok Priyadarshi <alokp@chromium.org>
Reviewed by James Robinson.
Split canvas from LayerTilerChromium
https://bugs.webkit.org/show_bug.cgi?id=60719
- src/WebViewImpl.cpp:
- 3:57 PM Changeset in webkit [86624] by
-
- 5 edits in trunk/Tools
2011-05-16 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
TestWebKitAPI should build with clang if it can
https://bugs.webkit.org/show_bug.cgi?id=60918
- TestWebKitAPI/Configurations/CompilerVersion.xcconfig: Update CompilerVersion.xcconfig to match others.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add CompilerVersion.xcconfig to the project.
- TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp: (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
- TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: (TestWebKitAPI::didSameDocumentNavigationForFrame): Add some casts to quiet warnings from clang.
- 3:56 PM Changeset in webkit [86623] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed prospective build fix/workaround for chromium ARM compiler error.
- platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::animationNameForTransition):
- 3:53 PM Changeset in webkit [86622] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Adam Barth <abarth@webkit.org>
Layout test file-URL-with-port-number.html fails on Mac and Linux
http://code.google.com/p/chromium/issues/detail?id=10342
The consensus is to not support this behavior unless there is a
compelling compatibility reason.
- platform/chromium/test_expectations.txt:
- 3:51 PM Changeset in webkit [86621] by
-
- 4 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, rebaselining media/video-zoom.html for chromium-gpu-{linux,mac}.
- platform/chromium-gpu-linux/media/video-zoom-expected.png:
- platform/chromium-gpu-mac/media/video-zoom-expected.png:
- platform/chromium/test_expectations.txt:
- 3:48 PM Changeset in webkit [86620] by
-
- 5 edits3 adds in trunk/Source
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Anders Carlsson.
[GTK] [WebKit2] Provide a fast version of the backing store for X11
https://bugs.webkit.org/show_bug.cgi?id=60912
No new tests. This will be covered by WebKit2 pixel tests.
- GNUmakefile.list.am: Added new GtkWidgetBackingStore source and header files.
- platform/gtk/GtkWidgetBackingStore.h: Added.
- platform/gtk/GtkWidgetBackingStoreCairo.cpp: Added this implementation of the backing store that uses Cairo and has the same performance characteristics as the WebKit2 implementaiton.
- platform/gtk/GtkWidgetBackingStoreX11.cpp: Added this implementation of the backing store that uses X11 directly and has better performance than the Cairo version.
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Anders Carlsson.
[GTK] [WebKit2] Provide a fast version of the backing store for X11
https://bugs.webkit.org/show_bug.cgi?id=60912
Instead of allocating the backing store surface directly in WebKit2,
instantiate the GtkWidgetBackingStore class which abstracts away the
platform-specific details of maintaining the backing store.
- UIProcess/BackingStore.h:
- UIProcess/gtk/BackingStoreGtk.cpp: (WebKit::BackingStore::paint): Call into GtkWidgetBackingStore to get the Cairo surface now. (WebKit::BackingStore::incorporateUpdate): Ditto. (WebKit::BackingStore::scroll): Call into GtkWidgetBackingStore to do the actual backing store scroll.
- 3:46 PM Changeset in webkit [86619] by
-
- 3 edits2 moves2 adds17 deletes in trunk/LayoutTests
2011-05-16 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Enrica Casucci.
editing/pasteboard/5075944-2.html and 5075944-3.html should be renamed and converted to dump-as-markup tests
https://bugs.webkit.org/show_bug.cgi?id=60923
Renamed pasteboard/5075944-2.html to pasteboard/preserve-underline-color.html and pasteboard/5075944-3.html to
deleting/deleting-line-break-preserves-underline-color.html. Also converted them to dump-as-markup tests.
- editing/deleting/deleting-line-break-preserves-underline-color-expected.txt: Added.
- editing/deleting/deleting-line-break-preserves-underline-color.html: Copied from LayoutTests/editing/pasteboard/5075944-3.html.
- editing/pasteboard/5075944-2.html: Removed.
- editing/pasteboard/5075944-3.html: Removed.
- editing/pasteboard/preserve-underline-color-expected.txt: Added.
- editing/pasteboard/preserve-underline-color.html: Copied from LayoutTests/editing/pasteboard/5075944-2.html.
- platform/chromium-linux/editing/pasteboard/5075944-2-expected.png: Removed.
- platform/chromium-linux/editing/pasteboard/5075944-3-expected.png: Removed.
- platform/chromium-win/editing/pasteboard/5075944-2-expected.png: Removed.
- platform/chromium-win/editing/pasteboard/5075944-2-expected.txt: Removed.
- platform/chromium-win/editing/pasteboard/5075944-3-expected.png: Removed.
- platform/chromium-win/editing/pasteboard/5075944-3-expected.txt: Removed.
- platform/gtk/editing/pasteboard/5075944-2-expected.png: Removed.
- platform/gtk/editing/pasteboard/5075944-2-expected.txt: Removed.
- platform/gtk/editing/pasteboard/5075944-3-expected.txt: Removed.
- platform/mac-leopard/editing/pasteboard/5075944-2-expected.png: Removed.
- platform/mac-leopard/editing/pasteboard/5075944-3-expected.png: Removed.
- platform/mac/editing/pasteboard/5075944-2-expected.png: Removed.
- platform/mac/editing/pasteboard/5075944-2-expected.txt: Removed.
- platform/mac/editing/pasteboard/5075944-3-expected.png: Removed.
- platform/mac/editing/pasteboard/5075944-3-expected.txt: Removed.
- platform/qt-arm/Skipped:
- platform/qt-mac/Skipped:
- platform/qt/editing/pasteboard/5075944-2-expected.txt: Removed.
- platform/qt/editing/pasteboard/5075944-3-expected.txt: Removed.
- 3:45 PM Changeset in webkit [86618] by
-
- 2 edits2 adds in trunk/LayoutTests
2011-05-16 Adam Barth <abarth@webkit.org>
Layout Test fast/dom/HTMLAnchorElement/set-href-attribute-hash.html is failing
http://code.google.com/p/chromium/issues/detail?id=72428
This test is passing, not failing.
- platform/chromium/fast/dom/HTMLAnchorElement: Added.
- platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 3:41 PM Changeset in webkit [86617] by
-
- 3 edits2 adds in trunk/LayoutTests
2011-05-16 Adam Barth <abarth@webkit.org>
cross-frame-access-call.html fails after WebKit r74449
http://code.google.com/p/chromium/issues/detail?id=67767
These tests aren't really failing. They just have different results
because of interactions with the popup blocker.
- platform/chromium/http/tests/security/aboutBlank: Added.
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt: Added.
- platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
- platform/chromium/test_expectations.txt:
- 3:39 PM Changeset in webkit [86616] by
-
- 2 edits in trunk/Tools
2011-05-16 Dirk Pranke <dpranke@chromium.org>
Reviewed by David Levin.
add dpranke as a reviewer
https://bugs.webkit.org/show_bug.cgi?id=60919
- Scripts/webkitpy/common/config/committers.py:
- 3:32 PM Changeset in webkit [86615] by
-
- 4 edits in trunk/Source/WebKit2
2011-05-16 Chris Marrin <cmarrin@apple.com>
Reviewed by Darin Adler.
Plug-in hit testing is broken after zooming
https://bugs.webkit.org/show_bug.cgi?id=60916
Construct a WebMouseEvent to send to plugin, adjusting values to take pageScaleFactor
into account. Also adjusted bounds sent to viewGeometryDidChange to take pageScaleFactor
into account. Both are needed or the plugin will think the mouse positions are outside
its bounds.
- Shared/WebEvent.h:
- Shared/WebMouseEvent.cpp:Add ctor to clone a WebMouseEvent and add a scaleFactor to values (WebKit::WebMouseEvent::WebMouseEvent):
- WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::handleEvent):Adjust mouse coords to take pageScaleFactor into account (WebKit::PluginView::viewGeometryDidChange):Adjust bounds to take pageScaleFactor into account
- 3:25 PM Changeset in webkit [86614] by
-
- 2 edits6 deletes in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, removing baselines for media/media-document-audio-repaint.html as they're incorrect.
- platform/chromium-linux/media/media-document-audio-repaint-expected.png: Removed.
- platform/chromium-mac-leopard/media/media-document-audio-repaint-expected.png: Removed.
- platform/chromium-mac/media/media-document-audio-repaint-expected.png: Removed.
- platform/chromium-mac/media/media-document-audio-repaint-expected.txt: Removed.
- platform/chromium-win/media/media-document-audio-repaint-expected.png: Removed.
- platform/chromium-win/media/media-document-audio-repaint-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 3:19 PM Changeset in webkit [86613] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Robert Hogan <robert@webkit.org>
Reviewed by Csaba Osztrogonác.
Add plugins/object-embed-plugin-scripting.html to qt-mac Skipped list
Note that nearly all plugin tests are currently skipped by qt-mac,
so something may be missng from the buildbot.
- platform/qt-mac/Skipped:
- 3:07 PM Changeset in webkit [86612] by
-
- 16 edits1 copy1 add in trunk/Source/WebKit2
2011-05-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Anders Carlsson.
GTK port of WebKit2 should switch to new DrawingAreaImpl model
https://bugs.webkit.org/show_bug.cgi?id=59655
- GNUmakefile.am: Add the files necessary to use the DrawingAreaProxyImpl to the source list. The source list also needs the LayerContextTree stubs.
- Shared/LayerTreeContext.h: This file should not be guarded by USE(ACCELERATED_COMPOSITING) as it's needed for the DrawingAreaProxyImpl IPC messaging.
- Shared/gtk/LayerTreeContextGtk.cpp: Added this stub.
- UIProcess/API/gtk/PageClientImpl.cpp: (WebKit::PageClientImpl::createDrawingAreaProxy): Instead of creating the deprecated chunked drawing area, create a DrawingAreaProxyImpl. (WebKit::PageClientImpl::setViewNeedsDisplay): Here we must now queue a redraw. Previously the chunked drawing area was doing this manually. This is the appropriate place though. (WebKit::PageClientImpl::scrollView): Add an implementation that just calls into setViewNeedsDisplay.
- UIProcess/API/gtk/PageClientImpl.h: Added a getter for m_viewWidget. (WebKit::PageClientImpl::viewWidget):
- UIProcess/API/gtk/WebKitWebViewBase.cpp: (callDrawingAreaPaintMethod): Added this helper which reduces code duplication between GTK+ 2.x and 3.x (webkitWebViewBaseExpose): Call the new helper now. (webkitWebViewBaseDraw): Ditto.
- UIProcess/BackingStore.h: Updated to include GTK+ specific types.
- UIProcess/DrawingAreaProxy.h: Ditto.
- UIProcess/DrawingAreaProxy.messages.in: Do not the DrawingAreaProxyImpl-specific message with USE(ACCELERATED_COMPOSITING).
- UIProcess/WebPageProxy.cpp: Removed these guards, as DrawingAreProxyImpl is used on all platforms now. (WebKit::WebPageProxy::didReceiveMessage): Ditto.
- UIProcess/WebPageProxy.h: Ditto.
- UIProcess/gtk/BackingStoreGtk.cpp: Added. This implementation heavily uses Cairo, but depends on GTK+/GDK in a few places. (WebKit::BackingStore::paint): (WebKit::BackingStore::incorporateUpdate): (WebKit::BackingStore::scroll):
- UIProcess/gtk/WebPageProxyGtk.cpp: Added a getting for the viewWidget, which is required by BackingStoreGtk. A similar getter exists for Windows and Mac. (WebKit::WebPageProxy::viewWidget): Ditto.
- WebProcess/WebPage/DrawingArea.cpp: Removed these guards as DrawingAreaProxyImpl is used on all platforms now. (WebKit::DrawingArea::create): Ditto.
- WebProcess/WebPage/DrawingArea.h: Ditto.
- WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): Do not guard this DrawingAreaProxyImpl-specific message with USE(ACCELERATED_COMPOSITING)
- WebProcess/WebPage/WebPage.cpp: Removed these guards as DrawingAreaProxyImpl is used on all platforms now. (WebKit::WebPage::didReceiveMessage): Ditto.
- 3:05 PM Changeset in webkit [86611] by
-
- 5 edits in trunk
2011-05-16 Robert Hogan <robert@webkit.org>
Reviewed by Anders Carlsson.
[Gtk] plugins/get-url-notify-with-url-that-fails-to-load.html crashes on buildbot
- platform/gtk/Skipped:
- platform/qt/Skipped:
2011-05-16 Robert Hogan <robert@webkit.org>
Reviewed by Anders Carlsson.
[Gtk] plugins/get-url-notify-with-url-that-fails-to-load.html crashes on buildbot
The unix test plugin needs to call the test's NPP_URLNotify
rather than the browsers.
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_url_notify):
- 2:46 PM WebKit Team edited by
- (diff)
- 2:44 PM Changeset in webkit [86610] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, correcting bug number for a test expectation.
- platform/chromium/test_expectations.txt:
- 2:42 PM Changeset in webkit [86609] by
-
- 2 edits in trunk/Tools
Adding myself as a reviewer.
- Scripts/webkitpy/common/config/committers.py:
Rubber-stamped by Adam Roben.
- 2:37 PM Changeset in webkit [86608] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam Weinig.
Sandbox denies Kerberos authentication
https://bugs.webkit.org/show_bug.cgi?id=60921
<rdar://problem/9133872>
- WebProcess/com.apple.WebProcess.sb:
- 2:34 PM Changeset in webkit [86607] by
-
- 8 edits9 adds in trunk/Source/WebCore
2011-05-16 Chris Rogers <crogers@google.com>
Reviewed by senorblanco@chromium.org.
Add DynamicsCompressorNode implementation
https://bugs.webkit.org/show_bug.cgi?id=60682
No new tests since audio API is not yet implemented.
- DerivedSources.make:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- platform/audio/DynamicsCompressor.cpp: Added. (WebCore::DynamicsCompressor::DynamicsCompressor): (WebCore::DynamicsCompressor::initializeParameters): (WebCore::DynamicsCompressor::parameterValue): (WebCore::DynamicsCompressor::setEmphasisStageParameters): (WebCore::DynamicsCompressor::setEmphasisParameters): (WebCore::DynamicsCompressor::process): (WebCore::DynamicsCompressor::reset):
- platform/audio/DynamicsCompressor.h: Added. (WebCore::DynamicsCompressor::isStereo): (WebCore::DynamicsCompressor::sampleRate): (WebCore::DynamicsCompressor::nyquist):
- platform/audio/DynamicsCompressorKernel.cpp: Added. (WebCore::saturate): (WebCore::DynamicsCompressorKernel::DynamicsCompressorKernel): (WebCore::DynamicsCompressorKernel::setPreDelayTime): (WebCore::DynamicsCompressorKernel::process): (WebCore::DynamicsCompressorKernel::reset):
- platform/audio/DynamicsCompressorKernel.h: Added. (WebCore::DynamicsCompressorKernel::latencyFrames): (WebCore::DynamicsCompressorKernel::sampleRate):
- platform/audio/ZeroPole.cpp: Added. (WebCore::ZeroPole::process):
- platform/audio/ZeroPole.h: Added. (WebCore::ZeroPole::ZeroPole): (WebCore::ZeroPole::reset): (WebCore::ZeroPole::setZero): (WebCore::ZeroPole::setPole): (WebCore::ZeroPole::zero): (WebCore::ZeroPole::pole):
- webaudio/AudioContext.cpp: (WebCore::AudioContext::createDynamicsCompressor):
- webaudio/AudioContext.h:
- webaudio/AudioContext.idl:
- webaudio/AudioNode.h:
- webaudio/DynamicsCompressorNode.cpp: Added. (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): (WebCore::DynamicsCompressorNode::~DynamicsCompressorNode): (WebCore::DynamicsCompressorNode::process): (WebCore::DynamicsCompressorNode::reset): (WebCore::DynamicsCompressorNode::initialize): (WebCore::DynamicsCompressorNode::uninitialize):
- webaudio/DynamicsCompressorNode.h: Added. (WebCore::DynamicsCompressorNode::create):
- webaudio/DynamicsCompressorNode.idl: Added.
- 2:26 PM Changeset in webkit [86606] by
-
- 1 edit1 copy in trunk/LayoutTests
Re-added platform-specific result after r86599.
- platform/mac-leopard/editing/text-iterator/findString-expected.txt: Copied from platform/mac-leopard/editing/text-iterator/findString-expected.txt.
- 2:17 PM Nice Bugzilla queries edited by
- Updated 5-year-old links to work with current Bugzilla. (diff)
- 2:17 PM Changeset in webkit [86605] by
-
- 3 edits1 move1 add11 deletes in trunk/LayoutTests
2011-05-16 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Enrica Casucci.
editing/deleting/5091898.html should be renamed and converted to a dump-as-markup test
https://bugs.webkit.org/show_bug.cgi?id=60920
Renamed 5091898.html to delete-line-break-before-underlined-content.html and converted it
to a dump-as-markup test.
- editing/deleting/5091898.html: Removed.
- editing/deleting/delete-line-break-before-underlined-content-expected.txt: Added.
- editing/deleting/delete-line-break-before-underlined-content.html: Copied from LayoutTests/editing/deleting/5091898.html.
- platform/chromium-linux/editing/deleting/5091898-expected.png: Removed.
- platform/chromium-win/editing/deleting/5091898-expected.png: Removed.
- platform/chromium-win/editing/deleting/5091898-expected.txt: Removed.
- platform/gtk/editing/deleting/5091898-expected.txt: Removed.
- platform/mac-leopard/editing/deleting/5091898-expected.png: Removed.
- platform/mac/editing/deleting/5091898-expected.png: Removed.
- platform/mac/editing/deleting/5091898-expected.txt: Removed.
- platform/mac/editing/style/5091898-expected.png: Removed.
- platform/mac/editing/style/5091898-expected.txt: Removed.
- platform/qt-arm/Skipped:
- platform/qt-mac/Skipped:
- platform/qt/editing/deleting/5091898-expected.png: Removed.
- platform/qt/editing/deleting/5091898-expected.txt: Removed.
- 1:45 PM Changeset in webkit [86604] by
-
- 57 edits1 delete in trunk/LayoutTests
2011-05-16 Tony Chang <tony@chromium.org>
Move chromium-linux-x86_64 results into chromium-linux. We're making
x86_64 the default configuration for chromium-linux because that's
what the devs build and use.
- 1:35 PM Changeset in webkit [86603] by
-
- 2 edits in trunk/Tools
Fix typo pointed out by Dave Levin.
- TestWebKitAPI/PlatformUtilities.h:
(TestWebKitAPI::Util::assertWKStringEqual):
Strig -> String.
- 1:28 PM Changeset in webkit [86602] by
-
- 30 edits in trunk/Tools
2011-05-16 Sam Weinig <sam@webkit.org>
Reviewed by David Levin.
Convert api tester over to using gtest expectations directly
https://bugs.webkit.org/show_bug.cgi?id=60862
- TestWebKitAPI/PlatformUtilities.cpp: (TestWebKitAPI::Util::toSTD):
- TestWebKitAPI/PlatformUtilities.h: (TestWebKitAPI::Util::assertWKStrigEqual): Add convenience macro to compare WK2 strings. Add some overloads of toSTD to make the implementation of the macro simpler.
- TestWebKitAPI/Test.h: Remove TEST_ASSERT forwarder.
[Test changes elided]
- 1:24 PM Changeset in webkit [86601] by
-
- 7 edits in trunk/Source
2011-05-16 Yuzo Fujishima <yuzo@google.com>
Reviewed by Antti Koivisto.
Fix for Bug 43704 - Web font is printed as blank if it is not cached
https://bugs.webkit.org/show_bug.cgi?id=43704
In setting printing, we should not validate resources already cached
for the document. If we do, web fonts used for screen are revalidated
and possiby reloaded. Then the fonts can be shown as blank on print.
This patch won't save the case where screen and print use different web
fonts. Nonetheless, this is an improvement.
No new tests because there seems to be no good way to test print images.
- editing/Editor.cpp: (WebCore::Editor::paste): Use ResourceCacheValidationSuppressor instead of explicitly allowing/disallowing stale resources.
- loader/cache/CachedResourceLoader.h: (WebCore::ResourceCacheValidationSuppressor::ResourceCacheValidationSuppressor): RAII class for allowing/disallowing stale resources. (WebCore::ResourceCacheValidationSuppressor::~ResourceCacheValidationSuppressor):
- page/DragController.cpp: (WebCore::DragController::concludeEditDrag): Use ResourceCacheValidationSuppressor instead of explicitly allowing/disallowing stale resources.
- page/Frame.cpp: (WebCore::Frame::setPrinting): Use ResourceCacheValidationSuppressor to allow stale resources in printing.
2011-05-16 Yuzo Fujishima <yuzo@google.com>
Reviewed by Antti Koivisto.
Fix for Bug 43704 - Web font is printed as blank if it is not cached
https://bugs.webkit.org/show_bug.cgi?id=43704
- WebView/WebHTMLView.mm: (-[WebHTMLView _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:paginateScreenContent:]): Use ResourceCacheValidationSuppressor to allow stale resources in printing.
- 1:18 PM Changeset in webkit [86600] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, de-duplicating media/video-zoom-controls.html expectations.
- platform/chromium/test_expectations.txt:
- 1:14 PM Changeset in webkit [86599] by
-
- 5 edits in trunk
<rdar://problem/9446653> REGRESSION (r84750): Moving by word stops at apostrophe mid-word
https://bugs.webkit.org/show_bug.cgi?id=60915
Reviewed by Darin Adler.
Source/WebCore:
CFStringTokenizer’s kCFStringTokenizerUnitWord considers “Here’s” as two separate tokens.
Switching to CFStringTokenizer in r84750 was an attempt to address an issue with Japanese word
boundaries for searches with WebFindOptionsAtWordStarts, but it turned out to be insufficient,
and in r86387 the Japanese word issue was addressed independently of text boundaries, so just
revert r84750.
- platform/text/mac/TextBoundaries.mm:
(WebCore::findNextWordFromIndex):
LayoutTests:
- editing/text-iterator/findString-expected.txt:
- editing/text-iterator/findString.html:
- 12:59 PM Changeset in webkit [86598] by
-
- 16 edits in trunk
<http://webkit.org/b/60913> C++ exceptions should not be enabled when building with llvm-gcc-4.2
<rdar://problem/9446430>
Reviewed by Mark Rowe.
Source/JavaScriptCore:
- Configurations/Base.xcconfig: Fixed typo.
Source/JavaScriptGlue:
- Configurations/Base.xcconfig: Fixed typo.
Source/ThirdParty/ANGLE:
- Configurations/Base.xcconfig: Fixed typo.
Source/WebCore:
- Configurations/Base.xcconfig: Fixed typo.
Source/WebKit/mac:
- Configurations/Base.xcconfig: Fixed typo.
Source/WebKit2:
- Configurations/Base.xcconfig: Fixed typo.
Tools:
- MiniBrowser/Configurations/Base.xcconfig: Fixed typo.
- TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
- WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
- 12:25 PM Changeset in webkit [86597] by
-
- 2 edits in trunk/Source/WebCore
Fix for broken regression tests. Adding null pointer check
- page/FrameView.cpp:
(WebCore::FrameView::didAddHorizontalScrollbar):
(WebCore::FrameView::willRemoveHorizontalScrollbar):
- 12:04 PM Changeset in webkit [86596] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Adrienne Walker <enne@google.com>
Reviewed by James Robinson.
[chromium] Remove unused member variables from LayerRendererChromium
https://bugs.webkit.org/show_bug.cgi?id=60899
These should have been removed when tiling was enabled for root
layers.
- platform/graphics/chromium/LayerRendererChromium.h:
- 11:58 AM Changeset in webkit [86595] by
-
- 19 edits in trunk
2011-05-16 Andrew Wilson <atwilson@chromium.org>
Unreviewed, rolling out r86589.
http://trac.webkit.org/changeset/86589
https://bugs.webkit.org/show_bug.cgi?id=54670
Broke chromium inspector tests.
- http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.evaluateInConsole):
- inspector/console/console-assert.html:
- inspector/console/console-trace-in-eval.html:
- inspector/console/console-trace.html:
- inspector/console/console-uncaught-exception.html:
- inspector/debugger/debugger-autocontinue-on-syntax-error.html:
- inspector/styles/styles-iframe.html:
- inspector/timeline/timeline-network-resource.html:
- inspector/timeline/timeline-script-tag-1.html:
- inspector/timeline/timeline-script-tag-2.html:
2011-05-16 Andrew Wilson <atwilson@chromium.org>
Unreviewed, rolling out r86589.
http://trac.webkit.org/changeset/86589
https://bugs.webkit.org/show_bug.cgi?id=54670
Broke chromium inspector tests.
- inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.show): (WebInspector.ConsoleView.prototype.afterShow): (WebInspector.ConsoleView.prototype.hide): (WebInspector.ConsoleView.prototype.addMessage): (WebInspector.ConsoleView.prototype.clearMessages):
- inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel):
- inspector/front-end/Drawer.js: (WebInspector.Drawer.prototype.set visibleView): (WebInspector.Drawer.prototype.show.animationFinished): (WebInspector.Drawer.prototype.show):
- inspector/front-end/Panel.js: (WebInspector.Panel):
- inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel):
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js: (WebInspector._createPanels):
- 11:54 AM Changeset in webkit [86594] by
-
- 3 edits in trunk/Source/JavaScriptCore
2011-05-16 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
JSWeakObjectMap finalisation may occur while gc is in inconsistent state
https://bugs.webkit.org/show_bug.cgi?id=60908
<rdar://problem/9409491>
We need to ensure that we have called all the weak map finalizers while
the global object (and hence global context) is still in a consistent
state. The best way to achieve this is to simply use a weak handle and
finalizer on the global object.
- JavaScriptCore.exp:
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::WeakMapFinalizer::finalize):
- runtime/JSGlobalObject.h: (JSC::JSGlobalObject::registerWeakMap):
- 11:08 AM Changeset in webkit [86593] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
Fix a revision number in the ChangeLog
- 11:07 AM Changeset in webkit [86592] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION (r86555): Dropping URL onto Desktop creates broken Internet Shortcut file.
Reviewed by Enrica Casucci.
r86477 fixed this bug by using latin1 as the CString's encoding instead of ascii, but r86555
undid this change.
Change it back to latin1 to fix the bug.
- platform/win/ClipboardWin.cpp:
(WebCore::ClipboardWin::writeURL):
- 11:03 AM Changeset in webkit [86591] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed; build fix for non-SnowLeopard builds.
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm: Wrap definition
of layerIsDescendentOf in a #if check.
- 10:55 AM Changeset in webkit [86590] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Dan Bernstein.
If the root compositing layer changes while we're about to exit compositing mode, make sure to enter compositing mode
https://bugs.webkit.org/show_bug.cgi?id=60905
<rdar://problem/9365574>
- WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::setRootCompositingLayer): If we have a layer tree host, but haven't yet sent a EnterAcceleratedCompositingMode message (this can happen when quickly going in and out of compositing mode), make sure to schedule a notification when the layer tree host does it next flush. This will end up sending the EnterAcceleratedCompositingMode message.
- 10:54 AM Changeset in webkit [86589] by
-
- 19 edits in trunk
2011-05-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: merge ConsoleView into ConsolePanel.
https://bugs.webkit.org/show_bug.cgi?id=54670
- http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.evaluateInConsole): (initialize_InspectorTest.InspectorTest.waitUntilConsoleMessageAdded):
- inspector/console/console-assert.html:
- inspector/console/console-trace-in-eval.html:
- inspector/console/console-trace.html:
- inspector/console/console-uncaught-exception.html:
- inspector/debugger/debugger-autocontinue-on-syntax-error.html:
- inspector/styles/styles-iframe.html:
- inspector/timeline/timeline-network-resource.html:
- inspector/timeline/timeline-script-tag-1.html:
- inspector/timeline/timeline-script-tag-2.html:
2011-05-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: merge ConsoleView into ConsolePanel.
https://bugs.webkit.org/show_bug.cgi?id=54670
Console view in drawer looks exactly the same as console panel. Merging ConsoleView and ConsolePanel together
will allow us to reuse panel's functionality (e.g. resizable sidebar) even when console is docked.
- inspector/front-end/ConsoleView.js: (WebInspector.ConsolePanel.prototype.get toolbarItemLabel): (WebInspector.ConsolePanel.prototype.show): (WebInspector.ConsolePanel.prototype.hide): (WebInspector.ConsolePanel.prototype.showInDrawer): (WebInspector.ConsolePanel.prototype.afterShowInDrawer): (WebInspector.ConsolePanel.prototype.hideInDrawer): (WebInspector.ConsolePanel.prototype.addMessage): (WebInspector.ConsolePanel.prototype.clearMessages):
- inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel):
- inspector/front-end/Drawer.js: (WebInspector.Drawer.prototype.set visibleView): (WebInspector.Drawer.prototype.show.animationFinished): (WebInspector.Drawer.prototype.show):
- inspector/front-end/Panel.js: (WebInspector.Panel):
- inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel):
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js: (WebInspector._createPanels):
- 10:50 AM Changeset in webkit [86588] by
-
- 7 edits in trunk/Source
2011-05-13 Jer Noble <jer.noble@apple.com>
Reviewed by Simon Fraser.
Video is blank, controller is misplaced on trailers.apple.com movie in fullscreen (with two screens)
https://bugs.webkit.org/show_bug.cgi?id=60826
Listen for a WebKitLayerHostChanged notification and, if the affected layer is an
ancestor layer of the qtMovieLayer, tear down the layer and recreate it the
next time setVisible(true) is called.
- dom/Document.cpp: (WebCore::Document::webkitDidEnterFullScreenForElement): Call setFullScreenRootLayer(0)
before disabling animation on the full screen renderer.
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::createQTMovie): Register an observer for the new
WebKitLayerHostChanged notification.
(WebCore::layerIsDescendentOf): Added.
(WebCore::MediaPlayerPrivateQTKit::layerHostChanged): Added. If the changed
layer is an ancestor of the movie layer, tear down rendering and re-
create the next time setVisible(true) is called.
(-[WebCoreMovieObserver layerHostChanged:]): Added ObjC listener wrapper.
2011-05-13 Jer Noble <jer.noble@apple.com>
Reviewed by Simon Fraser.
Video is blank, controller is misplaced on trailers.apple.com movie in fullscreen (with two screens)
https://bugs.webkit.org/show_bug.cgi?id=60826
Emit a notification when moving a CALayer from the WebProcess's main
layer host to a new context. This allows listeners to invalidate their
layers which may not support moving between different CAContexts (as is
the case with QTMovieLayer). In order to allow listeners to determine if they
are affected, the notification will pass the root CALayer in a userInfo
dictionary.
In WebFullScreenManagerMac, move from storing a pointer to a non-refcounted
class (GraphicsLayer) to a retainable class (PlatformLayer).
- WebProcess/FullScreen/mac/WebFullScreenManagerMac.h:
- WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: (WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac): No need to initialize
m_fullScreenRootLayer now that it is a RetainPtr<>.
(WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Emit a notification
after either creating or destroying the full screen layer host.
(WebKit::WebFullScreenManagerMac::beginEnterFullScreenAnimation):
(WebKit::WebFullScreenManagerMac::beginExitFullScreenAnimation):
- 10:48 AM Changeset in webkit [86587] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Balazs Kelemen <kbalazs@webkit.org>
Reviewed by Adam Roben.
[WK2] Remove some passing tests from the mac-wk2 skipped list
https://bugs.webkit.org/show_bug.cgi?id=60889
- platform/mac-wk2/Skipped:
- 10:32 AM Changeset in webkit [86586] by
-
- 4 edits2 deletes in trunk
2011-05-16 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Remove disable-javascript-urls CSP directive
https://bugs.webkit.org/show_bug.cgi?id=60874
No need to test a feature that doesn't exist.
- http/tests/security/contentSecurityPolicy/javascript-urls-blocked-expected.txt: Removed.
- http/tests/security/contentSecurityPolicy/javascript-urls-blocked.html: Removed.
2011-05-16 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Remove disable-javascript-urls CSP directive
https://bugs.webkit.org/show_bug.cgi?id=60874
After talking this out with various folks in the CSP working group, we
decided that this syntax isn't the right way to approach this issue.
If we want to address the use case of enabling JavaScript URLs
separately from inline script, we'll probably just make
script-src javascript:
work that way.
- page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::ContentSecurityPolicy): (WebCore::ContentSecurityPolicy::allowJavaScriptURLs): (WebCore::ContentSecurityPolicy::addDirective):
- page/ContentSecurityPolicy.h:
- 10:27 AM Changeset in webkit [86585] by
-
- 5 edits in trunk/Source/WebKit2
[Qt][Wk2][Symbian] Fix build after r86560
https://bugs.webkit.org/show_bug.cgi?id=60887
Patch by Siddharth Mathur <siddharth.mathur@nokia.com> on 2011-05-16
Rubber-stamped by Csaba Osztrogonác.
Temporarily fix Symbian build by re-enabling compilation
of Qt/Gtk common code (as was the case for Symbian before r55875).
This is a stop gap until the pure Symbian Core IPC and process launching bits land in Bug 55875
As of this revision, only the native SharedMemory implementation is in trunk.
- Platform/CoreIPC/Attachment.h: Compile Qt/Gtk common code for Qt-Symbian too
- Platform/CoreIPC/Connection.h: ditto
- Platform/SharedMemory.h: ditto
- Platform/qt/SharedMemorySymbian.cpp: stub implementations of attachment handling
(WebKit::SharedMemory::Handle::releaseToAttachment):
(WebKit::SharedMemory::Handle::adoptFromAttachment):
- 10:25 AM Changeset in webkit [86584] by
-
- 47 edits in trunk
Source/WebCore: Reviewed by Simon Fraser.
Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
- dom/Document.cpp: (WebCore::Document::Document): Initialize wheel event handler count (WebCore::Document::didAddWheelEventHandler): Increment count, and tell the main frame to recalculate the total number of wheel event handlers in all of its frames' documents (WebCore::Document::didRemoveWheelEventHandler): Reverse of previous method
- dom/Document.h: (WebCore::Document::wheelEventHandlerCount): Access the count
- dom/Node.cpp: (WebCore::tryAddEventListener): If the event listener is a mouse wheel event, then tell the document to increment its count (WebCore::tryRemoveEventListener): Reverse of previous method
- page/ChromeClient.h: Two new methods:
numWheelEventHandlersChanged: WebProcess tells UIProcess to update its cached
count of total wheel event handlers, which in this case only include horizontal
scrollbars and mouse wheel JS handlers
shouldRubberBandInDirection: allow the UIProcess to provide some control over
whether rubber banding is allowed when scrolling in a particular direction
- loader/EmptyClients.h: (WebCore::EmptyChromeClient::numWheelEventHandlersChanged): Default empty impl (WebCore::EmptyChromeClient::shouldRubberBandInDirection): Default empty impl
- page/EventHandler.cpp: (WebCore::EventHandler::handleWheelEvent): Remove a redundant pointer check
- page/Frame.cpp: (WebCore::Frame::setDocument): When the frame's document changes, calculate that document's total wheel event handlers, and notify the UIProcess (WebCore::Frame::notifyChromeClientWheelEventHandlerCountChanged): Performs a crawl of the frame tree to aggregate the count
- page/Frame.h:
- platform/ScrollableArea.h: Virtualize didAddHorizontalScrollbar and willRemoveHorizontalScrollbar for overriding in RenderLayer and FrameView (WebCore::ScrollableArea::isHorizontalScrollerPinnedToMinimumPosition): Returns true if there is no scrollbar or the scroller position is in the minimum scroll position. (WebCore::ScrollableArea::isHorizontalScrollerPinnedToMaximumPosition): Converse of the above. (WebCore::ScrollableArea::shouldRubberBandInDirection): Default impl
- page/FrameView.cpp: (WebCore::FrameView::didAddHorizontalScrollbar): Updates the frame's document's count (WebCore::FrameView::willRemoveHorizontalScrollbar): Updates the frame's document's count (WebCore::FrameView::shouldRubberBandInDirection): Connective glue
- page/FrameView.h: Adding overriding methods from ScrollableArea
- rendering/RenderLayer.cpp: Similar functionality to FrameView (WebCore::RenderLayer::didAddHorizontalScrollbar): (WebCore::RenderLayer::willRemoveHorizontalScrollbar):
- rendering/RenderLayer.h:
- platform/mac/ScrollAnimatorMac.h: Fix typo of "momentum"
- platform/mac/ScrollAnimatorMac.mm: (WebCore::ScrollAnimatorMac::ScrollAnimatorMac): Fix typo of "momentum" (WebCore::ScrollAnimatorMac::smoothScrollWithEvent): Fix typo of "coalesced" (WebCore::ScrollAnimatorMac::beginScrollGesture): Fix typo of "coalesced" (WebCore::ScrollAnimatorMac::snapRubberBand): Fix typo of "momentum"
(WebCore::ScrollAnimatorMac::handleWheelEvent): New logic for determining whether
to allow rubber-banding based on the area's scroll position and the wheel event.
Could prevent accepting the wheel event. Also, fix typo of "momentum"
(WebCore::isScrollingLeftAndShouldNotRubberBand): Inline helper function for logic
(WebCore::isScrollingRightAndShouldNotRubberBand): Inline helper function for logic
Source/WebKit/chromium: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/efl: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/ChromeClientEfl.h:
(WebCore::ChromeClientEfl::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebCore::ChromeClientEfl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/gtk: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/ChromeClientGtk.h:
(WebKit::ChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebKit::ChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/haiku: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/ChromeClientHaiku.h:
(WebCore::ChromeClientHaiku::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebCore::ChromeClientHaiku::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/mac: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
(WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
Source/WebKit/qt: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/ChromeClientQt.h:
(WebCore::ChromeClientQt::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebCore::ChromeClientQt::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/win: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/wince: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebCoreSupport/ChromeClientWinCE.h:
(WebKit::ChromeClientWinCE::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebKit::ChromeClientWinCE::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit/wx: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebCore::ChromeClientWx::numWheelEventHandlersChanged): Default impl of new ChromeClient method
Source/WebKit2: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
We keep track of the number of horizontal scrollbars and mouse wheel event handlers in the
UI process as a means of determining whether horizontal scroll events will be handled
by the web process.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::willHandleHorizontalScrollEvents): Return true if there is at least
one wheel event handler
- UIProcess/WebPageProxy.h: Add new variable to cache the count
(WebKit::WebPageProxy::numWheelEventHandlersChanged): Sets the count
The rest just provides all the connections.
- UIProcess/API/C/WKPage.cpp:
(WKPageWillHandleHorizontalScrollEvents):
- UIProcess/API/C/WKPage.h:
- UIProcess/WebPageProxy.messages.in:
- WebProcess/InjectedBundle/API/c/WKBundlePage.h:
- WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
(WebKit::InjectedBundlePageUIClient::shouldRubberBandInDirection):
- WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::shouldRubberBandInDirection): Forward to injected bundle UI client
(WebKit::WebChromeClient::updateCountWheelEventHandlers): Updates the web page proxy
- WebProcess/WebCoreSupport/WebChromeClient.h:
Tools: Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
Reviewed by Simon Fraser.
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage): Set new default method to nil.
- 10:16 AM Changeset in webkit [86583] by
-
- 15 edits1 copy in trunk
2011-05-16 Leandro Gracia Gil <leandrogracia@chromium.org>
Reviewed by Tony Gentilcore.
Media Stream API: add local stream requests.
https://bugs.webkit.org/show_bug.cgi?id=60177
Re-enable the argument-types test as the navigator.getUserMedia options
are now being parsed and raise the appropriate exceptions.
- platform/chromium/test_expectations.txt:
2011-05-16 Leandro Gracia Gil <leandrogracia@chromium.org>
Reviewed by Tony Gentilcore.
Media Stream API: add local stream requests.
https://bugs.webkit.org/show_bug.cgi?id=60177
Add the code and messages for requesting the generation of local streams and getting the reply back.
Tests for the Media Stream API will be provided by the bug 56587.
One test is re-enabled with this patch.
Test: fast/dom/MediaStream/argument-types.html
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- page/CallbackTask.h: Added. (WebCore::CallbackTask1::create): (WebCore::CallbackTask1::performTask): (WebCore::CallbackTask1::Scheduler::scheduleCallback): (WebCore::CallbackTask1::CallbackTask1):
- page/MediaStreamClient.h:
- page/MediaStreamController.cpp: (WebCore::MediaStreamController::isClientAvailable): (WebCore::MediaStreamController::unregisterFrameController): (WebCore::MediaStreamController::registerRequest): (WebCore::MediaStreamController::registerStream): (WebCore::MediaStreamController::generateStream): (WebCore::MediaStreamController::streamGenerated): (WebCore::MediaStreamController::streamGenerationFailed):
- page/MediaStreamController.h:
- page/MediaStreamFrameController.cpp: (WebCore::MediaStreamFrameController::GenerateStreamRequest::GenerateStreamRequest): (WebCore::MediaStreamFrameController::GenerateStreamRequest::~GenerateStreamRequest): (WebCore::MediaStreamFrameController::GenerateStreamRequest::isGenerateStreamRequest): (WebCore::MediaStreamFrameController::GenerateStreamRequest::abort): (WebCore::MediaStreamFrameController::GenerateStreamRequest::successCallback): (WebCore::MediaStreamFrameController::GenerateStreamRequest::errorCallback): (WebCore::::unregisterAll): (WebCore::::detachEmbedder): (WebCore::MediaStreamFrameController::MediaStreamFrameController): (WebCore::MediaStreamFrameController::pageController): (WebCore::MediaStreamFrameController::unregister): (WebCore::MediaStreamFrameController::enterDetachedState): (WebCore::MediaStreamFrameController::isClientAvailable): (WebCore::MediaStreamFrameController::disconnectFrame): (WebCore::MediaStreamFrameController::parseGenerateStreamOptions): (WebCore::MediaStreamFrameController::generateStream): (WebCore::MediaStreamFrameController::streamGenerated): (WebCore::MediaStreamFrameController::streamGenerationFailed):
- page/MediaStreamFrameController.h: (WebCore::MediaStreamFrameController::ClientBase::ClientBase): (WebCore::MediaStreamFrameController::ClientBase::~ClientBase): (WebCore::MediaStreamFrameController::ClientBase::mediaStreamFrameController): (WebCore::MediaStreamFrameController::ClientBase::clientId): (WebCore::MediaStreamFrameController::ClientBase::isStream): (WebCore::MediaStreamFrameController::ClientBase::isGeneratedStream): (WebCore::MediaStreamFrameController::ClientBase::detachEmbedder): (WebCore::MediaStreamFrameController::ClientBase::associateFrameController): (WebCore::MediaStreamFrameController::ClientBase::unregisterClient): (WebCore::MediaStreamFrameController::StreamClient::StreamClient): (WebCore::MediaStreamFrameController::StreamClient::~StreamClient): (WebCore::MediaStreamFrameController::StreamClient::isStream): (WebCore::MediaStreamFrameController::StreamClient::unregister): (WebCore::MediaStreamFrameController::IdGenerator::IdGenerator): (WebCore::MediaStreamFrameController::IdGenerator::getNextId): (WebCore::MediaStreamFrameController::ClientMapBase::ClientMapBase):
- page/Navigator.cpp: (WebCore::Navigator::webkitGetUserMedia):
- page/NavigatorUserMediaErrorCallback.h:
- 10:09 AM Changeset in webkit [86582] by
-
- 2 edits in trunk/Source/WebKit/qt
2011-05-16 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
https://bugs.webkit.org/show_bug.cgi?id=60892
Don't set the ItemClipsChildrenToShape flag for the root platform layer,
since that is now the overflow controls layer. The clip layer, which was
previously the root platform layer, already gets the flag by way of
the GraphicsLayer mask-to-bounds flag.
- WebCoreSupport/PageClientQt.cpp: (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 9:58 AM Changeset in webkit [86581] by
-
- 4 edits in trunk/Source/WebCore
2011-05-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: debuggerWasEnabled notification should not be send to front-end on navigation.
https://bugs.webkit.org/show_bug.cgi?id=60888
- inspector/InspectorController.cpp: (WebCore::InspectorController::disableDebugger):
- inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::enable): (WebCore::InspectorDebuggerAgent::disable): (WebCore::InspectorDebuggerAgent::restore): (WebCore::InspectorDebuggerAgent::clearFrontend):
- inspector/InspectorDebuggerAgent.h:
- 9:54 AM Changeset in webkit [86580] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Oliver Hunt.
Silverlight: Selection via keyboard selects the entire plugin instead of the contents of a TextBox
https://bugs.webkit.org/show_bug.cgi?id=60898
<rdar://problem/9309903>
Special-case Command-A and always return true, indicating that the plug-in handled the event.
This matches WebKit1.
- WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::NetscapePlugin::platformHandleKeyboardEvent):
- 9:52 AM Changeset in webkit [86579] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-16 Mark Pilgrim <pilgrim@chromium.org>
Reviewed by Tony Chang.
Port Mozilla's IndexedDB tests: cursors
https://bugs.webkit.org/show_bug.cgi?id=60804
This test creates an object store with a few records and exercises
a variety of cursors going forward, backward, and over key ranges.
It also updates records from the cursor and checks that the update
stuck.
- storage/indexeddb/mozilla/cursors-expected.txt: Added.
- storage/indexeddb/mozilla/cursors.html: Added.
- 9:34 AM Changeset in webkit [86578] by
-
- 5 edits in trunk/Source/WebKit2
2011-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Oliver Hunt.
Short-circuit NPRuntime calls made by Flash during plug-in instantiation
https://bugs.webkit.org/show_bug.cgi?id=60894
<rdar://problem/8804681>
During plug-in instantiation, Flash makes a couple of NPRuntime calls to get the
URL of the current document as well as the URL of the toplevel document. This leads to
a bunch of IPC traffic that slows down instantiation.
Since we know what calls Flash is making and what results are expected, we can handle the
NPRuntime calls directly in the plug-in process and avoid extra IPC overhead.
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::PluginControllerProxy): Initialize m_pluginCreationParameters.
(WebKit::PluginControllerProxy::initialize):
Set m_pluginCreationParameters to point to the creation parameters right before
calling Plugin::initialize and restore it back afterwards.
(WebKit::PluginControllerProxy::tryToShortCircuitInvoke):
If the plug-in calling NPN_Invoke has the CanShortCircuitSomeNPRuntimeCallsDuringInitialization
quirk, and we're being initialized, check for the flash_getWindowLocation and
flash_getTopLocation function calls and return the correct values.
(WebKit::PluginControllerProxy::tryToShortCircuitEvaluate):
Check if the script string has the definitions of flash_getWindowLocation or flash_getTopLocation
and just ignore them. Note that ignoring them has the effect of not adding them to the window object,
which could in theory be a backwards compatibility problem if web pages were to assume that these
functions existed on a page with plug-ins. In practice this is probably not a problem, especially since
these functions are only used on Mac WebKit.
- PluginProcess/PluginControllerProxy.h: (WebKit::PluginControllerProxy::inInitialize): Add helper function.
- Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: (WebKit::NetscapePluginModule::determineQuirks): Add the CanShortCircuitSomeNPRuntimeCallsDuringInitialization quirk for Flash on Mac.
- Shared/Plugins/PluginQuirks.h: Add Mac specific CanShortCircuitSomeNPRuntimeCallsDuringInitialization quirk.
- 9:06 AM Changeset in webkit [86577] by
-
- 9 edits in trunk/Source/WebKit2
2011-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Add a returnValue parameter to tryToShortCircuitInvoke
https://bugs.webkit.org/show_bug.cgi?id=60891
tryToShortCircuitInvoke needs to be able to indicate that an invoke
call failed. Add a returnValue parameter and have the real return value
indicate whether tryToShortCircuitInvoke did short-circuit the invoke or not.
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::tryToShortCircuitInvoke):
- PluginProcess/PluginControllerProxy.h:
- WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_Invoke):
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::tryToShortCircuitInvoke):
- WebProcess/Plugins/Netscape/NetscapePlugin.h:
- WebProcess/Plugins/PluginController.h:
- WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::tryToShortCircuitInvoke):
- WebProcess/Plugins/PluginView.h:
- 9:05 AM Changeset in webkit [86576] by
-
- 3 edits in trunk/Source/WebKit/efl
2011-05-16 Grzegorz Czajkowski <g.czajkowski@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Remove EAPI macro from functions definition
https://bugs.webkit.org/show_bug.cgi?id=60754
This macro should be used in header files only.
It's not necessary to have it in definitions.
- ewk/ewk_cookies.cpp: (ewk_cookies_file_set): (ewk_cookies_clear): (ewk_cookies_get_all): (ewk_cookies_cookie_del): (ewk_cookies_cookie_free): (ewk_cookies_policy_set): (ewk_cookies_policy_get):
- ewk/ewk_window_features.cpp: (ewk_window_features_unref): (ewk_window_features_ref): (ewk_window_features_bool_property_get): (ewk_window_features_int_property_get):
- 8:58 AM Changeset in webkit [86575] by
-
- 1 edit1 delete in trunk/LayoutTests
Remove the failing mac-wk2 expected results for online-fallback-layering.html, since it now
appears to be passing on the SL WK2 bots:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(WebKit2%20Tests)/r86545%20(11698)/http/tests/appcache/online-fallback-layering-pretty-diff.html
- platform/mac-wk2/http/tests/appcache/online-fallback-layering-expected.txt: Removed.
- 8:23 AM Changeset in webkit [86574] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][Wk2][Symbian] Fix build after r86560
https://bugs.webkit.org/show_bug.cgi?id=60887
Patch by Siddharth Mathur <siddharth.mathur@nokia.com> on 2011-05-16
Reviewed by Csaba Osztrogonác.
- Platform/CoreIPC/ArgumentDecoder.cpp:
(CoreIPC::ArgumentDecoder::~ArgumentDecoder): guard Unix and Gtk code with USE(UNIX_DOMAIN_SOCKETS)
- Platform/CoreIPC/ArgumentEncoder.cpp:
(CoreIPC::ArgumentEncoder::~ArgumentEncoder): ditto
- 8:11 AM Changeset in webkit [86573] by
-
- 9 edits in trunk/Source/WebKit2
2011-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Add the ability for a plug-in controller to short-circuit calls to NPN_Invoke
https://bugs.webkit.org/show_bug.cgi?id=60886
Make it possible for a plug-in controller to intercept calls to NPN_Invoke, which
will be useful for avoiding sync IPC messages during instantiation.
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::evaluate): Call tryToShortCircuitEvaluate. If it returns true, we don't need to call back to the web process to ask it to evaluate the script string.
(WebKit::PluginControllerProxy::tryToShortCircuitInvoke):
(WebKit::PluginControllerProxy::tryToShortCircuitEvaluate):
Always return false for now.
- WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_Invoke): Get the plug-in and call tryToShortCircuitInvoke.
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::tryToShortCircuitInvoke): Call the plug-in controller.
- WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::tryToShortCircuitInvoke): Always return false here, since there's no need to short-circuit calls for plug-ins that live in the web process.
- 7:49 AM Changeset in webkit [86572] by
-
- 2 edits in trunk/Tools
2011-05-16 Ademar de Souza Reis Jr. <Ademar Reis>
Reviewed by Csaba Osztrogonác.
[Qt] Tools.pro misses include(common.pri)
https://bugs.webkit.org/show_bug.cgi?id=60883
It includes features.pri, which depends on common.pri (the build is
not broken today with the default options, but this is the right
thing to do).
- Tools.pro:
- 7:41 AM Changeset in webkit [86571] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, skip failing tests.
- platform/mac-wk2/Skipped: Add fast/forms/focus-with-display-block.html because of missing eventSender.keyDown implementation
- platform/qt-wk2/Skipped: Add fast/js/array-sort-modifying-tostring.html to make WK2 bot green to be able to catch new regressions
- 7:38 AM Changeset in webkit [86570] by
-
- 3 edits in trunk/LayoutTests
2011-05-16 Pavel Feldman <pfeldman@google.com>
Not reviewed: fix inspector dom action test flake.
- inspector/elements/edit-dom-actions.html:
- 7:26 AM Changeset in webkit [86569] by
-
- 2 edits in trunk/LayoutTests
Skip another new test that relies on parts of EventSender that WTR doesn't support
- platform/mac-wk2/Skipped: Added fast/forms/focus-with-display-block.html.
- 7:23 AM Changeset in webkit [86568] by
-
- 2 edits in trunk/LayoutTests
Skip a new test that relies on parts of EventSender that WTR doesn't support
- platform/mac-wk2/Skipped: Addd
platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html.
- 7:23 AM Changeset in webkit [86567] by
-
- 2 edits in trunk/LayoutTests
Update results for a new Mac dragging test
This test has been failing since it was added in r86472. I don't know whether the old
results are wrong or the test is actually showing a bug. <http://webkit.org/b/60882> tracks
the failure.
- platform/mac/editing/pasteboard/drag-selections-to-contenteditable-expected.txt:
- 6:44 AM Changeset in webkit [86566] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Windows build fix.
- inspector/InspectorConsoleInstrumentation.h: (WebCore::InspectorInstrumentation::consoleMarkTimeline):
- 6:36 AM Changeset in webkit [86565] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Build fix.
- inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::willStartWorkerContext):
- 6:27 AM Changeset in webkit [86564] by
-
- 10 edits in trunk/Source/WebCore
2011-05-11 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: use InstrumentingAgents to access agents from InspectorInstrumentation
https://bugs.webkit.org/show_bug.cgi?id=60624
InspectorInstrumentation retrieves inspector agents from corresponding InstrumentingAgents
instance. Each agent notifies InstrumentingAgents whenever it wants to receive notifications
about changes in WebCore.
- inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::inspectedPageDestroyed):
- inspector/InspectorAgent.h:
- inspector/InspectorConsoleInstrumentation.h: (WebCore::InspectorInstrumentation::addMessageToConsole): (WebCore::InspectorInstrumentation::consoleCount): (WebCore::InspectorInstrumentation::startConsoleTiming): (WebCore::InspectorInstrumentation::stopConsoleTiming): (WebCore::InspectorInstrumentation::consoleMarkTimeline): (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsole): (WebCore::InspectorInstrumentation::addProfile): (WebCore::InspectorInstrumentation::profilerEnabled): (WebCore::InspectorInstrumentation::getCurrentUserInitiatedProfileName):
- inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::didClearWindowObjectInWorld): (WebCore::InspectorController::inspectedPage):
- inspector/InspectorController.h:
- inspector/InspectorDatabaseInstrumentation.h: FAST_RETURN_IF_NO_FRONTENDS macros is used for early return in common case when inspector is not opened. In this case inspector instrumentation costs one additional check of a static field. (WebCore::InspectorInstrumentation::didOpenDatabase):
- inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::instrumentingAgents): (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl): (WebCore::InspectorInstrumentation::inspectedPageDestroyedImpl): (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl): (WebCore::InspectorInstrumentation::didModifyDOMAttrImpl): (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl): (WebCore::InspectorInstrumentation::mouseDidMoveOverElementImpl): (WebCore::InspectorInstrumentation::handleMousePressImpl): (WebCore::InspectorInstrumentation::characterDataModifiedImpl): (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl): (WebCore::InspectorInstrumentation::didScheduleResourceRequestImpl): (WebCore::InspectorInstrumentation::didInstallTimerImpl): (WebCore::InspectorInstrumentation::didRemoveTimerImpl): (WebCore::InspectorInstrumentation::willCallFunctionImpl): (WebCore::InspectorInstrumentation::willChangeXHRReadyStateImpl): (WebCore::InspectorInstrumentation::willDispatchEventImpl): (WebCore::InspectorInstrumentation::willDispatchEventOnWindowImpl): (WebCore::InspectorInstrumentation::willEvaluateScriptImpl): (WebCore::InspectorInstrumentation::willFireTimerImpl): (WebCore::InspectorInstrumentation::willLayoutImpl): (WebCore::InspectorInstrumentation::willLoadXHRImpl): (WebCore::InspectorInstrumentation::willPaintImpl): (WebCore::InspectorInstrumentation::willRecalculateStyleImpl): (WebCore::InspectorInstrumentation::applyUserAgentOverrideImpl): (WebCore::InspectorInstrumentation::willSendRequestImpl): (WebCore::InspectorInstrumentation::continueAfterPingLoaderImpl): (WebCore::InspectorInstrumentation::markResourceAsCachedImpl): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl): (WebCore::InspectorInstrumentation::willReceiveResourceDataImpl): (WebCore::InspectorInstrumentation::willReceiveResourceResponseImpl): (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl): (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl): (WebCore::InspectorInstrumentation::didFinishLoadingImpl): (WebCore::InspectorInstrumentation::didFailLoadingImpl): (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl): (WebCore::InspectorInstrumentation::scriptImportedImpl): (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl): (WebCore::InspectorInstrumentation::loadEventFiredImpl): (WebCore::InspectorInstrumentation::frameDetachedFromParentImpl): (WebCore::InspectorInstrumentation::didCommitLoadImpl): (WebCore::InspectorInstrumentation::willWriteHTMLImpl): (WebCore::InspectorInstrumentation::addMessageToConsoleImpl): (WebCore::InspectorInstrumentation::consoleCountImpl): (WebCore::InspectorInstrumentation::startConsoleTimingImpl): (WebCore::InspectorInstrumentation::stopConsoleTimingImpl): (WebCore::InspectorInstrumentation::consoleMarkTimelineImpl): (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsoleImpl): (WebCore::InspectorInstrumentation::addProfileImpl): (WebCore::InspectorInstrumentation::getCurrentUserInitiatedProfileNameImpl): (WebCore::InspectorInstrumentation::profilerEnabledImpl): (WebCore::InspectorInstrumentation::didOpenDatabaseImpl): (WebCore::InspectorInstrumentation::didUseDOMStorageImpl): (WebCore::InspectorInstrumentation::didStartWorkerContextImpl): (WebCore::InspectorInstrumentation::didCreateWorkerImpl): (WebCore::InspectorInstrumentation::didDestroyWorkerImpl): (WebCore::InspectorInstrumentation::didCreateWebSocketImpl): (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl): (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl): (WebCore::InspectorInstrumentation::didCloseWebSocketImpl): (WebCore::InspectorInstrumentation::networkStateChangedImpl): (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl): (WebCore::InspectorInstrumentation::hasFrontend): (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded): (WebCore::InspectorInstrumentation::cancelPauseOnNativeEvent): (WebCore::InspectorInstrumentation::retrieveTimelineAgent):
- inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::bindInstrumentingAgents): (WebCore::InspectorInstrumentation::unbindInstrumentingAgents): (WebCore::InspectorInstrumentation::didClearWindowObjectInWorld): (WebCore::InspectorInstrumentation::inspectedPageDestroyed): (WebCore::InspectorInstrumentation::willInsertDOMNode): (WebCore::InspectorInstrumentation::didInsertDOMNode): (WebCore::InspectorInstrumentation::willRemoveDOMNode): (WebCore::InspectorInstrumentation::willModifyDOMAttr): (WebCore::InspectorInstrumentation::didModifyDOMAttr): (WebCore::InspectorInstrumentation::didInvalidateStyleAttr): (WebCore::InspectorInstrumentation::mouseDidMoveOverElement): (WebCore::InspectorInstrumentation::handleMousePress): (WebCore::InspectorInstrumentation::characterDataModified): (WebCore::InspectorInstrumentation::willSendXMLHttpRequest): (WebCore::InspectorInstrumentation::didScheduleResourceRequest): (WebCore::InspectorInstrumentation::didInstallTimer): (WebCore::InspectorInstrumentation::didRemoveTimer): (WebCore::InspectorInstrumentation::willCallFunction): (WebCore::InspectorInstrumentation::willChangeXHRReadyState): (WebCore::InspectorInstrumentation::willDispatchEvent): (WebCore::InspectorInstrumentation::willDispatchEventOnWindow): (WebCore::InspectorInstrumentation::willEvaluateScript): (WebCore::InspectorInstrumentation::willFireTimer): (WebCore::InspectorInstrumentation::willLayout): (WebCore::InspectorInstrumentation::willLoadXHR): (WebCore::InspectorInstrumentation::willPaint): (WebCore::InspectorInstrumentation::willRecalculateStyle): (WebCore::InspectorInstrumentation::applyUserAgentOverride): (WebCore::InspectorInstrumentation::willSendRequest): (WebCore::InspectorInstrumentation::continueAfterPingLoader): (WebCore::InspectorInstrumentation::markResourceAsCached): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCache): (WebCore::InspectorInstrumentation::willReceiveResourceData): (WebCore::InspectorInstrumentation::willReceiveResourceResponse): (WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDenied): (WebCore::InspectorInstrumentation::continueWithPolicyDownload): (WebCore::InspectorInstrumentation::continueWithPolicyIgnore): (WebCore::InspectorInstrumentation::didReceiveContentLength): (WebCore::InspectorInstrumentation::didFinishLoading): (WebCore::InspectorInstrumentation::didFailLoading): (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorInstrumentation::scriptImported): (WebCore::InspectorInstrumentation::domContentLoadedEventFired): (WebCore::InspectorInstrumentation::loadEventFired): (WebCore::InspectorInstrumentation::frameDetachedFromParent): (WebCore::InspectorInstrumentation::didCommitLoad): (WebCore::InspectorInstrumentation::willWriteHTML): (WebCore::InspectorInstrumentation::didUseDOMStorage): (WebCore::InspectorInstrumentation::willStartWorkerContext): (WebCore::InspectorInstrumentation::didStartWorkerContext): (WebCore::InspectorInstrumentation::didCreateWorker): (WebCore::InspectorInstrumentation::didDestroyWorker): (WebCore::InspectorInstrumentation::didCreateWebSocket): (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest): (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse): (WebCore::InspectorInstrumentation::didCloseWebSocket): (WebCore::InspectorInstrumentation::networkStateChanged): (WebCore::InspectorInstrumentation::updateApplicationCacheStatus): (WebCore::InspectorInstrumentation::hasFrontend): (WebCore::InspectorInstrumentation::instrumentingAgentsForContext): (WebCore::InspectorInstrumentation::instrumentingAgentsForPage): (WebCore::InspectorInstrumentation::instrumentingAgentsForFrame): (WebCore::InspectorInstrumentation::instrumentingAgentsWithFrontendForFrame): (WebCore::InspectorInstrumentation::instrumentingAgentsWithFrontendForPage): (WebCore::InspectorInstrumentation::instrumentingAgentsWithFrontendForContext): (WebCore::InspectorInstrumentation::instrumentingAgentsWithFrontendForDocument):
- 6:18 AM Changeset in webkit [86563] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Pavel Feldman <pfeldman@google.com>
Not reviewed: simplify inspector dom actions test.
- inspector/elements/edit-dom-actions.html:
- 5:56 AM Changeset in webkit [86562] by
-
- 7 edits in trunk/Source/WebCore
2011-05-16 Vsevolod Vlasov <vsevik@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Move Resources Panel search to backend
https://bugs.webkit.org/show_bug.cgi?id=59596
- inspector/Inspector.json:
- inspector/InspectorPageAgent.cpp: (WebCore::decodeMainResource): (WebCore::InspectorPageAgent::resourceContent): (WebCore::cachedResourcesForFrame): (WebCore::InspectorPageAgent::getCookies): (WebCore::InspectorPageAgent::deleteCookie): (WebCore::createSearchRegexSource): (WebCore::countRegularExpressionMatches): (WebCore::buildObjectForSearchMatch): (WebCore::InspectorPageAgent::searchInResources): (WebCore::InspectorPageAgent::domContentEventFired): (WebCore::InspectorPageAgent::loadEventFired): (WebCore::InspectorPageAgent::frameNavigated): (WebCore::InspectorPageAgent::frameDetached): (WebCore::InspectorPageAgent::buildObjectForFrameTree):
- inspector/InspectorPageAgent.h:
- inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype._showResourceView): (WebInspector.ResourcesPanel.prototype.performSearch.searchInEditedResource): (WebInspector.ResourcesPanel.prototype.performSearch.callback): (WebInspector.ResourcesPanel.prototype.performSearch): (WebInspector.ResourcesPanel.prototype._ensureViewSearchPerformed): (WebInspector.ResourcesPanel.prototype._showSearchResult.callback): (WebInspector.ResourcesPanel.prototype._showSearchResult): (WebInspector.ResourcesPanel.prototype._resetSearchResults): (WebInspector.ResourcesPanel.prototype.searchCanceled): (WebInspector.ResourcesPanel.prototype.jumpToNextSearchResult): (WebInspector.ResourcesPanel.prototype.jumpToPreviousSearchResult): (WebInspector.FrameTreeElement.prototype.resourceByURL): (WebInspector.FrameResourceTreeElement.prototype._resetSearchResults): (WebInspector.FrameResourceTreeElement.prototype.get searchMatchesCount): (WebInspector.FrameResourceTreeElement.prototype.searchMatchesFound): (WebInspector.ResourcesSearchController): (WebInspector.ResourcesSearchController.prototype.nextSearchResult): (WebInspector.ResourcesSearchController.prototype.previousSearchResult): (WebInspector.ResourcesSearchController.prototype._searchResult): (WebInspector.SearchResultsTreeElementsTraverser): (WebInspector.SearchResultsTreeElementsTraverser.prototype.first): (WebInspector.SearchResultsTreeElementsTraverser.prototype.last): (WebInspector.SearchResultsTreeElementsTraverser.prototype.next): (WebInspector.SearchResultsTreeElementsTraverser.prototype.previous): (WebInspector.SearchResultsTreeElementsTraverser.prototype._traverseNext): (WebInspector.SearchResultsTreeElementsTraverser.prototype._elementHasSearchResults): (WebInspector.SearchResultsTreeElementsTraverser.prototype._traversePrevious): (WebInspector.SearchResultsTreeElementsTraverser.prototype._lastTreeElement):
- inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.createSearchRegex): (WebInspector.SourceFrame.prototype.performSearch.doFindSearchMatches): (WebInspector.SourceFrame.prototype.performSearch): (WebInspector.SourceFrame.prototype.hasSearchResults): (WebInspector.SourceFrame.prototype.jumpToFirstSearchResult): (WebInspector.SourceFrame.prototype.jumpToLastSearchResult): (WebInspector.SourceFrame.prototype.jumpToNextSearchResult): (WebInspector.SourceFrame.prototype.jumpToPreviousSearchResult): (WebInspector.SourceFrame.prototype.jumpToSearchResult): (WebInspector.SourceFrame.prototype._collectRegexMatches):
- inspector/front-end/utilities.js: ():
- 5:42 AM Changeset in webkit [86561] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Andreas Kling <kling@webkit.org>
Reviewed by Darin Adler.
CSS: Fast path for 'px' lengths should be case-insensitive.
https://bugs.webkit.org/show_bug.cgi?id=60703
No new tests, this is an optimization that avoids creating
a full CSSParser to parse the value.
- css/CSSParser.cpp: (WebCore::parseSimpleLengthValue):
- 5:40 AM Changeset in webkit [86560] by
-
- 6 edits1 add in trunk/Source
2011-05-16 Siddharth Mathur <siddharth.mathur@nokia.com>
Reviewed by Laszlo Gombos.
[Qt][WK2][Symbian] Shared memory implementation for Symbian
https://bugs.webkit.org/show_bug.cgi?id=55875
- wtf/Platform.h: Exclude Symbian OS from USE(UNIX_DOMAIN_SOCKETS) users
2011-05-16 Siddharth Mathur <siddharth.mathur@nokia.com>
Reviewed by Laszlo Gombos.
[Qt][WK2][Symbian] Shared memory implementation for Symbian
https://bugs.webkit.org/show_bug.cgi?id=55875
Use global chunks for sharing data between processes.
This is an initial implementation. An outstanding issue
is the correct way to close() the chunk in the SharedMemory d'tor
without triggering a delete by the kernel when the ref-count
temporarily goes to zero.
- Platform/SharedMemory.h: platform specific handle and chunk name
- Platform/qt/SharedMemorySymbian.cpp: Added. Native Symbian OS implementation using RChunk.CreateGlobal() for named chunks. The chunk name is serialized and sent over the IPC channel and opened by the remote process using RChunk.OpenGlobal().
(WebKit::SharedMemory::Handle::Handle):
(WebKit::SharedMemory::Handle::~Handle):
(WebKit::SharedMemory::Handle::isNull):
(WebKit::SharedMemory::Handle::encode):
(WebKit::SharedMemory::Handle::decode):
(WebKit::SharedMemory::create):
(WebKit::SharedMemory::~SharedMemory):
(WebKit::SharedMemory::createHandle):
(WebKit::SharedMemory::systemPageSize):
- Platform/unix/SharedMemoryUnix.cpp: Exclude Qt-Symbian using HAVE(UNIX_DOMAIN_SOCKETS)
- WebKit2.pro: Add SharedMemorySymbian.cpp
- 5:28 AM Changeset in webkit [86559] by
-
- 1 edit in branches/chromium/742/Source/WebCore/inspector/front-end/inspector.css
Merge 85402 - 2011-04-30 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: inspector toolbar titles were 2px off.
- inspector/front-end/inspector.css: (#toolbar-dropdown .toolbar-label):
TBR=pfeldman@chromium.org
Review URL: http://codereview.chromium.org/7032004
- 5:24 AM Changeset in webkit [86558] by
-
- 1 edit in branches/chromium/742/Source/WebCore/inspector/front-end/NetworkManager.js
Merge 86027 - 2011-05-08 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: ignore 0 responses in the inspector network instrumentation.
- inspector/front-end/NetworkManager.js:
TBR=pfeldman@chromium.org
Review URL: http://codereview.chromium.org/7030014
- 5:05 AM Changeset in webkit [86557] by
-
- 4 edits in trunk/Source/WebCore
2011-05-16 Naiem Shaik <naiem.shaik@gmail.com>
Reviewed by Adam Barth.
This is for fixing build break in webgl due to https://bugs.webkit.org/show_bug.cgi?id=59861
The bug raised for fixing this is https://bugs.webkit.org/show_bug.cgi?id=60867
No new tests. This does not change any functionality.
- platform/graphics/gtk/GraphicsContext3DGtk.cpp: (WebCore::GraphicsContext3D::create):
- platform/graphics/gtk/GraphicsContext3DInternal.cpp: (WebCore::GraphicsContext3DInternal::create):
- platform/graphics/gtk/GraphicsContext3DInternal.h:
- 5:00 AM Changeset in webkit [86556] by
-
- 5 edits in trunk
2011-05-16 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: parse edited attributes by means of InspectorDOMAgent.
https://bugs.webkit.org/show_bug.cgi?id=60807
This change moves attribute parsing from the front-end to the backend.
- inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::setAttribute):
- inspector/front-end/DOMAgent.js: (WebInspector.DOMNode.prototype.setAttribute):
- inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._attributeEditingCommitted.moveToNextAttributeIfNeeded): (WebInspector.ElementsTreeElement.prototype._attributeEditingCommitted):
- 3:58 AM Changeset in webkit [86555] by
-
- 2 edits in trunk/Source/WebCore
2011-05-16 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Switch from Vector<UChar> to StringBuilder in dom/
https://bugs.webkit.org/show_bug.cgi?id=57843
Incorporate comment from Darin/Andreas.
- dom/DatasetDOMStringMap.cpp: (WebCore::convertAttributeNameToPropertyName): Use 'character' local, instead of charaters[i]. (WebCore::convertPropertyNameToAttributeName): Ditto.
- 3:51 AM Changeset in webkit [86554] by
-
- 6 edits in trunk
2011-05-16 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Fix SourceJavaScriptTokenizer keyword parsing
https://bugs.webkit.org/show_bug.cgi?id=60773
- inspector/syntax-highlight-javascript-expected.txt:
- inspector/syntax-highlight-javascript.html:
2011-05-16 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Fix SourceJavaScriptTokenizer keyword parsing
https://bugs.webkit.org/show_bug.cgi?id=60773
- inspector/front-end/SourceJavaScriptTokenizer.js: (WebInspector.SourceJavaScriptTokenizer.prototype.nextToken):
- inspector/front-end/SourceJavaScriptTokenizer.re2js:
- 3:20 AM Changeset in webkit [86553] by
-
- 4 edits in trunk/Source/WebCore
2011-05-16 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
Switch from Vector<UChar> to StringBuilder in dom/
https://bugs.webkit.org/show_bug.cgi?id=57843
- dom/DatasetDOMStringMap.cpp: (WebCore::convertAttributeNameToPropertyName): (WebCore::convertPropertyNameToAttributeName):
- dom/Range.cpp: (WebCore::Range::toString):
- dom/ScriptElement.cpp: (WebCore::ScriptElement::scriptContent):
- 2:53 AM Changeset in webkit [86552] by
-
- 4 edits in trunk/Source/WebCore
2011-05-05 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: move double click handling from TextEditor to SourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=60271
It is SourceFrame's responsibility to check if content is editable and
to configure TextEditor component (e.g. set editable range) when user
tries to initiate editing.
- inspector/front-end/ResourceView.js: (WebInspector.ResourceSourceFrame.prototype.doubleClick): (WebInspector.RevisionSourceFrame.prototype.doubleClick):
- inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.beforeTextChanged): (WebInspector.SourceFrame.prototype.afterTextChanged): (WebInspector.SourceFrame.prototype.doubleClick): (WebInspector.SourceFrame.prototype.commitEditing.didEditContent): (WebInspector.SourceFrame.prototype.commitEditing): (WebInspector.SourceFrame.prototype.cancelEditing): (WebInspector.SourceFrame.prototype._setReadOnly):
- inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype.set readOnly): (WebInspector.TextViewer.prototype._enterInternalTextChangeMode): (WebInspector.TextViewer.prototype._exitInternalTextChangeMode): (WebInspector.TextViewer.prototype._doubleClick): (WebInspector.TextViewer.prototype._commitEditing): (WebInspector.TextViewer.prototype._cancelEditing): (WebInspector.TextViewerDelegate.prototype.doubleClick): (WebInspector.TextViewerDelegate.prototype.beforeTextChanged): (WebInspector.TextViewerDelegate.prototype.afterTextChanged):
- 2:50 AM Changeset in webkit [86551] by
-
- 4 edits in trunk
2011-05-15 Robert Hogan <robert@webkit.org>
Reviewed by Yury Semikhatsky.
[Qt] Fix crash in inspector/console/console-long-eval-crash.html
https://bugs.webkit.org/show_bug.cgi?id=60858
The client may be gone when sendMessageToBackend() is called.
- inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::sendMessageToBackend):
2011-05-16 Robert Hogan <robert@webkit.org>
Reviewed by Yury Semikhatsky.
[Qt] Fix crash in inspector/console/console-long-eval-crash.html
https://bugs.webkit.org/show_bug.cgi?id=60858
- platform/qt/Skipped:
- 2:30 AM Changeset in webkit [86550] by
-
- 3 edits in trunk/Source/WebKit/qt
2011-05-16 Adam Barth <abarth@webkit.org>
Partial revert of r86537. FullScreenVideoQt.h can't depend on OwnPtr.h
because moc_FullScreenVideoQt.cpp fails to include config.h.
Apparently, having moc_FullScreenVideoQt.cpp properly include config.h
is hard, so we're going back to manual new and delete for this class.
Bad times.
- WebCoreSupport/FullScreenVideoQt.cpp: (WebCore::FullScreenVideoQt::FullScreenVideoQt): (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- WebCoreSupport/FullScreenVideoQt.h:
- 2:27 AM Changeset in webkit [86549] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-16 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix WebKit2 GTK build after r86489.
- GNUmakefile.am: Add PluginProcess/PluginCreationParameters.cpp and PluginProcess/PluginCreationParameters.h to compilation.
- 2:17 AM Changeset in webkit [86548] by
-
- 2 edits in trunk/Websites/webkit.org
2011-05-16 Huzaifa Sidhpurwala <huzaifas@redhat.com>
Reviewed by Adam Barth.
Add Huzaifa Sidhpurwala to the WebKit Security Group site.
https://bugs.webkit.org/show_bug.cgi?id=60686
- security/security-group-members.html:
- 2:08 AM Changeset in webkit [86547] by
-
- 7 edits in trunk
https://bugs.webkit.org/show_bug.cgi?id=60866
Evaluation order broken for empty alternatives in subpatterns
Rubber stamped by Geoff Garen.
Source/JavaScriptCore:
Reverting https://bugs.webkit.org/show_bug.cgi?id=51395
- yarr/YarrPattern.cpp:
(JSC::Yarr::YarrPatternConstructor::atomParenthesesEnd):
LayoutTests:
Reverted https://bugs.webkit.org/show_bug.cgi?id=51395, and added
test cases for /(|a)/ and /(a|)/, to test the evaluation order of
subpattern matches with empty alternatives.
- fast/regex/parentheses-expected.txt:
- fast/regex/script-tests/parentheses.js:
- fast/regex/script-tests/slow.js:
- fast/regex/slow-expected.txt:
- 1:25 AM Changeset in webkit [86546] by
-
- 2 edits in trunk/LayoutTests
2011-05-16 Alejandro G. Castro <alex@igalia.com>
Skipped failing test, the fail already has a bug:
[Qt][GTK] plugins/get-url-with-javascript-url.html fails
https://bugs.webkit.org/show_bug.cgi?id=60834
- platform/gtk/Skipped:
- 1:05 AM Changeset in webkit [86545] by
-
- 4 edits5 adds in trunk
2011-05-16 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Martin Robinson.
[GTK] Enable building GTK port with ENABLE_PLUGIN_PROCESS=1
https://bugs.webkit.org/show_bug.cgi?id=58223
- configure.ac: Add configure option to enable/disable plugin process.
2011-05-16 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Martin Robinson.
[GTK] Enable building GTK port with ENABLE_PLUGIN_PROCESS=1
https://bugs.webkit.org/show_bug.cgi?id=58223
- GNUmakefile.am: Add new files to compilation.
- PluginProcess/gtk/PluginControllerProxyGtk.cpp: Added. (WebKit::PluginControllerProxy::platformInitialize): (WebKit::PluginControllerProxy::platformDestroy): (WebKit::PluginControllerProxy::platformGeometryDidChange):
- PluginProcess/gtk/PluginProcessGtk.cpp: Added. (WebKit::PluginProcess::platformInitialize):
- UIProcess/Plugins/gtk/PluginProcessProxyGtk.cpp: Added. (WebKit::PluginProcessProxy::platformInitializePluginProcess):
- WebProcess/Plugins/Netscape/gtk/PluginProxyGtk.cpp: Added. (WebKit::PluginProxy::needsBackingStore):
- 1:02 AM Changeset in webkit [86544] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-16 Adam Barth <abarth@webkit.org>
Attempt to fix the Qt build. (Strict PassOwnPtr fix.)
- Shared/qt/ShareableBitmapQt.cpp: (WebKit::ShareableBitmap::createGraphicsContext):
- 12:59 AM Changeset in webkit [86543] by
-
- 1 edit in trunk/Source/WebCore/plugins/PluginStream.cpp
2011-05-16 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Replace direct StringConcatenate usage, by using operator+ (again)
https://bugs.webkit.org/show_bug.cgi?id=60700
Oops, forgot to include plugins/ in my previous commit.
Remove makeString() usage everywhere, instead directly use operator+.
- plugins/PluginStream.cpp: (WebCore::PluginStream::startStream):
- 12:56 AM Changeset in webkit [86542] by
-
- 52 edits in trunk/Source/WebCore
2011-05-16 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Replace direct StringConcatenate usage, by using operator+ (again)
https://bugs.webkit.org/show_bug.cgi?id=60700
Remove makeString() usage everywhere, instead directly use operator+.
- accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::listMarkerTextForNodeAndPosition):
- bindings/js/JSDOMWindowBase.cpp:
- bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::setBreakpoint):
- bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::reportUnsafeAccessTo):
- css/CSSMutableStyleDeclaration.cpp: (WebCore::CSSMutableStyleDeclaration::borderSpacingValue):
- dom/ExceptionBase.cpp: (WebCore::ExceptionBase::ExceptionBase):
- dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::handleError):
- html/FTPDirectoryDocument.cpp: (WebCore::processFileDateString):
- inspector/CodeGeneratorInspector.pm:
- inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::count): (WebCore::InspectorConsoleAgent::didReceiveResponse):
- inspector/InspectorDOMAgent.cpp:
- inspector/InspectorDOMDebuggerAgent.cpp: (WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
- inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setBreakpointByUrl): (WebCore::InspectorDebuggerAgent::setBreakpoint):
- loader/FrameLoader.cpp: (WebCore::FrameLoader::checkIfDisplayInsecureContent): (WebCore::FrameLoader::checkIfRunInsecureContent): (WebCore::FrameLoader::shouldAllowNavigation):
- loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::createFromSelection):
- loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::printAccessDeniedMessage):
- page/ContentSecurityPolicy.cpp: (WebCore::CSPDirective::CSPDirective): (WebCore::ContentSecurityPolicy::checkSourceAndReportViolation):
- page/DOMWindow.cpp: (WebCore::DOMWindow::postMessageTimerFired): (WebCore::DOMWindow::crossDomainAccessErrorMessage):
- page/PageSerializer.cpp: (WebCore::SerializerMarkupAccumulator::SerializerMarkupAccumulator): (WebCore::SerializerMarkupAccumulator::appendElement): (WebCore::PageSerializer::urlForBlankFrame):
- page/PrintContext.cpp: (WebCore::PrintContext::pageProperty): (WebCore::PrintContext::pageSizeAndMarginsInPixels):
- platform/efl/PlatformKeyboardEventEfl.cpp: (WebCore::createKeyMap): (WebCore::createWindowsKeyMap):
- platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::formatMediaControlsCurrentTime):
- platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::animationNameForTransition):
- platform/graphics/brew/ImageBrew.cpp: (WebCore::Image::loadPlatformResource):
- platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::animationIdentifier):
- platform/graphics/cg/ImageBufferCG.cpp: (WebCore::CGImageToDataURL):
- platform/graphics/gtk/ImageBufferGtk.cpp: (WebCore::ImageBuffer::toDataURL):
- platform/graphics/haiku/ImageBufferHaiku.cpp: (WebCore::ImageBuffer::toDataURL):
- platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::toDataURL):
- platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageToDataURL):
- platform/network/CredentialStorage.cpp: (WebCore::originStringFromURL):
- platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::reportErrorToClient):
- platform/sql/SQLiteDatabase.cpp: (WebCore::SQLiteDatabase::setSynchronous):
- platform/text/wince/TextCodecWinCE.cpp: (WebCore::LanguageManager::LanguageManager):
- platform/win/ClipboardUtilitiesWin.cpp:
- platform/win/ClipboardWin.cpp: (WebCore::ClipboardWin::writeURL):
- platform/win/FileSystemWin.cpp: (WebCore::listDirectory):
- platform/win/LanguageWin.cpp: (WebCore::platformDefaultLanguage):
- platform/win/PathWalker.cpp: (WebCore::PathWalker::PathWalker):
- platform/win/SystemInfo.cpp: (WebCore::osVersionForUAString): (WebCore::windowsVersionForUAString):
- plugins/PluginStream.cpp: (WebCore::PluginStream::startStream):
- svg/SVGAngle.cpp: (WebCore::SVGAngle::valueAsString):
- svg/SVGLength.cpp: (WebCore::SVGLength::valueAsString):
- svg/SVGPaint.cpp: (WebCore::SVGPaint::cssText):
- svg/SVGPointList.cpp: (WebCore::SVGPointList::valueAsString):
- svg/SVGPreserveAspectRatio.cpp: (WebCore::SVGPreserveAspectRatio::valueAsString):
- svg/SVGTransform.cpp: (WebCore::SVGTransform::valueAsString):
- svg/SVGTransformList.cpp:
- svg/SVGUseElement.cpp: (WebCore::dumpInstanceTree):
- websockets/WebSocket.cpp: (WebCore::WebSocket::connect):
- websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didFail): (WebCore::WebSocketChannel::appendToBuffer):
- websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::readServerHandshake):
- 12:51 AM Changeset in webkit [86541] by
-
- 2 edits in trunk/Source/WebKit/qt
2011-05-16 Adam Barth <abarth@webkit.org>
Sigh. This code is somewhat crazy.
- WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend):
- 12:43 AM Changeset in webkit [86540] by
-
- 2 edits in trunk/Source/WebKit/qt
2011-05-16 Adam Barth <abarth@webkit.org>
Attempt to fix Qt build. (Strict PassOwnPtr fix.)
This patch requires some slightly fancy footwork.
- WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend): (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
- 12:30 AM Changeset in webkit [86539] by
-
- 7 edits in trunk/Source/WebCore
2011-05-12 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: inspector console should be searchable
https://bugs.webkit.org/show_bug.cgi?id=60711
Search now works for Console panel. It shows number of matching console entries
and allows to jump to the next matching console entry. Also the matches count
is dynamically updated when new messages are added to the console.
ResourceTreeModel and DebuggerPresentationModel now listen to console events instead
of being called directly from ConsoleView.
- inspector/front-end/ConsolePanel.js: (WebInspector.ConsolePanel): (WebInspector.ConsolePanel.prototype.show): (WebInspector.ConsolePanel.prototype.hide): (WebInspector.ConsolePanel.prototype.searchCanceled): (WebInspector.ConsolePanel.prototype.performSearch): (WebInspector.ConsolePanel.prototype.jumpToNextSearchResult): (WebInspector.ConsolePanel.prototype.jumpToPreviousSearchResult): (WebInspector.ConsolePanel.prototype._clearCurrentSearchResultHighlight): (WebInspector.ConsolePanel.prototype._jumpToSearchResult): (WebInspector.ConsolePanel.prototype._consoleMessageAdded): (WebInspector.ConsolePanel.prototype._consoleCleared):
- inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.addMessage): (WebInspector.ConsoleView.prototype.clearMessages): (WebInspector.ConsoleMessage.prototype.clearHighlight): (WebInspector.ConsoleMessage.prototype.highlightSearchResults): (WebInspector.ConsoleMessage.prototype.matchesRegex): (WebInspector.ConsoleMessage.prototype.toMessageElement): (WebInspector.ConsoleCommand.prototype.clearHighlight): (WebInspector.ConsoleCommand.prototype.highlightSearchResults): (WebInspector.ConsoleCommand.prototype.matchesRegex): (WebInspector.ConsoleCommand.prototype.toMessageElement): (WebInspector.ConsoleCommand.prototype._formatCommand):
- inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel): (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles): (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded): (WebInspector.DebuggerPresentationModel.prototype._consoleCleared):
- inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel): (WebInspector.ResourceTreeModel.prototype._consoleMessageAdded):
- inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype._consoleMessagesCleared):
- inspector/front-end/utilities.js: ():
- 12:27 AM Changeset in webkit [86538] by
-
- 2 edits in trunk/Source/WebKit/qt
2011-05-16 Adam Barth <abarth@webkit.org>
Missing include.
- WebCoreSupport/PopupMenuQt.h:
- 12:24 AM Changeset in webkit [86537] by
-
- 13 edits in trunk/Source
2011-05-16 Adam Barth <abarth@webkit.org>
[Qt] QtPlatformPlugin create methods should use PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=60873
This change is slightly more than a build fix because the patch kind of
spidered a bit while I was trying to fix the build the "right way."
Hopefully nothing here is controversial.
- Api/qwebpage.cpp: (QWebPagePrivate::adjustPointForClicking):
- WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup):
- WebCoreSupport/FullScreenVideoQt.cpp: (WebCore::FullScreenVideoQt::FullScreenVideoQt): (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- WebCoreSupport/FullScreenVideoQt.h:
- WebCoreSupport/NotificationPresenterClientQt.cpp: (WebCore::NotificationWrapper::NotificationWrapper): (WebCore::NotificationPresenterClientQt::displayNotification):
- WebCoreSupport/PopupMenuQt.cpp: (WebCore::PopupMenuQt::PopupMenuQt): (WebCore::PopupMenuQt::~PopupMenuQt): (WebCore::PopupMenuQt::show):
- WebCoreSupport/PopupMenuQt.h:
- WebCoreSupport/QtPlatformPlugin.cpp: (WebCore::QtPlatformPlugin::createSelectInputMethod): (WebCore::QtPlatformPlugin::createNotificationPresenter): (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer): (WebCore::QtPlatformPlugin::createTouchModifier): (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
- WebCoreSupport/QtPlatformPlugin.h: (WebCore::QtPlatformPlugin::QtPlatformPlugin):
2011-05-16 Adam Barth <abarth@webkit.org>
[Qt] QtPlatformPlugin create methods should use PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=60873
- plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::platformStart):
- 12:21 AM Changeset in webkit [86536] by
-
- 5 edits in trunk
Source/JavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=60860
Simplify backtracking in YARR JIT
Reviewed by Geoff Garen & Michael Saboff.
YARR JIT currently performs a single pass of code generation over the pattern,
with special handling to allow the code generation for some backtracking code
out of line. We can simplify things by moving to a common mechanism whereby all
forwards matching code is generated in one pass, and all backtracking code is
generated in another. Backtracking code can be generated in reverse order, to
optimized the common fall-through case.
To make it easier to walk over the pattern, we can first convert to a more
byte-code like format before JIT generating. In time we should unify this with
the YARR interpreter to more closely unify the two.
- yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::jumpIfNoAvailableInput):
(JSC::Yarr::YarrGenerator::YarrOp::YarrOp):
(JSC::Yarr::YarrGenerator::BacktrackingState::BacktrackingState):
(JSC::Yarr::YarrGenerator::BacktrackingState::append):
(JSC::Yarr::YarrGenerator::BacktrackingState::fallthrough):
(JSC::Yarr::YarrGenerator::BacktrackingState::link):
(JSC::Yarr::YarrGenerator::BacktrackingState::linkTo):
(JSC::Yarr::YarrGenerator::BacktrackingState::takeBacktracksToJumpList):
(JSC::Yarr::YarrGenerator::BacktrackingState::isEmpty):
(JSC::Yarr::YarrGenerator::BacktrackingState::linkDataLabels):
(JSC::Yarr::YarrGenerator::BacktrackingState::ReturnAddressRecord::ReturnAddressRecord):
(JSC::Yarr::YarrGenerator::generateAssertionBOL):
(JSC::Yarr::YarrGenerator::backtrackAssertionBOL):
(JSC::Yarr::YarrGenerator::generateAssertionEOL):
(JSC::Yarr::YarrGenerator::backtrackAssertionEOL):
(JSC::Yarr::YarrGenerator::matchAssertionWordchar):
(JSC::Yarr::YarrGenerator::generateAssertionWordBoundary):
(JSC::Yarr::YarrGenerator::backtrackAssertionWordBoundary):
(JSC::Yarr::YarrGenerator::generatePatternCharacterOnce):
(JSC::Yarr::YarrGenerator::backtrackPatternCharacterOnce):
(JSC::Yarr::YarrGenerator::generatePatternCharacterFixed):
(JSC::Yarr::YarrGenerator::backtrackPatternCharacterFixed):
(JSC::Yarr::YarrGenerator::generatePatternCharacterGreedy):
(JSC::Yarr::YarrGenerator::backtrackPatternCharacterGreedy):
(JSC::Yarr::YarrGenerator::generatePatternCharacterNonGreedy):
(JSC::Yarr::YarrGenerator::backtrackPatternCharacterNonGreedy):
(JSC::Yarr::YarrGenerator::generateCharacterClassOnce):
(JSC::Yarr::YarrGenerator::backtrackCharacterClassOnce):
(JSC::Yarr::YarrGenerator::generateCharacterClassFixed):
(JSC::Yarr::YarrGenerator::backtrackCharacterClassFixed):
(JSC::Yarr::YarrGenerator::generateCharacterClassGreedy):
(JSC::Yarr::YarrGenerator::backtrackCharacterClassGreedy):
(JSC::Yarr::YarrGenerator::generateCharacterClassNonGreedy):
(JSC::Yarr::YarrGenerator::backtrackCharacterClassNonGreedy):
(JSC::Yarr::YarrGenerator::generateTerm):
(JSC::Yarr::YarrGenerator::backtrackTerm):
(JSC::Yarr::YarrGenerator::generate):
(JSC::Yarr::YarrGenerator::backtrack):
(JSC::Yarr::YarrGenerator::opCompileParenthesesSubpattern):
(JSC::Yarr::YarrGenerator::opCompileParentheticalAssertion):
(JSC::Yarr::YarrGenerator::opCompileAlternative):
(JSC::Yarr::YarrGenerator::opCompileBody):
(JSC::Yarr::YarrGenerator::YarrGenerator):
(JSC::Yarr::YarrGenerator::compile):
LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=60860
Add layout tests for some regular expressions that used to crash the compiler.
Reviewed by Geoff Garen & Michael Saboff.
- fast/regex/parentheses-expected.txt:
- fast/regex/script-tests/parentheses.js:
- 12:07 AM Changeset in webkit [86535] by
-
- 2 edits in trunk/LayoutTests
2011-05-06 Philippe Normand <pnormand@igalia.com>
Reviewed by Martin Robinson.
media/video-volume-slider.html causes GTK 64 bit debug bot to time out
https://bugs.webkit.org/show_bug.cgi?id=60055
- media/video-volume-slider.html: Use the shadow DOM tree to locate the mute button and get its coordinates. This test is now more port-agnostic.
- 12:01 AM Changeset in webkit [86534] by
-
- 6 edits1 add in trunk/LayoutTests
2011-05-12 Philippe Normand <pnormand@igalia.com>
Reviewed by Darin Adler.
Move mediaControlsButtonCoordinates() out of video-test.js
https://bugs.webkit.org/show_bug.cgi?id=60693
Moved the function to a new js file called media-controls.js. Also
made the function throw an exception if the button is not found
and handle the exception in the various tests using the function.
- media/audio-delete-while-step-button-clicked.html:
- media/media-controls.js: Added. (mediaControlsButtonCoordinates):
- media/video-controls-transformed.html:
- media/video-controls-visible-audio-only.html:
- media/video-controls-zoomed.html:
- media/video-test.js: (isInTimeRanges):
May 15, 2011:
- 11:52 PM Changeset in webkit [86533] by
-
- 3 edits in trunk/Source/WebKit/qt
2011-05-15 Adam Barth <abarth@webkit.org>
Attempt to fix the Qt build. (Strict PassOwnPtr fix.)
- Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::detachCurrentPage): (QGraphicsWebView::setPage):
- Api/qwebpage.cpp: (QWebPage::setView):
- 11:46 PM Changeset in webkit [86532] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Adam Barth <abarth@webkit.org>
Attempt to fix Qt build. (Strict PassOwnPtr fix.)
- platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQt::GraphicsLayerQt): (WebCore::GraphicsLayer::create):
- 11:41 PM Changeset in webkit [86531] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Adam Barth <abarth@webkit.org>
Attempt to fix Qt build. (Strict PassOwnPtr fix.)
- platform/text/qt/TextCodecQt.cpp: (WebCore::newTextCodecQt):
- 11:36 PM Changeset in webkit [86530] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Adam Barth <abarth@webkit.org>
Attempt to fix Qt build. (Strict PassOwnPtr fix.)
- platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyWrapper::release): (WebCore::QNetworkReplyWrapper::receiveMetaData): (WebCore::QNetworkReplyWrapper::receiveSniffedMIMEType): (WebCore::QNetworkReplyHandler::release): (WebCore::QNetworkReplyHandler::finish): (WebCore::QNetworkReplyHandler::redirect): (WebCore::QNetworkReplyHandler::start):
- 11:30 PM Changeset in webkit [86529] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Adam Barth <abarth@webkit.org>
Attempt to fix Qt build. (Strict PassOwnPtr fix.)
- dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::doEnd):
- 11:21 PM Changeset in webkit [86528] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-05-15 Adam Barth <abarth@webkit.org>
Enable strict PassOwnPtr on Qt. (Build fixes to follow.)
- wtf/PassOwnPtr.h:
- 11:15 PM Changeset in webkit [86527] by
-
- 2 edits in trunk/LayoutTests
2011-05-15 MORITA Hajime <morrita@google.com>
Unreviewed an expectation update.
- platform/gtk/fast/html/details-add-child-2-expected.txt:
- 10:59 PM Changeset in webkit [86526] by
-
- 10 edits2 adds in trunk
2011-05-15 Kenichi Ishibashi <bashi@chromium.org>
Reviewed by Kent Tamura.
<output>, <meter> and <progress> elements with display:block can be focused if you try to tab to it
https://bugs.webkit.org/show_bug.cgi?id=60602
Add a test that ensures <output>, <meter> and <progress> are not focused.
Add tabindex attributes to <progress> elements in progressbar.html so that these elements can be focused.
- fast/forms/focus-with-display-block-expected.txt: Added.
- fast/forms/focus-with-display-block.html: Added.
- platform/mac/accessibility/progressbar.html: Added tabindex attributes to progress elements.
2011-05-15 Kenichi Ishibashi <bashi@chromium.org>
Reviewed by Kent Tamura.
<output>, <meter> and <progress> elements with display:block can be focused if you try to tab to it
https://bugs.webkit.org/show_bug.cgi?id=60602
HTMLFormControlElement::isFocusable() returns true when the element is
visible as a block element. However, for output, meter, and progress
elements, the function should not return true unless they have
tabindex attributes. Override supportsFocus() of these elements to
apply the result of Node::supportsFocus() because it takes care of
whether the element has tabindex or not.
Test: fast/forms/focus-with-display-block.html
- html/HTMLFormControlElement.h: Made supportsFocus() protected.
- html/HTMLMeterElement.cpp: (WebCore::HTMLMeterElement::supportsFocus): Added.
- html/HTMLMeterElement.h:
- html/HTMLOutputElement.cpp: (WebCore::HTMLOutputElement::supportsFocus): Added.
- html/HTMLOutputElement.h:
- html/HTMLProgressElement.cpp: (WebCore::HTMLProgressElement::supportsFocus): Added.
- html/HTMLProgressElement.h:
- 10:44 PM Changeset in webkit [86525] by
-
- 2 edits in trunk/Source/WebCore
Missing migration from Editor::TextCheckingOptions to TextCheckingType in SpellingCorrectionController.cpp
https://bugs.webkit.org/show_bug.cgi?id=60870
Reviewed by Dan Bernstein.
- editing/SpellingCorrectionController.cpp:
(WebCore::SpellingCorrectionController::correctionPanelTimerFired): Migrating to using TextCheckingType
- 10:31 PM Changeset in webkit [86524] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-15 Michael Saboff <msaboff@apple.com>
Reviewed by Geoffrey Garen.
Suboptimal lifetime of BackingStore objects in DrawingAreaProxyImpl
https://bugs.webkit.org/show_bug.cgi?id=60864
Implemented reuse of BackingStore's in
DrawingAreaProxyImpl::didUpdateBackingStoreState when the size needed
matches the size of the existing BackingStore.
Also reduced the discardBackingStoreTimer from 5 to 2 seconds.
These changes reduces memory usage up to 10MB on memory tests.
- UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState): (WebKit::DrawingAreaProxyImpl::discardBackingStoreSoon):
- 10:10 PM Changeset in webkit [86523] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Gavin Barraclough.
https://bugs.webkit.org/show_bug.cgi?id=59699
Global object is recreated on teardown, for no good reason
(Another partial fix for <rdar://problem/9417875> REGRESSION: SunSpider
~7% slower in browser than on command line (was 17%))
I'm basically rolling out http://trac.webkit.org/changeset/49786 because
(a) it created this performance problem
and
(b) a more complete fix, which obsoletes http://trac.webkit.org/changeset/49786,
was committed in http://trac.webkit.org/changeset/53439.
Tested with the file attached to https://bugs.webkit.org/show_bug.cgi?id=29832.
- page/Frame.cpp: (WebCore::Frame::~Frame): Don't create a new window every time we destroy a frame.
- 8:29 PM Changeset in webkit [86522] by
-
- 9 edits in trunk/Source/WebKit2
2011-05-15 Anders Carlsson <andersca@apple.com>
Reviewed by Maciej Stachowiak.
Pass the window NPObject identifier in the plug-in creation parameters
https://bugs.webkit.org/show_bug.cgi?id=60865
This avoids a synchronous call when the plug-in wants to get the NPObject that
corresponds to the window.
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::initialize): Change this to take the PluginCreationParameters. Initialize the window NPObject.
(WebKit::PluginControllerProxy::windowScriptNPObject):
Just return the window NPObject; it's already been initialized.
- PluginProcess/PluginControllerProxy.h:
- PluginProcess/PluginCreationParameters.cpp: (WebKit::PluginCreationParameters::PluginCreationParameters): (WebKit::PluginCreationParameters::encode): (WebKit::PluginCreationParameters::decode):
- PluginProcess/PluginCreationParameters.h: Add the window NPObject ID.
- PluginProcess/WebProcessConnection.cpp: (WebKit::WebProcessConnection::createPlugin): Pass the creation parameters to PluginControllerProxy::initialize.
- WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::initialize): Initialize the window NPObject ID.
- WebProcess/Plugins/PluginProxy.messages.in: Remove the GetWindowScriptNPObject message.
- 7:55 PM Changeset in webkit [86521] by
-
- 15 edits2 copies12 adds in trunk
2011-05-12 MORITA Hajime <morrita@google.com>
Reviewed by Dimitri Glazkov.
ShadowContentElement should affect the order of renderer children
https://bugs.webkit.org/show_bug.cgi?id=59157
- fast/html/details-add-details-child-1.html: Added.
- fast/html/details-add-details-child-2.html: Added.
- fast/html/details-nested-1.html: Added.
- fast/html/details-nested-2.html: Added.
- platform/chromium/test_expectations.txt:
- platform/gtk/fast/html/details-open2-expected.txt:
- platform/mac/fast/html/details-add-child-2-expected.txt:
- platform/mac/fast/html/details-add-details-child-1-expected.png: Added.
- platform/mac/fast/html/details-add-details-child-1-expected.txt: Copied from LayoutTests/platform/mac/fast/html/details-add-child-2-expected.txt.
- platform/mac/fast/html/details-add-details-child-2-expected.png: Added.
- platform/mac/fast/html/details-add-details-child-2-expected.txt: Copied from LayoutTests/platform/mac/fast/html/details-add-child-2-expected.txt.
- platform/mac/fast/html/details-add-summary-10-and-click-expected.png: Added.
- platform/mac/fast/html/details-add-summary-10-expected.png: Added.
- platform/mac/fast/html/details-nested-1-expected.png: Added.
- platform/mac/fast/html/details-nested-1-expected.txt: Added.
- platform/mac/fast/html/details-nested-2-expected.png: Added.
- platform/mac/fast/html/details-nested-2-expected.txt: Added.
- platform/mac/fast/html/details-open2-expected.txt:
- platform/qt/fast/html/details-add-child-2-expected.txt:
- platform/qt/fast/html/details-open2-expected.txt:
2011-05-12 MORITA Hajime <morrita@google.com>
ShadowContentElement should affect the order of renderer children
https://bugs.webkit.org/show_bug.cgi?id=59157
Introduced ShadowContentSelector to collect and forward content
children for each ShadowContentElement. ShadowRoot collects child
nodes of its host (we call these children "content children"), and
the descendant ShadowContentElement pulls that these content
children and put it under its child during
ShadowContentElement::attach().
Content children no longer create its renderer during its normal
attach() phase (called "light" phase). And they create it during
attach() as a content children instead (called "forwarded phase").
These phases are detected by NodeRendererFactory and represented
as NodeRendererFactory::AttachPhase value AttachContentLight and
AttachContentForwarded.
Tests: fast/html/details-add-details-child-1.html
fast/html/details-add-details-child-2.html
fast/html/details-nested-1.html
fast/html/details-nested-2.html
- dom/Element.cpp: (WebCore::Element::attach): (WebCore::Element::childrenChanged):
- dom/Node.cpp: (WebCore::NodeRendererFactory::NodeRendererFactory): (WebCore::NodeRendererFactory::shouldCreateRenderer): (WebCore::NodeRendererFactory::nextRenderer): (WebCore::NodeRendererFactory::createRendererIfNeeded):
- dom/ShadowRoot.cpp: (WebCore::forceReattach): (WebCore::ShadowContentSelector::shadowRoot): (WebCore::ShadowContentSelector::activeElement): (WebCore::ShadowContentSelector::currentInstance): (WebCore::ShadowContentSelector::ShadowContentSelector): (WebCore::ShadowContentSelector::~ShadowContentSelector): (WebCore::ShadowContentSelector::attachChildrenFor): (WebCore::ShadowContentElement::attach): (WebCore::ShadowRoot::recalcStyle): (WebCore::ShadowRoot::activeContentContainer): (WebCore::ShadowRoot::hostChildrenChanged): (WebCore::ShadowRoot::attach):
- dom/ShadowRoot.h:
- html/shadow/ShadowContentElement.h: (WebCore::ShadowContentElement::rendererIsNeeded):
- rendering/RenderDetails.cpp:
- rendering/RenderDetails.h:
- 7:46 PM Changeset in webkit [86520] by
-
- 4 edits in trunk/Source/WebCore
2011-05-13 MORITA Hajime <morrita@google.com>
Reviewed by Ryosuke Niwa.
Refactoring: Editor::TextCheckingOptions should be replaced with TextCheckingType
https://bugs.webkit.org/show_bug.cgi?id=57088
Removed Editor::TextCheckingOptions and replaced it with TextCheckingTypeMask
No new tests, no behavior change.
- editing/Editor.cpp: (WebCore::Editor::replaceSelectionWithFragment): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::markMisspellingsAndBadGrammar): (WebCore::Editor::resolveTextCheckingTypeMask):
- editing/Editor.h:
- platform/text/TextChecking.h: Added TextCheckingTypeShowCorrectionPanel
- 6:44 PM Changeset in webkit [86519] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-15 Yuzo Fujishima <yuzo@google.com>
Unreviewed Chromium test expectation change.
- platform/chromium-linux/svg/custom/small-rect-scale-expected.png: Added.
- platform/chromium-win-vista/svg/custom/small-rect-scale-expected.png: Added.
- 6:35 PM Changeset in webkit [86518] by
-
- 2 edits in trunk/LayoutTests
2011-05-15 Dominic Cooney <dominicc@chromium.org>
Unreviewed. Remove expectation of gc-shadow.html flakiness.
- platform/chromium/test_expectations.txt:
- 6:21 PM Changeset in webkit [86517] by
-
- 2 edits in trunk/Tools
2011-05-15 Dominic Cooney <dominicc@chromium.org>
Unreviewed: adding myself to committers.py.
- Scripts/webkitpy/common/config/committers.py:
- 5:53 PM Changeset in webkit [86516] by
-
- 4 edits in trunk/Source/WebKit2
2011-05-15 Anders Carlsson <andersca@apple.com>
Reviewed by Geoffrey Garen.
Pass the document URL and toplevel document URL when creating a plug-in
https://bugs.webkit.org/show_bug.cgi?id=60863
This is the first of a series of patches intended to reduce the IPC traffic
during plug-in instantiation.
- WebProcess/Plugins/Plugin.cpp: (WebKit::Plugin::Parameters::encode): Encode the URLs.
(WebKit::Plugin::Parameters::decode):
Decode the URLs.
- WebProcess/Plugins/Plugin.h: Add the document and toplevel document URLs.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::createPlugin): Initialize the document and toplevel document URLs.
- 4:54 PM Changeset in webkit [86515] by
-
- 6 edits in trunk/Tools
2011-05-15 Daniel Bates <dbates@webkit.org>
Reviewed by Chris Jerdonek.
svn-apply can't handle Git diff that only changes executable bit
https://bugs.webkit.org/show_bug.cgi?id=60848
Fixes an issue where svn-{apply, unapply} fail to handle a Git diff for a file
that only has an executable bit change.
- Scripts/VCSUtils.pm:
- Modified regex $chunkRangeRegEx to match chunk range with ending text, say: @@ -2,6 +2,18 @@ foo().
(parseDiff): Modified to count the number of text chunks in the diff. This should also help towards
fixing <https://bugs.webkit.org/show_bug.cgi?id=29684>.
- Scripts/svn-apply: (patch): Only use standard patch tool if the patch is non-empty and for a text file (i.e. not a binary patch).
- Scripts/svn-unapply: (patch): Ditto.
- Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
- Updated expected results for test cases to account for numTextChunks.
- Fixed malformed chunk range in test cases: "Git: simple", and "Git: Git diff followed by SVN diff".
- Added test case "Git: file that only has an executable bit change".
- Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
- Updated expected results for test cases to account for numTextChunks.
- 4:20 PM Changeset in webkit [86514] by
-
- 1 edit3 adds in trunk/LayoutTests
2011-05-15 Rob Buis <rbuis@rim.com>
Reviewed by Eric Seidel.
REGERSSION(r26359-26570): Points in SVG kNN correlation model do not appear in ToT
https://bugs.webkit.org/show_bug.cgi?id=16614
Include testcase from the bug to prevent future regression (right now we pass both full testcase
and this reduction).
- platform/mac/svg/custom/small-rect-scale-expected.png: Added.
- platform/mac/svg/custom/small-rect-scale-expected.txt: Added.
- svg/custom/small-rect-scale.svg: Added.
- 4:02 PM Changeset in webkit [86513] by
-
- 2 edits in trunk/Tools
Fix windows build.
- TestWebKitAPI/win/main.cpp:
(main):
- 3:49 PM Changeset in webkit [86512] by
-
- 2 edits in trunk/LayoutTests
Unreviewed typo fix after r86509.
- platform/qt/Skipped:
- 3:41 PM Changeset in webkit [86511] by
-
- 6 edits in trunk/Tools
2011-05-15 Sam Weinig <sam@webkit.org>
Reviewed by David Levin.
Make API tester more gtest friendly
https://bugs.webkit.org/show_bug.cgi?id=60859
- Scripts/run-api-tests: Numerous changes:
- Remove logic to run tests one at a time.
- Remove logic to build up a list of tests, instead just pass --gtest_list_tests to the test runner and allow gtest to print it for us.
- Forward stdout from the test tool to stdout, even in non-verbose runs.
- Run test tool from the current working directory instead of the root webkit directory.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Move plist to be with other bundle sources.
- TestWebKitAPI/TestsController.cpp: (TestWebKitAPI::TestsController::TestsController): (TestWebKitAPI::TestsController::run):
- TestWebKitAPI/TestsController.h:
- TestWebKitAPI/mac/main.mm: Simplify TestController down to a single run function. We should consider removing the class entirely at some point.
- 3:31 PM Changeset in webkit [86510] by
-
- 5 edits in trunk/Source/JavaScriptCore
Partial fix for <rdar://problem/9417875> REGRESSION: SunSpider ~17% slower
in browser than on command line
Reviewed by Maciej Stachowiak.
This patch fixes a few issues in generated code that could unreasonably
prolong object lifetimes.
- heap/Heap.cpp:
(JSC::Heap::collectAllGarbage): Throw away all function code before doing
a major collection. We want to clear polymorphic caches, since they can
keep alive large object graphs that have gone "stale". For the same reason,
but to a lesser extent, we also want to clear linked functions and other
one-off caches.
This has the side-benefit of reducing memory footprint from run-once
functions, and of allowing predictions and caches that have failed to
re-specialize.
Eventually, if compilation costs rise far enough, we may want a more
limited strategy for de-specializing code without throwing it away
completely, but this works for now, and it's the simplest solution.
- jit/JITStubs.cpp:
(JSC::JITThunks::hostFunctionStub):
- jit/JITStubs.h:
- runtime/JSFunction.cpp: Made the host function stub cache weak --
otherwise it's effectively a memory leak that can seriously fragment the
GC and JIT heaps.
(JSC::JSFunction::JSFunction):
(JSC::JSFunction::visitChildren): Cleared up some comments that confused
me when working with this code.
- 11:43 AM Changeset in webkit [86509] by
-
- 2 edits in trunk/LayoutTests
2011-05-15 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed. Just skipping a test.
- platform/qt/Skipped: inspector/console/console-long-eval-crash.html
- 10:34 AM Changeset in webkit [86508] by
-
- 2 edits in trunk/LayoutTests
2011-05-15 Eric Carlson <eric.carlson@apple.com>
Unreviewed, just skipping a test.
New test fails on some of the SnowLeopard bots.
- platform/mac-snowleopard/Skipped:
- 9:57 AM Changeset in webkit [86507] by
-
- 10 edits2 adds in trunk
2011-05-15 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: chromium renderer crash at eval in console.
https://bugs.webkit.org/show_bug.cgi?id=60616
Renderer of inspected page is crashing when modal dialog
has been opened via console eval and page is reloaded.
Test: inspector/console/console-long-eval-crash.html
- inspector/CodeGeneratorInspector.pm:
- inspector/InspectorController.cpp: (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::dispatchMessageFromFrontend):
- inspector/InspectorController.h:
2011-05-15 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: chromium renderer crash at eval in console.
https://bugs.webkit.org/show_bug.cgi?id=60616
Renderer of inspected page is crashing when modal dialog
has been opened via console eval and page is reloaded.
- inspector/console/console-long-eval-crash-expected.txt: Added.
- inspector/console/console-long-eval-crash.html: Added.
- platform/gtk/Skipped:
- platform/mac-wk2/Skipped:
- platform/qt-wk2/Skipped:
- platform/win/Skipped:
- 9:18 AM Changeset in webkit [86506] by
-
- 5 edits3 adds in trunk
2011-05-15 Eric Carlson <eric.carlson@apple.com>
Reviewed by Maciej Stachowiak.
Use new AVAssetReferenceRestrictions to prevent cross site media references
https://bugs.webkit.org/show_bug.cgi?id=60791
<rdar://problem/9374202>
Test: http/tests/media/video-cross-site.html
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Set restriction
to prevent cross-domain references from being followed.
2011-05-15 Eric Carlson <eric.carlson@apple.com>
Reviewed by Maciej Stachowiak.
Use new AVAssetReferenceRestrictions to prevent cross site media references
https://bugs.webkit.org/show_bug.cgi?id=60791
<rdar://problem/9374202>
Add test for cross-domain QuickTime reference movie and test.
- http/tests/media/resources/cross-site-reference.mov: Added.
- http/tests/media/video-cross-site-expected.txt: Added.
- http/tests/media/video-cross-site.html: Added.
- platform/chromium/test_expectations.txt: Skipped, QuickTime reference movies not supported.
- platform/gtk/Skipped: Ditto.
- 7:07 AM Changeset in webkit [86505] by
-
- 9 edits1 delete in trunk
2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86504.
http://trac.webkit.org/changeset/86504
https://bugs.webkit.org/show_bug.cgi?id=60853
"Broke Qt EventSender in editing/selection tests" (Requested
by mwenge on #webkit).
- platform/qt/Skipped:
- platform/qt/http/tests/plugins/plugin-document-has-focus-expected.txt: Removed.
2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86504.
http://trac.webkit.org/changeset/86504
https://bugs.webkit.org/show_bug.cgi?id=60853
"Broke Qt EventSender in editing/selection tests" (Requested
by mwenge on #webkit).
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86504.
http://trac.webkit.org/changeset/86504
https://bugs.webkit.org/show_bug.cgi?id=60853
"Broke Qt EventSender in editing/selection tests" (Requested
by mwenge on #webkit).
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): (WebCore::DumpRenderTree::initJSObjects):
- DumpRenderTree/qt/DumpRenderTreeQt.h: (WebCore::DumpRenderTree::eventSender):
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): (webkit_test_plugin_set_window): (webkit_test_plugin_handle_event):
- 6:49 AM Changeset in webkit [86504] by
-
- 9 edits1 add in trunk
2011-05-12 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
For some reason the platform-independent expected result has
no newline at the end of the file. The unix test plugin also
reports the event from a different line. These are harmless
differences, so create platform-specific result.
Note that nearly every platform skips this test at the moment.
- platform/qt/Skipped:
- platform/qt/http/tests/plugins/plugin-document-has-focus-expected.txt: Added.
2011-05-12 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
https://bugs.webkit.org/show_bug.cgi?id=60722
QWebPage::setView() will display the browser window, so
implement a private version that does just enough to
satisfy EventSender's requirement to install an event
filter on a page's web view.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::setView):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-12 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
The support for this test added to the unix test plugin here
may allow other platforms to pass it (nearly everyone
skips it). On Qt it required a bit of trickiness with
the page's EventSender object to get it working fully though,
so only unskipping Qt here.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::eventSender): (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::initJSObjects): (WebCore::DumpRenderTree::createWindow):
- DumpRenderTree/qt/DumpRenderTreeQt.h:
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): (webkit_test_plugin_set_window): (webkit_test_plugin_handle_event):
- 4:40 AM Changeset in webkit [86503] by
-
- 2 edits in trunk/Source/WebCore
2011-05-15 Arno Renevier <arno@renevier.net>
Reviewed by Darin Adler.
remove unecessary includes from Source/WebCore/html/HTMLFrameElementBase.cpp
https://bugs.webkit.org/show_bug.cgi?id=60775
No new tests. This change only impacts compilation.
- html/HTMLFrameElementBase.cpp:
May 14, 2011:
- 11:41 PM Changeset in webkit [86502] by
-
- 2 edits in trunk/Source/WebCore
Reviewed by Kevin Ollivier.
[wx] Fix strokeArc and fillRoundedRect drawing, and add clipPath support.
https://bugs.webkit.org/show_bug.cgi?id=60847
- 10:39 PM Changeset in webkit [86501] by
-
- 8 edits in trunk/Source/WebCore
2011-05-14 Eric Carlson <eric.carlson@apple.com>
Reviewed by Dan Bernstein.
HTTP video-on-demand streams frequently have live stream UI
https://bugs.webkit.org/show_bug.cgi?id=60849
<rdar://problem/9440502>
No new tests, we don't currently have tests for http live streams. Changes verified manually.
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerDurationChanged): Reset the media controls so
a duration change which identifies a format will be picked up.
(WebCore::HTMLMediaElement::mediaPlayerCharacteristicChanged): New, reset media controls
so they can be reconfigured for the media file characteristics.
- html/HTMLMediaElement.h:
- platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::characteristicChanged): New, pass through to the element.
- platform/graphics/MediaPlayer.h: (WebCore::MediaPlayerClient::mediaPlayerCharacteristicChanged):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::setHasVideo): Call characteristicChanged when
setting changes.
(WebCore::MediaPlayerPrivateAVFoundation::setHasAudio): Ditto.
(WebCore::MediaPlayerPrivateAVFoundation::setHasClosedCaptions): Ditto.
(WebCore::MediaPlayerPrivateAVFoundation::loadedTimeRangesChanged): Move the duration
change notification logic to invalidateCachedDuration.
(WebCore::MediaPlayerPrivateAVFoundation::invalidateCachedDuration): New, invalidate
the cached duration and notify the element when it changes.
(WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Call invalidateCachedDuration
for the DurationChanged notification.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: Define DurationChanged.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration): Don't check asset or
item duration until they have been loaded.
(WebCore::itemKVOProperties): Listen for duration change.
(-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): Deal with
duration change notification.
- 6:51 PM Changeset in webkit [86500] by
-
- 3 edits2 adds in trunk
2011-05-14 Abhishek Arya <inferno@chromium.org>
Reviewed by Dan Bernstein.
Tests that we do not crash when trying to parse an invalid font family
value of 'inherit' or 'initial' in a font face rule.
https://bugs.webkit.org/show_bug.cgi?id=60837
- fast/css/invalid-font-family-in-font-face-crash-expected.txt: Added.
- fast/css/invalid-font-family-in-font-face-crash.html: Added.
2011-05-14 Abhishek Arya <inferno@chromium.org>
Reviewed by Dan Bernstein.
As per spec, only allow one font family name in a font face rule.
Other things like initial value, inherited value or multiple names
are discarded.
https://bugs.webkit.org/show_bug.cgi?id=60837
Test: fast/css/invalid-font-family-in-font-face-crash.html
- css/CSSParser.cpp: (WebCore::CSSParser::createFontFaceRule):
- 3:10 PM Changeset in webkit [86499] by
-
- 66 edits in trunk/Source
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
This patch makes the checks performed under GC_VALIDATION
much more aggressive, and adds the checks to more places
in order to allow us to catch GC bugs much closer to the
point of failure.
- JavaScriptCore.exp:
- JavaScriptCore.xcodeproj/project.pbxproj:
- debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::visitChildren):
- heap/MarkedBlock.cpp: (JSC::MarkedBlock::MarkedBlock):
- heap/MarkedSpace.cpp:
- runtime/Arguments.cpp: (JSC::Arguments::visitChildren):
- runtime/Executable.cpp: (JSC::EvalExecutable::visitChildren): (JSC::ProgramExecutable::visitChildren): (JSC::FunctionExecutable::visitChildren):
- runtime/Executable.h:
- runtime/GetterSetter.cpp: (JSC::GetterSetter::visitChildren):
- runtime/GetterSetter.h:
- runtime/JSAPIValueWrapper.h: (JSC::JSAPIValueWrapper::createStructure): (JSC::JSAPIValueWrapper::JSAPIValueWrapper):
- runtime/JSActivation.cpp: (JSC::JSActivation::visitChildren):
- runtime/JSArray.cpp: (JSC::JSArray::visitChildren):
- runtime/JSCell.cpp: (JSC::slowValidateCell):
- runtime/JSCell.h: (JSC::JSCell::JSCell::unvalidatedStructure): (JSC::JSCell::JSCell::JSCell):
- runtime/JSFunction.cpp: (JSC::JSFunction::visitChildren):
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::visitChildren): (JSC::slowValidateCell):
- runtime/JSONObject.h:
- runtime/JSObject.cpp: (JSC::JSObject::visitChildren):
- runtime/JSPropertyNameIterator.cpp: (JSC::JSPropertyNameIterator::visitChildren):
- runtime/JSPropertyNameIterator.h:
- runtime/JSStaticScopeObject.cpp: (JSC::JSStaticScopeObject::visitChildren):
- runtime/JSString.h: (JSC::RopeBuilder::JSString):
- runtime/JSWrapperObject.cpp: (JSC::JSWrapperObject::visitChildren):
- runtime/NativeErrorConstructor.cpp: (JSC::NativeErrorConstructor::visitChildren):
- runtime/PropertyMapHashTable.h: (JSC::PropertyMapEntry::PropertyMapEntry):
- runtime/RegExpObject.cpp: (JSC::RegExpObject::visitChildren):
- runtime/ScopeChain.cpp: (JSC::ScopeChainNode::visitChildren):
- runtime/ScopeChain.h: (JSC::ScopeChainNode::ScopeChainNode):
- runtime/Structure.cpp: (JSC::Structure::Structure): (JSC::Structure::addPropertyTransition): (JSC::Structure::visitChildren):
- runtime/Structure.h: (JSC::JSCell::classInfo):
- runtime/StructureChain.cpp: (JSC::StructureChain::visitChildren):
- runtime/StructureChain.h:
- runtime/WriteBarrier.h: (JSC::validateCell): (JSC::JSCell): (JSC::JSGlobalObject): (JSC::WriteBarrierBase::set): (JSC::WriteBarrierBase::setMayBeNull): (JSC::WriteBarrierBase::setEarlyValue): (JSC::WriteBarrierBase::get): (JSC::WriteBarrierBase::operator*): (JSC::WriteBarrierBase::operator->): (JSC::WriteBarrierBase::unvalidatedGet): (JSC::WriteBarrier::WriteBarrier):
- wtf/Assertions.h:
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
This makes GC_VALIDATION much more aggressive in webcore,
adding logic to every visitChildren method to ensure that
the structure still has correct flags.
Additionally every function generated for the dom bindings
makes use of the new GC_VALIDATION object assertions to further
ensure that the object appears to be sensible.
- bindings/js/JSAttrCustom.cpp: (WebCore::JSAttr::visitChildren):
- bindings/js/JSAudioContextCustom.cpp: (WebCore::JSAudioContext::visitChildren):
- bindings/js/JSCSSRuleCustom.cpp: (WebCore::JSCSSRule::visitChildren):
- bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::visitChildren):
- bindings/js/JSCanvasRenderingContextCustom.cpp: (WebCore::JSCanvasRenderingContext::visitChildren):
- bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::visitChildren): (WebCore::JSDOMGlobalObject::setInjectedScript):
- bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::visitChildren):
- bindings/js/JSDOMWindowShell.cpp: (WebCore::JSDOMWindowShell::visitChildren):
- bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::JSEventListener):
- bindings/js/JSEventListener.h: (WebCore::JSEventListener::jsFunction):
- bindings/js/JSJavaScriptAudioNodeCustom.cpp: (WebCore::JSJavaScriptAudioNode::visitChildren):
- bindings/js/JSMessageChannelCustom.cpp: (WebCore::JSMessageChannel::visitChildren):
- bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::visitChildren):
- bindings/js/JSNamedNodeMapCustom.cpp: (WebCore::JSNamedNodeMap::visitChildren):
- bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::visitChildren):
- bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::visitChildren):
- bindings/js/JSNodeIteratorCustom.cpp: (WebCore::JSNodeIterator::visitChildren):
- bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::visitChildren):
- bindings/js/JSSharedWorkerCustom.cpp: (WebCore::JSSharedWorker::visitChildren):
- bindings/js/JSStyleSheetCustom.cpp: (WebCore::JSStyleSheet::visitChildren):
- bindings/js/JSTreeWalkerCustom.cpp: (WebCore::JSTreeWalker::visitChildren):
- bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::JSWebGLRenderingContext::visitChildren):
- bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::visitChildren):
- bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::visitChildren):
- bindings/js/JSXPathResultCustom.cpp: (WebCore::JSXPathResult::visitChildren):
- bindings/scripts/CodeGeneratorJS.pm:
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
Add GC_VALIDATION calls to all the JSNPObject methods.
- WebProcess/Plugins/Netscape/JSNPObject.cpp: (WebKit::JSNPObject::invalidate): (WebKit::JSNPObject::callMethod): (WebKit::JSNPObject::callObject): (WebKit::JSNPObject::callConstructor): (WebKit::JSNPObject::getCallData): (WebKit::JSNPObject::getConstructData): (WebKit::JSNPObject::getOwnPropertySlot): (WebKit::JSNPObject::getOwnPropertyDescriptor): (WebKit::JSNPObject::put): (WebKit::JSNPObject::getOwnPropertyNames): (WebKit::JSNPObject::propertyGetter): (WebKit::JSNPObject::methodGetter):
- 2:44 PM Changeset in webkit [86498] by
-
- 3 edits in trunk/Source/WebCore
2011-05-14 Oliver Hunt <oliver@apple.com>
Reviewed by Anders Carlsson.
Make Qt bindings GC safe
https://bugs.webkit.org/show_bug.cgi?id=60841
Trying to do cache management by using "this" as a key from a GC
object's destructor leads to a violation of GC semantics. Make
the qt bindings use a Weak<> handle for finalization.
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::QtRuntimeMethod::QtRuntimeMethod): (JSC::Bindings::QtRuntimeMethod::~QtRuntimeMethod):
- bridge/qt/qt_runtime.h: (JSC::Bindings::QtRuntimeMethodData::finalize):
- 2:23 PM Changeset in webkit [86497] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-14 Alexey Proskuryakov <ap@apple.com>
Reviewed by Sam Weinig.
WebKit2: Smart cut&paste is broken
https://bugs.webkit.org/show_bug.cgi?id=60840
<rdar://problem/9439927>
- UIProcess/mac/TextCheckerMac.mm: (WebKit::TextChecker::isSmartInsertDeleteEnabled): Match WK1 - this default defaults to YES if not present.
- 1:48 PM Changeset in webkit [86496] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change.
- platform/chromium/test_expectations.txt:
- 1:41 PM Changeset in webkit [86495] by
-
- 5 edits in trunk/Source/WebKit2
WKView does not draw after forced repaint before the first update
https://bugs.webkit.org/show_bug.cgi?id=60845
Reviewed by Alice Liu.
- UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::waitForBackingStoreUpdateOnNextPaint): Added.
- UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::waitForBackingStoreUpdateOnNextPaint): Set m_hasReceivedFirstUpdate
to true, ensuring that paint() will wait for an update if needed.
- UIProcess/DrawingAreaProxyImpl.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::forceRepaint): Call DrawingAreaProxy::waitForBackingStoreUpdateOnNextPaint().
- 1:00 PM Changeset in webkit [86494] by
-
- 3 edits in trunk/Source/WebKit2
2011-05-14 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Document the WantsMozillaUserAgent quirk and make it Windows specific
https://bugs.webkit.org/show_bug.cgi?id=60843
- Shared/Plugins/PluginQuirks.h:
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::userAgent):
- 11:40 AM Changeset in webkit [86493] by
-
- 2 edits in trunk/Tools
2011-05-14 Arno Renevier <arno@renevier.net>
Reviewed by Martin Robinson.
make run-gtk-tests executable
https://bugs.webkit.org/show_bug.cgi?id=59278
- Scripts/run-gtk-tests:
- 11:15 AM Changeset in webkit [86492] by
-
- 1 edit3 copies in branches/chromium/742
Merge 85971 - https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
REGRESSION (r81684?): cox.com sign in button is missing
Reviewed by Dan Bernstein.
Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
This restores the original behavior before the refactoring messed it up.
Source/WebCore:
Added fast/inline/nested-top-alignment.html
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::computeLogicalBoxHeights):
LayoutTests:
- fast/inline/nested-top-alignment.html: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
TBR=levin@chromium.org
Review URL: http://codereview.chromium.org/7018002
- 11:10 AM Changeset in webkit [86491] by
-
- 18 edits in trunk/Source/WebCore
2011-05-14 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Eric Seidel.
Make canHaveChildrenForEditing more efficient
https://bugs.webkit.org/show_bug.cgi?id=53564
Improved the performance (1-2% in release and 20% in debug) by adding virtual member function
canContainRangeEndPoint to Node. It returns true whenever the associated node can have be a container
node for a position.
As of this revision, canContainRangeEndPoint returns true on Document, DocumentFragment, Text nodes
and any elements except:
HTML: applet, br, embed, frame, frameset, hr (unless has children), img, input, keygen,
meter, object (unless uses fallback content), output, progress, select, and textarea.
No new tests are added since this change cannot be tested directly.
- dom/Document.h: (WebCore::Document::canContainRangeEndPoint): Added; returns false.
- dom/DocumentFragment.h: (WebCore::DocumentFragment::canContainRangeEndPoint): Added; returns true.
- dom/Element.h: (WebCore::Element::canContainRangeEndPoint): Ditto.
- dom/Node.h: (WebCore::Node::canContainRangeEndPoint): Added; returns false.
- dom/Text.h: (WebCore::Text::canContainRangeEndPoint): Added; returns true.
- editing/htmlediting.cpp: Removed editingIgnoresContent and canHaveChildrenForEditing.
- editing/htmlediting.h: (WebCore::editingIgnoresContent): Moved from htmlediting.cpp; made it inline. (WebCore::canHaveChildrenForEditing): Ditto.
- html/HTMLBRElement.h: (WebCore::HTMLBRElement::canContainRangeEndPoint): Added; returns false.
- html/HTMLButtonElement.h: (WebCore::HTMLDataGridElement::canContainRangeEndPoint): Ditto.
- html/HTMLFormControlElement.h: (WebCore::HTMLFormControlElementWithState::canContainRangeEndPoint): Ditto.
- html/HTMLFrameElementBase.h: (WebCore::HTMLFrameElementBase::canContainRangeEndPoint): Ditto.
- html/HTMLImageElement.h: (WebCore::HTMLImageElement::canContainRangeEndPoint): Ditto.
- html/HTMLMeterElement.h: (WebCore::HTMLMeterElement::canContainRangeEndPoint): Ditto.
- html/HTMLOutputElement.h: (WebCore::HTMLOutputElement::canContainRangeEndPoint): Ditto.
- html/HTMLPlugInElement.h: (WebCore::HTMLPlugInElement::canContainRangeEndPoint): Ditto.
- html/HTMLProgressElement.h: (WebCore::HTMLProgressElement::canContainRangeEndPoint): Ditto.
- html/HTMLHRElement.h: (WebCore::HTMLHRElement::canContainRangeEndPoint): Added; returns true iff it has children.
- html/HTMLObjectElement.h: (WebCore::HTMLObjectElement::canContainRangeEndPoint): Added; returns true iff it uses fallback content.
- 11:10 AM Changeset in webkit [86490] by
-
- 2 edits in trunk/LayoutTests
- platform/qt/Skipped:
Add plugins/get-url-notify-with-url-that-fails-to-load.html to the skipped list.
- 11:06 AM Changeset in webkit [86489] by
-
- 9 edits2 adds in trunk/Source/WebKit2
2011-05-14 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Consolidate plug-in creation parameters to a single struct
https://bugs.webkit.org/show_bug.cgi?id=60839
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::create): (WebKit::PluginControllerProxy::PluginControllerProxy):
- PluginProcess/PluginControllerProxy.h:
- PluginProcess/PluginCreationParameters.cpp: Added. (WebKit::PluginCreationParameters::PluginCreationParameters): (WebKit::PluginCreationParameters::encode): (WebKit::PluginCreationParameters::decode):
- PluginProcess/PluginCreationParameters.h: Added.
- PluginProcess/WebProcessConnection.cpp: (WebKit::WebProcessConnection::createPlugin):
- PluginProcess/WebProcessConnection.h:
- PluginProcess/WebProcessConnection.messages.in:
- Scripts/webkit2/messages.py:
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::initialize):
- 10:29 AM Changeset in webkit [86488] by
-
- 4 edits2 adds in trunk
2011-05-14 Jeremy Noble <jer.noble@apple.com>
Reviewed by Darin Adler.
Exiting full screen causes <video> element inline controls to become visible
https://bugs.webkit.org/show_bug.cgi?id=60142
- fullscreen/video-controls-override-expected.txt: Added.
- fullscreen/video-controls-override.html: Added.
2011-05-14 Jeremy Noble <jer.noble@apple.com>
Reviewed by Darin Adler.
Exiting full screen causes <video> element inline controls to become visible
https://bugs.webkit.org/show_bug.cgi?id=60142
Create a queue of elements who must be targeted with webkitfullscreenchange events. Instead of dispatching
a single event with whatever the current value of m_fullScreenElement is (which may have been cleared, or
changed since the timer was asked to fire), dispatch one event for each entry in the queue.
Test: fullscreen/video-controls-override.html
- dom/Document.cpp: (WebCore::Document::webkitDidEnterFullScreenForElement): Push current full screen element onto the
webkitfullscreenchange event delay queue.
(WebCore::Document::webkitDidExitFullScreenForElement): Ditto.
(WebCore::Document::fullScreenElementRemoved): Ditto.
(WebCore::Document::fullScreenChangeDelayTimerFired): Empty the queue, dispatching a
webkitfullscreenchange event for each entry.
- dom/Document.h:
- 9:31 AM Changeset in webkit [86487] by
-
- 10 edits3 adds in trunk
2011-05-14 Anders Carlsson <andersca@apple.com>
Reviewed by Kevin Decker.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
Add test that calls NPN_GetURLNotify on a URL that can't be loaded, and checks if NPP_URLNotify is called.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
- DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Added. (GetURLNotifyWithURLThatFailsToLoad::GetURLNotifyWithURLThatFailsToLoad): (GetURLNotifyWithURLThatFailsToLoad::NPP_New): (GetURLNotifyWithURLThatFailsToLoad::NPP_URLNotify):
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
- DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
- GNUmakefile.am:
2011-05-14 Anders Carlsson <andersca@apple.com>
Reviewed by Kevin Decker.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
Add test.
- platform/gtk/Skipped: Add test to Skipped list since it apparently crashes.
- plugins/get-url-notify-with-url-that-fails-to-load-expected.txt: Added.
- plugins/get-url-notify-with-url-that-fails-to-load.html: Added.
2011-05-14 Anders Carlsson <andersca@apple.com>
Reviewed by Kevin Decker.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
If a plug-in stream fails to load before it's been started, we won't destroy the stream.
- WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: (WebKit::NetscapePluginStream::stop): Call notifyAndDestroyStream which will call NPP_URLNotify if necessary, and also destroy the stream.
(WebKit::NetscapePluginStream::notifyAndDestroyStream):
Pass the request URL to NPP_URLNotify, matching other browsers.
- 9:17 AM Changeset in webkit [86486] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-14 Jer Noble <jer.noble@apple.com>
Reviewed by Simon Fraser.
Flashing window frame and graphical glitches after exiting full screen mode.
https://bugs.webkit.org/show_bug.cgi?id=60825
A layer-backed WebView throws an exception when moved from a layer-backed parent view
to a non-layer-backed one, so make the WebView a child of the content view, instead of
the animation view. There is an unrelated fix in beganExitFullScreen, which was calling
finishedExitFullScreenAnimation: instead of finishedEnterFullScreenAnimation: when
notifications come out of order.
- UIProcess/mac/WKFullScreenWindowController.mm: (-[WKFullScreenWindowController finishedEnterFullScreenAnimation:]): Add the _webView
to the full screen window's content view, instead of the _animationView.
(-[WKFullScreenWindowController beganExitFullScreenAnimation]): Call
finishedEnterFullScreenAnimation: instead of finishedExitFullScreenAnimation:.
(-[WKFullScreenWindowController enterAcceleratedCompositingMode:WebKit::]): Add the
_layerHostingView to the contentView, instead of the animationView.
- 7:56 AM Changeset in webkit [86485] by
-
- 2 edits in trunk/Source/WebCore
2011-05-14 Patrick Gansterer <Patrick Gansterer>
Reviewed by Andreas Kling.
Buildfix for SharedTimerWx.cpp
https://bugs.webkit.org/show_bug.cgi?id=60829
- platform/wx/SharedTimerWx.cpp: (WebCore::WebKitTimer::WebKitTimer): We can't call the constructor of a base class in the body of the constructor.
- 2:39 AM Changeset in webkit [86484] by
-
- 2 edits in trunk/Source/WebCore
2011-05-14 Patrick Gansterer <Patrick Gansterer>
Unreviewed WinCE build fix for r86477.
Remove the global namespace prefix from GlobalLock/GlobalUnlock.
- platform/win/ClipboardUtilitiesWin.cpp:
- 1:48 AM Changeset in webkit [86483] by
-
- 2 edits in trunk/LayoutTests
[Qt]fast/events/remove-target-in-mouseup* tests fail
https://bugs.webkit.org/show_bug.cgi?id=60833
[Qt][GTK] plugins/get-url-with-javascript-url.html fails
https://bugs.webkit.org/show_bug.cgi?id=60834
- platform/qt/Skipped: Add failing tests.
- 1:02 AM Changeset in webkit [86482] by
-
- 66 edits in trunk/Source
Unreviewed, rolling out r86469 and r86471, because they made hundreds tests crash on Qt.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
Source/JavaScriptCore:
- JavaScriptCore.exp:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- JavaScriptCore.xcodeproj/project.pbxproj:
- debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::visitChildren):
- heap/MarkedBlock.cpp:
(JSC::MarkedBlock::MarkedBlock):
- heap/MarkedSpace.cpp:
- runtime/Arguments.cpp:
(JSC::Arguments::visitChildren):
- runtime/Executable.cpp:
(JSC::EvalExecutable::visitChildren):
(JSC::ProgramExecutable::visitChildren):
(JSC::FunctionExecutable::visitChildren):
- runtime/Executable.h:
(JSC::ProgramExecutable::createStructure):
(JSC::FunctionExecutable::createStructure):
- runtime/GetterSetter.cpp:
(JSC::GetterSetter::visitChildren):
- runtime/GetterSetter.h:
(JSC::GetterSetter::createStructure):
- runtime/JSAPIValueWrapper.h:
(JSC::JSAPIValueWrapper::createStructure):
- runtime/JSActivation.cpp:
(JSC::JSActivation::visitChildren):
- runtime/JSArray.cpp:
(JSC::JSArray::visitChildren):
- runtime/JSCell.cpp:
- runtime/JSCell.h:
(JSC::JSCell::JSCell::JSCell):
- runtime/JSFunction.cpp:
(JSC::JSFunction::visitChildren):
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::visitChildren):
- runtime/JSONObject.h:
(JSC::JSONObject::createStructure):
- runtime/JSObject.cpp:
(JSC::JSObject::visitChildren):
- runtime/JSPropertyNameIterator.cpp:
(JSC::JSPropertyNameIterator::visitChildren):
- runtime/JSPropertyNameIterator.h:
- runtime/JSStaticScopeObject.cpp:
(JSC::JSStaticScopeObject::visitChildren):
- runtime/JSString.h:
(JSC::RopeBuilder::createStructure):
- runtime/JSWrapperObject.cpp:
(JSC::JSWrapperObject::visitChildren):
- runtime/NativeErrorConstructor.cpp:
(JSC::NativeErrorConstructor::visitChildren):
- runtime/PropertyMapHashTable.h:
(JSC::PropertyMapEntry::PropertyMapEntry):
- runtime/RegExpObject.cpp:
(JSC::RegExpObject::visitChildren):
- runtime/ScopeChain.cpp:
(JSC::ScopeChainNode::visitChildren):
- runtime/ScopeChain.h:
(JSC::ScopeChainNode::ScopeChainNode):
- runtime/Structure.cpp:
(JSC::Structure::Structure):
(JSC::Structure::addPropertyTransition):
(JSC::Structure::visitChildren):
- runtime/Structure.h:
(JSC::Structure::createStructure):
(JSC::JSCell::classInfo):
- runtime/StructureChain.cpp:
(JSC::StructureChain::visitChildren):
- runtime/StructureChain.h:
- runtime/WriteBarrier.h:
(JSC::WriteBarrierBase::set):
(JSC::WriteBarrierBase::get):
(JSC::WriteBarrierBase::operator*):
(JSC::WriteBarrierBase::operator->):
(JSC::WriteBarrier::WriteBarrier):
- wtf/Assertions.h:
Source/WebCore:
- bindings/js/JSAttrCustom.cpp:
(WebCore::JSAttr::visitChildren):
- bindings/js/JSAudioContextCustom.cpp:
(WebCore::JSAudioContext::visitChildren):
- bindings/js/JSCSSRuleCustom.cpp:
(WebCore::JSCSSRule::visitChildren):
- bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::JSCSSStyleDeclaration::visitChildren):
- bindings/js/JSCanvasRenderingContextCustom.cpp:
(WebCore::JSCanvasRenderingContext::visitChildren):
- bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::visitChildren):
(WebCore::JSDOMGlobalObject::setInjectedScript):
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::visitChildren):
- bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::visitChildren):
- bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::JSEventListener):
- bindings/js/JSEventListener.h:
(WebCore::JSEventListener::jsFunction):
- bindings/js/JSJavaScriptAudioNodeCustom.cpp:
(WebCore::JSJavaScriptAudioNode::visitChildren):
- bindings/js/JSMessageChannelCustom.cpp:
(WebCore::JSMessageChannel::visitChildren):
- bindings/js/JSMessagePortCustom.cpp:
(WebCore::JSMessagePort::visitChildren):
- bindings/js/JSNamedNodeMapCustom.cpp:
(WebCore::JSNamedNodeMap::visitChildren):
- bindings/js/JSNodeCustom.cpp:
(WebCore::JSNode::visitChildren):
- bindings/js/JSNodeFilterCustom.cpp:
(WebCore::JSNodeFilter::visitChildren):
- bindings/js/JSNodeIteratorCustom.cpp:
(WebCore::JSNodeIterator::visitChildren):
- bindings/js/JSSVGElementInstanceCustom.cpp:
(WebCore::JSSVGElementInstance::visitChildren):
- bindings/js/JSSharedWorkerCustom.cpp:
(WebCore::JSSharedWorker::visitChildren):
- bindings/js/JSStyleSheetCustom.cpp:
(WebCore::JSStyleSheet::visitChildren):
- bindings/js/JSTreeWalkerCustom.cpp:
(WebCore::JSTreeWalker::visitChildren):
- bindings/js/JSWebGLRenderingContextCustom.cpp:
(WebCore::JSWebGLRenderingContext::visitChildren):
- bindings/js/JSWorkerContextCustom.cpp:
(WebCore::JSWorkerContext::visitChildren):
- bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::visitChildren):
- bindings/js/JSXPathResultCustom.cpp:
(WebCore::JSXPathResult::visitChildren):
- bindings/scripts/CodeGeneratorJS.pm:
Source/WebKit2:
- WebProcess/Plugins/Netscape/JSNPObject.cpp:
(WebKit::JSNPObject::invalidate):
(WebKit::JSNPObject::callMethod):
(WebKit::JSNPObject::callObject):
(WebKit::JSNPObject::callConstructor):
(WebKit::JSNPObject::getCallData):
(WebKit::JSNPObject::getConstructData):
(WebKit::JSNPObject::getOwnPropertySlot):
(WebKit::JSNPObject::getOwnPropertyDescriptor):
(WebKit::JSNPObject::put):
(WebKit::JSNPObject::getOwnPropertyNames):
(WebKit::JSNPObject::propertyGetter):
(WebKit::JSNPObject::methodGetter):
- 12:24 AM Changeset in webkit [86481] by
-
- 9 edits3 deletes in trunk
Unreviewed, rolling out r86476.
http://trac.webkit.org/changeset/86476
https://bugs.webkit.org/show_bug.cgi?id=60832
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-05-14
It made plugins/get-url-notify-with-url-that-fails-to-
load.html crash on GTK (Requested by Ossy on #webkit).
Source/WebKit2:
- WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
(WebKit::NetscapePluginStream::stop):
(WebKit::NetscapePluginStream::notifyAndDestroyStream):
Tools:
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
- DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Removed.
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
- DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
- GNUmakefile.am:
LayoutTests:
- plugins/get-url-notify-with-url-that-fails-to-load-expected.txt: Removed.
- plugins/get-url-notify-with-url-that-fails-to-load.html: Removed.
May 13, 2011:
- 10:22 PM Changeset in webkit [86480] by
-
- 2 edits in trunk/Source/WebKit/efl
2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Unreviewed. Fix style error.
- ewk/ewk_history.cpp:
- 9:42 PM Changeset in webkit [86479] by
-
- 1 edit3 deletes in branches/chromium/742
Revert 86470 - Merge 85971 - https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
REGRESSION (r81684?): cox.com sign in button is missing
Reviewed by Dan Bernstein.
Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
This restores the original behavior before the refactoring messed it up.
Source/WebCore:
Added fast/inline/nested-top-alignment.html
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::computeLogicalBoxHeights):
LayoutTests:
- fast/inline/nested-top-alignment.html: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
TBR=levin@chromium.org
Review URL: http://codereview.chromium.org/6973064
TBR=dcheng@chromium.org
Review URL: http://codereview.chromium.org/6973070
- 9:20 PM Changeset in webkit [86478] by
-
- 5 edits3 adds in trunk
2011-05-13 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
HTML5 Application Cache Update Failures on Page Refresh
https://bugs.webkit.org/show_bug.cgi?id=60598
<rdar://problem/9418639>
- http/tests/appcache/interrupted-update-expected.txt: Added.
- http/tests/appcache/interrupted-update.html: Added.
- http/tests/appcache/resources/interrupted-update.manifest: Added.
- http/tests/appcache/main-resource-redirect.html:
- http/tests/appcache/non-html.xhtml: Now that we dispatch an error even when aborting a load due to navigation, error event handler was getting called after notifyDone().
2011-05-13 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
HTML5 Application Cache Update Failures on Page Refresh
https://bugs.webkit.org/show_bug.cgi?id=60598
<rdar://problem/9418639>
Test: http/tests/appcache/interrupted-update.html
The reason was two-fold:
1) Cache group state wasn't fully reset after a failed cache update (or an initial load).
2) The cache group is not deleted until after after the navigation (from autorelease pool),
so the failed and sorry old version was picked up by cache selection algorithm.
The latter is more of a surprising behavior than a problem in itself. Keeping an appcache in
memory for reload is generally a good thing for performance.
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::stopLoading): Added a FIXME about half-baked state resetting code that sent me looking for a wrong fix originally. (WebCore::ApplicationCacheGroup::stopLoadingInFrame): Stopped load is an update failure like any other, so we should call cacheUpdateFailed(), which knows how to reset state.
- 6:18 PM Changeset in webkit [86477] by
-
- 13 edits in trunk/Source
REGRESSION (WK2): Can't drag and drop a link or image from Safari to Desktop
https://bugs.webkit.org/show_bug.cgi?id=60819
<rdar://problem/9370689>
Reviewed by Darin Adler and Brian Weinstein.
Source/WebCore:
To support drag-and-drop to the desktop and other windows applications,
we need to support the fileDescriptor and fileContentZero clipboard formats.
This patch adds the support for serializing these types across the process boundary.
It also fixes a regression introduced by r70914, that was causing the content of the
shortcut files to be corrupted. Using ascii() to convert from String to CString was
causing '\n' and '\r' to be replaced with '?'.
- platform/DragData.h:
- platform/win/ClipboardUtilitiesWin.cpp:
(WebCore::fileDescriptorFormat): Moved from ClipboardWin.cpp.
(WebCore::fileContentFormatZero): Moved from ClipboardWin.cpp.
(WebCore::getFileDescriptorData): Serialize FileDescriptor type.
(WebCore::getFileContentData): Serialize FileContent type.
(WebCore::setFileDescriptorData): Deserialize FileDescriptor type.
(WebCore::setFileContentData): Deserialize FileContent type.
(WebCore::setCFData): Added missing initialization of the tymed field
that was causing the cfHDrop format not to be deserialized correctly.
- platform/win/ClipboardUtilitiesWin.h:
- platform/win/ClipboardWin.cpp:
(WebCore::createGlobalHDropContent): Changed ascii() to latin1().
(WebCore::ClipboardWin::writeURL):
- platform/win/DragDataWin.cpp:
(WebCore::DragData::getDragFileDescriptorData):
(WebCore::DragData::getDragFileContentData):
Source/WebKit2:
To support drag-and-drop to the desktop and other windows applications,
we need to support the fileDescriptor and fileContentZero clipboard formats.
This patch adds the support for serializing these types across the process boundary.
- Platform/CoreIPC/Arguments.h: Added support for messages with 10 arguments.
(CoreIPC::Arguments10::Arguments10):
(CoreIPC::Arguments10::encode):
(CoreIPC::Arguments10::decode):
(CoreIPC::In):
(CoreIPC::Out):
- Platform/CoreIPC/HandleMessage.h:
(CoreIPC::callMemberFunction): Added support for memebers with 10 arguments.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::startDragDrop):
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebCoreSupport/win/WebDragClientWin.cpp:
(WebKit::WebDragClient::startDrag):
- 6:05 PM Changeset in webkit [86476] by
-
- 9 edits3 adds in trunk
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
Add test that calls NPN_GetURLNotify on a URL that can't be loaded, and checks if NPP_URLNotify is called.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
- DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Added. (GetURLNotifyWithURLThatFailsToLoad::GetURLNotifyWithURLThatFailsToLoad): (GetURLNotifyWithURLThatFailsToLoad::NPP_New): (GetURLNotifyWithURLThatFailsToLoad::NPP_URLNotify):
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
- DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
- GNUmakefile.am:
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
Add test.
- plugins/get-url-notify-with-url-that-fails-to-load-expected.txt: Added.
- plugins/get-url-notify-with-url-that-fails-to-load.html: Added.
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
https://bugs.webkit.org/show_bug.cgi?id=60823
<rdar://problem/9430386>
If a plug-in stream fails to load before it's been started, we won't destroy the stream.
- WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: (WebKit::NetscapePluginStream::stop): Call notifyAndDestroyStream which will call NPP_URLNotify if necessary, and also destroy the stream.
(WebKit::NetscapePluginStream::notifyAndDestroyStream):
Pass the request URL to NPP_URLNotify, matching other browsers.
- 5:55 PM Changeset in webkit [86475] by
-
- 2 edits in trunk/Source/WebCore
2011-05-13 Daniel Cheng <dcheng@chromium.org>
Fix the build.
Add includes that the builders are suddenly complaining about...
- page/DragState.h:
- 5:24 PM Changeset in webkit [86474] by
-
- 2 edits in trunk/LayoutTests
Disable failing test on chromium. Unreviewed.
- platform/chromium/test_expectations.txt:
- 5:03 PM Changeset in webkit [86473] by
-
- 3 edits in trunk/Source/WebKit2
2011-05-13 Michael Saboff <msaboff@apple.com>
Reviewed by Geoffrey Garen.
Backing store may not get discarded due to stopped timer
https://bugs.webkit.org/show_bug.cgi?id=60816
Changed the backing store timer to restart if it has been stopped.
The evaluation is done when the view's state is changed.
This change appears to be worth ~3MB (one backing store worth)
during memory tests.
- UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::discardBackingStoreSoon):
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::viewStateDidChange):
- 4:31 PM Changeset in webkit [86472] by
-
- 9 edits2 adds in trunk
2011-05-13 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
Improve drag start logic
https://bugs.webkit.org/show_bug.cgi?id=59409
Add a new test to test drag start edge cases on Mac (because of a non-zero text drag delay)
as well as rebase an existing test.
- fast/css/user-drag-none.html: Text nodes are no longer draggable.
- platform/mac/editing/pasteboard/drag-selections-to-contenteditable-expected.txt: Added.
- platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html: Added.
2011-05-13 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
Improve drag start logic
https://bugs.webkit.org/show_bug.cgi?id=59409
Rewrite and simplify the dragging logic to better match IE, Firefox, and the behavior
defined in the spec. Among other things:
- draggableNode() no longer returns text nodes when dragging anchors.
- When starting a drag over an image in a selection, prefer to drag the selection.
- Several redundant hit tests have been removed.
- Minor refactoring to make the logic easier to follow.
Test: platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html
- WebCore.xcodeproj/project.pbxproj:
- page/DragController.cpp: (WebCore::DragController::draggableNode): (WebCore::DragController::startDrag):
- page/DragController.h:
- page/DragState.h: (WebCore::DragState::shouldDispatchEvents):
- page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): (WebCore::EventHandler::eventMayStartDrag): (WebCore::EventHandler::updateDragSourceActionsAllowed): (WebCore::EventHandler::updateDragAndDrop): (WebCore::EventHandler::cancelDragAndDrop): (WebCore::EventHandler::dragHysteresisExceeded): (WebCore::EventHandler::dragSourceEndedAt): (WebCore::ExactlyOneBitSet): (WebCore::EventHandler::handleDrag):
- page/EventHandler.h:
- 4:16 PM Changeset in webkit [86471] by
-
- 2 edits in trunk/Source/JavaScriptCore
Build fix.
- 4:09 PM Changeset in webkit [86470] by
-
- 1 edit3 copies in branches/chromium/742
Merge 85971 - https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
REGRESSION (r81684?): cox.com sign in button is missing
Reviewed by Dan Bernstein.
Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
This restores the original behavior before the refactoring messed it up.
Source/WebCore:
Added fast/inline/nested-top-alignment.html
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::computeLogicalBoxHeights):
LayoutTests:
- fast/inline/nested-top-alignment.html: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
- platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
TBR=levin@chromium.org
Review URL: http://codereview.chromium.org/6973064
- 4:07 PM Changeset in webkit [86469] by
-
- 66 edits in trunk/Source
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
This patch makes the checks performed under GC_VALIDATION
much more aggressive, and adds the checks to more places
in order to allow us to catch GC bugs much closer to the
point of failure.
- JavaScriptCore.exp:
- JavaScriptCore.xcodeproj/project.pbxproj:
- debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::visitChildren):
- heap/MarkedBlock.cpp: (JSC::MarkedBlock::MarkedBlock):
- heap/MarkedSpace.cpp:
- runtime/Arguments.cpp: (JSC::Arguments::visitChildren):
- runtime/Executable.cpp: (JSC::EvalExecutable::visitChildren): (JSC::ProgramExecutable::visitChildren): (JSC::FunctionExecutable::visitChildren):
- runtime/Executable.h:
- runtime/GetterSetter.cpp: (JSC::GetterSetter::visitChildren):
- runtime/GetterSetter.h:
- runtime/JSAPIValueWrapper.h: (JSC::JSAPIValueWrapper::createStructure): (JSC::JSAPIValueWrapper::JSAPIValueWrapper):
- runtime/JSActivation.cpp: (JSC::JSActivation::visitChildren):
- runtime/JSArray.cpp: (JSC::JSArray::visitChildren):
- runtime/JSCell.cpp: (JSC::slowValidateCell):
- runtime/JSCell.h: (JSC::JSCell::JSCell::unvalidatedStructure): (JSC::JSCell::JSCell::JSCell):
- runtime/JSFunction.cpp: (JSC::JSFunction::visitChildren):
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::visitChildren): (JSC::slowValidateCell):
- runtime/JSONObject.h:
- runtime/JSObject.cpp: (JSC::JSObject::visitChildren):
- runtime/JSPropertyNameIterator.cpp: (JSC::JSPropertyNameIterator::visitChildren):
- runtime/JSPropertyNameIterator.h:
- runtime/JSStaticScopeObject.cpp: (JSC::JSStaticScopeObject::visitChildren):
- runtime/JSString.h: (JSC::RopeBuilder::JSString):
- runtime/JSWrapperObject.cpp: (JSC::JSWrapperObject::visitChildren):
- runtime/NativeErrorConstructor.cpp: (JSC::NativeErrorConstructor::visitChildren):
- runtime/PropertyMapHashTable.h: (JSC::PropertyMapEntry::PropertyMapEntry):
- runtime/RegExpObject.cpp: (JSC::RegExpObject::visitChildren):
- runtime/ScopeChain.cpp: (JSC::ScopeChainNode::visitChildren):
- runtime/ScopeChain.h: (JSC::ScopeChainNode::ScopeChainNode):
- runtime/Structure.cpp: (JSC::Structure::Structure): (JSC::Structure::addPropertyTransition): (JSC::Structure::visitChildren):
- runtime/Structure.h: (JSC::JSCell::classInfo):
- runtime/StructureChain.cpp: (JSC::StructureChain::visitChildren):
- runtime/StructureChain.h:
- runtime/WriteBarrier.h: (JSC::validateCell): (JSC::JSCell): (JSC::JSGlobalObject): (JSC::WriteBarrierBase::set): (JSC::WriteBarrierBase::setMayBeNull): (JSC::WriteBarrierBase::setEarlyValue): (JSC::WriteBarrierBase::get): (JSC::WriteBarrierBase::operator*): (JSC::WriteBarrierBase::operator->): (JSC::WriteBarrierBase::unvalidatedGet): (JSC::WriteBarrier::WriteBarrier):
- wtf/Assertions.h:
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
This makes GC_VALIDATION much more aggressive in webcore,
adding logic to every visitChildren method to ensure that
the structure still has correct flags.
Additionally every function generated for the dom bindings
makes use of the new GC_VALIDATION object assertions to further
ensure that the object appears to be sensible.
- bindings/js/JSAttrCustom.cpp: (WebCore::JSAttr::visitChildren):
- bindings/js/JSAudioContextCustom.cpp: (WebCore::JSAudioContext::visitChildren):
- bindings/js/JSCSSRuleCustom.cpp: (WebCore::JSCSSRule::visitChildren):
- bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::visitChildren):
- bindings/js/JSCanvasRenderingContextCustom.cpp: (WebCore::JSCanvasRenderingContext::visitChildren):
- bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::visitChildren): (WebCore::JSDOMGlobalObject::setInjectedScript):
- bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::visitChildren):
- bindings/js/JSDOMWindowShell.cpp: (WebCore::JSDOMWindowShell::visitChildren):
- bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::JSEventListener):
- bindings/js/JSEventListener.h: (WebCore::JSEventListener::jsFunction):
- bindings/js/JSJavaScriptAudioNodeCustom.cpp: (WebCore::JSJavaScriptAudioNode::visitChildren):
- bindings/js/JSMessageChannelCustom.cpp: (WebCore::JSMessageChannel::visitChildren):
- bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::visitChildren):
- bindings/js/JSNamedNodeMapCustom.cpp: (WebCore::JSNamedNodeMap::visitChildren):
- bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::visitChildren):
- bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::visitChildren):
- bindings/js/JSNodeIteratorCustom.cpp: (WebCore::JSNodeIterator::visitChildren):
- bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::visitChildren):
- bindings/js/JSSharedWorkerCustom.cpp: (WebCore::JSSharedWorker::visitChildren):
- bindings/js/JSStyleSheetCustom.cpp: (WebCore::JSStyleSheet::visitChildren):
- bindings/js/JSTreeWalkerCustom.cpp: (WebCore::JSTreeWalker::visitChildren):
- bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::JSWebGLRenderingContext::visitChildren):
- bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::visitChildren):
- bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::visitChildren):
- bindings/js/JSXPathResultCustom.cpp: (WebCore::JSXPathResult::visitChildren):
- bindings/scripts/CodeGeneratorJS.pm:
2011-05-13 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
Add GC_VALIDATION calls to all the JSNPObject methods.
- WebProcess/Plugins/Netscape/JSNPObject.cpp: (WebKit::JSNPObject::invalidate): (WebKit::JSNPObject::callMethod): (WebKit::JSNPObject::callObject): (WebKit::JSNPObject::callConstructor): (WebKit::JSNPObject::getCallData): (WebKit::JSNPObject::getConstructData): (WebKit::JSNPObject::getOwnPropertySlot): (WebKit::JSNPObject::getOwnPropertyDescriptor): (WebKit::JSNPObject::put): (WebKit::JSNPObject::getOwnPropertyNames): (WebKit::JSNPObject::propertyGetter): (WebKit::JSNPObject::methodGetter):
- 3:56 PM Changeset in webkit [86468] by
-
- 2 edits in trunk/Tools
Build fix.
- DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp:
- 3:37 PM Changeset in webkit [86467] by
-
- 22 edits3 adds in trunk
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPN_GetURL with a javascript: URL doesn't send back the result in the stream
https://bugs.webkit.org/show_bug.cgi?id=60810
In NetscapePluginStream::sendJavaScriptStream, we were incorrectly passing the result URL
to the stream, instead of the result. Also, store the request URL in the NetscapePluginStream object
to avoid sending it over the wire.
- PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::didEvaluateJavaScript):
- PluginProcess/PluginControllerProxy.h:
- PluginProcess/PluginControllerProxy.messages.in:
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::loadURL): (WebKit::NetscapePlugin::didEvaluateJavaScript): (WebKit::NetscapePlugin::manualStreamDidReceiveResponse):
- WebProcess/Plugins/Netscape/NetscapePlugin.h:
- WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: (WebKit::NetscapePluginStream::NetscapePluginStream): (WebKit::NetscapePluginStream::sendJavaScriptStream):
- WebProcess/Plugins/Netscape/NetscapePluginStream.h: (WebKit::NetscapePluginStream::create):
- WebProcess/Plugins/Plugin.h:
- WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::didEvaluateJavaScript):
- WebProcess/Plugins/PluginProxy.h:
- WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::performJavaScriptURLRequest):
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPN_GetURL with a javascript: URL doesn't send back the result in the stream
https://bugs.webkit.org/show_bug.cgi?id=60810
Add a test that calls NPN_GetURL on a javascript: URL and checks that it gets back the expected result.
- plugins/get-url-with-javascript-url-expected.txt: Added.
- plugins/get-url-with-javascript-url.html: Added.
2011-05-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
NPN_GetURL with a javascript: URL doesn't send back the result in the stream
https://bugs.webkit.org/show_bug.cgi?id=60810
Add a test that calls NPN_GetURL on a javascript: URL and checks that it gets back the expected result.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
- DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
- GNUmakefile.am: Add files.
- DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
- DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Add new NPN and NPP wrappers and sort them according to the order they appear in npfunctions.h
- DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp: Added. (GetURLWithJavaScriptURL::GetURLWithJavaScriptURL): (GetURLWithJavaScriptURL::NPP_New): (GetURLWithJavaScriptURL::NPP_NewStream): (GetURLWithJavaScriptURL::NPP_DestroyStream): (GetURLWithJavaScriptURL::NPP_WriteReady): (GetURLWithJavaScriptURL::NPP_Write):
- DumpRenderTree/TestNetscapePlugIn/main.cpp: (NPP_NewStream): (NPP_WriteReady): (NPP_Write): (NPP_URLNotify): call the PluginTest NPP wrappers.
- 3:32 PM Changeset in webkit [86466] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-13 Mark Pilgrim <pilgrim@chromium.org>
Reviewed by Tony Chang.
Port Mozilla's IndexedDB tests: remove objectstore
https://bugs.webkit.org/show_bug.cgi?id=60768
This test creates an objectstore, populates it with 100 records,
deletes the objectstore, and checks that the objectStoreNames array
is updated properly at each step.
- storage/indexeddb/mozilla/remove-objectstore-expected.txt: Added.
- storage/indexeddb/mozilla/remove-objectstore.html: Added.
- 3:30 PM Changeset in webkit [86465] by
-
- 2 edits in trunk/LayoutTests
Removed chromium border-fit-lines.html suppression as it seems to pass now. Unreviewed.
- platform/chromium/test_expectations.txt:
- 3:09 PM Changeset in webkit [86464] by
-
- 9 edits1 delete in trunk
2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86447.
http://trac.webkit.org/changeset/86447
https://bugs.webkit.org/show_bug.cgi?id=60809
"Broke some uses of EventSender object on Qt" (Requested by
mwenge on #webkit).
- platform/qt/Skipped:
- platform/qt/http/tests/plugins/plugin-document-has-focus-expected.txt: Removed.
2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86447.
http://trac.webkit.org/changeset/86447
https://bugs.webkit.org/show_bug.cgi?id=60809
"Broke some uses of EventSender object on Qt" (Requested by
mwenge on #webkit).
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r86447.
http://trac.webkit.org/changeset/86447
https://bugs.webkit.org/show_bug.cgi?id=60809
"Broke some uses of EventSender object on Qt" (Requested by
mwenge on #webkit).
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::initJSObjects): (WebCore::DumpRenderTree::createWindow):
- DumpRenderTree/qt/DumpRenderTreeQt.h: (WebCore::DumpRenderTree::eventSender):
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): (webkit_test_plugin_set_window): (webkit_test_plugin_handle_event):
- 3:00 PM Changeset in webkit [86463] by
-
- 2 edits in trunk/Source/WebCore
2011-05-13 Mikhail Naganov <mnaganov@chromium.org>
Web Inspector: Unreviewed image glyph position fix in CSS after r85588.
- inspector/front-end/heapProfiler.css: (.heapshot-help-status-bar-item .glyph):
- 2:48 PM HighLevelOverview edited by
- (diff)
- 2:44 PM Changeset in webkit [86462] by
-
- 3 edits4 adds in trunk
2011-05-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
iframe sandbox doesn't properly block popups
https://bugs.webkit.org/show_bug.cgi?id=60784
Test that we block popup windows from inside sandbox.
- http/tests/security/no-popup-from-sandbox-expected.txt: Added.
- http/tests/security/no-popup-from-sandbox-top-expected.txt: Added.
- http/tests/security/no-popup-from-sandbox-top.html: Added.
- http/tests/security/no-popup-from-sandbox.html: Added.
2011-05-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
iframe sandbox doesn't properly block popups
https://bugs.webkit.org/show_bug.cgi?id=60784
Previously, we weren't implementing this requirement from the spec:
"This flag also prevents content from creating new auxiliary browsing
contexts, e.g. using the target attribute or the window.open() method."
Tests: http/tests/security/no-popup-from-sandbox-top.html
http/tests/security/no-popup-from-sandbox.html
- loader/PolicyChecker.cpp: (WebCore::PolicyChecker::checkNewWindowPolicy):
- 2:35 PM Changeset in webkit [86461] by
-
- 5 edits8 adds in trunk
2011-05-13 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Darin Adler.
click event shouldn't fire when the target is ever removed in mouseup
https://bugs.webkit.org/show_bug.cgi?id=60600
Added tests to ensure WebKit does not fire click event when the target node
is removed in mouseup event.
- fast/events/remove-target-in-mouseup-deep-expected.txt: Added.
- fast/events/remove-target-in-mouseup-deep.html: Added.
- fast/events/remove-target-in-mouseup-expected.txt: Added.
- fast/events/remove-target-in-mouseup-insertback-expected.txt: Added.
- fast/events/remove-target-in-mouseup-insertback.html: Added.
- fast/events/remove-target-in-mouseup-twice-expected.txt: Added.
- fast/events/remove-target-in-mouseup-twice.html: Added.
- fast/events/remove-target-in-mouseup.html: Added.
2011-05-13 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Darin Adler.
click event shouldn't fire when the target is ever removed in mouseup
https://bugs.webkit.org/show_bug.cgi?id=60600
Fixed the bug by invalidating m_clickNode when it or one of its ancestors has been removed
from the document. New behavior matches Internet Explorer and Firefox.
Tests: fast/events/remove-target-in-mouseup-deep.html
fast/events/remove-target-in-mouseup-insertback.html
fast/events/remove-target-in-mouseup-twice.html
fast/events/remove-target-in-mouseup.html
- dom/Document.cpp: (WebCore::Document::nodeChildrenWillBeRemoved): Calls EventHandler::nodeWillBeRemoved. (WebCore::Document::nodeWillBeRemoved): Calls EventHandler::nodeWillBeRemoved.
- page/EventHandler.cpp: (WebCore::EventHandler::nodeWillBeRemoved): Added; invalidates m_clickNode when m_clickNode or one of its ancestor is removed from the document.
- page/EventHandler.h:
- 1:59 PM Changeset in webkit [86460] by
-
- 2 edits in trunk/Source/WebCore
Reviewed by Joseph Pecoraro.
Hide appcache status bar items
https://bugs.webkit.org/show_bug.cgi?id=60799
We have a number of non-trivial bugs that make these more misleading than helpful to developers.
- inspector/front-end/ApplicationCacheItemsView.js: (WebInspector.ApplicationCacheItemsView): Just hide the items for now. Removing all support code would be complicated, and not helpful.
- 1:46 PM Changeset in webkit [86459] by
-
- 8 edits in trunk/Source/WebKit2
2011-05-13 Jeff Miller <jeffm@apple.com>
Reviewed by Darin Adler.
Make some page() member functions const
https://bugs.webkit.org/show_bug.cgi?id=60794
- UIProcess/ChunkedUpdateDrawingAreaProxy.h: Make page() const.
- UIProcess/WebFrameProxy.h: (WebKit::WebFrameProxy::page): Make page() const.
- UIProcess/WebInspectorProxy.h: (WebKit::WebInspectorProxy::page): Make page() const.
- UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
- UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm: (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
- UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
- UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::page): Make page() const.
- 1:40 PM Changeset in webkit [86458] by
-
- 3 edits2 adds in trunk
2011-05-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
indexedDB is visible inside iframe sandbox
https://bugs.webkit.org/show_bug.cgi?id=60785
- http/tests/security/no-indexeddb-from-sandbox-expected.txt: Added.
- http/tests/security/no-indexeddb-from-sandbox.html: Added.
2011-05-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
indexedDB is visible inside iframe sandbox
https://bugs.webkit.org/show_bug.cgi?id=60785
We're supposed to return a null indexedDB factory when inside an iframe
sandbox.
Test: http/tests/security/no-indexeddb-from-sandbox.html
- page/DOMWindow.cpp: (WebCore::DOMWindow::webkitIndexedDB):
- 1:22 PM Changeset in webkit [86457] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-13 Mark Pilgrim <pilgrim@chromium.org>
Reviewed by Tony Chang.
Port Mozilla's IndexedDB tests: indexes with keys and key ranges
https://bugs.webkit.org/show_bug.cgi?id=60733
This megatest creates an object store with several rows of data,
creates indexes on each key, then iterates each index in a variety
of ways (keys, key ranges, etc).
- storage/indexeddb/mozilla/indexes-expected.txt: Added.
- storage/indexeddb/mozilla/indexes.html: Added.
- 12:54 PM Changeset in webkit [86456] by
-
- 2 edits in trunk/Source/WebKit2
Load plugins in the order they're found
Fixes <http://webkit.org/b/60788> <rdar://problem/9435787> REGRESSION (r69790): WebKit2
doesn't prefer plugins in the additional plugins directory
Reviewed by Anders Carlsson.
- UIProcess/Plugins/PluginInfoStore.cpp:
(WebKit::addFromVector):
Changed to use a ListHashSet instead of a HashSet to store the plugin paths.
- 12:54 PM Changeset in webkit [86455] by
-
- 4 edits in trunk/Source/WebCore
Fix manual tests that got broken by the move of WebCore into Source
- manual-tests/plugins/object-clipping.html:
- manual-tests/pointer-events.html:
- manual-tests/video-waiting-seeking.html:
Updated some paths.
- 12:48 PM Changeset in webkit [86454] by
-
- 4 edits in trunk
2011-05-13 Nat Duca <nduca@chromium.org>
Reviewed by James Robinson.
[chromium] compositing tests are failing
https://bugs.webkit.org/show_bug.cgi?id=60738
Remove supression for previously failing compositor tests.
- platform/chromium/test_expectations.txt:
2011-05-13 Nat Duca <nduca@chromium.org>
Reviewed by James Robinson.
[chromium] compositing tests are failing
https://bugs.webkit.org/show_bug.cgi?id=60738
Bind texture before setting its filtering state.
- platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::updateFromPixels):
- 12:40 PM Changeset in webkit [86453] by
-
- 2 edits in trunk/Source/WebCore
Reviewed by Dan Bernstein.
https://bugs.webkit.org/show_bug.cgi?id=60787
Add some assertions to ApplicationCacheGroup
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::finishedLoadingMainResource): Check that count doesn't underflow. (WebCore::ApplicationCacheGroup::failedLoadingMainResource): Ditto. (WebCore::ApplicationCacheGroup::stopLoading): Check that we are the handle's client before resetting it. (WebCore::ApplicationCacheGroup::update): Check that there isn't a stale current handle or resource hanging around. (WebCore::ApplicationCacheGroup::didFail): Check that the handle is either manifest or current one.
- 12:28 PM Changeset in webkit [86452] by
-
- 9 edits1 add in trunk/Source/WebKit/chromium
2011-05-13 Tao Bai <michaelbai@chromium.org>
Reviewed by Darin Fisher.
Handle the touch icon.
https://bugs.webkit.org/show_bug.cgi?id=60247
Added WebIconURL for the corresponding IconURL.
Added method iconURLs() to specify the type of icon need to return.
The favIconURL() is deprecated and will be removed later.
- WebKit.gyp:
- features.gypi:
- public/WebFrame.h:
- public/WebFrameClient.h: (WebKit::WebFrameClient::didChangeIcons):
- public/WebIconURL.h: Added. (WebKit::WebIconURL::WebIconURL): (WebKit::WebIconURL::iconType): (WebKit::WebIconURL::iconURL):
- src/AssertMatchingEnums.cpp:
- src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
- src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::favIconURL):
- src/WebFrameImpl.h:
- 12:09 PM Changeset in webkit [86451] by
-
- 64 edits1 add in trunk/Source
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- src/AutoFillPopupMenuClient.cpp:
- src/PlatformBridge.cpp:
- src/WebPopupMenuImpl.cpp:
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- Api/qgraphicswebview.cpp:
- WebCoreSupport/ChromeClientQt.cpp:
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- WebCoreSupport/GtkAdjustmentWatcher.cpp:
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- WebCoreSupport/WebChromeClient.cpp:
- WebCoreSupport/WebDragClient.cpp:
- WebCoreSupport/WebFrameLoaderClient.cpp:
- WebFrame.cpp: (WebFrame::setPrinting):
- WebView.cpp:
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- WebView/WebClipView.mm:
- WebView/WebHTMLView.mm: (-[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:]):
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Replace #includes in FrameView.h of Frame.h and Page.h with Color.h, wtf/text/WTFString.h, and the new AdjustViewSizeOrNot.h
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- GNUmakefile.list.am:
- WebCore.exp.in:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- accessibility/AccessibilityRenderObject.cpp:
- accessibility/AccessibilityScrollView.cpp:
- accessibility/chromium/AXObjectCacheChromium.cpp:
- accessibility/mac/AccessibilityObjectWrapper.mm:
- css/MediaQueryMatcher.cpp:
- dom/Range.cpp:
- editing/SpellingCorrectionController.cpp:
- history/CachedFrame.cpp:
- html/HTMLBodyElement.cpp:
- html/canvas/WebGLRenderingContext.cpp:
- html/parser/HTMLParserScheduler.cpp:
- page/AdjustViewSizeOrNot.h: Added.
- page/EditorClient.h:
- page/Frame.h:
- page/FrameView.cpp: (WebCore::FrameView::forceLayoutForPagination):
- page/FrameView.h:
- page/PrintContext.cpp: (WebCore::PrintContext::begin): (WebCore::PrintContext::end):
- page/chromium/FrameChromium.cpp:
- page/win/FrameCGWin.cpp:
- page/win/FrameWin.cpp:
- platform/efl/PopupMenuEfl.cpp:
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- platform/graphics/qt/MediaPlayerPrivateQt.cpp:
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
- platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
- platform/gtk/WidgetGtk.cpp:
- plugins/IFrameShimSupport.cpp:
- rendering/RenderBlock.cpp:
- rendering/RenderBoxModelObject.cpp:
- rendering/RenderFrameBase.cpp:
- rendering/RenderIFrame.cpp:
- rendering/RenderMenuList.cpp:
- rendering/RenderTextControlSingleLine.cpp:
- rendering/RenderWidget.cpp:
- svg/SVGSVGElement.cpp:
2011-05-13 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Prune #includes from FrameView.h (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=60748
- Update files that were depending on FrameView.h #including Frame.h or Page.h.
- WebProcess/Plugins/PluginView.cpp:
- WebProcess/WebCoreSupport/mac/WebDragClientMac.mm:
- WebProcess/WebPage/WebContextMenu.cpp:
- WebProcess/WebPage/mac/AccessibilityWebPageObject.mm:
- 11:21 AM Changeset in webkit [86450] by
-
- 2 edits in trunk/LayoutTests
Suppress crasher in chromium. Unreviewed.
- platform/chromium/test_expectations.txt:
- 11:21 AM Changeset in webkit [86449] by
-
- 3 edits in trunk/Source/WebCore
2011-05-13 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Switch paintCollapsedBorder to use IntRect
https://bugs.webkit.org/show_bug.cgi?id=60739
Updating the last offending paint function that takes four ints
instead of an IntRect.
No new tests as this is simple refactoring.
- rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paint): (WebCore::RenderTableCell::paintCollapsedBorder):
- rendering/RenderTableCell.h:
- 11:17 AM Changeset in webkit [86448] by
-
- 3 edits2 adds in trunk
2011-05-13 Abhishek Arya <inferno@chromium.org>
Reviewed by Dave Hyatt.
Regression(r75823): Revert initialization back to the first RenderBlock
in the parent chain.
https://bugs.webkit.org/show_bug.cgi?id=60780
Test: fast/block/float/float-not-removed-crash.html
- rendering/RenderBox.cpp: (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists): In r75823, I forgot to initialize parentBlock, when the original code did and Hyatt did mention in c#5. Now, initializing parentBlock to the first RenderBlock in the parent chain.
2011-05-13 Abhishek Arya <inferno@chromium.org>
Reviewed by Dave Hyatt.
Tests that we do not crash when trying to access a deleted float.
https://bugs.webkit.org/show_bug.cgi?id=60780
- fast/block/float/float-not-removed-crash-expected.txt: Added.
- fast/block/float/float-not-removed-crash.html: Added.
- 11:11 AM Changeset in webkit [86447] by
-
- 9 edits2 adds in trunk
2011-05-13 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
For some reason the platform-independent expected result has
no newline at the end of the file. The unix test plugin also
reports the event from a different line. These are harmless
differences, so create platform-specific result.
Note that nearly every platform skips this test at the moment.
- platform/qt/Skipped:
- platform/qt/http/tests/plugins/plugin-document-has-focus-expected.txt: Added.
2011-05-13 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
https://bugs.webkit.org/show_bug.cgi?id=60722
QWebPage::setView() will display the browser window, so
implement a private version that does just enough to
satisfy EventSender's requirement to install an event
filter on a page's web view.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::setView):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-13 Robert Hogan <robert@webkit.org>
Reviewed by Benjamin Poulain.
[Qt] fix http/tests/plugins/plugin-document-has-focus.html
The support for this test added to the unix test plugin here
may allow other platforms to pass it (nearly everyone
skips it). On Qt it required a bit of trickiness with
the page's EventSender object to get it working fully though,
so only unskipping Qt here.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::eventSender): (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::initJSObjects): (WebCore::DumpRenderTree::createWindow):
- DumpRenderTree/qt/DumpRenderTreeQt.h:
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): (webkit_test_plugin_set_window): (webkit_test_plugin_handle_event):
- 11:00 AM Changeset in webkit [86446] by
-
- 3 edits in trunk/Source/WebCore
2011-05-05 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: TextEditor should support editing a range.
https://bugs.webkit.org/show_bug.cgi?id=59688
- inspector/front-end/TextViewer.js: (WebInspector.TextEditorChunkedPanel.prototype.makeLineAChunk): (WebInspector.TextEditorChunkedPanel.prototype._splitChunkOnALine): (WebInspector.TextEditorMainPanel.prototype.setEditableRange): (WebInspector.TextEditorMainPanel.prototype.clearEditableRange): (WebInspector.TextEditorMainPanel.prototype._splitChunkOnALine): (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates): (WebInspector.TextEditorMainChunk): (WebInspector.TextEditorMainChunk.prototype.set expanded): (WebInspector.TextEditorMainChunk.prototype.set readOnly): (WebInspector.TextEditorMainChunk.prototype.get readOnly): (WebInspector.TextEditorMainChunk.prototype._updateElementReadOnlyState):
- inspector/front-end/textViewer.css: (.text-editor-read-only):
- 10:36 AM Changeset in webkit [86445] by
-
- 3 edits in trunk/Tools
Exclude the Leopard NRWT bot from the core builder set
Fixes <http://webkit.org/b/60392> Leopard Intel Release (NRWT) shouldn't be a core builder
Reviewed by Darin Adler.
- Scripts/webkitpy/common/net/buildbot/buildbot.py:
(BuildBot.init): Tighten up the Leopard regexp to only allow the non-NRWT Leopard bots
in the core builder set.
- Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
(BuildBotTest.test_builder_name_regexps): Updated to match the current set of builders and
regexps.
- 10:36 AM Changeset in webkit [86444] by
-
- 2 edits in trunk/Tools
Group all the NRWT bots together
This also gets the new NRWT bots out of the middle of Apple's bots. Since these new NRWT
bots are experimental, it seems best not to clutter up the non-experimental bots with
experimental ones.
Fixes <http://webkit.org/b/60769> New "(NRWT)" bots are right in the middle of Apple's bots
on build.webkit.org
Reviewed by Dan Bernstein.
- BuildSlaveSupport/build.webkit.org-config/config.json: Moved the "(NRWT)" bots next to the
Chromium testers, which also use new-run-webkit-tests.
- 10:25 AM Changeset in webkit [86443] by
-
- 7 edits in trunk
2011-05-05 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix source mapping for formatted scripts.
https://bugs.webkit.org/show_bug.cgi?id=60263
- inspector/debugger/resources/obfuscated.js: (formatted1): (formatted2):
- inspector/debugger/script-formatter.html:
2011-05-05 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix source mapping for formatted scripts.
https://bugs.webkit.org/show_bug.cgi?id=60263
Source mapping is broken for script chunks that are already formatted at the beginning
and at the end of the script (see script-formatter.html).
- inspector/front-end/ScriptFormatter.js: (WebInspector.ScriptFormatter.prototype._didFormatContent): (WebInspector.FormattedSourceMapping): (WebInspector.FormattedSourceMapping.prototype.originalToFormatted): (WebInspector.FormattedSourceMapping.prototype.formattedToOriginal): (WebInspector.FormattedSourceMapping.prototype._convertPosition):
- inspector/front-end/ScriptFormatterWorker.js: (onmessage): (HTMLScriptFormatter.prototype.format):
- inspector/front-end/SourceFile.js: (WebInspector.FormattedSourceFile.prototype._didRequestContent): (WebInspector.SourceMappingForFormattedSourceFile): (WebInspector.SourceMappingForFormattedSourceFile.prototype.scriptLocationToSourceLine): (WebInspector.SourceMappingForFormattedSourceFile.prototype.sourceLineToScriptLocation):
- 10:24 AM Changeset in webkit [86442] by
-
- 5 edits5 adds in trunk
Tell ScrollView's child Widgets that their frame rects have changed when its own frame rect changes
r79167 moved some code from setFrameRect to setBoundsSize, including a call to
frameRectsChanged. This was done because positionScrollbarLayers, which is called by
frameRectsChanged, only needs to be called when the bounds change, not when the frame rect
changes. But the recursive calls inside frameRectsChanged *do* need to be called when the
frame rect changes.
This patch moves the positionScrollbarLayers call out of frameRectsChanged, since it needs
to be called at different times from frameRectsChanged. Then it restores the
frameRectsChanged call to setFrameRect, which fixes the bug.
Test: platform/win/plugins/iframe-inside-overflow.html
Fixes <http://webkit.org/b/60194> <rdar://problem/9383760> REGRESSION (r79167): Windowed
plugins in Google Reader don't move when the article list is scrolled
Reviewed by Dan Bernstein.
Source/WebCore:
- platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbars): Added a positionScrollbarLayers call here now that
frameRectsChanged doesn't call it for us. Also added a FIXME because it seems strange to
call frameRectsChanged here when our frame rect hasn't changed.
(WebCore::ScrollView::setFrameRect): Added back the frameRectsChanged call that was removed
in r79167.
(WebCore::ScrollView::setBoundsSize): Replaced a frameRectsChanged call with a call to
positionScrollbarLayers. We were only calling frameRectsChanged here in order to get
positionScrollbarLayers to be called.
(WebCore::ScrollView::frameRectsChanged): Removed the call to positionScrollbarLayers. All
callers of frameRectsChanged have been updated to call positionScrollbarLayers if needed.
Tools:
Add a plugin test that dumps the plugin window's rect
- DumpRenderTree/TestNetscapePlugIn/Tests/win/DumpWindowRect.cpp: Added.
(DumpWindowRect::DumpWindowRect): Just call up to the base class.
(DumpWindowRect::performWindowGeometryTest): Find our window rect relative to the test
harness window and log it.
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added DumpWindowRect.
LayoutTests:
Add a test for windowed plugins inside iframes inside scrolled overflow areas
- platform/win/plugins/iframe-inside-overflow-expected.txt: Added.
- platform/win/plugins/iframe-inside-overflow.html: Added.
(loaded): Scrolls the div and tells the plugin to start its test (which will cause its
window rect to be logged).
- platform/win/plugins/resources/dump-window-rect-iframe.html: Added.
- 10:24 AM Changeset in webkit [86441] by
-
- 3 edits2 adds in trunk/Tools
Move code required for most tests of plugin window geometry into a base class
WebKit2's asynchronous plugin window positioning makes testing window geometry tricky. By
having all the trickiness in a shared base class, writing new window geometry tests will be
much easier.
Fixes <http://webkit.org/b/60776> It's hard to write tests that check plugin window geometry
Reviewed by Anders Carlsson.
- DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowRegionIsSetToClipRect.cpp:
(WindowRegionIsSetToClipRect::WindowRegionIsSetToClipRect): Changed to inherit from the new
WindowGeometryTest base class. Most of the code from this class was moved to the new base
class.
(WindowRegionIsSetToClipRect::performWindowGeometryTest): Renamed from checkWindowRegion.
This is called by the base class when it is safe to check the window's geometry. Note that
the m_didCheckWindowRegion logic was removed completely; it has never been needed and was
just vestigial code from an earlier version of this test.
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added new
WindowGeometryTest class.
- DumpRenderTree/TestNetscapePlugIn/win/WindowGeometryTest.cpp: Added. Code came from
WindowRegionIsSetToClipRect.
(WindowGeometryTest::finishTest): This is the only change from WindowRegionIsSetToClipRect.
We now call the new virtual performWindowGeometryTest function instead of checkWindowRegion.
Subclasses can implement that function to perform their own tests.
- DumpRenderTree/TestNetscapePlugIn/win/WindowGeometryTest.h: Added.
- 9:58 AM Changeset in webkit [86440] by
-
- 3 edits2 moves1 add1 delete in trunk/LayoutTests
2011-05-02 Robert Hogan <robert@webkit.org>
Reviewed by Eric Seidel.
Make fast/dom/object-embed-plugin-scripting.html compatible with non-Mac ports
- fast/dom/resources/articles.m4a: Removed.
- platform/chromium/test_expectations.txt: Unskip object-embed-plugin-scripting.html on Linux
- platform/qt/Skipped: Unskip object-embed-plugin-scripting.html
- plugins/object-embed-plugin-scripting-expected.txt: Renamed from LayoutTests/fast/dom/object-embed-plugin-scripting-expected.txt.
- plugins/object-embed-plugin-scripting.html: Renamed from LayoutTests/fast/dom/object-embed-plugin-scripting.html.
- plugins/resources/apple.gif: Added.
- 9:56 AM Changeset in webkit [86439] by
-
- 2 edits in trunk/Source/WebKit/chromium
2011-05-13 Brett Wilson <brettw@chromium.org>
Reviewed by Adam Barth.
Don't destroy a null FcPattern when failing to do a FontConfig match.
This crashes, and there's nothing FcDestroy could do with a null
pointer even if it didn't crash.
https://bugs.webkit.org/show_bug.cgi?id=60777
- src/gtk/WebFontInfo.cpp: (WebKit::WebFontInfo::renderStyleForStrike):
- 9:55 AM Changeset in webkit [86438] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt] Fix build on MSVC.
Reviewed by nobody, build fix.
qobject_cast<> requires the class to be exported on MSVC,
removing it since the code that needs it is commented out for
the same reason.
- tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
(tst_QDeclarativeWebView::elementAreaAt):
- 9:54 AM Changeset in webkit [86437] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
Reviewed by nobody, build fix.
- tests/tests.pro:
- 9:40 AM HighLevelOverview edited by
- (diff)
- 9:22 AM SourceDirectory created by
- 9:00 AM Changeset in webkit [86436] by
-
- 8 edits2 adds in trunk/Source
2011-05-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Eric Seidel.
[GTK] Share the GTK+ key binding code between WebKit1 and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=59765
Move the keybinding code form WebKit1/WebKit2 to this utility class. This code is
almost directly moved from the WebKit layer.
No new tests. This is covered by the editing tests.
- GNUmakefile.list.am:
- platform/gtk/KeyBindingTranslator.cpp: Added. (WebCore::backspaceCallback):Added. (WebCore::selectAllCallback):Added. (WebCore::cutClipboardCallback):Added. (WebCore::copyClipboardCallback):Added. (WebCore::pasteClipboardCallback):Added. (WebCore::toggleOverwriteCallback):Added. (WebCore::popupMenuCallback):Added. (WebCore::showHelpCallback):Added. (WebCore::deleteFromCursorCallback):Added. (WebCore::moveCursorCallback):Added. (WebCore::KeyBindingTranslator::KeyBindingTranslator):Added. (WebCore::KeyBindingTranslator::getEditorCommandsForKeyEvent):Added.
- platform/gtk/KeyBindingTranslator.h: Added. (WebCore::KeyBindingTranslator::addPendingEditorCommand):Added.
2011-05-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Eric Seidel.
[GTK] Share the GTK+ key binding code between WebKit1 and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=59765
Use the new KeyBindingTranslator class from WebCore/platform/gtk. With this utility
class we can now share the code with WebKit2.
- WebCoreSupport/EditorClientGtk.cpp: (WebKit::EditorClient::executePendingEditorCommands): Updated to reflect the fact that the command vector now contains WTF::string. (WebKit::EditorClient::handleKeyboardEvent): Use the new helper utility class. (WebKit::EditorClient::EditorClient):
- WebCoreSupport/EditorClientGtk.h: Remove unnecessary member. Add the utility class.
2011-05-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Eric Seidel.
[GTK] Share the GTK+ key binding code between WebKit1 and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=59765
Use the new KeyBindingTranslator class from WebCore/platform/gtk. With this utility
class we can now share the code with WebKit2.
- UIProcess/API/gtk/PageClientImpl.cpp: (WebKit::PageClientImpl::PageClientImpl): No longer need to initialize keybinding code. (WebKit::PageClientImpl::getEditorCommandsForKeyEvent): Use the new utility class.
- UIProcess/API/gtk/PageClientImpl.h: Remove unnecessary members. Add utility class member.
- 9:00 AM Changeset in webkit [86435] by
-
- 2 edits in trunk/LayoutTests
2011-05-13 Steve VanDeBogart <vandebo@chromium.org>
Unreviewed.
Update expectations for GPU tests that use shadows after fix (Skia rev 1297).
https://bugs.webkit.org/show_bug.cgi?id=60742
- platform/chromium/test_expectations.txt:
- 8:26 AM Changeset in webkit [86434] by
-
- 3 edits in trunk/Tools
2011-05-13 Zoltan Herczeg <zherczeg@webkit.org>
Reviewed by Csaba Osztrogonác.
Missing 2nd #EOF if WebProcess is killed.
https://bugs.webkit.org/show_bug.cgi?id=60761
If the WebProcess is killed, only one #EOF is yielded
by WebKitTestRunner. However, run-webkit-test wait for
a second #EOF, which signals the finishing of pixel dump.
Since this never happens, run-webkit-test waits forever.
- WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::dump): (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
- WebKitTestRunner/TestInvocation.h:
- 8:09 AM Changeset in webkit [86433] by
-
- 3 edits in trunk/Source/WebCore
[android] Forward declare types for PlatformWidget and DragImage
https://bugs.webkit.org/show_bug.cgi?id=59890
This is fixing the compilation of files that include Widget.h or
DragImage.h.
- 8:09 AM Changeset in webkit [86432] by
-
- 2 edits in trunk/Source/JavaScriptCore
[android] OS(ANDROID) does not imply PLATFORM(ANDROID)
https://bugs.webkit.org/show_bug.cgi?id=59888
It is possible to build QtWebKit and others for OS(ANDROID). Let
the buildsystem decide which platform is to be build.
- 7:59 AM Changeset in webkit [86431] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed fix after r86357, r86374, r86376. Skip failing tests.
- platform/qt-wk2/Skipped: Add 4 failing tests.
- 7:56 AM Changeset in webkit [86430] by
-
- 10 edits in trunk/Source/WebCore
2011-05-06 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix incremental html highlight.
https://bugs.webkit.org/show_bug.cgi?id=60163
SourceTokenizers for html, js, and css are declared to be stateless. However they store some state in
various ways (like using _internalJavaScriptTokenizer field in html tokenizer, or modifying "static"
initialCondition object via condition link). This all worked because of another bug in tokenizers registry
that always returned new tokenizer object.
For incremental highlighting, we need to be able to stringify tokenizers state and then restore the
state from string. That's why we need tokenizers to be truly stateless.
- inspector/front-end/DOMSyntaxHighlighter.js: (WebInspector.DOMSyntaxHighlighter.prototype.syntaxHighlightNode):
- inspector/front-end/SourceCSSTokenizer.js: (WebInspector.SourceCSSTokenizer): (WebInspector.SourceCSSTokenizer.prototype.createInitialCondition):
- inspector/front-end/SourceCSSTokenizer.re2js:
- inspector/front-end/SourceHTMLTokenizer.js: (WebInspector.SourceHTMLTokenizer): (WebInspector.SourceHTMLTokenizer.prototype.createInitialCondition): (WebInspector.SourceHTMLTokenizer.prototype.set line): (WebInspector.SourceHTMLTokenizer.prototype.get _internalJavaScriptTokenizer): (WebInspector.SourceHTMLTokenizer.prototype.get _internalCSSTokenizer): (WebInspector.SourceHTMLTokenizer.prototype.scriptStarted): (WebInspector.SourceHTMLTokenizer.prototype.styleSheetStarted): (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
- inspector/front-end/SourceHTMLTokenizer.re2js:
- inspector/front-end/SourceJavaScriptTokenizer.js: (WebInspector.SourceJavaScriptTokenizer): (WebInspector.SourceJavaScriptTokenizer.prototype.createInitialCondition):
- inspector/front-end/SourceJavaScriptTokenizer.re2js:
- inspector/front-end/SourceTokenizer.js: (WebInspector.SourceTokenizer.Registry.prototype.getTokenizer):
- inspector/front-end/TextEditorHighlighter.js: (WebInspector.TextEditorHighlighter.prototype._highlightLines):
- 7:48 AM Changeset in webkit [86429] by
-
- 4 edits in trunk/Tools
[NRWT] chromium-linux tests shouldn't run on other platforms
https://bugs.webkit.org/show_bug.cgi?id=60162
Patch by Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> on 2011-05-13
Reviewed by Csaba Osztrogonác.
Remove _tests_for_other_platforms defs because r82753
implemented it properly in the baseclass in webkit.py.
- Scripts/webkitpy/layout_tests/port/gtk.py:
- Scripts/webkitpy/layout_tests/port/qt.py:
- Scripts/webkitpy/layout_tests/port/win.py:
- 7:38 AM Changeset in webkit [86428] by
-
- 2 edits in trunk/Source/WebCore
Build fix after r86418
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
Made the destructor public so that this class can be used with
[Pass]OwnPtr.
- 7:32 AM Changeset in webkit [86427] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed fix after r86357, r86374, r86376. Skip failing tests.
- platform/qt-wk2/Skipped:
- 7:00 AM Changeset in webkit [86426] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed fix after r86357, r86374, r86376. Skip failing tests.
- platform/qt-arm/Skipped:
- platform/qt-mac/Skipped:
- 6:29 AM Changeset in webkit [86425] by
-
- 4 edits in trunk/Source
2011-05-11 Hans Wennborg <hans@chromium.org>
Reviewed by Tony Gentilcore.
IndexedDB: Fix integer comparison bug in LevelDB coding routines
https://bugs.webkit.org/show_bug.cgi?id=60623
Fix the code for comparing two int64_t variables.
Also remove faulty line in ObjectStoreNamesKey::encode which was
uncovered by the unit test in this patch.
Very hard to cover with layout tests; covered by unit test.
- storage/IDBLevelDBCoding.cpp: (WebCore::IDBLevelDBCoding::compareInts): (WebCore::IDBLevelDBCoding::KeyPrefix::compare): (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::compare): (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::compare): (WebCore::IDBLevelDBCoding::IndexMetaDataKey::compare): (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::compare): (WebCore::IDBLevelDBCoding::IndexFreeListKey::compare): (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::encode): (WebCore::IDBLevelDBCoding::IndexNamesKey::compare): (WebCore::IDBLevelDBCoding::IndexDataKey::compare):
2011-05-11 Hans Wennborg <hans@chromium.org>
Reviewed by Tony Gentilcore.
IndexedDB: Fix integer comparison bug in LevelDB coding routines
https://bugs.webkit.org/show_bug.cgi?id=60623
Unit test for comparison of encoded keys.
- tests/IDBLevelDBCodingTest.cpp: (IDBLevelDBCoding::TEST):
- 5:08 AM Changeset in webkit [86424] by
-
- 2 edits in trunk/Source/WebCore
2011-05-13 Andrew Wason <rectalogic@rectalogic.com>
Reviewed by Darin Adler.
GraphicsContext3DQt.cpp fails to compile
https://bugs.webkit.org/show_bug.cgi?id=60740
- platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3D::GraphicsContext3D): Change order of initializers.
- 3:34 AM Changeset in webkit [86423] by
-
- 1 edit23 adds in trunk/LayoutTests
2011-02-08 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth and Alexey Proskuryakov.
Propagate security origin of parent document into HTML documents created with DOMImplementation
https://bugs.webkit.org/show_bug.cgi?id=53611
This restores invariant that JS wrappers residing in the same JS context should come
from the same security origin.
Absence of regressions is covered by the current tests. Different security origin of
DOMImplementation is difficult to check with layout tests as DOMImplementation
resides in the same JS context as parent document and therefore there are no security origin checks.
This is observable however in C++.
- Android.jscbindings.mk:
- CMakeLists.txt:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/v8/V8GCController.cpp: (WebCore::NodeGrouperVisitor::visitDOMWrapper):
- dom/DOMImplementation.cpp: (WebCore::DOMImplementation::DOMImplementation): (WebCore::DOMImplementation::createDocument):
- dom/DOMImplementation.h: (WebCore::DOMImplementation::create): (WebCore::DOMImplementation::documentDestroyed): (WebCore::DOMImplementation::parentDocument):
- dom/DOMImplementation.idl:
- dom/Document.cpp: (WebCore::Document::~Document): (WebCore::Document::implementation):
- dom/Document.h:
- 3:21 AM Changeset in webkit [86422] by
-
- 13 edits2 adds in trunk
2011-05-05 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
IndexedDB: Transaction rollback prevented by open SQLite statement
https://bugs.webkit.org/show_bug.cgi?id=60032
Add test for veryfing that transaction roll-back works, even with a
previously opened cursor still around.
- storage/indexeddb/transaction-rollback-expected.txt: Added.
- storage/indexeddb/transaction-rollback.html: Added.
2011-05-05 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
IndexedDB: Transaction rollback prevented by open SQLite statement
https://bugs.webkit.org/show_bug.cgi?id=60032
Let the IDBTransactionbackendImpl keep track of all open cursors, and
"close" them (i.e. finalizing the underlying SQLiteStatement) before
committing or rolling back the transaction. This fixes the problem
with opened cursors preventing transaction rollback.
Test: storage/indexeddb/transaction-rollback.html
- storage/IDBBackingStore.h:
- storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::~IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::close):
- storage/IDBCursorBackendImpl.h:
- storage/IDBLevelDBBackingStore.cpp:
- storage/IDBSQLiteBackingStore.cpp:
- storage/IDBTransactionBackendImpl.cpp: (WebCore::IDBTransactionBackendImpl::abort): (WebCore::IDBTransactionBackendImpl::registerOpenCursor): (WebCore::IDBTransactionBackendImpl::unregisterOpenCursor): (WebCore::IDBTransactionBackendImpl::commit): (WebCore::IDBTransactionBackendImpl::closeOpenCursors):
- storage/IDBTransactionBackendImpl.h:
- storage/IDBTransactionBackendInterface.h: (WebCore::IDBTransactionBackendInterface::registerOpenCursor): (WebCore::IDBTransactionBackendInterface::unregisterOpenCursor):
2011-05-05 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
IndexedDB: Transaction rollback prevented by open SQLite statement
https://bugs.webkit.org/show_bug.cgi?id=60032
Implement two new methods in IDBTransactionBackendInterface.
- src/IDBTransactionBackendProxy.cpp: (WebKit::IDBTransactionBackendProxy::registerOpenCursor): (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
- src/IDBTransactionBackendProxy.h:
- 2:56 AM Changeset in webkit [86421] by
-
- 4 edits in trunk/Source/WebKit/efl
2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Reviewed by Kenneth Rohde Christiansen.
[EFL] Move ewk_view_dpi_get() to ewk_util.cpp
https://bugs.webkit.org/show_bug.cgi?id=60753
Move ewk_view_dpi_get() to ewk_util.cpp
- ewk/ewk_private.h:
- ewk/ewk_util.cpp: (ewk_util_dpi_get):
- ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute):
- 1:39 AM Changeset in webkit [86420] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-13 Sergio Villar Senin <svillar@igalia.com>
Unreviewed, new GTK+ test expectations after r86352.
- platform/gtk/svg/custom/stroke-opacity-update-expected.png: Added.
- platform/gtk/svg/custom/stroke-opacity-update-expected.txt: Added.
- 1:29 AM Changeset in webkit [86419] by
-
- 7 edits in trunk/LayoutTests
2011-05-13 Sergio Villar Senin <svillar@igalia.com>
Unreviewed, new GTK+ test expectations.
- platform/gtk/fast/borders/outline-alpha-block-expected.png:
- platform/gtk/fast/borders/outline-alpha-block-expected.txt:
- platform/gtk/fast/borders/outline-alpha-inline-expected.png:
- platform/gtk/fast/borders/outline-alpha-inline-expected.txt:
- platform/gtk/svg/custom/fill-opacity-update-expected.png:
- platform/gtk/svg/custom/fill-opacity-update-expected.txt:
- 12:37 AM Changeset in webkit [86418] by
-
- 21 edits in trunk/Source
2011-05-13 Patrick Gansterer <Patrick Gansterer>
Reviewed by Adam Barth.
Enable OwnPtr strict mode in MediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=59466
Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
Also fix the templete argument of OwnPtr for the m_private member variable.
- platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::MediaPlayer): (WebCore::MediaPlayer::loadWithNextMediaEngine):
- platform/graphics/MediaPlayer.h:
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::create):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::create):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::create):
- platform/graphics/qt/MediaPlayerPrivatePhonon.cpp: (WebCore::MediaPlayerPrivatePhonon::create):
- platform/graphics/qt/MediaPlayerPrivatePhonon.h:
- platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::create):
- platform/graphics/qt/MediaPlayerPrivateQt.h:
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::create):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
- platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp: (WebCore::MediaPlayerPrivate::create):
- platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
- platform/graphics/wince/MediaPlayerPrivateWinCE.h:
2011-05-13 Patrick Gansterer <Patrick Gansterer>
Reviewed by Adam Barth.
Enable OwnPtr strict mode in MediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=59466
Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
Also fix the templete argument of OwnPtr for the m_private member variable.
- src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::create):
- src/WebMediaPlayerClientImpl.h:
- 12:20 AM Changeset in webkit [86417] by
-
- 11 edits in trunk
2011-05-13 Alexey Proskuryakov <ap@apple.com>
Unreviewed test changes.
Web Inspector: Show Error Messages for Application Cache Errors
https://bugs.webkit.org/show_bug.cgi?id=41642
- http/tests/appcache/404-resource-expected.txt:
- http/tests/appcache/manifest-redirect-expected.txt:
- http/tests/appcache/origin-quota-expected.txt:
- http/tests/appcache/resource-redirect-2-expected.txt:
- http/tests/appcache/resource-redirect-expected.txt:
- http/tests/appcache/wrong-content-type-expected.txt:
- http/tests/appcache/wrong-signature-2-expected.txt:
- http/tests/appcache/wrong-signature-expected.txt:
2011-05-13 Alexey Proskuryakov <ap@apple.com>
Reviewed by Pavel Feldman.
Web Inspector: Show Error Messages for Application Cache Errors
https://bugs.webkit.org/show_bug.cgi?id=41642
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::didReceiveResponse): (WebCore::ApplicationCacheGroup::didFail): (WebCore::ApplicationCacheGroup::didReceiveManifestResponse): (WebCore::ApplicationCacheGroup::didFinishLoadingManifest): (WebCore::ApplicationCacheGroup::cacheUpdateFailedDueToOriginQuota): Added console error logging.
May 12, 2011:
- 11:23 PM Changeset in webkit [86416] by
-
- 3 edits in trunk/Source/WebCore
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Fixes for warnings and other minor cleanups when we enable USE_CFNETWORK on Mac.
- platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::cfStreamError):
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::allowsAnyHTTPSCertificateHosts): (WebCore::clientCerts): (WebCore::willSendRequest): (WebCore::didReceiveResponse): (WebCore::didReceiveData): (WebCore::didSendBodyData): (WebCore::shouldUseCredentialStorageCallback): (WebCore::didFinishLoading): (WebCore::didFail): (WebCore::didReceiveChallenge): (WebCore::makeFinalRequest): (WebCore::ResourceHandle::willLoadFromCache):
- 11:16 PM Changeset in webkit [86415] by
-
- 9 edits in trunk/Source
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Implement ResourceHandle::schedule()/unschedule() based on CF for Mac.
- WebCore.exp.in:
- platform/cf/SchedulePair.h:
- platform/mac/SchedulePairMac.mm:
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::schedule): (WebCore::ResourceHandle::unschedule):
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Use CFRunLoop when using CFNetwork.
- WebView/WebView.mm: (-[WebView scheduleInRunLoop:forMode:]): (-[WebView unscheduleFromRunLoop:forMode:]):
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Use CFRunLoop when using CFNetwork.
- WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::platformInitialize):
- 10:37 PM Changeset in webkit [86414] by
-
- 13 edits in trunk/Source
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Implement mac specific Authentication functions when using CFNetwork.
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- platform/network/ResourceHandle.h:
- platform/network/cf/AuthenticationCF.cpp: (WebCore::AuthenticationChallenge::authenticationClient): (WebCore::createCF): (WebCore::core):
- platform/network/cf/AuthenticationCF.h:
- platform/network/cf/AuthenticationChallenge.h:
- platform/network/mac/AuthenticationMac.mm: (WebCore::core): (WebCore::mac):
- platform/network/mac/CredentialStorageMac.mm:
2011-05-12 Pratik Solanki <psolanki@apple.com>
Reviewed by Antti Koivisto.
Part of WebCore should use CFNetwork-based loader on Mac
https://bugs.webkit.org/show_bug.cgi?id=51836
Include AuthenticationCF.h header file.
- Misc/WebDownload.mm:
- Plugins/WebBaseNetscapePluginView.mm:
- WebCoreSupport/WebFrameLoaderClient.mm:
- 10:25 PM Changeset in webkit [86413] by
-
- 7 edits2 adds2 deletes in trunk
2011-05-12 Ben Wells <benwells@chromium.org>
Reviewed by Simon Fraser.
RGBA colors in outlines show overpainting at the corners
https://bugs.webkit.org/show_bug.cgi?id=58999
Converted the new tests to be text tests with pixel results
(using dumpAsText(true)).
Updated test_expectations comments to be more helpful and accurate and split
new expectations into two groups for skia / chromium-mac as chromium-mac can be
rebaselined now.
- fast/borders/outline-alpha-block-expected.txt: Added.
- fast/borders/outline-alpha-block.html:
- fast/borders/outline-alpha-inline-expected.txt: Added.
- fast/borders/outline-alpha-inline.html:
- platform/chromium/test_expectations.txt:
- platform/mac/fast/borders/outline-alpha-block-expected.txt: Removed.
- platform/mac/fast/borders/outline-alpha-inline-expected.txt: Removed.
2011-05-12 Ben Wells <benwells@chromium.org>
Reviewed by Simon Fraser.
RGBA colors in outlines show overpainting at the corners
https://bugs.webkit.org/show_bug.cgi?id=58999
Added FIXMEs near temporary $if !USE(SKIA)s, referencing bug 60342.
- rendering/RenderInline.cpp: (WebCore::RenderInline::paintOutline):
- rendering/RenderObject.cpp: (WebCore::RenderObject::paintOutline):
- 9:59 PM Changeset in webkit [86412] by
-
- 2 edits in trunk/Tools
2011-05-12 Ryuan Choi <ryuan.choi@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Remove unused option of EWeblauncher
https://bugs.webkit.org/show_bug.cgi?id=60747
Remove sudo-workaround option.
This option is not used and make other option wrong.
- EWebLauncher/main.c:
- 9:45 PM Changeset in webkit [86411] by
-
- 2 edits in trunk/Tools
2011-05-12 Lucas Forschler <Lucas Forschler>
Reviewed by Stephanie Lewis.
Fix config.json to address missing WK2 builder/tester config.
Fix naming of machines (xserve not macpro)
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 8:13 PM Changeset in webkit [86410] by
-
- 4 edits in trunk/Source/WebKit/chromium
2011-05-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[Chromium] Add a WebSetting to control DNS prefetch
https://bugs.webkit.org/show_bug.cgi?id=60736
DNS prefetch got disabled in Chrome accidentially in
http://trac.webkit.org/changeset/74041. This patch adds a WebSettings
API so we can enable it again.
- public/WebSettings.h:
- src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
- src/WebSettingsImpl.h:
- 7:11 PM Changeset in webkit [86409] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-12 Sam Weinig <sam@webkit.org>
Reviewed by Gavin Barraclough.
WebProcess sandbox denies file:/// accesses after you navigate to a nonexistent file
<rdar://problem/9427752>
https://bugs.webkit.org/show_bug.cgi?id=60745
- WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::SandboxExtensionTracker::didStartProvisionalLoad): Don't attempt to re-use a non-existent committed sandbox extension. This can happen when the previous load was file: url, but did not require an extension, such as an error page.
- 6:52 PM Changeset in webkit [86408] by
-
- 7 edits in trunk/LayoutTests
2011-05-12 David Grogan <dgrogan@chromium.org>
Reviewed by Darin Adler.
make layout tests in storage/domstorage/events more deterministic
https://bugs.webkit.org/show_bug.cgi?id=60299
Instead of counting the number of storage events fired between two
setTimeout(0) events, specify the number of events to wait for and wait up to
1 second for them.
- storage/domstorage/events/resources/eventTestHarness.js: (runAfterNStorageEvents): (countStorageEvents.onTimeout): (countStorageEvents): (testStorages.allDone):
- storage/domstorage/events/script-tests/basic-body-attribute.js: (step1): (step2): (step3): (step4): (step5):
- storage/domstorage/events/script-tests/basic-setattribute.js: (step1): (step2): (step3): (step4): (step5):
- storage/domstorage/events/script-tests/basic.js: (test): (step1): (step2): (step3): (step4): (step5):
- storage/domstorage/events/script-tests/case-sensitive.js: (test): (step1): (step2):
- storage/domstorage/events/script-tests/documentURI.js: (test): (step1): (step2):
- 6:50 PM Changeset in webkit [86407] by
-
- 8 edits1 add in trunk/Source
Fix for <rdar://problem/9253454> Solar Walk For Mac: Info window is blank (HTML5 parser)
https://bugs.webkit.org/show_bug.cgi?id=60685
Reviewed by Darin Adler and Adam Barth.
Source/WebCore:
Detect the Solar Walk application so we can add targeted parser quirks.
- WebCore.exp.in:
- platform/RuntimeApplicationChecks.cpp: (WebCore::applicationIsSolarWalk):
- platform/RuntimeApplicationChecks.h:
Source/WebKit:
- WebKit.xcodeproj/project.pbxproj: Added Misc/SolarWalkQuirksUserScript.js and copy it to Resources during the build phase.
Source/WebKit/mac:
Solar Walk uses a self closing title tag, so to match the behavior of the old parser,
we use a UserScript to write the contents of the title element to the end of the document so it can be re-parsed.
- Misc/SolarWalkQuirksUserScript.js: Added.
- WebView/WebView.mm:
(needsSolarWalkQuirksScript):
(leakSolarWalkQuirksUserScriptContents):
(-[WebView _injectSolarWalkQuirksScript]):
(-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
- 6:19 PM Changeset in webkit [86406] by
-
- 11 edits in trunk/Source
2011-05-12 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
Regression caused by changeset 86281
https://bugs.webkit.org/show_bug.cgi?id=60712
Changed wording in some tests to reflect AppKit UI change.
- manual-tests/autocorrection/delete-to-end-of-word-to-show-reversion.html:
- manual-tests/autocorrection/move-to-end-of-word-to-show-reversion.html:
2011-05-12 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
Regression caused by changeset 86281
https://bugs.webkit.org/show_bug.cgi?id=60712
<rdar://problem/9427970>
Removed the condition variable. [NSSpellChecker dismissCorrectionIndicatorForView:] is blocking.
So handleAcceptedReplacement() triggered by dismissInternal() will return before dismissInternal()
returns. So we don't need to use the condition to coordinate between these two function. In fact,
all callbacks are delivered on main thread. We don't really need any locking here.
Since now we don't have distinction between dismiss() and dismissSoon(). dismissSoon() has
been removed.
- WebCoreSupport/CorrectionPanel.h:
- WebCoreSupport/CorrectionPanel.mm: (CorrectionPanel::CorrectionPanel): (CorrectionPanel::show): (CorrectionPanel::dismiss): (CorrectionPanel::dismissInternal): (CorrectionPanel::handleAcceptedReplacement):
- WebCoreSupport/WebEditorClient.mm: (WebEditorClient::dismissCorrectionPanelSoon):
2011-05-12 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
Regression caused by changeset 86281
https://bugs.webkit.org/show_bug.cgi?id=60712
<rdar://problem/9427970>
Removed the condition variable. [NSSpellChecker dismissCorrectionIndicatorForView:] is blocking.
So handleAcceptedReplacement() triggered by dismissInternal() will return before dismissInternal()
returns. So we don't need to use the condition to coordinate between these two function. In fact,
all callbacks are delivered on main thread. We don't really need any locking here.
Since now we don't have distinction between dismiss() and dismissSoon(). dismissSoon() has
been removed.
- UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::dismissCorrectionPanelSoon):
- UIProcess/mac/CorrectionPanel.h:
- UIProcess/mac/CorrectionPanel.mm: (WebKit::CorrectionPanel::CorrectionPanel): (WebKit::CorrectionPanel::show): (WebKit::CorrectionPanel::dismiss): (WebKit::CorrectionPanel::dismissInternal): (WebKit::CorrectionPanel::handleAcceptedReplacement):
- 5:33 PM Changeset in webkit [86405] by
-
- 1 edit in branches/chromium/742/Source/WebCore/page/Settings.cpp
Fixing chromium issue http://crbug.com/82482 - DNS pre-resolution was disabled in Webkit - Fix only for Chromium 742 branch
- 5:25 PM Changeset in webkit [86404] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Daniel Bates <dbates@rim.com>
Attempt to fix the build after changeset 86391<http://trac.webkit.org/changeset/86391>
(https://bugs.webkit.org/show_bug.cgi?id=60681).
- page/PluginHalter.cpp: (WebCore::PluginHalter::PluginHalter): Substitute m_client for client in ASSERT_ARG since client is now of type PassOwnPtr so it becomes 0 when assigned to another variable.
- 5:19 PM Changeset in webkit [86403] by
-
- 3 edits in trunk
2011-05-12 Gregg Tavares <Gregg Tavares>
Reviewed by Kenneth Russell.
Add option to select GraphicsContext3D implementation.
https://bugs.webkit.org/show_bug.cgi?id=60297
- Source/WebKit/chromium/DEPS:
- Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:
- 5:17 PM Changeset in webkit [86402] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations tweaks for chromium.
- platform/chromium/test_expectations.txt:
- 5:06 PM Changeset in webkit [86401] by
-
- 12 edits in trunk/Source/WebCore
2011-05-12 Patrick Gansterer <Patrick Gansterer>
Reviewed by Darin Adler.
Rename SimpleFontData::scaledFontData to createScaledFontData
https://bugs.webkit.org/show_bug.cgi?id=60723
- platform/graphics/SimpleFontData.h:
- platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
- platform/graphics/chromium/SimpleFontDataLinux.cpp:
- platform/graphics/freetype/SimpleFontDataFreeType.cpp:
- platform/graphics/haiku/SimpleFontDataHaiku.cpp:
- platform/graphics/mac/SimpleFontDataMac.mm:
- platform/graphics/pango/SimpleFontDataPango.cpp:
- platform/graphics/qt/SimpleFontDataQt.cpp:
- platform/graphics/win/SimpleFontDataWin.cpp:
- platform/graphics/wince/SimpleFontDataWinCE.cpp:
- platform/graphics/wx/SimpleFontDataWx.cpp:
- 5:05 PM Changeset in webkit [86400] by
-
- 10 edits in trunk/Source/WebCore
2011-05-12 Levi Weintraub <leviw@chromium.org>
Reviewed by Simon Fraser.
Switch paintOutline to use IntRect
https://bugs.webkit.org/show_bug.cgi?id=60718
Switching paintOutline to use an IntRect instead of 4 ints.
No new tests as this is just refactoring.
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintObject):
- rendering/RenderObject.cpp: (WebCore::RenderObject::paintOutline):
- rendering/RenderObject.h:
- rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
- rendering/RenderTable.cpp: (WebCore::RenderTable::paintObject):
- rendering/svg/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint):
- rendering/svg/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint):
- rendering/svg/RenderSVGPath.cpp: (WebCore::RenderSVGPath::paint):
- rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::paint):
- 5:01 PM Changeset in webkit [86399] by
-
- 5 edits1 copy1 add1 delete in trunk/LayoutTests
2011-05-12 Kent Tamura <tkent@chromium.org>
[Chromium] Update test expectations for r86224.
- platform/chromium-linux/fast/forms/validation-message-appearance-expected.png:
- platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png:
- platform/chromium-mac/fast/forms/validation-message-appearance-expected.png: Removed.
- platform/chromium-win-vista/fast/forms/validation-message-appearance-expected.png: Added.
- platform/chromium-win-vista/fast/forms/validation-message-appearance-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt.
- platform/chromium/test_expectations.txt:
- 4:53 PM Changeset in webkit [86398] by
-
- 2 edits in trunk/Source/WebCore
Address review comment by Dan Bernstein.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
- 4:45 PM Changeset in webkit [86397] by
-
- 3 edits in trunk/Source/WebCore
2011-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Dan Bernstein.
Crash when a plug-in tries to load a resource from the application cache
https://bugs.webkit.org/show_bug.cgi?id=60735
<rdar://problem/8216142>
When loading application cache resources from disk, we would never restore the
HTTP status code, which means that resources would always have a 0 status code.
This led to the plug-in stream loader canceling the load, something which the application
cache loading machinery couldn't deal and thus would crash.
Fix the reading of the HTTP status code, and make the loader more robust against
application cache loads being canceled.
Unfortunately, I couldn't come up with a test for this because I couldn't find a reliable way
to force the application cache to be read from disk, so all resources would have valid values.
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::loadCache):
- 4:35 PM Changeset in webkit [86396] by
-
- 3 edits in trunk/Source/JavaScriptGlue
<http://webkit.org/b/60710> JavaScriptGlue should compile with -Wmissing-prototypes
Reviewed by Geoffrey Garen.
Enabling -Wmissing-prototypes fixes an Xcode 4 project warning.
This also fixes the following compiler warning:
JavaScriptGlue/JSUtils.cpp:407:15: error: no previous prototype for function 'getThreadGlobalData' [-Werror,-Wmissing-prototypes,3]
JSGlobalData* getThreadGlobalData()
- Configurations/Base.xcconfig: Set
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES.
- JSUtils.cpp:
(getThreadGlobalData): Made static.
- 4:30 PM Changeset in webkit [86395] by
-
- 10 edits in trunk/Source/WebCore
2011-05-12 Emil A Eklund <eae@chromium.org>
Reviewed by Darin Adler.
Convert RenderBox::setLocation, setLogicalLocation and setLogicalSize to IntPoint/IntSize
https://bugs.webkit.org/show_bug.cgi?id=60585
Refactoring, covered by existing tests.
- rendering/RenderBox.cpp: (WebCore::RenderBox::positionLineBox):
- rendering/RenderBox.h: (WebCore::RenderBox::setLogicalLocation): (WebCore::RenderBox::setLogicalSize): (WebCore::RenderBox::setLocation):
- rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::positionFrames): (WebCore::RenderFrameSet::positionFramesWithFlattening):
- rendering/RenderMedia.cpp: (WebCore::RenderMedia::layout):
- rendering/RenderScrollbarPart.cpp: (WebCore::RenderScrollbarPart::paintIntoRect):
- rendering/RenderTable.cpp: (WebCore::RenderTable::adjustLogicalHeightForCaption): (WebCore::RenderTable::layout):
- rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::layoutRows):
- rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::layout):
- rendering/svg/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBox::layoutRootBox):
- 4:27 PM Changeset in webkit [86394] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Adrienne Walker <enne@google.com>
Reviewed by James Robinson.
[chromium] show-composited-layer-tree crashes on null ptr deref
https://bugs.webkit.org/show_bug.cgi?id=60734
The tiler is created lazily, so it won't not be around for the first
dumpLayerProperties call.
- platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::dumpLayerProperties):
- 4:21 PM Changeset in webkit [86393] by
-
- 5 edits in trunk/Source
Versioning.
- 4:19 PM Changeset in webkit [86392] by
-
- 1 copy in tags/Safari-534.35
New tag.
- 4:06 PM Changeset in webkit [86391] by
-
- 10 edits in trunk/Source
2011-05-12 Patrick Gansterer <Patrick Gansterer>
Reviewed by Adam Barth.
Enable OwnPtr strict mode in PluginHalter
https://bugs.webkit.org/show_bug.cgi?id=60681
Pass PluginHalterClient as (Pass)OwnPtr to Page and PluginHalter.
- WebCore.exp.in:
- page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::PageClients::PageClients):
- page/Page.h:
- page/PluginHalter.cpp: (WebCore::PluginHalter::PluginHalter):
- page/PluginHalter.h:
2011-05-12 Patrick Gansterer <Patrick Gansterer>
Reviewed by Adam Barth.
Enable OwnPtr strict mode in PluginHalter
https://bugs.webkit.org/show_bug.cgi?id=60681
- WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
2011-05-12 Patrick Gansterer <Patrick Gansterer>
Reviewed by Adam Barth.
Enable OwnPtr strict mode in PluginHalter
https://bugs.webkit.org/show_bug.cgi?id=60681
- WebView.cpp: (WebView::initWithFrame):
- 3:34 PM Changeset in webkit [86390] by
-
- 8 edits9 adds in trunk
2011-05-12 Daniel Bates <dbates@rim.com>
Reviewed by Adele Peterson.
Frame's noResize attribute can not be set by JavaScript
https://bugs.webkit.org/show_bug.cgi?id=14845
Tests that frame resizing is allowed and disallowed depending on the value of the noResize property.
Also, tests to ensure that frame resizing is allowed and disallowed when programmatically
removing and adding the noresize attribute, respectively.
- fast/frames/frame-inherit-noresize-from-frameset-expected.txt: Added.
- fast/frames/frame-inherit-noresize-from-frameset.html: Added. See <https://bugs.webkit.org/show_bug.cgi?id=57604>.
- fast/frames/frame-programmatic-noresize-expected.txt: Added.
- fast/frames/frame-programmatic-noresize.html: Added.
- fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-expected.txt: Added.
- fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html: Added.
- fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false-expected.txt: Added.
- fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html: Added.
- fast/frames/resources/frame-programmatic-resize.js: Added. (setTestFrameById): (deltaWidth): (shouldAllowFrameResize): (shouldDisallowFrameResize): (shouldDisallowFrameResizeAfterProcessingFrame): (shouldAllowFrameResizeAfterProcessingFrame): (checkTestFrameWidthEquals): (resizeTestFrameBy): (log): (description):
2011-05-12 Daniel Bates <dbates@rim.com>
Reviewed by Adele Peterson.
Frame's noResize attribute can not be set by JavaScript
https://bugs.webkit.org/show_bug.cgi?id=14845
Tests: fast/frames/frame-inherit-noresize-from-frameset.html
fast/frames/frame-programmatic-noresize.html
fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html
fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html
Implements support to programmatically allow and disallow frame resizing.
Currently, HTMLFrameElement::parseMappedAttribute() is hardcoded to disallow frame resize (i.e.
m_noResize = true) when either the noresize DOM attribute is specified (or existed at some
point in time) or the value of the noResize attribute is modified. Instead we should allow/disallow
frame resize depending on the presence of the noresize DOM attribute/the value of the noResize
attribute.
- html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::HTMLFrameElement): (WebCore::HTMLFrameElement::noResize): Made this a non-inline function since this code path isn't performance critical. (WebCore::HTMLFrameElement::attach): Removed code to inherit noresize attribute from parent <frameset> since this functionality is part of RenderFrameSet::computeEdgeInfo(). (WebCore::HTMLFrameElement::parseMappedAttribute):
- html/HTMLFrameElement.h:
- rendering/RenderFrame.cpp: (WebCore::RenderFrame::updateFromElement): Added.
- rendering/RenderFrame.h:
- rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::notifyFrameEdgeInfoChanged): Added.
- rendering/RenderFrameSet.h:
- 3:31 PM Changeset in webkit [86389] by
-
- 3 edits in trunk/Source/WebCore
2011-05-12 Emil A Eklund <eae@chromium.org>
Reviewed by Darin Adler.
Replace IntPoint with const IntPoint& in RenderFlexibleBox::placeChild
https://bugs.webkit.org/show_bug.cgi?id=60640
Pass by const reference instead of by value for consistency reasons.
Refactoring, covered by existing tests.
- rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::placeChild):
- rendering/RenderFlexibleBox.h: Use const IntPoint& instead of just IntPoint to avoid extra constructor overhead
- 3:29 PM Changeset in webkit [86388] by
-
- 2 edits in trunk
Corrected Radar links
- 3:28 PM Changeset in webkit [86387] by
-
- 5 edits in trunk
Source/WebCore: <rdar://problem/8970549> WebFindOptionsAtWordStarts still fails with some Japanese words
https://bugs.webkit.org/show_bug.cgi?id=60730
Reviewed by Sam Weinig.
- editing/TextIterator.cpp:
(WebCore::SearchBuffer::isWordStartMatch): Consider all positions before a CJK ideograph as
word starts.
LayoutTests: Updated results for <rdar://problem/8970549> WebFindOptionsAtWordStarts still fails with some Japanese words
https://bugs.webkit.org/show_bug.cgi?id=60730
Reviewed by Sam Weinig.
- editing/text-iterator/findString-expected.txt:
- editing/text-iterator/findString.html:
- 3:20 PM Changeset in webkit [86386] by
-
- 2 edits in trunk/Tools
2011-05-12 Lucas Forschler <Lucas Forschler>
Reviewed by Stephanie Lewis.
Add SnowLeopard Debug builder and Test bot.
apple-xserve-8 = SL Debug Tester.
apple-xserve-9 = SL Debug Builder.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 3:15 PM Changeset in webkit [86385] by
-
- 4 edits in trunk/Source/WebCore
2011-05-12 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Switch paintBoxDecorationWithSize to IntRect
https://bugs.webkit.org/show_bug.cgi?id=60679
Switching paintBoxDecorationWithSize to take an IntRect instead of 4 ints.
No new tests as this is simple refactoring.
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): Cleaning up amazingly confusing logic. (WebCore::RenderBox::paintBoxDecorationsWithSize):
- rendering/RenderBox.h:
- rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::paintBoxDecorations):
- 3:00 PM Changeset in webkit [86384] by
-
- 9 edits in trunk/Source/WebCore
2011-05-12 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Switch paintBoxShadow to use IntRect
https://bugs.webkit.org/show_bug.cgi?id=60713
Switching paintBoxShadow from taking four ints to taking an IntRect.
No new tests since this is refactoring.
- rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paintBoxShadow): (WebCore::InlineFlowBox::paintBoxDecorations):
- rendering/InlineFlowBox.h:
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorationsWithSize):
- rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBoxShadow):
- rendering/RenderBoxModelObject.h:
- rendering/RenderFieldset.cpp: (WebCore::RenderFieldset::paintBoxDecorations):
- rendering/RenderTable.cpp: (WebCore::RenderTable::paintBoxDecorations):
- rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paintBoxDecorations):
- 2:56 PM Changeset in webkit [86383] by
-
- 9 edits1 add in trunk/Source
2011-05-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
XMLDocumentParserLibxml2 should play nice with strict OwnPtrs
https://bugs.webkit.org/show_bug.cgi?id=59394
This portion of the change introduces a PassTraits template, which
is used to enable takeFirst() to work for a Deque holding OwnPtrs,
and optimize it for a Deque holding RefPtrs. In the future it can
be deployed elsewhere to make our data structures work better with
our smart pointers.
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/WTF/WTF.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- wtf/CMakeLists.txt:
- wtf/Deque.h: (WTF::::takeFirst):
- wtf/PassTraits.h: Added. (WTF::PassTraits::transfer):
2011-05-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
XMLDocumentParserLibxml2 should play nice with strict OwnPtrs
https://bugs.webkit.org/show_bug.cgi?id=59394
Properly fix this (formerly rolled out for breaking the build). I think the original
failure had nothing to do with Deque<OwnPtr>, which in fact appears to work fine.
- dom/XMLDocumentParserLibxml2.cpp: (WebCore::PendingCallbacks::~PendingCallbacks): (WebCore::PendingCallbacks::create): (WebCore::PendingCallbacks::appendStartElementNSCallback): (WebCore::PendingCallbacks::appendEndElementNSCallback): (WebCore::PendingCallbacks::appendCharactersCallback): (WebCore::PendingCallbacks::appendProcessingInstructionCallback): (WebCore::PendingCallbacks::appendCDATABlockCallback): (WebCore::PendingCallbacks::appendCommentCallback): (WebCore::PendingCallbacks::appendInternalSubsetCallback): (WebCore::PendingCallbacks::appendErrorCallback): (WebCore::PendingCallbacks::PendingCallbacks): (WebCore::XMLDocumentParser::XMLDocumentParser):
- 2:50 PM Changeset in webkit [86382] by
-
- 3 edits in trunk/Tools
2011-05-12 Adam Barth <abarth@webkit.org>
This patch disables sheriffbot's bug postings. He's just been way too
spammy recently due to test flakiness.
- Scripts/webkitpy/tool/commands/sheriffbot.py:
- Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
- 2:43 PM Changeset in webkit [86381] by
-
- 4 edits in trunk
2011-05-12 Daniel Bates <dbates@rim.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] fast/events/fire-mousedown-while-pressing-mouse-button.html failing
https://bugs.webkit.org/show_bug.cgi?id=58863
Fixes an issue where a platform mouse event corresponding to mouse button A
may be associated with the wrong WebCore mouse button when the event occurs
while pressing and holding a mouse button B, where A != B.
For example, a person clicks the middle mouse button while pressing and holding
the left mouse button. Then we dispatch the following DOM events: mouse down for
left button, mouse down for left button, mouse up for left button. But, we should
have dispatched: mouse down for left button, mouse down for middle button, mouse up
for middle button.
- platform/qt/PlatformMouseEventQt.cpp: (WebCore::mouseEventTypeAndMouseButtonFromQEvent): Added. (WebCore::PlatformMouseEvent::PlatformMouseEvent): Modified to call mouseEventTypeAndMouseButtonFromQEvent() to determine the WebCore mouse event type and button from the platform-specific event.
2011-05-12 Daniel Bates <dbates@rim.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] fast/events/fire-mousedown-while-pressing-mouse-button.html failing
https://bugs.webkit.org/show_bug.cgi?id=58863
Remove test case fast/events/fire-mousedown-while-pressing-mouse-button.html
from the Skipped list since it now passes.
- platform/qt/Skipped:
- 2:17 PM Changeset in webkit [86380] by
-
- 5 edits in trunk/Source/WebKit2
WebKit2: Implement plugin quirk for Mozilla user agent for older Flash
https://bugs.webkit.org/show_bug.cgi?id=60726
<rdar://problem/8470824>
Reviewed by Adam Roben.
Implement the quirk for versions of Flash before v10 that only request windowless plugins
if we use a Mozilla user agent.
- Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
(WebKit::NetscapePluginModule::determineQuirks): If we have a plugin that handles the
"application/x-shockwave-flash" MIME type with a version less than 10, tell it to use
the Mozilla user agent.
- Shared/Plugins/PluginQuirks.h:
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::userAgent): Add an early return if the plugin uses the Mozilla user
agent.
- win/WebKit2.vcproj: Add PluginQuirks.h.
- 2:13 PM Changeset in webkit [86379] by
-
- 2 edits in trunk/Source/WebKit2
2011-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Simon Fraser.
PluginView::invalidateRect doesn't work for transformed plug-ins
https://bugs.webkit.org/show_bug.cgi?id=60727
<rdar://problem/9331244>
Ask the RenderObject to repaint the plug-in instead of using invalidateContentsAndWindow.
This matches what we do in WebKit1.
- WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::invalidateRect):
- 2:12 PM Changeset in webkit [86378] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations update for Chromium.
- platform/chromium/test_expectations.txt:
- 2:05 PM Changeset in webkit [86377] by
-
- 15 edits in trunk/Source/WebCore
2011-05-12 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Switch paintMask and paintMaskImages off of ints
https://bugs.webkit.org/show_bug.cgi?id=60578
Primarily switching paintMask and paintMaskImages to use IntSize and IntRect respectively.
In the process of that:
- added an "expand" function to IntRect that allows you to add an IntSize or pair of integers to the size portion of an IntRect.
- changed borderFitAdjust to take an IntRect. It modifies only the x and width attributes.
No new tests since this refactoring.
- platform/graphics/IntRect.h: (WebCore::IntRect::expand): Added for convenience.
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::borderFitAdjust):
- rendering/RenderBlock.h:
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorationsWithSize): (WebCore::RenderBox::paintMask): (WebCore::RenderBox::paintMaskImages):
- rendering/RenderBox.h: (WebCore::RenderBox::borderFitAdjust):
- rendering/RenderFieldset.cpp: (WebCore::RenderFieldset::paintMask):
- rendering/RenderFieldset.h:
- rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
- rendering/RenderReplica.cpp: (WebCore::RenderReplica::paint):
- rendering/RenderTable.cpp: (WebCore::RenderTable::paintObject): (WebCore::RenderTable::paintMask):
- rendering/RenderTable.h:
- rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paintMask):
- rendering/RenderTableCell.h:
- rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
- 1:56 PM Changeset in webkit [86376] by
-
- 37 edits1 copy55 adds in trunk/LayoutTests
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Csaba Osztrogonác.
[Qt] Rebaseline editing/execCommand tests that are working
https://bugs.webkit.org/show_bug.cgi?id=60717
Also based on digging of Zsolt Fehér.
- platform/qt/Skipped:
- platform/qt/editing/execCommand/4580583-1-expected.png: Added.
- platform/qt/editing/execCommand/4580583-1-expected.txt:
- platform/qt/editing/execCommand/4580583-2-expected.png: Added.
- platform/qt/editing/execCommand/4580583-2-expected.txt:
- platform/qt/editing/execCommand/4641880-1-expected.png: Added.
- platform/qt/editing/execCommand/4641880-1-expected.txt:
- platform/qt/editing/execCommand/4641880-2-expected.png: Added.
- platform/qt/editing/execCommand/4641880-2-expected.txt:
- platform/qt/editing/execCommand/4747450-expected.png: Added.
- platform/qt/editing/execCommand/4747450-expected.txt:
- platform/qt/editing/execCommand/4786404-1-expected.png: Added.
- platform/qt/editing/execCommand/4786404-2-expected.png: Added.
- platform/qt/editing/execCommand/4916402-expected.png: Added.
- platform/qt/editing/execCommand/4916402-expected.txt:
- platform/qt/editing/execCommand/4916541-expected.png: Added.
- platform/qt/editing/execCommand/4916541-expected.txt:
- platform/qt/editing/execCommand/4924441-expected.png: Added.
- platform/qt/editing/execCommand/4924441-expected.txt:
- platform/qt/editing/execCommand/5049671-expected.png: Added.
- platform/qt/editing/execCommand/5062376-expected.png: Added.
- platform/qt/editing/execCommand/5062376-expected.txt:
- platform/qt/editing/execCommand/5080333-1-expected.png: Added.
- platform/qt/editing/execCommand/5080333-1-expected.txt:
- platform/qt/editing/execCommand/5080333-2-expected.png: Added.
- platform/qt/editing/execCommand/5080333-2-expected.txt:
- platform/qt/editing/execCommand/5136770-expected.png: Added.
- platform/qt/editing/execCommand/5136770-expected.txt:
- platform/qt/editing/execCommand/5138441-expected.png: Added.
- platform/qt/editing/execCommand/5138441-expected.txt:
- platform/qt/editing/execCommand/5142012-1-expected.png: Added.
- platform/qt/editing/execCommand/5142012-1-expected.txt:
- platform/qt/editing/execCommand/5142012-2-expected.png: Added.
- platform/qt/editing/execCommand/5142012-2-expected.txt:
- platform/qt/editing/execCommand/5190926-expected.png: Added.
- platform/qt/editing/execCommand/5190926-expected.txt:
- platform/qt/editing/execCommand/5481523-expected.png: Added.
- platform/qt/editing/execCommand/5481523-expected.txt: Added.
- platform/qt/editing/execCommand/5482023-expected.png: Added.
- platform/qt/editing/execCommand/5482023-expected.txt: Added.
- platform/qt/editing/execCommand/5569741-expected.png: Added.
- platform/qt/editing/execCommand/5569741-expected.txt: Added.
- platform/qt/editing/execCommand/create-list-with-hr-expected.png: Added.
- platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
- platform/qt/editing/execCommand/find-after-replace-expected.png: Added.
- platform/qt/editing/execCommand/find-after-replace-expected.txt:
- platform/qt/editing/execCommand/findString-2-expected.png: Added.
- platform/qt/editing/execCommand/findString-2-expected.txt:
- platform/qt/editing/execCommand/findString-expected.png: Added.
- platform/qt/editing/execCommand/findString-expected.txt:
- platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
- platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
- platform/qt/editing/execCommand/indent-empty-root-expected.png: Added.
- platform/qt/editing/execCommand/indent-empty-root-expected.txt:
- platform/qt/editing/execCommand/indent-list-item-expected.png: Added.
- platform/qt/editing/execCommand/indent-list-item-expected.txt:
- platform/qt/editing/execCommand/indent-selection-expected.png: Added.
- platform/qt/editing/execCommand/indent-selection-expected.txt:
- platform/qt/editing/execCommand/insert-list-and-stitch-expected.png: Added.
- platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
- platform/qt/editing/execCommand/insert-list-with-id-expected.png: Added.
- platform/qt/editing/execCommand/insert-list-with-id-expected.txt:
- platform/qt/editing/execCommand/insertHorizontalRule-expected.png: Added.
- platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
- platform/qt/editing/execCommand/insertImage-expected.png: Added.
- platform/qt/editing/execCommand/insertImage-expected.txt:
- platform/qt/editing/execCommand/nsresponder-indent-expected.png: Added.
- platform/qt/editing/execCommand/nsresponder-indent-expected.txt: Added.
- platform/qt/editing/execCommand/nsresponder-outdent-expected.png: Added.
- platform/qt/editing/execCommand/nsresponder-outdent-expected.txt: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test1-expected.png: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test2-expected.png: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test3-expected.png: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test4-expected.png: Added.
- platform/qt/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
- platform/qt/editing/execCommand/outdent-selection-expected.png: Added.
- platform/qt/editing/execCommand/outdent-selection-expected.txt:
- platform/qt/editing/execCommand/paste-1-expected.png: Added.
- platform/qt/editing/execCommand/paste-1-expected.txt:
- platform/qt/editing/execCommand/paste-2-expected.png: Added.
- platform/qt/editing/execCommand/paste-2-expected.txt:
- platform/qt/editing/execCommand/print-expected.png: Added.
- platform/qt/editing/execCommand/print-expected.txt:
- platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png: Added.
- platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
- platform/qt/editing/execCommand/remove-list-item-1-expected.png: Added.
- platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
- platform/qt/editing/execCommand/selectAll-expected.png: Added.
- platform/qt/editing/execCommand/selectAll-expected.txt:
- 1:50 PM Changeset in webkit [86375] by
-
- 12 edits in trunk/Source/WebCore
2011-05-12 Patrick Gansterer <Patrick Gansterer>
Reviewed by Eric Seidel.
SimpleFontData::scaledFontData should return a PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=60657
Let scaledFontData return a PassOwnPtr instead of a raw pointer
to make SimpleFontData build without LOOSE_PASS_OWN_PTR.
- platform/graphics/SimpleFontData.h:
- platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/chromium/SimpleFontDataLinux.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/freetype/SimpleFontDataFreeType.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/haiku/SimpleFontDataHaiku.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/mac/SimpleFontDataMac.mm: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/pango/SimpleFontDataPango.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/qt/SimpleFontDataQt.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/win/SimpleFontDataWin.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/wince/SimpleFontDataWinCE.cpp: (WebCore::SimpleFontData::scaledFontData):
- platform/graphics/wx/SimpleFontDataWx.cpp: (WebCore::SimpleFontData::scaledFontData):
- 1:39 PM Changeset in webkit [86374] by
-
- 9 edits15 adds in trunk/LayoutTests
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Csaba Osztrogonác.
[Qt] Rebaseline editing/pasteboard tests that are working
https://bugs.webkit.org/show_bug.cgi?id=60707
- platform/qt/Skipped:
- platform/qt/editing/pasteboard/4076267-2-expected.png: Added.
- platform/qt/editing/pasteboard/4076267-2-expected.txt: Added.
- platform/qt/editing/pasteboard/4076267-expected.png: Added.
- platform/qt/editing/pasteboard/4076267-expected.txt: Added.
- platform/qt/editing/pasteboard/4806874-expected.png: Added.
- platform/qt/editing/pasteboard/4806874-expected.txt:
- platform/qt/editing/pasteboard/5387578-expected.png: Added.
- platform/qt/editing/pasteboard/5387578-expected.txt:
- platform/qt/editing/pasteboard/bad-placeholder-expected.png: Added.
- platform/qt/editing/pasteboard/bad-placeholder-expected.txt:
- platform/qt/editing/pasteboard/block-wrappers-necessary-expected.png: Added.
- platform/qt/editing/pasteboard/block-wrappers-necessary-expected.txt:
- platform/qt/editing/pasteboard/input-field-1-expected.png: Added.
- platform/qt/editing/pasteboard/input-field-1-expected.txt:
- platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Added.
- platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt:
- platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Added.
- platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt:
- platform/qt/editing/pasteboard/paste-text-008-expected.png: Added.
- platform/qt/editing/pasteboard/paste-text-008-expected.txt: Added.
- platform/qt/editing/pasteboard/smart-paste-008-expected.png: Added.
- platform/qt/editing/pasteboard/smart-paste-008-expected.txt: Added.
- 1:05 PM Changeset in webkit [86373] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations update for Chromium.
- platform/chromium/test_expectations.txt:
- 1:01 PM Changeset in webkit [86372] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations update for Chromium.
- platform/chromium/test_expectations.txt:
- 12:14 PM Changeset in webkit [86371] by
-
- 2 edits in trunk/Source/WebCore
Assertion failure when requesting that storage be deleted for an origin without storage.
https://bugs.webkit.org/show_bug.cgi?id=60709
Reviewed by Darin Adler.
- storage/StorageTracker.cpp:
(WebCore::StorageTracker::syncDeleteOrigin):
If the path to the storage location for the givin origin is empty, return early instead of
asserting.
- 12:12 PM Changeset in webkit [86370] by
-
- 2 edits in trunk
2011-05-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
Reviewed by Antonio Gomes.
[CMAKE] Add option to unconditionally enable/disable a feature
https://bugs.webkit.org/show_bug.cgi?id=60643
Create an argument to be used in WEBKIT_FEATURE macro, allowing a port
to enable a feature without showing to user that it can be disabled.
This is useful if a port needs an option to be always ON/OFF and
changing it will break the build.
This way it's possible to add mandatory features to each port without
touching the cmakeconfig.cmake file.
- Source/cmake/WebKitFeatures.cmake:
- 12:10 PM Changeset in webkit [86369] by
-
- 7 edits in trunk
[Windows WebKit2] Use cookies set in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=60274
Reviewed by Darin Adler.
Source/WebCore:
Make sure any Private Browsing session is based off the default session.
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
Source/WebKit2:
Properly handle the case where there is no serialized default storage session by not trying
to encode or decode 0, while still making sure to decode any valid storage session.
- Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::WebProcessCreationParameters):
(WebKit::WebProcessCreationParameters::encode):
Only encode the storage session if there is one to encode.
(WebKit::WebProcessCreationParameters::decode):
Only decode the storage session there is one to decode.
- Shared/WebProcessCreationParameters.h:
WebKitLibraries:
Update WKSI with the changes to wkCreatePrivateStorageSession.
- win/include/WebKitSystemInterface/WebKitSystemInterface.h:
- win/lib/WebKitSystemInterface.lib:
- 11:53 AM Changeset in webkit [86368] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations update for Chromium.
- platform/chromium/test_expectations.txt:
- 11:45 AM Changeset in webkit [86367] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations update for chromium.
- platform/chromium/test_expectations.txt:
- 11:34 AM Changeset in webkit [86366] by
-
- 2 edits in trunk/Source/ThirdParty
Ignore Visual Studio *.user files.
- gtest/msvc: Added property svn:ignore.
- 11:33 AM Changeset in webkit [86365] by
-
- 3 edits in trunk/Source/WebCore
2011-05-12 Rob Buis <rbuis@rim.com>
Reviewed by Eric Seidel.
SVGStyledElement::resolveStyle(RenderStyle*) must be removed/fixed!
https://bugs.webkit.org/show_bug.cgi?id=15479
Finally remove resolveStyle, it is not used anymore.
- svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::childrenChanged):
- svg/SVGStyledElement.h:
- 11:29 AM Changeset in webkit [86364] by
-
- 3 edits4 adds in trunk
2011-05-12 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
REGRESSION (r65868): createContextualFragment does not work with <style>
https://bugs.webkit.org/show_bug.cgi?id=60155
These test results match Firefox.
- fast/parser/style-in-create-contextual-fragment-expected.txt: Added.
- fast/parser/style-in-create-contextual-fragment-head-expected.txt: Added.
- fast/parser/style-in-create-contextual-fragment-head.html: Added.
- fast/parser/style-in-create-contextual-fragment.html: Added.
2011-05-12 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
REGRESSION (r65868): createContextualFragment does not work with <style>
https://bugs.webkit.org/show_bug.cgi?id=60155
createContextualFragment doesn't have a spec, so it's hard to tell what
we're supposed to do exactly. This patch appears to make our behavior
more like Firefox and should fix the compat issue with this site.
Tests: fast/parser/style-in-create-contextual-fragment-head.html
fast/parser/style-in-create-contextual-fragment.html
- dom/Element.cpp: (WebCore::Element::deprecatedCreateContextualFragment):
- 11:28 AM Changeset in webkit [86363] by
-
- 3 edits in trunk/LayoutTests
2011-05-12 David Grogan <dgrogan@chromium.org>
Reviewed by Nate Chapin.
IndexedDB: fix up database-quota.html layout test
https://bugs.webkit.org/show_bug.cgi?id=60519
Remove commitAndContinue idiom; translate some missed instances of
event.code to event.target.errorCode from bug 54331
- storage/indexeddb/database-quota-expected.txt:
- storage/indexeddb/database-quota.html:
- 11:25 AM Changeset in webkit [86362] by
-
- 1 edit in trunk/Source/WebKit/chromium/src/WebWorkerClientImpl.h
Fix mismatched virtual function from previous checkin
- 11:24 AM Changeset in webkit [86361] by
-
- 2 edits in trunk/Source/WebKit/gtk
2011-05-12 Martin Robinson <mrobinson@igalia.com>
Attempt to fix the GTK+ unit test testwebview on the 32-bit Release
bot which appears to be more sensitive to timing issues than the
other bots.
- tests/testwebview.c: Add another short pause waiting for adjustments to update.
- 11:21 AM Changeset in webkit [86360] by
-
- 3 edits2 adds in trunk
2011-05-12 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Darin Adler.
WebKit inserts base, link, meta, style, and title elements into an editable region
when pasting table cells from Excel
https://bugs.webkit.org/show_bug.cgi?id=60644
Added a test to ensure WebKit strips the said elements prior to inserting HTML.
- editing/pasteboard/paste-head-contents-expected.txt: Added.
- editing/pasteboard/paste-head-contents.html: Added.
2011-05-12 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Darin Adler.
WebKit inserts base, link, meta, style, and title elements into an editable region
when pasting table cells from Excel
https://bugs.webkit.org/show_bug.cgi?id=60644
Strip base, link, meta, style, and tile elements from the fragment to be pasted prior
to the merge. We don't have to strip these elements in performTrivialReplace because
the function only handles a fragment that consists of exactly one text node.
Test: editing/pasteboard/paste-head-contents.html
- editing/ReplaceSelectionCommand.cpp: (WebCore::removeHeadContents): Added. (WebCore::ReplaceSelectionCommand::doApply): Calls removeHeadContents before handing style spans.
- 11:06 AM Changeset in webkit [86359] by
-
- 5 edits in trunk/Source/WebCore
2011-05-12 Levi Weintraub <leviw@chromium.org>
Reviewed by Simon Fraser.
Switch calculateBackgroundImageGeometry to use IntRect
https://bugs.webkit.org/show_bug.cgi?id=60671
Replacing the four ints passed into calculateBackgroundImageGeometry with an IntRect.
No new tests since this is just refactoring.
- rendering/RenderBox.cpp: (WebCore::RenderBox::maskClipRect): (WebCore::RenderBox::repaintLayerRectsForImage):
- rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
- rendering/RenderBoxModelObject.h:
- 10:56 AM Changeset in webkit [86358] by
-
- 6 edits2 adds in trunk
2011-05-12 Carol Szabo <carol@webkit.org>
Reviewed by David Hyatt.
Fix reparenting and destruction of counter nodes.
https://bugs.webkit.org/show_bug.cgi?id=57929
Fixed several issues related to not met assertions.
See below in the per file description.
Test: fast/css/counters/element-removal-crash.xhtml
- dom/ContainerNode.cpp: (WebCore::ContainerNode::removeChildren): Fixed the fact that Node::detach() used to be called while the DOM tree was in an inconsistent state.
- rendering/RenderCounter.cpp: (WebCore::RenderCounter::rendererRemovedFromTree): Introduced this function to remove counters from descendents of renderers removed from the renderer tree not only from the removed renderers themselves.
- rendering/RenderCounter.h:
- rendering/RenderObjectChildList.cpp: (WebCore::RenderObjectChildList::removeChildNode): Changed to call RenderCounter::rendererRemovedFromTree instead of RenderCounter::destroyCounters.
2011-05-08 Abhishek Arya <inferno@chromium.org> and Carol Szabo <carol@webkit.org>
Reviewed by David Hyatt.
Fix reparenting and destruction of counter nodes.
https://bugs.webkit.org/show_bug.cgi?id=57929
- fast/css/counters/element-removal-crash-expected.txt: Added.
- fast/css/counters/element-removal-crash.xhtml: Added.
- 10:35 AM Changeset in webkit [86357] by
-
- 6 edits6 adds in trunk/LayoutTests
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Darin Adler.
Rebaseline editing/inserting tests that work
https://bugs.webkit.org/show_bug.cgi?id=60702
- platform/qt/Skipped:
- platform/qt/editing/inserting/4278698-expected.png: Added.
- platform/qt/editing/inserting/4278698-expected.txt:
- platform/qt/editing/inserting/editable-html-element-expected.png: Added.
- platform/qt/editing/inserting/editable-html-element-expected.txt:
- platform/qt/editing/inserting/editing-empty-divs-expected.png: Added.
- platform/qt/editing/inserting/editing-empty-divs-expected.txt:
- platform/qt/editing/inserting/insert-div-023-expected.png: Added.
- platform/qt/editing/inserting/insert-div-023-expected.txt:
- platform/qt/editing/inserting/multiple-lines-selected-expected.png: Added.
- platform/qt/editing/inserting/multiple-lines-selected-expected.txt: Added.
- 10:33 AM Changeset in webkit [86356] by
-
- 7 edits in trunk/Source/WebKit/chromium
2011-05-11 John Abd-El-Malek <jam@chromium.org>
Reviewed by James Robinson.
[chromium] Make openFileSystem check for permission first
https://bugs.webkit.org/show_bug.cgi?id=60683
- public/WebCommonWorkerClient.h: (WebKit::WebCommonWorkerClient::allowFileSystem):
- public/WebPermissionClient.h: (WebKit::WebPermissionClient::allowFileSystem):
- src/LocalFileSystemChromium.cpp: (WebCore::openFileSystemNotAllowed): (WebCore::openFileSystemHelper):
- src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::allowFileSystem):
- src/WebWorkerBase.h:
- src/WebWorkerClientImpl.h: (WebKit::WebWorkerClientImpl::allowFileSystem):
- 10:19 AM Changeset in webkit [86355] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Luke Macpherson <macpherson@chromium.org>
Reviewed by Dimitri Glazkov.
Merge ApplyPropertyExpanding and ApplyPropertyExpandingSuppressValue classes using template.
https://bugs.webkit.org/show_bug.cgi?id=60691
No new tests - refactoring only.
- css/CSSStyleApplyProperty.cpp: (WebCore::ApplyPropertyExpanding::applyValue): Use new template parameter to early exit if needed. (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): Specify template parameters for ApplyPropertyExpanding.
- 10:07 AM Changeset in webkit [86354] by
-
- 10 edits3 adds in trunk
Source/WebKit2: After relaunching an unresponsive web process, web page stops responding to mouse movement
https://bugs.webkit.org/show_bug.cgi?id=60669
<rdar://problem/9409934>
Reviewed by Anders Carlsson.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::processDidCrash): Set m_processingMouseMoveEvent to false when the WebProcess
crashes.
Tools: After relaunching an unresponsive web process, web page stops responding to mouse movement
https://bugs.webkit.org/show_bug.cgi?id=60669
<rdar://problem/9409934>
Reviewed by Anders Carlsson.
This test follows the steps needed to reproduce this bug:
1) Hang the web process
2) While the web process is hung, move the mouse (so WebPageProxy thinks it is processing a mouse move event)
3) Kill and restart the WebProcess
4) Move the mouse
We are testing that we receive mouse move events after the WebProcess has restarted.
- TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame): Set a flag that we finished loading.
(TestWebKitAPI::processDidBecomeUnresponsive): Kill the web process once we become unresponsive.
(TestWebKitAPI::processDidCrash): Reload the page when the process crashes, which restarts the web process.
(TestWebKitAPI::setPageLoaderClient):
(TestWebKitAPI::TEST):
- TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp: Added.
(TestWebKitAPI::MouseMoveAfterCrashTest::MouseMoveAfterCrashTest):
(TestWebKitAPI::MouseMoveAfterCrashTest::didReceiveMessage):
- TestWebKitAPI/Tests/WebKit2/mouse-move-listener.html: Added.
- TestWebKitAPI/PlatformWebView.h:
- TestWebKitAPI/mac/PlatformWebViewMac.mm:
(TestWebKitAPI::PlatformWebView::simulateMouseMove): Sends the messages that simulate a mouse move.
- TestWebKitAPI/win/PlatformWebViewWin.cpp:
(TestWebKitAPI::PlatformWebView::simulateMouseMove): Ditto.
Add new files.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/win/TestWebKitAPI.vcproj:
- TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
- TestWebKitAPI/win/copy-resources.cmd:
- 10:03 AM Changeset in webkit [86353] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Simon Fraser <Simon Fraser>
Followup to r86351; give the vectors some inline capacity
to avoid heap allocations in most cases.
- page/animation/AnimationBase.cpp: (WebCore::PropertyWrapperShadow::blendMismatchedShadowLists):
- 9:57 AM Changeset in webkit [86352] by
-
- 4 edits3 adds in trunk/LayoutTests
2011-05-12 Rob Buis <rwlbuis@gmail.com>
Reviewed by Darin Adler.
REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
https://bugs.webkit.org/show_bug.cgi?id=59941
Improve test to not need a click. Offer a stroke-opacity variant as well.
- platform/mac/svg/custom/fill-opacity-update-expected.png:
- platform/mac/svg/custom/fill-opacity-update-expected.txt:
- platform/mac/svg/custom/stroke-opacity-update-expected.png: Added.
- platform/mac/svg/custom/stroke-opacity-update-expected.txt: Added.
- svg/custom/fill-opacity-update.svg:
- svg/custom/stroke-opacity-update.svg: Added.
- 9:38 AM Changeset in webkit [86351] by
-
- 5 edits2 adds in trunk
2011-05-12 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Mismatched multiple box-shadows do not transition as expected
https://bugs.webkit.org/show_bug.cgi?id=60137
When animating between two sets of shadows of different lengths, we need
to walk the ShadowData list backwards, since it stores the shadows in
reverse order relative to the CSS (so that painting is back-to-front).
This progresses the behavior of the transitions/multiple-shadow-transitions.html
test, which is given new expected results.
Test: transitions/mismatched-shadow-transitions.html
- page/animation/AnimationBase.cpp: (WebCore::shadowListLength): Utility to walk the list of ShadowData and count the number of shadows. (WebCore::shadowForBlending): Return a ShadowData* that is useful as a blending target, based on the shadow type, and whether it's a -webkit-box-shadow. (WebCore::PropertyWrapperShadow::blend): Call one of the specialized blend methods. (WebCore::PropertyWrapperShadow::blendSimpleOrMatchedShadowLists): Fast path for shadow blending, when the list lengths match, or both are single or null shadows. (WebCore::PropertyWrapperShadow::blendMismatchedShadowLists): Slower path that builds vectors for each list to reverse them.
- 9:11 AM Changeset in webkit [86350] by
-
- 2 edits in trunk/LayoutTests
2011-05-12 Anton Muhin <antonnm@chromium.org>
Unreviewed.
Chromium expectations.
- platform/chromium/test_expectations.txt:
- 9:03 AM Changeset in webkit [86349] by
-
- 2 edits in trunk/Tools
2011-05-12 Tomasz Morawski <t.morawski@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Added initialization/shutdown for ecore_file library
https://bugs.webkit.org/show_bug.cgi?id=60457
Added initialization and shuthown for ecore_file library and replaced
realpath function to ecore_file_realpath.
- EWebLauncher/main.c: (quit): (findThemePath): (main):
- 9:02 AM Changeset in webkit [86348] by
-
- 2 edits in trunk/LayoutTests
2011-05-12 Anton Muhin <antonnm@chromium.org>
Unreviewed.
Chromium expectations.
- platform/chromium/test_expectations.txt:
- 8:45 AM Changeset in webkit [86347] by
-
- 2 edits in trunk/Source/ThirdParty
Windows production build fix
- gtest/msvc/gtest-md.vcproj: Fix the OutputDirectory and IntermediateDirectory attributes
for all configurations.
- 8:41 AM Changeset in webkit [86346] by
-
- 2 edits in trunk/LayoutTests
2011-05-12 Anton Muhin <antonnm@chromium.org>
Unreviewed.
Fixed typo.
- platform/chromium/test_expectations.txt:
- 8:40 AM Changeset in webkit [86345] by
-
- 2 edits in trunk/LayoutTests
2011-05-12 Anton Muhin <antonnm@chromium.org>
Unreviewed.
Chromium expectations.
- platform/chromium/test_expectations.txt:
- 8:33 AM Changeset in webkit [86344] by
-
- 1 edit12 adds in trunk/LayoutTests
2011-05-12 Philippe Normand <pnormand@igalia.com>
Unreviewed, GTK baselines for new tests.
- platform/gtk/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png: Added.
- platform/gtk/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt: Added.
- platform/gtk/fast/borders/outline-alpha-block-expected.png: Added.
- platform/gtk/fast/borders/outline-alpha-block-expected.txt: Added.
- platform/gtk/fast/borders/outline-alpha-inline-expected.png: Added.
- platform/gtk/fast/borders/outline-alpha-inline-expected.txt: Added.
- platform/gtk/fast/inline/nested-top-alignment-expected.png: Added.
- platform/gtk/fast/inline/nested-top-alignment-expected.txt: Added.
- platform/gtk/scrollbars/scrollbars-on-positioned-content-expected.png: Added.
- platform/gtk/scrollbars/scrollbars-on-positioned-content-expected.txt: Added.
- platform/gtk/svg/custom/fill-opacity-update-expected.png: Added.
- platform/gtk/svg/custom/fill-opacity-update-expected.txt: Added.
- 8:19 AM Changeset in webkit [86343] by
-
- 2 edits in trunk/Source/WebCore
Attempted WinCairo build fix after r86169, part II
- platform/network/curl/CredentialStorageCurl.cpp: Added a missing #include.
- 8:08 AM Changeset in webkit [86342] by
-
- 2 edits in trunk/LayoutTests
2011-05-12 Anton Muhin <antonnm@chromium.org>
Unreviewed.
Chromium GPU suppressions.
- platform/chromium/test_expectations.txt:
- 8:03 AM Changeset in webkit [86341] by
-
- 4 edits in trunk/LayoutTests
Update Windows results after r86315
- platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/win/fast/dom/prototype-inheritance-expected.txt:
- platform/win/fast/js/global-constructors-expected.txt:
- 7:46 AM Changeset in webkit [86340] by
-
- 2 edits in trunk/Source/WebCore
Fix linker warnings in Production builds
- WebCore.vcproj/WebCore.vcproj: Exclude JSSVGFEDropShadowElement.cpp from the build in the
Production configuration, just like in the other configurations. Let VS resort some files
(again).
- 7:36 AM Changeset in webkit [86339] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Philippe Normand <pnormand@igalia.com>
Reviewed by Adam Roben.
Autocorrection persists after deleting and retyping the same word at same location.
https://bugs.webkit.org/show_bug.cgi?id=60555
Follow-up fix for the 3 editing/deleting tests crashing on GTK,
Leopard and Windows XP. Don't create the Range if the start of the
selection has no next position.
- editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection):
- 7:20 AM Changeset in webkit [86338] by
-
- 2 edits1 add in trunk/Source/WebCore
Attempted WinCairo build fix after r86169
- WebCore.vcproj/WebCore.vcproj: Added CredentialStorageCurl.cpp. Also let VS do what it
wants.
- platform/network/curl/CredentialStorageCurl.cpp: Added.
(WebCore::CredentialStorage::getFromPersistentStorage): Stubbed out.
- 7:13 AM Changeset in webkit [86337] by
-
- 3 edits in trunk/Source/WebCore
Build fixes after r86325
- editing/SpellingCorrectionController.cpp:
- editing/SpellingCorrectionController.h:
Added missing declarations/#includes.
- 7:10 AM Changeset in webkit [86336] by
-
- 3 edits1 add in trunk/Source
A little gtest cleanup after r86287
Source/ThirdParty:
- gtest/msvc/gtest-md.vcproj: Added Debug_All and Production configurations to match our
other projects. (At some point all the settings should be moved into .vsprops files to match
our other projects, too.)
Source/WebKit/win:
- WebKit.vcproj/WebKit.sln:
- Move gtest into the Tools folder
- Make gtest build just before TestWebKitAPIGenerated
- Use gtest's new Debug_All and Production configurations as appropriate
- 6:58 AM Changeset in webkit [86335] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Revert r86334, it broke the win build. WinCE build is fixed even without this patch. WinCairo remains broken atm, everything else works.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 6:51 AM Changeset in webkit [86334] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
String operator+ reallocates unnecessarily when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Try to fix WinCE/WinCairo linking by exporting three symbols, not sure whether it's correct though. Win worked just fine before.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 6:49 AM Changeset in webkit [86333] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
String operator+ reallocates unnecessary when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.
- platform/wince/FileSystemWinCE.cpp: (WebCore::listDirectory):
- 6:30 AM Changeset in webkit [86332] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
String operator+ reallocates unnecessary when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Fix fast/forms/input-image-submit.html regression, seens on the bots - by removing a last-minute typo: s/!!/!/
- html/ImageInputType.cpp: (WebCore::ImageInputType::appendFormData):
- 5:32 AM Changeset in webkit [86331] by
-
- 3 edits3 adds in trunk
2011-05-12 Rob Buis <rwlbuis@gmail.com>
Reviewed by Eric Seidel.
REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
https://bugs.webkit.org/show_bug.cgi?id=59941
Also consider fill-opacity when determining whether StyleDifferenceRepaint is needed.
Test: svg/custom/fill-opacity-update.svg
- rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff):
- 5:07 AM Changeset in webkit [86330] by
-
- 33 edits1 add in trunk/Source
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
String operator+ reallocates unnecessarily when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Provide a faster String append operator.
Up until now, "String operator+(const String& a, const String& b)" copied String a into a temporary
object, and used a.append(b), which reallocates a new buffer of aLength+bLength. When concatting
N strings using operator+, this leads to N-1 reallocations.
Replace this with a flexible operator+ implementation, that avoids these reallocations.
When concatting a 'String' with any string type (char*, UChar, Vector<char>, String, AtomicString, etc..)
a StringAppend<String, T> object is created, which holds the intermediate string objects, and delays
creation of the final string, until operator String() is invoked.
template<typename T>
StringAppend<String, T> operator+(const String& string1, T string2)
{
return StringAppend<String, T>(string1, string2);
}
template<typename U, typename V, typename W>
StringAppend<U, StringAppend<V, W> > operator+(U string1, const StringAppend<V, W>& string2)
{
return StringAppend<U, StringAppend<V, W> >(string1, string2);
}
When concatting three strings - "String a, b, c; String result = a + b + c;" following happens:
first a StringAppend<String, String> object is created by operator+(const String& string1, String string2).
Then operator+(String string1, const StringAppend<String, String>& string2) is invoked, which returns
a StringAppend<String, StringAppend<String, String> > object.
Then operator String() is invoked, which allocates a StringImpl object, once, large enough to hold the
final string - it uses tryMakeString provided by StringConcatenate.h under the hoods, which guards us
against too big string allocations, etc.
Note that the second template, defines a recursive way to concat an arbitary number of strings
into a single String with just one allocation.
- GNUmakefile.list.am: Add StringOperators.h to build.
- JavaScriptCore.exp: Export WTF::emptyString(). Remove no longer needed symbols.
- JavaScriptCore.gypi: Add StringOperators.h to build.
- JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
- JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
- wtf/text/AtomicString.h: Pull in StringConcatenate.h at the end of the file.
- wtf/text/StringConcatenate.h: Conditionally include AtomicString.h to avoid a cyclic dependency. Pull in StringOperators.h at the end of the file.
- wtf/text/StringOperators.h: Added. This is never meant to be included directly, including either WTFString.h or AtomicString.h automatically pulls in this file. (WTF::StringAppend::StringAppend): (WTF::StringAppend::operator String): (WTF::StringAppend::operator AtomicString): (WTF::StringAppend::writeTo): (WTF::StringAppend::length): (WTF::operator+):
- wtf/text/WTFString.cpp: Remove operator+ implementations that use String::append(). (WTF::emptyString): Add new shared empty string free function.
- wtf/text/WTFString.h: Replace operator+ implementations by StringAppend template solution. Pull in AtomicString.h at the end of the file.
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
String operator+ reallocates unnecessary when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
- dom/XMLDocumentParserLibxml2.cpp: (WebCore::handleElementAttributes):
- editing/MarkupAccumulator.cpp: (WebCore::MarkupAccumulator::shouldAddNamespaceElement):
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::hash): (WebCore::HTMLAnchorElement::search):
- html/ImageInputType.cpp: (WebCore::ImageInputType::appendFormData):
- html/parser/HTMLTreeBuilder.cpp:
- loader/CrossOriginAccessControl.cpp: (WebCore::passesAccessControlCheck):
- page/Location.cpp: (WebCore::Location::search): (WebCore::Location::hash):
- page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform):
- platform/chromium/ClipboardChromium.cpp: (WebCore::writeImageToDataObject):
- platform/gtk/PasteboardHelper.cpp: (WebCore::PasteboardHelper::fillSelectionData):
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::encodeBasicAuthorization):
- platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::copyCFStreamDescription):
- platform/network/mac/ResourceHandleMac.mm: (WebCore::encodeBasicAuthorization):
- workers/WorkerLocation.cpp: (WebCore::WorkerLocation::search): (WebCore::WorkerLocation::hash):
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
String operator+ reallocates unnecessarily when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
- src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
- src/WebHTTPLoadInfo.cpp: (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
- tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+. (IDBLevelDBCoding::TEST):
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
String operator+ reallocates unnecessarily when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
- WebView/WebFrame.mm: Explicitely cast to Strings first, so operator NSString*() can be invoked. (-[WebFrame _stringWithDocumentTypeStringAndMarkupString:]):
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Darin Adler.
String operator+ reallocates unnecessarily when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
- AccessibleBase.cpp: (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.
- 4:15 AM Changeset in webkit [86329] by
-
- 6 edits in trunk
2011-05-12 Young Han Lee <joybro@company100.net>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Implement layoutTestController.layerTreeAsText()
https://bugs.webkit.org/show_bug.cgi?id=60367
- WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::layerTreeAsText):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-12 Young Han Lee <joybro@company100.net>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Implement layoutTestController.layerTreeAsText()
https://bugs.webkit.org/show_bug.cgi?id=60367
- DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::layerTreeAsText):
- DumpRenderTree/qt/LayoutTestControllerQt.h:
- 3:51 AM Changeset in webkit [86328] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-05-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: test that eval can access scoped variables in console
https://bugs.webkit.org/show_bug.cgi?id=60547
- inspector/console/console-eval-scoped-expected.txt: Added.
- inspector/console/console-eval-scoped.html: Added.
- 3:48 AM Changeset in webkit [86327] by
-
- 8 edits in trunk/Source/WebCore
2011-05-06 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: move agents from InspectorAgent to InspectorController
https://bugs.webkit.org/show_bug.cgi?id=60359
All inspector agents are now created and owned by InspectorController which
in turned is owned by the inspected Page. InspectorInstrumentation gets access
to the instrumenting agents by means of InspectorAgent::instrumentingAgents().
In addition to managing inspector agents lifetime InspectorController sets
InspectorFronted on the agents when the front-end is connected.
- inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::~InspectorAgent): (WebCore::InspectorAgent::inspectedPageDestroyed): (WebCore::InspectorAgent::restore): (WebCore::InspectorAgent::setFrontend): (WebCore::InspectorAgent::clearFrontend):
- inspector/InspectorAgent.h: all accessors to other agents were removed along with the agents themselves from InspectorAgent. Every agent that depends on some other agents receives pointers to them explicitely in its constructor. All access to the agents from WebCore should go through InspectorInstrumentation which retrieves corresponding agents using InstrumentingAgents structure which represents the set of active agents. (WebCore::InspectorAgent::instrumentingAgents):
- inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::~InspectorController): (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::startTimelineProfiler): (WebCore::InspectorController::stopTimelineProfiler): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::disconnectFrontend): (WebCore::InspectorController::restoreInspectorStateFromCookie): (WebCore::InspectorController::drawNodeHighlight): (WebCore::InspectorController::inspect): (WebCore::InspectorController::timelineProfilerEnabled): (WebCore::InspectorController::hideHighlight): (WebCore::InspectorController::highlightedNode): (WebCore::InspectorController::enableProfiler): (WebCore::InspectorController::disableProfiler): (WebCore::InspectorController::profilerEnabled): (WebCore::InspectorController::debuggerEnabled): (WebCore::InspectorController::disableDebugger): (WebCore::InspectorController::startUserInitiatedProfiling): (WebCore::InspectorController::stopUserInitiatedProfiling): (WebCore::InspectorController::isRecordingUserInitiatedProfile): (WebCore::InspectorController::resume):
- inspector/InspectorController.h:
- inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::didModifyDOMAttrImpl): (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl): (WebCore::InspectorInstrumentation::characterDataModifiedImpl): (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl): (WebCore::InspectorInstrumentation::didFailLoadingImpl): (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl): (WebCore::InspectorInstrumentation::addMessageToConsoleImpl): (WebCore::InspectorInstrumentation::consoleCountImpl): (WebCore::InspectorInstrumentation::startConsoleTimingImpl): (WebCore::InspectorInstrumentation::stopConsoleTimingImpl): (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsoleImpl): (WebCore::InspectorInstrumentation::addProfileImpl): (WebCore::InspectorInstrumentation::getCurrentUserInitiatedProfileNameImpl): (WebCore::InspectorInstrumentation::profilerEnabledImpl): (WebCore::InspectorInstrumentation::cancelPauseOnNativeEvent):
- page/Page.cpp: (WebCore::Page::~Page): we send two notifications when inspected Page is being destroyed: one to the inspector instrumentation and another one to the InspectorController which is owned by the Page.
- 3:38 AM Changeset in webkit [86326] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Tony Gentilcore <tonyg@chromium.org>
Build fix: include ExceptionCode.h
https://bugs.webkit.org/show_bug.cgi?id=60694
- dom/Range.cpp:
- 3:31 AM Changeset in webkit [86325] by
-
- 80 edits in trunk/Source
2011-05-10 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Adler.
Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545
- accessibility/AccessibilityObject.cpp:
- accessibility/AccessibilityRenderObject.cpp:
- accessibility/mac/AccessibilityObjectWrapper.mm:
- dom/DocumentMarkerController.cpp:
- dom/Position.cpp:
- dom/PositionIterator.cpp:
- dom/Range.cpp:
- editing/ApplyBlockElementCommand.cpp:
- editing/ApplyStyleCommand.cpp:
- editing/Editor.cpp:
- editing/EditorCommand.cpp:
- editing/FrameSelection.cpp:
- editing/HTMLInterchange.cpp:
- editing/IndentOutdentCommand.cpp:
- editing/ReplaceSelectionCommand.cpp:
- editing/SpellChecker.h:
- editing/SpellingCorrectionCommand.cpp:
- editing/SpellingCorrectionController.h:
- editing/TextCheckingHelper.cpp:
- editing/TextIterator.h:
- editing/htmlediting.h:
- editing/markup.cpp:
- editing/visible_units.cpp:
- editing/visible_units.h:
- fileapi/DOMFileSystem.cpp:
- fileapi/DirectoryReaderSync.cpp:
- fileapi/DirectoryReaderSync.h:
- fileapi/FileEntry.h:
- fileapi/FileWriter.h:
- fileapi/FileWriterBase.h:
- fileapi/FileWriterSync.h:
- history/CachedFrame.cpp:
- history/CachedPage.cpp:
- history/HistoryItem.cpp:
- history/HistoryItem.h:
- history/PageCache.h:
- loader/HistoryController.h:
- loader/PingLoader.h:
- loader/ResourceLoader.h:
- loader/appcache/DOMApplicationCache.h:
- loader/cache/CachedCSSStyleSheet.h:
- loader/cache/CachedFont.cpp:
- loader/cache/CachedFont.h:
- loader/cache/CachedResourceRequest.cpp:
- loader/cache/CachedResourceRequest.h:
- loader/cache/MemoryCache.h:
- notifications/Notification.cpp:
- notifications/Notification.h:
- notifications/NotificationCenter.cpp:
- notifications/NotificationCenter.h:
- page/Chrome.cpp:
- page/Chrome.h:
- page/DOMSelection.cpp:
- page/DOMTimer.h:
- page/DOMWindow.cpp:
- page/EventHandler.cpp:
- page/FocusController.h:
- page/Geolocation.cpp:
- page/Geolocation.h:
- page/History.cpp:
- rendering/RenderListBox.cpp:
- workers/WorkerContext.cpp:
2011-05-10 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Adler.
Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545
- src/WebHistoryItem.cpp:
- src/WebNotification.cpp:
- src/WebTextCheckingCompletionImpl.cpp:
- src/mac/WebSubstringUtil.mm:
2011-05-10 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Adler.
Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545
- Plugins/Hosted/WebHostedNetscapePluginView.mm:
- WebView/WebFrame.mm:
2011-05-10 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Adler.
Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545
- WebProcess/WebPage/mac/WebPageMac.mm:
- 2:54 AM Changeset in webkit [86324] by
-
- 2 edits14 adds in trunk/LayoutTests
Add new expected files after r86313.
- platform/qt-arm/fast/transforms/transform-positioned-ancestor-expected.txt: Added.
- platform/qt-arm/transforms/2d/transform-borderbox-expected.txt: Added.
- platform/qt-arm/transforms/2d/transform-origin-borderbox-expected.txt: Added.
- platform/qt-arm/transforms/2d/zoom-menulist-expected.txt: Added.
- platform/qt-arm/transforms/no_transform_hit_testing-expected.txt: Added.
- platform/qt-arm/transforms/svg-vs-css-expected.txt: Added.
- platform/qt-mac/Skipped: Add plugins/get-targeted-javascript-url.html because of missing plugin.getURLNotify() implementation
- platform/qt-mac/fast/transforms/transform-positioned-ancestor-expected.txt: Added.
- platform/qt-mac/transforms/2d/transform-borderbox-expected.txt: Added.
- platform/qt-mac/transforms/2d/transform-origin-borderbox-expected.txt: Added.
- platform/qt-mac/transforms/2d/zoom-menulist-expected.txt: Added.
- platform/qt-mac/transforms/no_transform_hit_testing-expected.txt: Added.
- platform/qt-mac/transforms/svg-vs-css-expected.txt: Added.
- 2:16 AM Changeset in webkit [86323] by
-
- 3 edits in trunk/LayoutTests
2011-05-12 Philippe Normand <pnormand@igalia.com>
Unreviewed, GTK rebaseline after r86307.
- platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
- platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.png:
- 1:14 AM Changeset in webkit [86322] by
-
- 5 edits in trunk/LayoutTests
2011-05-12 Yuta Kitamura <yutak@chromium.org>
Unreviewed. Update Qt test expectations affected in r86320.
- platform/qt/fast/dom/Window/window-properties-expected.txt:
- platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/qt/fast/dom/prototype-inheritance-expected.txt:
- platform/qt/fast/js/global-constructors-expected.txt:
- 1:05 AM Changeset in webkit [86321] by
-
- 3 edits in trunk/Source/WebCore
2011-05-12 Yuta Kitamura <yutak@chromium.org>
Unreviewed, another attempt of build fix.
- websockets/CloseEvent.h:
- websockets/CloseEvent.idl:
- 12:58 AM Changeset in webkit [86320] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 Yuta Kitamura <yutak@chromium.org>
Unreviewed, trying to fix Qt minimal compile.
- websockets/CloseEvent.idl:
- 12:42 AM Changeset in webkit [86319] by
-
- 2 edits in trunk/Source/WebCore
2011-05-12 ojab <ojab@ojab.ru>
Reviewed by Eric Seidel.
Fix build with --disable-video --enable-fullscreen-api
https://bugs.webkit.org/show_bug.cgi?id=60542
- css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- 12:36 AM Changeset in webkit [86318] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-05-12 Philippe Normand <pnormand@igalia.com>
Unreviewed, GTK build fix.
- wtf/Platform.h:
- 12:32 AM Changeset in webkit [86317] by
-
- 3 edits in trunk/Source/WebKit2
2011-05-12 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Martin Robinson.
Fix the build with ENABLE_PLUGIN_PROCESS
https://bugs.webkit.org/show_bug.cgi?id=60628
- WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::initialize): Move the call to pluginController->isAcceleratedCompositingEnabled() to a #ifdef block.
- WebProcess/Plugins/PluginProxy.h: Add include for <WebCore/IntRect.h>.
- 12:31 AM Changeset in webkit [86316] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-05-12 Keith Kyzivat <keith.kyzivat@nokia.com>
Reviewed by Csaba Osztrogonác.
[Qt] Arm debug build failing on ARMAssembler::debugOffset()
https://bugs.webkit.org/show_bug.cgi?id=60688
Related to svn rev 85523
- assembler/ARMAssembler.h: (JSC::ARMAssembler::debugOffset):
- 12:06 AM Changeset in webkit [86315] by
-
- 22 edits4 adds in trunk
2011-05-12 Yuta Kitamura <yutak@chromium.org>
Reviewed by Kent Tamura.
WebSocket add new event: CloseEvent
https://bugs.webkit.org/show_bug.cgi?id=35573
Original patch was written by Fumitoshi Ukai <ukai@chromium.org>.
I modified the test close-event.html slightly so that it passes on Chromium.
I also updated a few test results that are affected by this change.
- fast/dom/Window/window-properties-expected.txt:
- fast/dom/Window/window-property-descriptors-expected.txt:
- fast/dom/prototype-inheritance-expected.txt:
- fast/js/global-constructors-expected.txt:
- http/tests/websocket/tests/close-event-expected.txt: Added.
- http/tests/websocket/tests/close-event.html: Added.
- platform/chromium/fast/dom/prototype-inheritance-expected.txt:
2011-05-12 Yuta Kitamura <yutak@chromium.org>
Reviewed by Kent Tamura.
WebSocket add new event: CloseEvent
https://bugs.webkit.org/show_bug.cgi?id=35573
Original patch was written by Fumitoshi Ukai <ukai@chromium.org>.
I added CloseEvent constructor to DOMWindow, so it can be referred
in the new test (close-event.html).
Test: http/tests/websocket/tests/close-event.html
- CMakeLists.txt:
- CodeGenerators.pri:
- DerivedSources.cpp:
- DerivedSources.make:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSEventCustom.cpp: (WebCore::toJS):
- bindings/v8/custom/V8EventCustom.cpp: (WebCore::toV8):
- dom/Event.cpp: (WebCore::Event::isCloseEvent):
- dom/Event.h:
- page/DOMWindow.idl: Add CloseEvent constructor.
- websockets/CloseEvent.h: Added. (WebCore::CloseEvent::isCloseEvent): (WebCore::CloseEvent::create): (WebCore::CloseEvent::initCloseEvent): (WebCore::CloseEvent::wasClean): (WebCore::CloseEvent::CloseEvent):
- websockets/CloseEvent.idl: Added.
- websockets/WebSocket.cpp: (WebCore::WebSocket::didClose):
- 12:04 AM Changeset in webkit [86314] by
-
- 8 edits6 adds in trunk
2011-05-12 Ben Wells <benwells@chromium.org>
Reviewed by Simon Fraser.
RGBA colors in outlines show overpainting at the corners
https://bugs.webkit.org/show_bug.cgi?id=58999
- fast/borders/outline-alpha-block.html: Added.
- fast/borders/outline-alpha-inline.html: Added.
- platform/chromium/test_expectations.txt:
- platform/mac/fast/borders/outline-alpha-block-expected.png: Added.
- platform/mac/fast/borders/outline-alpha-block-expected.txt: Added.
- platform/mac/fast/borders/outline-alpha-inline-expected.png: Added.
- platform/mac/fast/borders/outline-alpha-inline-expected.txt: Added.
- platform/mac/fast/box-shadow/box-shadow-radius-expected.png: Rebaselined as this test had rgba outlines.
- platform/mac/fast/layers/self-painting-outline-expected.png: Rebaselined as this test had rgba outlines.
2011-05-12 Ben Wells <benwells@chromium.org>
Reviewed by Simon Fraser.
RGBA colors in outlines show overpainting at the corners
https://bugs.webkit.org/show_bug.cgi?id=58999
Tests: fast/borders/outline-alpha-block.html
fast/borders/outline-alpha-inline.html
Updated baseline images for tests with rgba outlines:
fast/box-shadow/box-shadow-radius.html
fast/layers/self-painting-outline.html
- rendering/RenderInline.cpp:
(WebCore::RenderInline::paintOutline):
(WebCore::RenderInline::paintOutlineForLine):
- rendering/RenderInline.h:
- rendering/RenderObject.cpp: (WebCore::RenderObject::paintOutline):