Timeline


and

05/30/12:

23:58 Changeset [119064] by yosin@chromium.org

Build fix for Linon/SnowLeopard after r119062

  • platform/Decimal.cpp:

(WebCore::Decimal::Decimal):

23:46 Changeset [119063] by commit-queue@webkit.org

[GTK] [WK2] Memory leak in webkitWebViewBaseStartDrag
https://bugs.webkit.org/show_bug.cgi?id=87756

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-30
Reviewed by Carlos Garcia Campos.

Source/WebKit/gtk:

Fixed a memory leak in drag and drop by using adoptRef instead
of just getting a new reference of targetList.

  • WebCoreSupport/DragClientGtk.cpp:

(WebKit::DragClient::startDrag):

Source/WebKit2:

Fixed memory leaks in drag and drop by using adoptRef instead
of just getting new references.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp:

(webkitWebViewBaseStartDrag):

23:36 Changeset [119062] by yosin@chromium.org

[Platform] Introduce Decimal class for Number/Range input type.
https://bugs.webkit.org/show_bug.cgi?id=87360

Reviewed by Kent Tamura.

Source/WebCore:

This patch added new class Decimal for decimal arithmatic in two
files: platform/Decimal.cpp and Decimal.h with unit test.

Test: WebKit/chromium/tests/DecimalTest.cpp

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/Decimal.cpp: Added.

(WebCore):
(DecimalPrivate):
(SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::handle):
(WebCore::DecimalPrivate::SpecialValueHandler::value):
(UInt128):
(WebCore::DecimalPrivate::UInt128::UInt128):
(WebCore::DecimalPrivate::UInt128::high):
(WebCore::DecimalPrivate::UInt128::low):
(WebCore::DecimalPrivate::UInt128::multiply):
(WebCore::DecimalPrivate::UInt128::highUInt32):
(WebCore::DecimalPrivate::UInt128::lowUInt32):
(WebCore::DecimalPrivate::UInt128::isZero):
(WebCore::DecimalPrivate::UInt128::makeUInt64):
(WebCore::DecimalPrivate::UInt128::operator/=):
(WebCore::DecimalPrivate::UInt128::multiplyHigh):
(WebCore::DecimalPrivate::countDigits):
(WebCore::DecimalPrivate::scaleDown):
(WebCore::DecimalPrivate::scaleUp):
(WebCore::Decimal::EncodedData::EncodedData):
(WebCore::Decimal::EncodedData::operator==):
(WebCore::Decimal::Decimal):
(WebCore::Decimal::operator=):
(WebCore::Decimal::operator+=):
(WebCore::Decimal::operator-=):
(WebCore::Decimal::operator*=):
(WebCore::Decimal::operator/=):
(WebCore::Decimal::operator-):
(WebCore::Decimal::operator+):
(WebCore::Decimal::operator*):
(WebCore::Decimal::operator/):
(WebCore::Decimal::operator==):
(WebCore::Decimal::operator!=):
(WebCore::Decimal::operator<):
(WebCore::Decimal::operator<=):
(WebCore::Decimal::operator>):
(WebCore::Decimal::operator>=):
(WebCore::Decimal::abs):
(WebCore::Decimal::alignOperands):
(WebCore::Decimal::ceiling):
(WebCore::Decimal::compareTo):
(WebCore::Decimal::floor):
(WebCore::Decimal::fromString):
(WebCore::Decimal::infinity):
(WebCore::Decimal::nan):
(WebCore::Decimal::remainder):
(WebCore::Decimal::round):
(WebCore::Decimal::toString):
(WebCore::Decimal::zero):

  • platform/Decimal.h: Added.

(WebCore):
(DecimalPrivate):
(Decimal):
(EncodedData):
(WebCore::Decimal::EncodedData::operator!=):
(WebCore::Decimal::EncodedData::coefficient):
(WebCore::Decimal::EncodedData::exponent):
(WebCore::Decimal::EncodedData::isFinite):
(WebCore::Decimal::EncodedData::isNaN):
(WebCore::Decimal::EncodedData::isSpecial):
(WebCore::Decimal::EncodedData::isZero):
(WebCore::Decimal::EncodedData::sign):
(WebCore::Decimal::EncodedData::setSign):
(WebCore::Decimal::EncodedData::formatClass):
(WebCore::Decimal::isFinite):
(WebCore::Decimal::isNaN):
(WebCore::Decimal::isNegative):
(WebCore::Decimal::isPositive):
(WebCore::Decimal::isSpecial):
(WebCore::Decimal::isZero):
(WebCore::Decimal::value):
(AlignedOperands):
(WebCore::Decimal::invertSign):
(WebCore::Decimal::exponent):
(WebCore::Decimal::sign):

Source/WebKit/chromium:

This patch added unit test for Decimal class.

  • WebKit.gypi:
  • tests/DecimalTest.cpp: Added.

(WebCore):
(WebCore::operator<<): Output Decimal for unit test debugging
(DecimalStepRange):
(DecimalStepRange::DecimalStepRange):
(DecimalStepRange::clampValue):
(DecimalTest):
(DecimalTest::encode):
(DecimalTest::fromString):
(DecimalTest::stepDown):
(DecimalTest::stepUp):
(TEST_F):

23:30 Changeset [119061] by paroga@webkit.org

Build fix for WinCE after r116723.

  • platform/graphics/wince/FontWinCE.cpp:

(WebCore::TextRunComponent::TextRunComponent):

23:23 Changeset [119060] by haraken@chromium.org

Implement CSSParser::determineNameInNamespace() as a helper function for CSSGrammar.y
https://bugs.webkit.org/show_bug.cgi?id=87799

Reviewed by Darin Adler.

As pointed out by darin@ in https://bugs.webkit.org/show_bug.cgi?id=87627#c12,
we should avoid repeating the following code in CSSGrammar.y:

if (p->m_styleSheet)

$$->setTag(QualifiedName(namespacePrefix, $2, p->m_styleSheet->determineNamespace(namespacePrefix)));

else

$$->setTag(QualifiedName(namespacePrefix, $2, p->m_defaultNamespace));

This patch implements CSSParser::determineNameInNamespace() as a helper function
and replaces the above code.

Tests: fast/dom/SelectorAPI/*. No change in test results.

  • css/CSSGrammar.y:
  • css/CSSParser.cpp:

(WebCore::CSSParser::determineNameInNamespace):
(WebCore):

  • css/CSSParser.h:
23:15 Changeset [119059] by paroga@webkit.org

Build fix for WinCE after r117697.

  • page/wince/FrameWinCE.cpp:

(WebCore::computePageRectsForFrame):

23:05 Changeset [119058] by shawnsingh@chromium.org

[chromium] Fix min/max bounds error in CCMathUtil.cpp
https://bugs.webkit.org/show_bug.cgi?id=87915

Reviewed by James Robinson.

Source/WebCore:

Two unit tests added to CCMathUtilTest:

CCMathUtilTest.verifyEnclosingClippedRectUsesCorrectInitialBounds
CCMathUtilTest.verifyEnclosingRectOfVerticesUsesCorrectInitialBounds

While computing bounds, the initial values for xmax and ymax are
intended to be set to -float_max. It turns out that
std::numeric_limits<float>::min() actually returns the smallest
positive value close to zero, which is not what was intended. This
patch fixes the code to use -float_max instead, which is the
intended value.

  • platform/graphics/chromium/cc/CCMathUtil.cpp:

(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::computeEnclosingRectOfVertices):
(WebCore::CCMathUtil::computeEnclosingClippedRect):
(WebCore):

  • platform/graphics/chromium/cc/CCMathUtil.h:

(WebCore::HomogeneousCoordinate::HomogeneousCoordinate):
(HomogeneousCoordinate):
(WebCore::HomogeneousCoordinate::shouldBeClipped):
(WebCore::HomogeneousCoordinate::cartesianPoint2d):
(WebCore):
(CCMathUtil):

Source/WebKit/chromium:

  • tests/CCMathUtilTest.cpp:

(WebCore::TEST):
(WebCore):

22:58 Changeset [119057] by paroga@webkit.org

Build fix for WinCE after r118568.

  • platform/text/wince/TextBreakIteratorWinCE.cpp:

(WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator):

22:54 Changeset [119056] by lforschler@apple.com

Merged r118891 -> <rdar://problem/11553964>

22:50 Changeset [119055] by fischman@chromium.org

Roll chromium DEPS from r139300 to r139542. Unreviewed.
https://bugs.webkit.org/show_bug.cgi?id=87868

  • DEPS:
21:47 Changeset [119054] by lforschler@apple.com

Merged r118956 -> <rdar://problem/11463622>

21:45 Changeset [119053] by lforschler@apple.com

Merged r118896 -> <rdar://problem/11505987>

21:39 Changeset [119052] by lforschler@apple.com

Merged r118883 -> <rdar://problem/11550608>

21:30 Changeset [119051] by lforschler@apple.com

Merge <rdar://problem/11538697>

21:25 Changeset [119050] by inferno@chromium.org

Crash in ContainerNode::parserAddChild.
https://bugs.webkit.org/show_bug.cgi?id=87903

Reviewed by Ryosuke Niwa.

Source/WebCore:

Call the ChildNodeInsertionNotifier.notify call at the end since
it can destroy |this| and some of the local pointers like |last|.
This also matches the order of calls - childrenChanged precedes
ChildNodeInsertionNotifier.notify in updateTreeAfterInsertion and
ContainerNode::parserInsertBefore.

Also remove a FIXME since we use ChildNodeInsertionNotifier.notify
instead of ChildNodeInsertionNotifier.notifyInsertedIntoDocument
(as recommended in the FIXME).

Test: fast/dom/child-insertion-notify-crash.html

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::parserAddChild):

LayoutTests:

  • fast/dom/child-insertion-notify-crash-expected.txt: Added.
  • fast/dom/child-insertion-notify-crash.html: Added.
21:23 Changeset [119049] by lforschler@apple.com

Merged r118820 -> <rdar://problem/11550048>

21:20 Changeset [119048] by lforschler@apple.com

Merged r118810 -> <rdar://problem/11459513>

21:12 Changeset [119047] by lforschler@apple.com

Merged r118615 -> <rdar://problem/11499408>

20:59 Changeset [119046] by commit-queue@webkit.org

[BlackBerry] Add an Accelerated Compositing layer for Web Inspector DOM highlight.
https://bugs.webkit.org/show_bug.cgi?id=81001

Source/WebKit:

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-05-30
Reviewed by Antonio Gomes

Added new InspectorOverlay class

  • PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-05-30
Reviewed by Antonio Gomes.

Implemented InspectorOverlay using WebOverlayAPI.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::renderContents):

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::updateDelegatedOverlays):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):
(BlackBerry::WebKit::WebPagePrivate::setInspectorOverlayClient):
(WebKit):

  • Api/WebPage_p.h:

(WebCore):
(WebPagePrivate):

  • WebCoreSupport/InspectorClientBlackBerry.cpp:

(WebCore::InspectorClientBlackBerry::highlight):
(WebCore::InspectorClientBlackBerry::hideHighlight):
(WebCore::InspectorClientBlackBerry::paintInspectorOverlay):
(WebCore):

  • WebCoreSupport/InspectorClientBlackBerry.h:

(InspectorClientBlackBerry):

  • WebCoreSupport/InspectorOverlay.cpp: Added.

(WebCore):
(WebCore::InspectorOverlay::create):
(WebCore::InspectorOverlay::InspectorOverlay):
(WebCore::InspectorOverlay::notifySyncRequired):
(WebCore::InspectorOverlay::paintContents):
(WebCore::InspectorOverlay::showDebugBorders):
(WebCore::InspectorOverlay::showRepaintCounter):
(WebCore::InspectorOverlay::contentsVisible):
(WebCore::InspectorOverlay::~InspectorOverlay):
(WebCore::InspectorOverlay::clear):
(WebCore::InspectorOverlay::update):
(WebCore::InspectorOverlay::paintWebFrame):
(WebCore::InspectorOverlay::invalidateWebFrame):

  • WebCoreSupport/InspectorOverlay.h: Added.

(WebKit):
(WebCore):
(InspectorOverlay):
(InspectorOverlayClient):
(WebCore::InspectorOverlay::setClient):
(WebCore::InspectorOverlay::notifyAnimationStarted):

20:56 Changeset [119045] by commit-queue@webkit.org

[chromium] Implement pointer and hover CSS media features
https://bugs.webkit.org/show_bug.cgi?id=87403

Patch by Rick Byers <rbyers@chromium.org> on 2012-05-30
Reviewed by Adam Barth.

Source/WebCore:

Add initial support for the pointer and hover media features as defined
here:
http://dev.w3.org/csswg/css4-mediaqueries/#pointer
http://dev.w3.org/csswg/css4-mediaqueries/#hover

For now this only supports the case where we know a touch screen is
available (currently known only for the chromium port on certain
platforms). All other cases continue to behave exactly as if the media
feature isn't supported.

Tests: fast/media/mq-pointer.html

  • css/CSSValueKeywords.in:
  • css/MediaFeatureNames.h:

(MediaFeatureNames):

  • css/MediaQueryEvaluator.cpp:

(WebCore::getLeastCapablePrimaryPointerDeviceType):
(WebCore):
(WebCore::hoverMediaFeatureEval):
(WebCore::pointerMediaFeatureEval):

  • testing/InternalSettings.cpp:

(WebCore::InternalSettings::InternalSettings):
(WebCore::InternalSettings::restoreTo):
(WebCore::InternalSettings::setDeviceSupportsTouch):
(WebCore):

  • testing/InternalSettings.h:

(InternalSettings):

  • testing/InternalSettings.idl:

LayoutTests:

Adds tests for pointer and hover media features, for the initial cases
with and without a touch screen.

  • fast/media/mq-pointer-expected.txt: Added.
  • fast/media/mq-pointer.html: Added.
20:55 Changeset [119044] by lforschler@apple.com

Merged r118559 -> <rdar://problem/11518154>

20:53 Changeset [119043] by lforschler@apple.com

Merged r118553 -> <rdar://problem/11267408>

20:50 Changeset [119042] by lforschler@apple.com

Merged r118505 -> <rdar://problem/11527166>

20:41 Changeset [119041] by lforschler@apple.com

Fix Changelogs after rolling out 115573.

20:27 Changeset [119040] by lforschler@apple.com

Merged r118450 -> <rdar://problem/11503078>

20:26 Changeset [119039] by jberlin@webkit.org

[Win] Need implementation of layoutTestController.setBackingScaleFactor
https://bugs.webkit.org/show_bug.cgi?id=87919

Add tests that use setBackingScaleFactor to the Windows Skipped list.

  • platform/win/Skipped:
20:25 Changeset [119038] by lforschler@apple.com

Merged r118443 -> <rdar://problem/10090764>

20:23 Changeset [119037] by lforschler@apple.com

Merged r118441 -> <rdar://problem/10090764>

20:22 Changeset [119036] by lforschler@apple.com

Merge <rdar://problem/11519288>

20:18 Changeset [119035] by lforschler@apple.com

Merged r118439 -> <rdar://problem/11510337>

20:16 Changeset [119034] by lforschler@apple.com

Merged r118411 -> <rdar://problem/11350416>

20:15 Changeset [119033] by jchaffraix@webkit.org

Add an helper function to get the style for a cell's flow computation
https://bugs.webkit.org/show_bug.cgi?id=87902

Reviewed by Ojan Vafai.

No expected change in behavior.

This change introduces styleForCellFlow that unify which function we use
to determine a cell's direction and writing mode.

This unification will make it easier to support direction on table row
group (section in WebKit land).

  • rendering/RenderTableCell.h:

(WebCore::RenderTableCell::styleForCellFlow):
Added the new function along with a comment as to its purpose.

  • rendering/RenderTableCell.cpp:

(WebCore::RenderTableCell::clippedOverflowRectForRepaint):
(WebCore::RenderTableCell::computeCollapsedStartBorder):
(WebCore::RenderTableCell::computeCollapsedEndBorder):
(WebCore::RenderTableCell::computeCollapsedBeforeBorder):
(WebCore::RenderTableCell::computeCollapsedAfterBorder):
(WebCore::RenderTableCell::borderHalfLeft):
(WebCore::RenderTableCell::borderHalfRight):
(WebCore::RenderTableCell::borderHalfTop):
(WebCore::RenderTableCell::borderHalfBottom):
(WebCore::RenderTableCell::borderHalfStart):
(WebCore::RenderTableCell::borderHalfEnd):
(WebCore::RenderTableCell::borderHalfBefore):
(WebCore::RenderTableCell::borderHalfAfter):
(WebCore::RenderTableCell::paintCollapsedBorders):
Mostly mechanical replacement.

  • rendering/RenderTableCell.cpp:

(WebCore::RenderTableCell::cachedCollapsedLeftBorder):
(WebCore::RenderTableCell::cachedCollapsedRightBorder):
(WebCore::RenderTableCell::cachedCollapsedTopBorder):
(WebCore::RenderTableCell::cachedCollapsedBottomBorder):
Made the argument 'const' now.

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::layoutRows):
Added a FIXME to unify with the rest.

20:14 Changeset [119032] by lforschler@apple.com

Merged r118314 -> <rdar://problem/11497837>

20:12 Changeset [119031] by lforschler@apple.com

Merged r118087 -> <rdar://problem/11497837>

20:05 Changeset [119030] by slewis@apple.com

https://bugs.webkit.org/show_bug.cgi?id=87803
Layout tests often fail trying to stat nonexistent logs

Reviewed by Dirk Pranke.

CrashReporter removes logs using a heuristic to conserve space. Wrap a
try/catch block around accessing the logs as a precaution.

  • Scripts/webkitpy/common/system/crashlogs.py:

(CrashLogs._find_newest_log_darwin):

20:05 Changeset [119029] by lforschler@apple.com

Merged r116319 -> <rdar://problem/11522805>

20:04 Changeset [119028] by mhahnenberg@apple.com

Heap should sweep incrementally
https://bugs.webkit.org/show_bug.cgi?id=85429

We shouldn't have to wait for the opportunistic GC timer to fire in order
to call object destructors. Instead, we should incrementally sweep some
subset of the blocks requiring sweeping periodically. We tie this sweeping
to a timer rather than to collections because we want to reclaim this memory
even if we stop allocating. This way, our memory usage scales smoothly with
actual use, regardless of whether we've recently done an opportunistic GC or not.

Reviewed by Geoffrey Garen.

(JSC::Heap::Heap):
(JSC::Heap::collect): We no longer sweep during a full sweep. We only shrink now,
which we will switch over to being done during incremental sweeping too as soon as
all finalizers can be run lazily (and, by extension, incrementally).
(JSC::Heap::sweeper):
(JSC):

  • heap/Heap.h:

(JSC):
(Heap):

  • heap/IncrementalSweeper.cpp: Added.

(JSC):
(JSC::IncrementalSweeper::timerDidFire): The IncrementalSweeper works very similarly to
GCActivityCallback. It is tied to a run-loop based timer that fires periodically based
on how long the previous sweep increment took to run. The IncrementalSweeper doesn't do
anything if the platform doesn't support CoreFoundation.
(JSC::IncrementalSweeper::IncrementalSweeper):
(JSC::IncrementalSweeper::~IncrementalSweeper):
(JSC::IncrementalSweeper::create):
(JSC::IncrementalSweeper::scheduleTimer):
(JSC::IncrementalSweeper::cancelTimer):
(JSC::IncrementalSweeper::doSweep): Iterates over the snapshot of the MarkedSpace taken
during the last collection, checking to see which blocks need sweeping. If it successfully
gets to the end of the blocks that need sweeping then it cancels the timer.
(JSC::IncrementalSweeper::startSweeping): We take a snapshot of the Heap and store it in
a Vector that the incremental sweep will iterate over. We also reset our index into this Vector.

  • heap/IncrementalSweeper.h: Added.

(JSC):
(IncrementalSweeper):

  • heap/MarkedBlock.h:

(JSC::MarkedBlock::needsSweeping): If a block is in the Marked state it needs sweeping
to be usable and to run any destructors that need to be run.

19:58 Changeset [119027] by commit-queue@webkit.org

[JSC] SerializedScriptValue.create() succeeds even if MessagePort object cannot be found in transferred ports
https://bugs.webkit.org/show_bug.cgi?id=87118

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-30
Reviewed by Adam Barth.

Source/WebCore:

Make SerializedScriptValue.create() throw an exception if one of the
MessagePort objects cannot be found in the transferred ports. This
matches the behavior of the V8 implementation.

Test: webintents/web-intents-obj-constructor.html

  • bindings/js/SerializedScriptValue.cpp:

(WebCore::CloneSerializer::dumpIfTerminal):

LayoutTests:

Unskip webintents/web-intents-obj-constructor.html now that
SerializedScriptValue.create() throws an exception if one of the
MessagePort objects cannot be found in the transferred ports.

  • platform/efl/test_expectations.txt:
19:53 Changeset [119026] by jberlin@webkit.org

[Win] Need results for ietestcenter CSS3 tests
https://bugs.webkit.org/show_bug.cgi?id=87916

Add expected (failing?) results to get the bots greener.

  • platform/win/ietestcenter/css3/flexbox/flexbox-align-baseline-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-baseline-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-center-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-center-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-center-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-center-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-end-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-end-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-start-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-start-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-stretch-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-align-stretch-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-direction-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-direction-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-004-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-004-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-005-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-flex-005-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-004-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-groups-004-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-layout-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-ordinal-group-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-center-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-center-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-end-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-end-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-justify-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-justify-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-start-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/flexbox/flexbox-pack-start-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/display-grid-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/display-grid-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/display-grid-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/display-grid-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-column-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-columns-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-columns-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-004-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-004-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-005-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/grid/grid-items-005-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-block-formatting-context-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-block-formatting-context-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-containing-block-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-filling-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-filling-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-002-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-002-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-004-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-004-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-005-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-005-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-006-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-006-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-007-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-007-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-008-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-008-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-009-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-009-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-010-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-010-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-012-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-012-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-013-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-013-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-014-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-014-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-015-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-015-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-negative-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-negative-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-percentage-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/multicolumn/column-width-percentage-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/declaring-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/declaring-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-007-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-007-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-008-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-008-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-009-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-009-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-010-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-010-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-011-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/prefix-011-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/qualifiedNames-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/qualifiedNames-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/scope-003-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/scope-003-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-016-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-016-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-017-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-017-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-018-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-018-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-019-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-019-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-020-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-020-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-021-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-021-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-022-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-022-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-023-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/syntax-023-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/terminology-001-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/namespaces/terminology-001-expected.txt: Added.
  • platform/win/ietestcenter/css3/valuesandunits/units-000-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/valuesandunits/units-010-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/valuesandunits/units-010-expected.txt: Added.
  • platform/win/ietestcenter/css3/valuesandunits/units-020-expected-expected.txt: Added.
  • platform/win/ietestcenter/css3/valuesandunits/units-020-expected.txt: Added.
19:43 Changeset [119025] by lforschler@apple.com

Rollout r115573 -> <rdar://problem/11553831>

19:31 Changeset [119024] by pilgrim@chromium.org

[Chromium] Call fileUtilities methods directly
https://bugs.webkit.org/show_bug.cgi?id=87852

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

Source/WebCore:

  • platform/chromium/DragDataChromium.cpp:

(WebCore::DragData::asURL):

  • platform/chromium/FileSystemChromium.cpp:

(WebCore::deleteFile):
(WebCore::deleteEmptyDirectory):
(WebCore::getFileSize):
(WebCore::getFileModificationTime):
(WebCore::getFileMetadata):
(WebCore::directoryName):
(WebCore::pathByAppendingComponent):
(WebCore::makeAllDirectories):
(WebCore::openFile):
(WebCore::closeFile):
(WebCore::seekFile):
(WebCore::truncateFile):
(WebCore::readFromFile):
(WebCore::writeToFile):

  • platform/chromium/PlatformSupport.h:

(PlatformSupport):

Source/WebKit/chromium:

  • src/PlatformSupport.cpp:

(WebCore):

19:24 Changeset [119023] by tkent@chromium.org

Form controls in <fieldset disabled> should not be focusable.
https://bugs.webkit.org/show_bug.cgi?id=87380

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/forms/fieldset/focus-in-fieldset-disabled.html

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::supportsFocus):
Refer to disabled() instead of m_disabled to take account of wrapping
fieldset elements.

LayoutTests:

  • fast/forms/fieldset/fieldset-disabled-expected.txt:
  • fast/forms/fieldset/fieldset-disabled.html:

Updated because disabled controls are not focusable.
Also, remove testing elements to remove unnecessary blank lines.

  • fast/forms/fieldset/focus-in-fieldset-disabled-expected.txt: Added.
  • fast/forms/fieldset/focus-in-fieldset-disabled.html: Added.
19:17 Changeset [119022] by hayato@chromium.org

Fix a composed-shadow-tree-walker.html so that it uses correct selectors.
https://bugs.webkit.org/show_bug.cgi?id=87500

Reviewed by Dimitri Glazkov.

Fix a test and an expectation for composed-shadow-tree-walker.html.
A current composed-shadow-tree-walker.html uses class selector
(.class). That's not the test author's intention and the expected
text was wrongly generated based on wrong tests.

  • fast/dom/shadow/composed-shadow-tree-walker-expected.txt:
  • fast/dom/shadow/composed-shadow-tree-walker.html:
19:03 Changeset [119021] by kevino@webkit.org

[wx] Implement HTML clipboard support.
https://bugs.webkit.org/show_bug.cgi?id=87883

Reviewed by Kevin Ollivier.

19:01 Changeset [119020] by commit-queue@webkit.org

TextFieldDecorationElement should respect style attribute
https://bugs.webkit.org/show_bug.cgi?id=87762

Patch by Garrett Casto <gcasto@chromium.org> on 2012-05-30
Reviewed by Kent Tamura.

  • html/shadow/TextFieldDecorationElement.cpp: Use style set on the

Element when creating rendering style.
(WebCore::TextFieldDecorationElement::customStyleForRenderer):

18:54 Changeset [119019] by gavinp@chromium.org

Add a LayoutTest for prerender remove after stop.
https://bugs.webkit.org/show_bug.cgi?id=87860

Tools:

These very boring mocks in DumpRenderTree mean that the basic Prerendering API
can be tested by LayoutTests now.

Reviewed by Adam Barth.

  • DumpRenderTree/DumpRenderTree.gypi:
  • DumpRenderTree/chromium/MockWebPrerenderingSupport.cpp: Added.

(MockWebPrerenderingSupport::MockWebPrerenderingSupport):
(MockWebPrerenderingSupport::~MockWebPrerenderingSupport):
(MockWebPrerenderingSupport::add):
(MockWebPrerenderingSupport::cancel):
(MockWebPrerenderingSupport::abandon):

  • DumpRenderTree/chromium/MockWebPrerenderingSupport.h: Added.

(MockWebPrerenderingSupport):

  • DumpRenderTree/chromium/TestShell.cpp:

(TestShell::initialize):

  • DumpRenderTree/chromium/TestShell.h:

(TestShell):

  • DumpRenderTree/chromium/WebViewHost.cpp:

(WebViewHost::willAddPrerender):
(WebViewHost::setWebWidget):

  • DumpRenderTree/chromium/WebViewHost.h:

(WebViewHost):

LayoutTests:

Bug 87746 was uploaded without a LayoutTest because I originally thought
it would only be testable in Chrome with a browser test. However, that was
wrong.

Note that this test doesn't need to be disabled based on if the platform
uses Prerendering, since the test is for a crash, which won't happen on
platforms without prerendering, either.

Reviewed by Adam Barth.

  • fast/dom/HTMLLinkElement/prerender-remove-after-stop-expected.txt: Added.
  • fast/dom/HTMLLinkElement/prerender-remove-after-stop.html: Added.
  • fast/dom/HTMLLinkElement/resources/empty.html: Added.
  • fast/dom/HTMLLinkElement/resources/simple-prerender.html: Added.
18:51 Changeset [119018] by slewis@apple.com

https://bugs.webkit.org/show_bug.cgi?id=87717
Unresponsive WebProcesses can be mistaken for WebProcess crashes.

Reviewed by Dirk Pranke.

Change the error message from #CRASHED to #UNRESPONSIVE PROCESS
If there isn't a crash log found for the process add a message saying
the process was unresponsive.

  • Scripts/webkitpy/layout_tests/port/webkit.py:

(WebKitDriver.init):
(WebKitDriver._check_for_driver_crash):
(WebKitDriver.run_test):

  • Scripts/webkitpy/layout_tests/port/webkit_unittest.py:

(WebKitDriverTest.test_check_for_driver_crash.assert_crash):
(WebKitDriverTest):
(WebKitDriverTest.test_check_for_driver_crash):

  • WebKitTestRunner/TestController.cpp:

(WTR):
(WTR::TestController::runTest):

18:51 Changeset [119017] by slewis@apple.com

https://bugs.webkit.org/show_bug.cgi?id=87714
Mac crash logs can take a really long time to be written out.

Reviewed by Dirk Pranke.

Make a second pass looking for crash logs after the tests have completed running.

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(use_trac_links_in_results_html):
(Manager.run):

  • Scripts/webkitpy/layout_tests/port/base.py:

(Port.repository_paths):
(Port.look_for_new_crash_logs):

  • Scripts/webkitpy/layout_tests/port/mac.py:

(MacPort.look_for_new_crash_logs):

  • Scripts/webkitpy/layout_tests/port/mac_unittest.py:

(test_get_crash_log):
(test_look_for_new_crash_logs):
(test_look_for_new_crash_logs.fake_time_cb):

18:38 Changeset [119016] by paroga@webkit.org

[WINCE] Fix JSString after r115516.
https://bugs.webkit.org/show_bug.cgi?id=87892

Reviewed by Geoffrey Garen.

r115516 splitted JSString into two classes, with addition nested classes.
Add a workaround for the WinCE compiler since it can't resolve the friend class
declerations corretly and denies the access to protected members of JSString.

  • runtime/JSString.h:

(JSC::JSRopeString::RopeBuilder::append):
(JSC::JSRopeString::append):
(JSRopeString):

18:37 Changeset [119015] by ojan@chromium.org

Avoid second layout for flex-direction:row, flex-basis:auto flex items
https://bugs.webkit.org/show_bug.cgi?id=87901

Reviewed by Tony Chang.

No new tests. This is strictly a performance optimization and has no other
web visible changes.

Also, add FIXMEs for other cases where we could avoid doing layouts.

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::applyStretchAlignmentToChild):

18:31 Changeset [119014] by zmo@google.com

WebKit incorrectly clears the alpha channel on readPixels, even for Framebuffers
https://bugs.webkit.org/show_bug.cgi?id=87310

Reviewed by Kenneth Russell.

Source/WebCore:

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::getParameter): set DEPTH_BITS/STENCIL_BITS to 0 if related channels are not requested.
(WebCore::WebGLRenderingContext::readPixels): don't do the alpha value fix if the current bound is not the internal drawing buffer.

LayoutTests:

  • fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias-expected.txt:
  • fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html: synced with khronos
18:21 Changeset [119013] by rafaelw@chromium.org

Unreviewed, rolling out r118986.
http://trac.webkit.org/changeset/118986
https://bugs.webkit.org/show_bug.cgi?id=87914

Caused several IndexedDB browser_test failures on Chromium
canary builders (Requested by rafaelw_ on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30

Source/WebCore:

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::advance):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::setVersion):

  • Modules/indexeddb/IDBDatabaseError.h:

(WebCore::IDBDatabaseError::create):
(IDBDatabaseError):
(WebCore::IDBDatabaseError::createWithoutOffset):
(WebCore::IDBDatabaseError::code):
(WebCore::IDBDatabaseError::setCode):
(WebCore::IDBDatabaseError::setMessage):
(WebCore::IDBDatabaseError::IDBDatabaseError):

  • Modules/indexeddb/IDBDatabaseException.cpp:

(WebCore):
(WebCore::IDBDatabaseException::initializeDescription):

  • Modules/indexeddb/IDBDatabaseException.h:

(IDBDatabaseException):

  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore::IDBObjectStore::createIndex):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::onError):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::onSuccessWithContinuation):
(WebCore::IDBRequest::dispatchEvent):

  • Modules/indexeddb/IDBRequest.h:

(IDBRequest):

  • Modules/indexeddb/IDBRequest.idl:
  • Modules/indexeddb/IDBTransaction.cpp:
  • Modules/indexeddb/IDBTransaction.h:

(IDBTransaction):

  • Modules/indexeddb/IDBTransaction.idl:

Source/WebKit/chromium:

  • src/WebIDBDatabaseError.cpp:

(WebKit::WebIDBDatabaseError::assign):

LayoutTests:

  • storage/indexeddb/basics-expected.txt:
  • storage/indexeddb/basics-workers-expected.txt:
  • storage/indexeddb/create-and-remove-object-store-expected.txt:
  • storage/indexeddb/cursor-continue-expected.txt:
  • storage/indexeddb/cursor-update-expected.txt:
  • storage/indexeddb/database-basics-expected.txt:
  • storage/indexeddb/deleteIndex-expected.txt:
  • storage/indexeddb/factory-cmp-expected.txt:
  • storage/indexeddb/get-keyrange-expected.txt:
  • storage/indexeddb/index-basics-expected.txt:
  • storage/indexeddb/index-basics-workers-expected.txt:
  • storage/indexeddb/index-count-expected.txt:
  • storage/indexeddb/index-unique-expected.txt:
  • storage/indexeddb/invalid-keys-expected.txt:
  • storage/indexeddb/key-generator-expected.txt:
  • storage/indexeddb/key-type-array-expected.txt:
  • storage/indexeddb/keypath-edges-expected.txt:
  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/objectstore-autoincrement-expected.txt:
  • storage/indexeddb/objectstore-basics-expected.txt:
  • storage/indexeddb/objectstore-basics-workers-expected.txt:
  • storage/indexeddb/objectstore-count-expected.txt:
  • storage/indexeddb/open-cursor-expected.txt:
  • storage/indexeddb/readonly-expected.txt:
  • storage/indexeddb/resources/basics.js:

(test):
(openCallback):

  • storage/indexeddb/resources/create-and-remove-object-store.js:

(testCreateAndRemove):
(cleanDatabase):
(tryOnceMore):

  • storage/indexeddb/resources/cursor-continue.js:

(ascendingErrorTestLessThan.request.onsuccess):
(ascendingErrorTestLessThan):
(ascendingErrorTestEqual.request.onsuccess):
(ascendingErrorTestEqual):
(descendingErrorTestGreaterThan.request.onsuccess):
(descendingErrorTestGreaterThan):
(descendingErrorTestEqual.request.onsuccess):
(descendingErrorTestEqual):
(onTransactionComplete):

  • storage/indexeddb/resources/cursor-update.js:

(keyCursor):

  • storage/indexeddb/resources/database-basics.js:

(testClose):

  • storage/indexeddb/resources/database-quota.js:

(logError):

  • storage/indexeddb/resources/deleteIndex.js:

(twiddleIndexes):
(postTwiddling):

  • storage/indexeddb/resources/factory-cmp.js:

(testValidKeys):
(testInvalidKeys):

  • storage/indexeddb/resources/get-keyrange.js:

(getNullTest):

  • storage/indexeddb/resources/index-basics.js:

(index3Count):

  • storage/indexeddb/resources/index-count.js:
  • storage/indexeddb/resources/index-unique.js:

(addMoreDataFailed):

  • storage/indexeddb/resources/invalid-keys.js:
  • storage/indexeddb/resources/key-generator.js:
  • storage/indexeddb/resources/key-type-array.js:

(testDepthLimits):

  • storage/indexeddb/resources/keypath-edges.js:
  • storage/indexeddb/resources/keyrange.js:

(test):

  • storage/indexeddb/resources/objectstore-autoincrement.js:

(getAbrahamSuccess):

  • storage/indexeddb/resources/objectstore-basics.js:

(setVersionSuccess):
(createIndex):
(addAgainFailure):
(removeSuccessButNotThere):
(testPreConditions.request.onsuccess):
(testPreConditions):

  • storage/indexeddb/resources/objectstore-count.js:
  • storage/indexeddb/resources/open-cursor.js:

(cursorWithKeySuccess):
(cursorSuccess):

  • storage/indexeddb/resources/readonly.js:

(openSuccess):

  • storage/indexeddb/resources/set_version_queue.js:

(connectionError):

  • storage/indexeddb/resources/shared.js:

(unexpectedErrorCallback):
(evalAndExpectException):

  • storage/indexeddb/resources/transaction-abort-workers.js:

(transactionAborted):
(transactionCompleted):
(timeoutTest.transaction.onabort):
(timeoutTest):
(errorTransactionAborted):

  • storage/indexeddb/resources/transaction-abort.js:

(firstAdd):
(secondAdd):
(transactionAborted):

  • storage/indexeddb/resources/transaction-after-close.js:

(firstTransactionComplete):

  • storage/indexeddb/resources/transaction-and-objectstore-calls.js:

(created):
(afterComplete):

  • storage/indexeddb/resources/transaction-basics.js:

(testInactiveAbortedTransaction):
(testInactiveCompletedTransaction):
(testInvalidMode):

  • storage/indexeddb/resources/transaction-read-only.js:

(setVersionDone):
(gotCursor):

  • storage/indexeddb/set_version_queue-expected.txt:
  • storage/indexeddb/transaction-abort-expected.txt:
  • storage/indexeddb/transaction-abort-workers-expected.txt:
  • storage/indexeddb/transaction-after-close-expected.txt:
  • storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
  • storage/indexeddb/transaction-basics-expected.txt:
  • storage/indexeddb/transaction-read-only-expected.txt:
18:14 Changeset [119012] by commit-queue@webkit.org

Source/WebCore: [Chromium] AX: WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778

Patch by Dominic Mazzoni <dmazzoni@chromium.org> on 2012-05-30
Reviewed by Adam Barth.

Chromium was never actually using AccessibilityObjectWrapper, so
this change deletes it. Instead, it's replaced with a simple bool
that keeps track of whether an AccessibilityObject was detached or
not. WebKit/chromium/public/WebAccessibilityObject can then use this
to determine if an object is still valid.

Test: accessibility/accessibility-object-detached.html

  • WebCore.gypi:
  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::AccessibilityObject):
(WebCore::AccessibilityObject::detach):
(WebCore::AccessibilityObject::isDetached):
(WebCore):

  • accessibility/AccessibilityObject.h:

(AccessibilityObject):

  • accessibility/chromium/AXObjectCacheChromium.cpp:

(WebCore):
(WebCore::AXObjectCache::detachWrapper):
(WebCore::AXObjectCache::attachWrapper):

  • accessibility/chromium/AccessibilityObjectWrapper.h: Removed.

Source/WebKit/chromium: AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778

Patch by Dominic Mazzoni <dmazzoni@google.com> on 2012-05-30
Reviewed by Adam Barth.

Pretty simple - all places that previously just checked for null
now also check if the wrapped AccessibilityObject is detached.

  • public/WebAccessibilityObject.h:

(WebAccessibilityObject):

  • src/WebAccessibilityObject.cpp:

(WebKit::WebAccessibilityObject::isDetached):
(WebKit):
(WebKit::WebAccessibilityObject::axID):
(WebKit::WebAccessibilityObject::accessibilityDescription):
(WebKit::WebAccessibilityObject::actionVerb):
(WebKit::WebAccessibilityObject::canSetFocusAttribute):
(WebKit::WebAccessibilityObject::canSetValueAttribute):
(WebKit::WebAccessibilityObject::isValid):
(WebKit::WebAccessibilityObject::childCount):
(WebKit::WebAccessibilityObject::childAt):
(WebKit::WebAccessibilityObject::firstChild):
(WebKit::WebAccessibilityObject::focusedChild):
(WebKit::WebAccessibilityObject::lastChild):
(WebKit::WebAccessibilityObject::nextSibling):
(WebKit::WebAccessibilityObject::parentObject):
(WebKit::WebAccessibilityObject::previousSibling):
(WebKit::WebAccessibilityObject::canSetSelectedAttribute):
(WebKit::WebAccessibilityObject::isAnchor):
(WebKit::WebAccessibilityObject::isAriaReadOnly):
(WebKit::WebAccessibilityObject::isButtonStateMixed):
(WebKit::WebAccessibilityObject::isChecked):
(WebKit::WebAccessibilityObject::isCollapsed):
(WebKit::WebAccessibilityObject::isControl):
(WebKit::WebAccessibilityObject::isEnabled):
(WebKit::WebAccessibilityObject::isFocused):
(WebKit::WebAccessibilityObject::isHovered):
(WebKit::WebAccessibilityObject::isIndeterminate):
(WebKit::WebAccessibilityObject::isLinked):
(WebKit::WebAccessibilityObject::isLoaded):
(WebKit::WebAccessibilityObject::isMultiSelectable):
(WebKit::WebAccessibilityObject::isOffScreen):
(WebKit::WebAccessibilityObject::isPasswordField):
(WebKit::WebAccessibilityObject::isPressed):
(WebKit::WebAccessibilityObject::isReadOnly):
(WebKit::WebAccessibilityObject::isRequired):
(WebKit::WebAccessibilityObject::isSelected):
(WebKit::WebAccessibilityObject::isSelectedOptionActive):
(WebKit::WebAccessibilityObject::isVertical):
(WebKit::WebAccessibilityObject::isVisible):
(WebKit::WebAccessibilityObject::isVisited):
(WebKit::WebAccessibilityObject::accessKey):
(WebKit::WebAccessibilityObject::ariaHasPopup):
(WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
(WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
(WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
(WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
(WebKit::WebAccessibilityObject::boundingBoxRect):
(WebKit::WebAccessibilityObject::estimatedLoadingProgress):
(WebKit::WebAccessibilityObject::helpText):
(WebKit::WebAccessibilityObject::headingLevel):
(WebKit::WebAccessibilityObject::hierarchicalLevel):
(WebKit::WebAccessibilityObject::hitTest):
(WebKit::WebAccessibilityObject::keyboardShortcut):
(WebKit::WebAccessibilityObject::performDefaultAction):
(WebKit::WebAccessibilityObject::roleValue):
(WebKit::WebAccessibilityObject::selectionEnd):
(WebKit::WebAccessibilityObject::selectionStart):
(WebKit::WebAccessibilityObject::setFocused):
(WebKit::WebAccessibilityObject::stringValue):
(WebKit::WebAccessibilityObject::title):
(WebKit::WebAccessibilityObject::titleUIElement):
(WebKit::WebAccessibilityObject::url):
(WebKit::WebAccessibilityObject::valueDescription):
(WebKit::WebAccessibilityObject::valueForRange):
(WebKit::WebAccessibilityObject::maxValueForRange):
(WebKit::WebAccessibilityObject::minValueForRange):
(WebKit::WebAccessibilityObject::node):
(WebKit::WebAccessibilityObject::document):
(WebKit::WebAccessibilityObject::hasComputedStyle):
(WebKit::WebAccessibilityObject::computedStyleDisplay):
(WebKit::WebAccessibilityObject::accessibilityIsIgnored):
(WebKit::WebAccessibilityObject::lineBreaks):
(WebKit::WebAccessibilityObject::columnCount):
(WebKit::WebAccessibilityObject::rowCount):

LayoutTests: AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778

Patch by Dominic Mazzoni <dmazzoni@google.com> on 2012-05-30
Reviewed by Adam Barth.

  • accessibility/accessibility-object-detached-expected.txt: Added.
  • accessibility/accessibility-object-detached.html: Added.
18:03 Changeset [119011] by kevino@webkit.org

[wx] Unreviewed build fix. Fix 2.9 issues with c_str() type errors by using the wx fprintf wrapper.

18:01 Changeset [119010] by ojan@chromium.org

Only include the image checksum error in pretty-diffs for -expected.png files.
https://bugs.webkit.org/show_bug.cgi?id=87881

Reviewed by Tony Chang.

  • PrettyPatch/PrettyPatch.rb:
  • PrettyPatch/PrettyPatch_test.rb:
17:49 Changeset [119009] by jberlin@webkit.org

Enhance Windows DRT implementation to support platform scroll wheel events
https://bugs.webkit.org/show_bug.cgi?id=36002

Skip more tests that use eventSender.mouseScrollBy on Windows.

  • platform/win/Skipped:
17:48 Changeset [119008] by shawnsingh@chromium.org

Simplify TransformationMatrix rotation code to improve precision
https://bugs.webkit.org/show_bug.cgi?id=86666

Reviewed by Adrienne Walker.

Source/WebCore:

Change covered by existing layout tests;
Additional unit tests added.

The original rotation code for WebCore::TransformationMatrix was
using indirect trig identities to compute basic rotation
matrices. As far as I can imagine, this is unnecessary, and brief
informal experiments showed that we can gain a few extra bits of
precision by avoiding that indirection.

Indeed, precision improved such that it revealed a mistake on one
of the unit tests, where the test was actually degenerate so that
the layer was aligned with a viewport boundary. When it was
imprecise, it didnt appear to be aligned. Putting an additional
translation on that test fixes it so it is no longer a degenerate
test.

This patch also revealed a few chinks in the unit testing armor of
this code, an error that should have been caught in unit tests was
luckily caught by SVG layout tests. This chink is fixed by adding
2 extra unit tests.

  • platform/graphics/transforms/TransformationMatrix.cpp:

(WebCore::TransformationMatrix::rotate3d):

Source/WebKit/chromium:

  • tests/CCLayerTreeHostCommonTest.cpp:

(WebKitTests::TEST):

  • tests/WebTransformationMatrixTest.cpp:

(WebKit::TEST):
(WebKit):

17:47 Changeset [119007] by timothy_horton@apple.com

WebKitTestRunner needs an implementation of eventSender
<https://bugs.webkit.org/show_bug.cgi?id=42194>

Unreviewed mac-wk2 skip of fast/forms/file/input-file-write-files.html, which depends on eventSender.

  • platform/mac-wk2/Skipped:
17:46 Changeset [119006] by commit-queue@webkit.org

IndexedDB: Remove old get/getKey implementations
https://bugs.webkit.org/show_bug.cgi?id=87879

Patch by Alec Flett <alecflett@chromium.org> on 2012-05-30
Reviewed by Ojan Vafai.

Removal of dead code, was scaffolding for a complicated
Chromium landing.

  • Modules/indexeddb/IDBIndexBackendImpl.cpp:

(WebCore::IDBIndexBackendImpl::getInternal):
(WebCore::IDBIndexBackendImpl::getKeyInternal):
(WebCore::IDBIndexBackendImpl::get):
(WebCore::IDBIndexBackendImpl::getKey):

  • Modules/indexeddb/IDBIndexBackendImpl.h:

(IDBIndexBackendImpl):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

(WebCore::IDBObjectStoreBackendImpl::get):
(WebCore::IDBObjectStoreBackendImpl::getInternal):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.h:

(IDBObjectStoreBackendImpl):

17:39 Changeset [119005] by commit-queue@webkit.org

[BlackBerry] Fix assertion fail on redirect due to multiple jobs per handle
https://bugs.webkit.org/show_bug.cgi?id=87579

Patch by Joe Mason <jmason@rim.com> on 2012-05-30
Reviewed by George Staikos.

RIM PR #158892:

When we start a redirect, we now call cancelJob instead of just deleting it immediately to make sure
that all cleanup is performed. However, we also reassign the ResourceHandle to the new job, and
since cancelJob is asynchronous it is now assigned to two jobs simultaneously.

Work around this by only returning handles that have not been cancelled from findJobForHandle.
Cancelled jobs still technically exist in the jobs list, but they're invisible to callers. This is
safe because there is literally nothing that can be done with a cancelled job - it is supposed to
merely consume any notifications that are already in progress and then kill itself off - so no
callers of findJobForHandle are expecting a cancelled job. (All existing callers call methods on the
returned job which are no-ops for cancelled jobs, so there is no behaviour change.)

No new tests because there is no behaviour change (fixes a regression).

  • platform/network/blackberry/NetworkManager.cpp:

(WebCore::NetworkManager::findJobForHandle):

17:30 Changeset [119004] by haraken@chromium.org

[V8][Performance] Optimize DOM attribute getters that return an empty string
https://bugs.webkit.org/show_bug.cgi?id=87820

Reviewed by Adam Barth.

This patch optimizes the performance of DOM attribute getters that return an
empty string by 65.8% (e.g. div.id, div.className, div.title, div.lang ...etc)

Performance test: Bindings/undefined-id-getter.html

[Without the patch]
RESULT Bindings: undefined-id-getter= 441.984669644 runs/s
median= 445.544554455 runs/s, stdev= 11.8406070959 runs/s, min= 405.063291139 runs/s, max= 447.204968944 runs/s

[With the patch]
RESULT Bindings: undefined-id-getter= 738.840460474 runs/s
median= 738.786279683 runs/s, stdev= 2.00249797161 runs/s, min= 733.944954128 runs/s, max= 741.721854305 runs/s

  • This patch passes Isolate to v8::String::Empty(), which removes Isolate

look-up inside v8::String::Empty().

  • This patch inlines V8Binding::getElementStringAttr() and

V8Binding::setElementStringAttr().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):

  • bindings/v8/V8Binding.cpp:

(WebCore::StringCache::v8ExternalStringSlow):

  • bindings/v8/V8Binding.h:

(WebCore::StringCache::v8ExternalString):
(StringCache):
(WebCore::v8ExternalString):
(WebCore):

17:28 Changeset [119003] by haraken@chromium.org

[V8] Implement V8Binding::v8BooleanWithCheck(isolate)
https://bugs.webkit.org/show_bug.cgi?id=87814

Reviewed by Adam Barth.

The objective is to pass Isolate to v8::True() and v8::False().
Similarly to v8NullWithCheck() (bug 87713), this patch implements
V8Binding::v8BooleanWithCheck(isolate), which calls v8::True()/v8::False()
or v8::True(isolate)/v8::False(isolate) depending on whether the
passed isolate is null or not.

This patch also passes Isolate to v8Boolean() in CodeGeneratorV8.pm.

No tests. No behavior change.

  • bindings/scripts/CodeGeneratorV8.pm:

(NativeToJSValue):

  • bindings/scripts/test/V8/V8TestEventTarget.cpp:

(WebCore::TestEventTargetV8Internal::dispatchEventCallback):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::TestObjV8Internal::createAttrGetter):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetter):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetter):

  • bindings/v8/V8Binding.h:

(WebCore::v8Boolean):
(WebCore):
(WebCore::v8BooleanWithCheck):

17:16 Changeset [119002] by haraken@chromium.org

[V8] Replace v8::True() and v8::False() with v8Boolean()
https://bugs.webkit.org/show_bug.cgi?id=87812

Reviewed by Adam Barth.

To avoid implementing all of v8TrueWithCheck(isolate), v8FalseWithCheck(isolate)
and v8BooleanWithCheck(isolate), we can first replace v8::True() and v8::False()
with v8Boolean(). Then we can just implement v8BooleanWithCheck(isolate).

No tests. No change in behavior.

  • bindings/v8/SerializedScriptValue.cpp:
  • bindings/v8/V8Binding.h:

(WebCore::v8StringOrFalse):

  • bindings/v8/V8NPUtils.cpp:

(WebCore::convertNPVariantToV8Object):

  • bindings/v8/custom/V8DOMStringMapCustom.cpp:

(WebCore::V8DOMStringMap::namedPropertyDeleter):

  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp:

(WebCore::V8InjectedScriptHost::isHTMLAllCollectionCallback):

  • bindings/v8/custom/V8StorageCustom.cpp:

(WebCore::storageDeleter):

17:13 Changeset [119001] by haraken@chromium.org

[V8] Replace v8::Null() with v8NullWithCheck(isolate) in custom bindings where isolate can be 0
https://bugs.webkit.org/show_bug.cgi?id=87807

Reviewed by Adam Barth.

The objective is to pass Isolate around in V8 bindings.
This patch replaces v8::Null() with v8NullWithCheck(isolate)
in custom bindings where isolate can be 0.

'where isolate can be 0' means all the places where we cannot
retrieve Isolate directly from AccessorInfo or Arguments.

No tests. No behavior change.

  • bindings/v8/custom/V8BlobCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8CSSRuleCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8CSSStyleSheetCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8CSSValueCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8DOMStringMapCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8DOMTokenListCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8DOMWindowCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8DataViewCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8DocumentCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8EntryCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8EntrySyncCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8EventCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Float32ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Float64ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8HTMLDocumentCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8HTMLElementCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8IDBAnyCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8IDBKeyCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8ImageDataCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Int16ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Int32ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Int8ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8LocationCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8NamedNodeMapCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8NodeCustom.cpp:

(WebCore::toV8Slow):

  • bindings/v8/custom/V8SVGDocumentCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8SVGElementCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8SVGPathSegCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8ScriptProfileCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8ScriptProfileNodeCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8StyleSheetCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Uint16ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Uint32ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Uint8ArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8Uint8ClampedArrayCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8WorkerContextCustom.cpp:

(WebCore::toV8):

17:12 Changeset [119000] by jberlin@webkit.org

[Win] 8 accessibility tests failing
https://bugs.webkit.org/show_bug.cgi?id=87909

Add expected (failing?) results for Windows to get the bots greener.

  • platform/win/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added.
  • platform/win/accessibility/disabled-controls-not-focusable-expected.txt: Added.
  • platform/win/accessibility/focus-events-expected.txt:
  • platform/win/accessibility/img-alt-tag-only-whitespace-expected.txt: Added.
  • platform/win/accessibility/option-element-selection-and-focus-events-expected.txt:
  • platform/win/accessibility/select-element-valuechange-event-expected.txt:
  • platform/win/accessibility/textbox-role-reports-line-number-expected.txt: Added.
  • platform/win/accessibility/textbox-role-reports-selection-expected.txt: Added.
17:11 Changeset [118999] by haraken@chromium.org

[V8] Replace v8::Null() with v8::Null(isolate) or v8NullWithCheck(isolate) in non-custom bindings
https://bugs.webkit.org/show_bug.cgi?id=87810

Reviewed by Adam Barth.

The objective is to pass Isolate around in V8 bindings.
For non-custom bindings, we replace v8::Null() with v8::Null(isolate)
where isolate cannot be 0, and replace v8::Null() with v8NullWithCheck(isolate)
where isolate can be 0.

This will be the final patch for passing Isolate to v8::Null().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):
(GenerateFunctionCallback):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::TestObjV8Internal::contentDocumentAttrGetter):
(WebCore::TestObjV8Internal::getSVGDocumentCallback):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:

(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetter):

  • bindings/v8/SerializedScriptValue.cpp:

(WebCore::SerializedScriptValue::deserialize):

  • bindings/v8/V8DOMWrapper.cpp:

(WebCore::V8DOMWrapper::convertEventTargetToV8Object):

17:02 Changeset [118998] by haraken@chromium.org

[V8] Replace v8::Null() with v8::Null(isolate) in custom bindings where isolate shouldn't be 0
https://bugs.webkit.org/show_bug.cgi?id=87809

Reviewed by Adam Barth.

The objective is to pass Isolate around in V8 bindings.
This patch replaces v8::Null() with v8::Null(isolate) in custom bindings
where isolate shouldn't be 0. 'where isolate shouldn't be 0' is the place
where isolate is retrieved directly from AccessorInfo and Arguments.

This patch includes a couple of refactorings:

  • Makes V8DeviceMotionEvent::createAccelerationObject() and

V8DeviceMotionEvent::createRotationRateObject() static

  • Moves V8HTMLElement::toV8Object() into the existing ENABLE(MICRODATA) flag.

No tests. No change in behavior.

  • bindings/v8/custom/V8ClipboardCustom.cpp:

(WebCore::V8Clipboard::typesAccessorGetter):

  • bindings/v8/custom/V8CoordinatesCustom.cpp:

(WebCore::V8Coordinates::altitudeAccessorGetter):
(WebCore::V8Coordinates::altitudeAccuracyAccessorGetter):
(WebCore::V8Coordinates::headingAccessorGetter):
(WebCore::V8Coordinates::speedAccessorGetter):

  • bindings/v8/custom/V8DeviceMotionEventCustom.cpp:

(WebCore::V8DeviceMotionEvent::accelerationAccessorGetter):
(WebCore::V8DeviceMotionEvent::accelerationIncludingGravityAccessorGetter):
(WebCore::V8DeviceMotionEvent::rotationRateAccessorGetter):
(WebCore::V8DeviceMotionEvent::intervalAccessorGetter):

  • bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:

(WebCore::V8DeviceOrientationEvent::alphaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::betaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::gammaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::absoluteAccessorGetter):

  • bindings/v8/custom/V8DocumentLocationCustom.cpp:

(WebCore::V8Document::locationAccessorGetter):

  • bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:

(WebCore::V8HTMLCanvasElement::getContextCallback):

  • bindings/v8/custom/V8HTMLElementCustom.cpp:

(WebCore::toV8):
(WebCore):
(WebCore::toV8Object):

  • bindings/v8/custom/V8HistoryCustom.cpp:

(WebCore::V8History::stateAccessorGetter):

  • bindings/v8/custom/V8MessageEventCustom.cpp:

(WebCore::V8MessageEvent::dataAccessorGetter):

  • bindings/v8/custom/V8NodeCustom.cpp:

(WebCore::V8Node::insertBeforeCallback):
(WebCore::V8Node::replaceChildCallback):
(WebCore::V8Node::removeChildCallback):
(WebCore::V8Node::appendChildCallback):

  • bindings/v8/custom/V8PopStateEventCustom.cpp:

(WebCore::V8PopStateEvent::stateAccessorGetter):

  • bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:

(WebCore::V8SQLResultSetRowList::itemCallback):

  • bindings/v8/custom/V8TrackEventCustom.cpp:

(WebCore::V8TrackEvent::trackAccessorGetter):

  • bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:

(WebCore::toV8Object):
(WebCore::V8WebGLRenderingContext::getAttachedShadersCallback):
(WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback):

16:56 Changeset [118997] by commit-queue@webkit.org

[Qt] handled touchmove events should not cancel tap gesture recognition
https://bugs.webkit.org/show_bug.cgi?id=87808

Patch by Luiz Agostini <luiz.agostini@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.

Tap gesture recognition should not be canceled if a touchmove event is handled
by the web process.

  • UIProcess/qt/QtWebPageEventHandler.cpp:

(WebKit::QtWebPageEventHandler::doneWithTouchEvent):

16:55 Changeset [118996] by ojan@chromium.org

Only give lint errors for -expected.png png files that lack a checksum
https://bugs.webkit.org/show_bug.cgi?id=87875

Reviewed by Tony Chang.

We have other pngs in the tree, e.g. for the inspector, that legitimately
lack a checksum.

  • Scripts/webkitpy/style/checkers/png.py:

(PNGChecker.check):

  • Scripts/webkitpy/style/checkers/png_unittest.py:

(PNGCheckerTest.test_check):

16:47 Changeset [118995] by oliver@apple.com

Really provide error information with the inspector disabled
https://bugs.webkit.org/show_bug.cgi?id=87910

Reviewed by Filip Pizlo.

Don't bother checking for anything other than pre-existing error info.
In the absence of complete line number information you'll only get the
line a function starts on, but at least it's something.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::throwException):

16:35 Changeset [118994] by eae@chromium.org

Unreviewed test expectations updates for window and mac now that we no longer skip a couple of tests on those platforms.

  • platform/chromium-mac-leopard/fast/backgrounds/background-position-parsing-expected.png:
  • platform/chromium-win/fast/backgrounds/background-position-parsing-expected.png:
  • platform/chromium-win/fast/backgrounds/background-position-parsing-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/103-expected.png:
  • platform/chromium-win/fast/block/margin-collapse/103-expected.txt:
16:10 Changeset [118993] by thakis@chromium.org

Make the files attribute of HTMLInputElement writable
https://bugs.webkit.org/show_bug.cgi?id=87154

Reviewed by Adam Barth.

whatwg thread:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/036140.html

  • bindings/objc/PublicDOMInterfaces.h:

Remove readonly on files property.

  • html/FileInputType.cpp:

(FileInputType):

Add a NULL check to setFiles().

  • html/FileInputType.h:

(FileInputType):

Let setFiles() overwrite the base class's method.

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::setFiles):

Add setFiles() implementation, delegate to input type.

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/HTMLInputElement.idl:
  • html/InputType.cpp:

(WebCore::InputType::setFiles):

setFiles() does nothing by default.

  • html/InputType.h:

(InputType):

Add a virtual setFiles() method.

16:09 Changeset [118992] by fpizlo@apple.com

LLInt broken on x86-32 with JIT turned off
https://bugs.webkit.org/show_bug.cgi?id=87906

Reviewed by Geoffrey Garen.

Fixed the code to not clobber registers that contain important things, like the call frame.

  • llint/LowLevelInterpreter32_64.asm:
16:07 Changeset [118991] by commit-queue@webkit.org

[BlackBerry] Remove useless string->char*->string conversion in NetworkJob.
https://bugs.webkit.org/show_bug.cgi?id=87861

Patch by Joe Mason <jmason@rim.com> on 2012-05-30
Reviewed by Antonio Gomes.

RIM PR #152383: username is a WTF::String. ResourceHandleInternal::m_user is a string. Yet they're
assigned with "username = m_user.utf8().data()". Pointless: "username = m_user" will do.

No new tests since there is no behaviour change.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::sendRequestWithCredentials):

15:58 Changeset [118990] by mitz@apple.com

[Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8
https://bugs.webkit.org/show_bug.cgi?id=87740

Reviewed by Darin Adler.

Source/WebCore:

  • platform/text/qt/TextBreakIteratorQt.cpp:

(WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator): Changed to use
the return value of setUpIterator.

LayoutTests:

  • platform/qt-4.8/Skipped: Removed fast/forms/textarea-maxlength.html.
15:50 Changeset [118989] by rakuco@webkit.org

[EFL] Gardening. Unskip test that is now passing.

  • platform/efl/test_expectations.txt:
15:49 Changeset [118988] by eae@chromium.org

Unreviewed chromium snowleopard rebaseline for background-position-parsing test following r118978.

  • platform/chromium-mac-snowleopard/fast/backgrounds/background-position-parsing-expected.png:
15:43 Changeset [118987] by zeno.albisser@nokia.com

GraphicsSurface: allow importing and exporting of textures directly on GPU side.
https://bugs.webkit.org/show_bug.cgi?id=87725

Add copyFromFramebuffer function to copy a texture from an FBO
onto the GraphicsSurface.
Add getTextureID function to export the texture ID.
This allows binding/blitting the texture directly on the GPU.

Reviewed by Noam Rosenthal.

  • platform/graphics/surfaces/GraphicsSurface.cpp:

(WebCore::GraphicsSurface::getTextureID):
(WebCore):
(WebCore::GraphicsSurface::copyFromFramebuffer):

  • platform/graphics/surfaces/GraphicsSurface.h:

(GraphicsSurface):

  • platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:

(WebCore::GraphicsSurface::platformGetTextureID):
(WebCore):
(WebCore::GraphicsSurface::platformCopyFromFramebuffer):

15:39 Changeset [118986] by commit-queue@webkit.org

IndexedDB: Implement IDBTransaction.error and IDBRequest.error
https://bugs.webkit.org/show_bug.cgi?id=87865

Patch by Alec Flett <alecflett@chromium.org> on 2012-05-30
Reviewed by Tony Chang.

Source/WebCore:

Added "error" attribute to IDBRequest and IDBTransaction. Update
IDBDatabaseError to honor the IDBDatabaseException behavior
of dealing with IDB-specific throws of DOMException codes,
as per the spec.

Existing tests which previously tested 'errorCode' and
'webkitErrorMessage' have been updated to use the new attribute.

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::advance):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::setVersion):

  • Modules/indexeddb/IDBDatabaseError.h:

(WebCore::IDBDatabaseError::create):
(WebCore::IDBDatabaseError::code):
(WebCore::IDBDatabaseError::idbCode):
(WebCore::IDBDatabaseError::name):
(WebCore::IDBDatabaseError::IDBDatabaseError):
(IDBDatabaseError):

  • Modules/indexeddb/IDBDatabaseException.cpp:

(WebCore):
(WebCore::getErrorEntry):
(WebCore::IDBDatabaseException::initializeDescription):
(WebCore::IDBDatabaseException::getErrorName):
(WebCore::IDBDatabaseException::getLegacyErrorCode):

  • Modules/indexeddb/IDBDatabaseException.h:

(IDBDatabaseException):

  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore::IDBObjectStore::createIndex):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::error):
(WebCore):
(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::onError):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::onSuccessWithContinuation):
(WebCore::IDBRequest::dispatchEvent):

  • Modules/indexeddb/IDBRequest.h:

(IDBRequest):

  • Modules/indexeddb/IDBRequest.idl:
  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::error):
(WebCore):
(WebCore::IDBTransaction::setError):

  • Modules/indexeddb/IDBTransaction.h:

(IDBTransaction):

  • Modules/indexeddb/IDBTransaction.idl:

Source/WebKit/chromium:

IDBDatabaseError now honors IDB-specific DOMException codes,
so make sure that's how they are passed to/from chromium.

  • src/WebIDBDatabaseError.cpp:

(WebKit::WebIDBDatabaseError::assign):

LayoutTests:

  • storage/indexeddb/basics-expected.txt:
  • storage/indexeddb/basics-workers-expected.txt:
  • storage/indexeddb/create-and-remove-object-store-expected.txt:
  • storage/indexeddb/cursor-continue-expected.txt:
  • storage/indexeddb/cursor-update-expected.txt:
  • storage/indexeddb/database-basics-expected.txt:
  • storage/indexeddb/deleteIndex-expected.txt:
  • storage/indexeddb/factory-cmp-expected.txt:
  • storage/indexeddb/get-keyrange-expected.txt:
  • storage/indexeddb/index-basics-expected.txt:
  • storage/indexeddb/index-basics-workers-expected.txt:
  • storage/indexeddb/index-count-expected.txt:
  • storage/indexeddb/index-unique-expected.txt:
  • storage/indexeddb/invalid-keys-expected.txt:
  • storage/indexeddb/key-generator-expected.txt:
  • storage/indexeddb/key-type-array-expected.txt:
  • storage/indexeddb/keypath-edges-expected.txt:
  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/objectstore-autoincrement-expected.txt:
  • storage/indexeddb/objectstore-basics-expected.txt:
  • storage/indexeddb/objectstore-basics-workers-expected.txt:
  • storage/indexeddb/objectstore-count-expected.txt:
  • storage/indexeddb/open-cursor-expected.txt:
  • storage/indexeddb/readonly-expected.txt:
  • storage/indexeddb/resources/basics.js:

(test):
(openCallback):

  • storage/indexeddb/resources/create-and-remove-object-store.js:

(testCreateAndRemove):
(cleanDatabase):
(tryOnceMore):

  • storage/indexeddb/resources/cursor-continue.js:

(ascendingErrorTestLessThan.request.onsuccess):
(ascendingErrorTestLessThan):
(ascendingErrorTestEqual.request.onsuccess):
(ascendingErrorTestEqual):
(descendingErrorTestGreaterThan.request.onsuccess):
(descendingErrorTestGreaterThan):
(descendingErrorTestEqual.request.onsuccess):
(descendingErrorTestEqual):
(onTransactionComplete):

  • storage/indexeddb/resources/cursor-update.js:

(keyCursor):

  • storage/indexeddb/resources/database-basics.js:

(testClose):

  • storage/indexeddb/resources/database-quota.js:

(logError):

  • storage/indexeddb/resources/deleteIndex.js:

(twiddleIndexes):
(postTwiddling):

  • storage/indexeddb/resources/factory-cmp.js:

(testValidKeys):
(testInvalidKeys):

  • storage/indexeddb/resources/get-keyrange.js:

(getNullTest):

  • storage/indexeddb/resources/index-basics.js:

(index3Count):

  • storage/indexeddb/resources/index-count.js:
  • storage/indexeddb/resources/index-unique.js:

(addMoreDataFailed):

  • storage/indexeddb/resources/invalid-keys.js:
  • storage/indexeddb/resources/key-generator.js:
  • storage/indexeddb/resources/key-type-array.js:

(testDepthLimits):

  • storage/indexeddb/resources/keypath-edges.js:
  • storage/indexeddb/resources/keyrange.js:

(test):

  • storage/indexeddb/resources/objectstore-autoincrement.js:

(getAbrahamSuccess):

  • storage/indexeddb/resources/objectstore-basics.js:

(setVersionSuccess):
(createIndex):
(addAgainFailure):
(removeSuccessButNotThere):
(testPreConditions.request.onsuccess):
(testPreConditions):

  • storage/indexeddb/resources/objectstore-count.js:
  • storage/indexeddb/resources/open-cursor.js:

(cursorWithKeySuccess):
(cursorSuccess):

  • storage/indexeddb/resources/readonly.js:

(openSuccess):

  • storage/indexeddb/resources/set_version_queue.js:

(connectionError):

  • storage/indexeddb/resources/shared.js:

(unexpectedErrorCallback):
(evalAndExpectException):

  • storage/indexeddb/resources/transaction-abort-workers.js:

(transactionAborted):
(transactionCompleted):
(timeoutTest.transaction.onabort):
(timeoutTest):
(errorTransactionAborted):

  • storage/indexeddb/resources/transaction-abort.js:

(firstAdd):
(secondAdd):
(transactionAborted):

  • storage/indexeddb/resources/transaction-after-close.js:

(firstTransactionComplete):

  • storage/indexeddb/resources/transaction-and-objectstore-calls.js:

(created):
(afterComplete):

  • storage/indexeddb/resources/transaction-basics.js:

(testInactiveAbortedTransaction):
(testInactiveCompletedTransaction):
(testInvalidMode):

  • storage/indexeddb/resources/transaction-read-only.js:

(setVersionDone):
(gotCursor):

  • storage/indexeddb/set_version_queue-expected.txt:
  • storage/indexeddb/transaction-abort-expected.txt:
  • storage/indexeddb/transaction-abort-workers-expected.txt:
  • storage/indexeddb/transaction-after-close-expected.txt:
  • storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
  • storage/indexeddb/transaction-basics-expected.txt:
  • storage/indexeddb/transaction-read-only-expected.txt:
15:37 Changeset [118985] by commit-queue@webkit.org

[GTK][WK2] Errors in documentation about webkit_web_view_run_javascript()
https://bugs.webkit.org/show_bug.cgi?id=87866

Patch by Mario Sanchez Prada <msanchez@igalia.com> on 2012-05-30
Reviewed by Martin Robinson.

  • UIProcess/API/gtk/WebKitWebView.cpp: Fix errors.
15:29 Changeset [118984] by eae@chromium.org

Unreviewed chromium mac rebaseline for changes in r118978.

  • platform/chromium-mac/fast/backgrounds/background-position-parsing-expected.png:
  • platform/chromium-mac/fast/backgrounds/background-position-parsing-expected.txt:
  • platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-expected.png:
  • platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
  • platform/chromium/test_expectations.txt:
15:29 Changeset [118983] by lforschler@apple.com

Versioning.

15:21 Changeset [118982] by lforschler@apple.com

New tag.

15:18 Changeset [118981] by lforschler@apple.com

Merged r108550.

15:08 Changeset [118980] by commit-queue@webkit.org

[Qt] ImageDecoderQt doesn't support some decoders.
https://bugs.webkit.org/show_bug.cgi?id=87851

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.

If forced to decode GIF and JPEG, ImageDecoderQt show several
artifacts. This is caused by mismatched decoded image-formats.

Convert mismatched color spaces into ARGB color space, and perform
manual mem-copy when the image has been decoded into a new buffer.

This patch also add support for down-scaling in the decoder.

  • platform/graphics/qt/ImageDecoderQt.cpp:

(WebCore::ImageDecoderQt::internalDecodeSize):
(WebCore::ImageDecoderQt::internalHandleCurrentImage):

14:58 Changeset [118979] by dpranke@chromium.org

nrwt: seems to leak temp dirs
https://bugs.webkit.org/show_bug.cgi?id=87795

Reviewed by Ojan Vafai.

There appears to be a bug where the chromium bots are creating
temporary directories and not cleaning them up that started
after the switch to WebKitDriver. It's possible that del
wasn't getting called in a timely manner (or at all), and it's
generally bad style to rely on del being called, so this
code changes things so that we create a temp dir in
driver.start() and remove it in driver.stop(). We could be
paranoid and leave the del code in, but there doesn't seem
to be much advantage to it. If there are bugs that result in
drivers being started but not stopped, we have other problems.

  • Scripts/webkitpy/common/system/filesystem_mock.py:

(MockFileSystem.init):
(MockFileSystem._mktemp):
(MockFileSystem.mkdtemp):

  • Scripts/webkitpy/layout_tests/port/webkit.py:

(WebKitDriver.init):
(WebKitDriver._start):
(WebKitDriver.stop):

  • Scripts/webkitpy/layout_tests/port/webkit_unittest.py:

(WebKitDriverTest.test_check_for_driver_crash):
(WebKitDriverTest):
(WebKitDriverTest.test_creating_a_port_does_not_write_to_the_filesystem):
(WebKitDriverTest.test_stop_cleans_up_properly):

14:56 Changeset [118978] by eae@chromium.org

Floats wraps incorrectly when top edge has subpixel precision
https://bugs.webkit.org/show_bug.cgi?id=87688

Reviewed by Levi Weintraub.

When computing the logical left and right offsets for a float we
incorrectly floored the logical top when passing it to the float search
adapter. This caused it to return incorrect values where the floored and
pixel snapped values are not the same.

Source/WebCore:

Test: fast/sub-pixel/float-wrap-with-subpixel-top.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):

LayoutTests:

  • fast/sub-pixel/float-wrap-with-subpixel-top-expected.html: Added.
  • fast/sub-pixel/float-wrap-with-subpixel-top.html: Added.
  • platform/chromium-linux/fast/backgrounds/background-position-parsing-expected.png:
  • platform/chromium-linux/fast/backgrounds/background-position-parsing-expected.txt:
  • platform/chromium-win/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
  • platform/chromium/test_expectations.txt:
  • platform/efl/Skipped:
  • platform/gtk-wk2/Skipped:
  • platform/mac-lion/Skipped:
  • platform/mac-snowleopard/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/Skipped:
  • platform/qt-4.8/Skipped:
  • platform/qt/Skipped:
  • platform/win-wk2/Skipped:
  • platform/win-xp/Skipped:
  • platform/win/Skipped:
  • platform/wincairo/Skipped:
  • platform/wk2/Skipped:
14:44 Changeset [118977] by rakuco@webkit.org

[EFL] EFL's DRT should print the number of MessagePorts for new each new intent
https://bugs.webkit.org/show_bug.cgi?id=86841

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-30
Reviewed by Adam Barth.

Source/WebKit/efl:

Add EWKPrivate method to retrieve the internal WebCore object for a Ewk_Intent.
Add helper function to DumpRenderTreeSupportEfl that returns the MessagePorts
for a Ewk_Intent object so that the DRT can print information about them.

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:

(DumpRenderTreeSupportEfl::intentMessagePorts):

  • WebCoreSupport/DumpRenderTreeSupportEfl.h:

(WebCore):

  • ewk/ewk_intent.cpp:

(EWKPrivate):
(EWKPrivate::coreIntent):

  • ewk/ewk_intent_private.h:

(EWKPrivate):

Tools:

Print the number of MessagePorts for each new intent in EFL's DRT.
This output is expected by several Web Intents test cases.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onFrameIntentNew):

LayoutTests:

Unskip the test case which requires the DumpRenderTree to print out
the number of MessagePorts for each new intent.

  • platform/efl/test_expectations.txt:
14:42 Changeset [118976] by caio.oliveira@openbossa.org

HashTable.h has using directives for std::pair and std::make_pair
https://bugs.webkit.org/show_bug.cgi?id=29919

Reviewed by Darin Adler.

  • wtf/HashTraits.h:

(WTF): Remove the directives.

14:42 Changeset [118975] by eae@chromium.org

Inline blocks with margin wrap incorrectly with subpixel layout turned on
https://bugs.webkit.org/show_bug.cgi?id=87897

Reviewed by Levi Weintraub.

Source/WebCore:

Change WebCore::getBorderPaddingMargin and the helper function
getBPMWidth to return a LayoutUnit rather than an int as the padding and
margin values have subpixel precision. This fixes an issue where we would
incorrectly wrap inline blocks with a subpixel padding or margin.

Test: fast/sub-pixel/inline-block-with-margin.html

  • rendering/RenderBlock.cpp:

(WebCore::getBPMWidth):
(WebCore::getBorderPaddingMargin):
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths):

LayoutTests:

Add test for inline blocks with a subpixel margin. Marked as skipped on
all platforms but chromium as subpixel layout has not yet been enabled
for any other platform.

  • fast/sub-pixel/inline-block-with-margin-expected.html: Added.
  • fast/sub-pixel/inline-block-with-margin.html: Added.
  • platform/efl/Skipped:
  • platform/gtk-wk2/Skipped:
  • platform/mac-lion/Skipped:
  • platform/mac-snowleopard/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/Skipped:
  • platform/qt-4.8/Skipped:
  • platform/qt/Skipped:
  • platform/win-wk2/Skipped:
  • platform/win-xp/Skipped:
  • platform/win/Skipped:
  • platform/wincairo/Skipped:
  • platform/wk2/Skipped:
14:35 Changeset [118974] by jberlin@webkit.org

[Qt][GTK][Mac][Win] New plugins/npruntime/delete-plugin-within-* tests introduced in r117012
fail/crash
https://bugs.webkit.org/show_bug.cgi?id=86443

Skip these tests on Windows because they crash.

  • platform/win/Skipped:
14:23 Changeset [118973] by rakuco@webkit.org

[EFL] Unreviewed gardening in fast/transforms.

Unskip passing tests that just needed baselines and update the
PNGs for a few ones which were already passing.

  • platform/efl/Skipped:
  • platform/efl/fast/transforms/bounding-rect-zoom-expected.png:
  • platform/efl/fast/transforms/diamond-expected.png:
  • platform/efl/fast/transforms/identity-matrix-expected.png:
  • platform/efl/fast/transforms/overflow-with-transform-expected.png:
  • platform/efl/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
  • platform/efl/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
  • platform/efl/fast/transforms/skew-with-unitless-zero-expected.png:
  • platform/efl/fast/transforms/transform-on-inline-expected.png:
  • platform/efl/fast/transforms/transform-positioned-ancestor-expected.png:
  • platform/efl/fast/transforms/transform-table-row-expected.png:
  • platform/efl/fast/transforms/transformed-caret-expected.png:
  • platform/efl/fast/transforms/transformed-caret-expected.txt:
  • platform/efl/fast/transforms/transformed-focused-text-input-expected.png:
  • platform/efl/fast/transforms/transformed-focused-text-input-expected.txt:
  • platform/efl/fast/transforms/transforms-with-opacity-expected.png:
14:22 Changeset [118972] by rakuco@webkit.org

[EFL] Unreviewed gardening in fast/parser.

Unskip a passing test that just needed a baseline and update the
PNGs for a few ones which were already passing.

  • platform/efl/Skipped:
  • platform/efl/fast/parser/001-expected.png:
  • platform/efl/fast/parser/bad-xml-slash-expected.png:
  • platform/efl/fast/parser/broken-comments-vs-parsing-mode-expected.png:
  • platform/efl/fast/parser/document-write-option-expected.png:
  • platform/efl/fast/parser/entity-comment-in-style-expected.png:
  • platform/efl/fast/parser/entity-comment-in-style-expected.txt:
  • platform/efl/fast/parser/entity-comment-in-textarea-expected.png:
  • platform/efl/fast/parser/fonts-expected.png:
  • platform/efl/fast/parser/nofoo-tags-inside-paragraph-expected.png:
  • platform/efl/fast/parser/open-comment-in-style-expected.png:
  • platform/efl/fast/parser/open-comment-in-textarea-expected.png:
  • platform/efl/fast/parser/title-error-test-expected.png:
  • platform/efl/fast/parser/xhtml-alternate-entities-expected.png:
  • platform/efl/test_expectations.txt:
14:12 Changeset [118971] by tony@chromium.org

rename flexbox css values from justify and distribute to space-between and space-around
https://bugs.webkit.org/show_bug.cgi?id=87867

Reviewed by Ojan Vafai.

Source/WebCore:

This was recently changed in the spec:
http://dev.w3.org/csswg/css3-flexbox/#justify-content

No new tests, updated existing tests and expectations.

  • css/CSSParser.cpp:

(WebCore::isValidKeywordPropertyAndValue):

  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EFlexPack):
(WebCore::CSSPrimitiveValue::operator EFlexLinePack):

  • css/CSSValueKeywords.in:
  • rendering/RenderFlexibleBox.cpp:

(WebCore::initialPackingOffset):
(WebCore::packingSpaceBetweenChildren):
(WebCore::initialLinePackingOffset):
(WebCore::linePackingSpaceBetweenChildren):

  • rendering/style/RenderStyleConstants.h:

LayoutTests:

  • css3/flexbox/columns-auto-size.html:
  • css3/flexbox/css-properties-expected.txt:
  • css3/flexbox/css-properties.html:
  • css3/flexbox/flex-pack.html:
  • css3/flexbox/multiline-line-pack-horizontal-column-expected.txt:
  • css3/flexbox/multiline-line-pack-horizontal-column.html:
  • css3/flexbox/multiline-line-pack.html:
  • css3/flexbox/multiline-pack-expected.txt:
  • css3/flexbox/multiline-pack.html:
  • css3/flexbox/position-absolute-child.html:
  • css3/flexbox/true-centering.html:
14:08 Changeset [118970] by kevino@webkit.org

[wx] Unreviewed build fix. Make sure we get the file size with the proper native type.

14:08 Changeset [118969] by rafaelw@chromium.org

[Chromium] rebaseline fast/dom/Window/mozilla-focus-blur.html

  • platform/chromium/fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
14:06 Changeset [118968] by kevino@webkit.org

[wx] Unreviewed build fix after removal of setJavaScriptProfilingEnabled.

14:05 Changeset [118967] by kevino@webkit.org

[wx] Unreviewed build fix. Add needed file back to the wx build.

14:04 Changeset [118966] by fpizlo@apple.com

ScriptDebugServer wants sourceIDs that are non-zero because that's what HashMaps want, so JSC should placate it
https://bugs.webkit.org/show_bug.cgi?id=87887

Reviewed by Darin Adler.

Better fix - we now never call SourceProvider::asID() if SourceProvider* is 0.

  • parser/Nodes.h:

(JSC::ScopeNode::sourceID):

  • parser/SourceCode.h:

(JSC::SourceCode::providerID):
(SourceCode):

  • parser/SourceProvider.h:

(SourceProvider):
(JSC::SourceProvider::asID):

  • runtime/Executable.h:

(JSC::ScriptExecutable::sourceID):

14:01 Changeset [118965] by dmazzoni@google.com

Merge 117976 - Chromium AX: Crash when menulist adds selected option via document.write
https://bugs.webkit.org/show_bug.cgi?id=87028

Reviewed by Chris Fleizach.

Source/WebCore:

Test: platform/chromium/accessibility/add-to-menu-list-crashes.html

  • rendering/RenderMenuList.cpp:

(WebCore::RenderMenuList::addChild):

LayoutTests:

  • platform/chromium/accessibility/add-to-menu-list-crashes-expected.txt: Added.
  • platform/chromium/accessibility/add-to-menu-list-crashes.html: Added.

TBR=dmazzoni@google.com
Review URL: https://chromiumcodereview.appspot.com/10446087

13:52 Changeset [118964] by jberlin@webkit.org

[Win] Many editing tests failing
https://bugs.webkit.org/show_bug.cgi?id=87890

Add/updated expected (failing?) results for Windows editing tests.

  • platform/win/editing/deleting/delete-start-block-expected.txt: Added.
  • platform/win/editing/deleting/regional-indicators-expected.txt: Added.
  • platform/win/editing/input: Added.
  • platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Added.
  • platform/win/editing/input/reveal-caret-of-multiline-input-expected.txt: Added.
  • platform/win/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Added.
  • platform/win/editing/selection/caret-ltr-right-expected.txt:
  • platform/win/editing/selection/caret-rtl-2-left-expected.txt:
  • platform/win/editing/selection/caret-rtl-right-expected.txt:
  • platform/win/editing/selection/select-from-textfield-outwards-expected.txt:
  • platform/win/editing/selection/transformed-selection-rects-expected.txt:
  • platform/win/editing/spelling/grammar-paste-expected.txt: Added.
  • platform/win/editing/spelling/spellcheck-async-mutation-expected.txt: Added.
  • platform/win/editing/spelling/spellcheck-queue-expected.txt: Added.
  • platform/win/editing/spelling/spellcheck-sequencenum-expected.txt: Added.
13:50 Changeset [118963] by commit-queue@webkit.org

Unreviewed, rolling out r118913.
http://trac.webkit.org/changeset/118913
https://bugs.webkit.org/show_bug.cgi?id=87891

patch is incorrect (see comments in
https://bugs.webkit.org/show_bug.cgi?id=87889) (Requested by
thorton on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30

  • css/CSSFontFaceSrcValue.cpp:

(WebCore::CSSFontFaceSrcValue::addSubresourceStyleURLs):

  • css/CSSFontFaceSrcValue.h:

(CSSFontFaceSrcValue):

  • css/CSSPrimitiveValue.cpp:

(WebCore::CSSPrimitiveValue::addSubresourceStyleURLs):

  • css/CSSPrimitiveValue.h:

(CSSPrimitiveValue):

  • css/CSSReflectValue.cpp:

(WebCore::CSSReflectValue::addSubresourceStyleURLs):

  • css/CSSReflectValue.h:

(CSSReflectValue):

  • css/CSSValue.cpp:

(WebCore::CSSValue::addSubresourceStyleURLs):

  • css/CSSValue.h:

(CSSValue):

  • css/CSSValueList.cpp:

(WebCore::CSSValueList::addSubresourceStyleURLs):

  • css/CSSValueList.h:

(CSSValueList):

  • css/StylePropertySet.cpp:

(WebCore::StylePropertySet::addSubresourceStyleURLs):

  • css/StylePropertySet.h:

(StylePropertySet):

  • css/StyleSheetContents.cpp:

(WebCore::StyleSheetContents::addSubresourceStyleURLs):

  • css/StyleSheetContents.h:

(StyleSheetContents):

  • dom/Element.h:
  • dom/Node.cpp:

(WebCore::Node::getSubresourceURLs):

  • dom/Node.h:

(WebCore::Node::addSubresourceAttributeURLs):
(WebCore):

  • dom/ProcessingInstruction.cpp:

(WebCore::ProcessingInstruction::addSubresourceAttributeURLs):

  • dom/ProcessingInstruction.h:

(ProcessingInstruction):

  • dom/StyledElement.cpp:

(WebCore::StyledElement::addSubresourceAttributeURLs):

  • dom/StyledElement.h:

(StyledElement):

  • html/HTMLBodyElement.cpp:

(WebCore::HTMLBodyElement::addSubresourceAttributeURLs):

  • html/HTMLBodyElement.h:

(HTMLBodyElement):

  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::addSubresourceAttributeURLs):

  • html/HTMLEmbedElement.h:

(HTMLEmbedElement):

  • html/HTMLImageElement.cpp:

(WebCore::HTMLImageElement::addSubresourceAttributeURLs):

  • html/HTMLImageElement.h:

(HTMLImageElement):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::addSubresourceAttributeURLs):

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/HTMLLinkElement.cpp:

(WebCore::HTMLLinkElement::addSubresourceAttributeURLs):

  • html/HTMLLinkElement.h:

(HTMLLinkElement):

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::addSubresourceAttributeURLs):

  • html/HTMLObjectElement.h:

(HTMLObjectElement):

  • html/HTMLParamElement.cpp:

(WebCore::HTMLParamElement::addSubresourceAttributeURLs):

  • html/HTMLParamElement.h:

(HTMLParamElement):

  • html/HTMLScriptElement.cpp:

(WebCore::HTMLScriptElement::addSubresourceAttributeURLs):

  • html/HTMLScriptElement.h:

(HTMLScriptElement):

  • html/HTMLStyleElement.cpp:

(WebCore::HTMLStyleElement::addSubresourceAttributeURLs):

  • html/HTMLStyleElement.h:

(HTMLStyleElement):

  • html/HTMLTableCellElement.cpp:

(WebCore::HTMLTableCellElement::addSubresourceAttributeURLs):

  • html/HTMLTableCellElement.h:

(HTMLTableCellElement):

  • html/HTMLTableElement.cpp:

(WebCore::HTMLTableElement::addSubresourceAttributeURLs):

  • html/HTMLTableElement.h:

(HTMLTableElement):

  • svg/SVGCursorElement.cpp:

(WebCore::SVGCursorElement::addSubresourceAttributeURLs):

  • svg/SVGCursorElement.h:

(SVGCursorElement):

  • svg/SVGFEImageElement.cpp:

(WebCore::SVGFEImageElement::addSubresourceAttributeURLs):

  • svg/SVGFEImageElement.h:

(SVGFEImageElement):

  • svg/SVGImageElement.cpp:

(WebCore::SVGImageElement::addSubresourceAttributeURLs):

  • svg/SVGImageElement.h:

(SVGImageElement):

  • svg/SVGScriptElement.cpp:

(WebCore::SVGScriptElement::addSubresourceAttributeURLs):

  • svg/SVGScriptElement.h:

(SVGScriptElement):

13:47 Changeset [118962] by commit-queue@webkit.org

[EFL] Ewk_Intent_Request's postResult/postFailure should take serialized script values in argument
https://bugs.webkit.org/show_bug.cgi?id=87829

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-30
Reviewed by Adam Barth.

Source/WebKit/efl:

Ewk_Intent_Request's postResult/postFailure methods now take
SerializedScriptValues in argument instead of strings. The client can
now post results of any type, not just strings, which is according to
spec. Those methods are now moved to private header and a helper
function was added to DumpRenderTreeSupportEfl so that the DRT can
still send intent results.

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:

(DumpRenderTreeSupportEfl::sendWebIntentResponse):

  • WebCoreSupport/DumpRenderTreeSupportEfl.h:
  • ewk/ewk_intent_private.h:

(WebCore):

  • ewk/ewk_intent_request.cpp:

(ewk_intent_request_result_post):
(ewk_intent_request_failure_post):

  • ewk/ewk_intent_request.h:

Tools:

EFL's LayoutTestController now makes uses of the new helper method in
DumpRenderTreeSupportEfl in order to send the intent response. This is
now needed because the Ewk_Intent_Request postResult / postFailure
methods were made private.

  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:

(LayoutTestController::sendWebIntentResponse):

13:30 Changeset [118961] by commit-queue@webkit.org

Rename offsetTopLeft in RenderBoxModelObject to something better
https://bugs.webkit.org/show_bug.cgi?id=85915

Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-05-30
Reviewed by Darin Adler.

Renamed offsetTopLeft in RenderBoxModelObject to
adjustedPositionRelativeToOffsetParent, because it returns the given
startPoint after adjusting it to be relative to the top-left corner of
the offsetParent. The definition of offsetParent itself is non-trivial
and is documented within the body of RenderObject::offsetParent,
therefore I decided to reuse this term, as-is, in the name of this
function.

No new tests; no functional or visible changes.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::offsetLeft):
(WebCore::RenderBox::offsetTop):

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
(WebCore::RenderBoxModelObject::offsetLeft):
(WebCore::RenderBoxModelObject::offsetTop):

  • rendering/RenderBoxModelObject.h:

(RenderBoxModelObject):

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::offsetLeft):
(WebCore::RenderInline::offsetTop):

13:18 Changeset [118960] by fpizlo@apple.com

ScriptDebugServer wants sourceIDs that are non-zero because that's what HashMaps want, so JSC should placate it
https://bugs.webkit.org/show_bug.cgi?id=87887

Reviewed by Geoffrey Garen.

  • parser/SourceProvider.h:

(JSC::SourceProvider::asID):

13:17 Changeset [118959] by shawnsingh@chromium.org

[chromium] Merge shared code in CCOcclusionTrackerTest
https://bugs.webkit.org/show_bug.cgi?id=87798

Reviewed by Adrienne Walker.

This patch simple uses a different existing macro function so that
the same thing doesn't exist in multiple places, and so that the
naming is more consistent with gtest's conventions.

  • tests/CCOcclusionTrackerTest.cpp:

(WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
(WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
(WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):

12:53 Changeset [118958] by tony@chromium.org

[chromium] port webframe_unittest.cc to webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=87796

Reviewed by James Robinson.

Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPage to webkit_unit_tests.

  • tests/WebFrameTest.cpp:

(WebKit::TEST_F):
(WebKit): Add tests.

12:51 Changeset [118957] by enne@google.com

Transformed fixed position layers have an incorrect overlap map entry
https://bugs.webkit.org/show_bug.cgi?id=64201

Reviewed by Darin Adler.

Source/WebCore:

Previously, layers that both had a transform and were fixed position
were not considered as being fixed position in RenderGeometryMap or in
RenderBox::mapLocalToContainer (although this case is not incorrect in
the case of painting, so an external caller likely adjusts for this).

Tests: compositing/layer-creation/fixed-position-and-transform.html

compositing/layer-creation/fixed-position-under-transform.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::mapLocalToContainer):

  • rendering/RenderGeometryMap.cpp:

(WebCore::RenderGeometryMap::mapToAbsolute):

LayoutTests:

Add a test for a layer with both fixed position and a transform to
verify that this is considered as fixed position with respect to the
root.

Also, add a test with a child layer with fixed position and a parent
with a transform to verify that the child is not considered as fixed
position with respect to the root.

  • compositing/layer-creation/fixed-position-and-transform-expected.png: Added.
  • compositing/layer-creation/fixed-position-and-transform-expected.txt: Added.
  • compositing/layer-creation/fixed-position-and-transform.html: Added.
  • compositing/layer-creation/fixed-position-under-transform-expected.png: Added.
  • compositing/layer-creation/fixed-position-under-transform-expected.txt: Added.
  • compositing/layer-creation/fixed-position-under-transform.html: Added.
12:45 Changeset [118956] by oliver@apple.com

DFG does not correctly handle exceptions caught in the LLInt
https://bugs.webkit.org/show_bug.cgi?id=87885

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

Make the DFG use genericThrow, rather than reimplementing a small portion of it.
Also make the LLInt slow paths validate that their PC is correct.

  • dfg/DFGOperations.cpp:
  • llint/LLIntSlowPaths.cpp:

(LLInt):

LayoutTests:

Pile of code to convince the DFG to throw an exception that ends up being caught
in the LLInt

  • fast/js/exception-propagate-from-dfg-to-llint-expected.txt: Added.
  • fast/js/exception-propagate-from-dfg-to-llint.html: Added.
  • fast/js/script-tests/exception-propagate-from-dfg-to-llint.js: Added.

(o.toString):
(h):
(g):
(f1):
(f2):

12:44 Changeset [118955] by commit-queue@webkit.org

[v8] Crash after redefining setter on typed array to a number
https://bugs.webkit.org/show_bug.cgi?id=87862

Patch by Ulan Degenbaev <ulan@chromium.org> on 2012-05-30
Reviewed by Kenneth Russell.

Remove calls to typed array set() method from C++.
Store the copying script as a hidden property of a typed array prototype.

Source/WebCore:

Test: fast/canvas/webgl/array-override-set.html

  • bindings/v8/custom/V8ArrayBufferViewCustom.cpp:

(WebCore):
(WebCore::getHiddenCopyMethod):
(WebCore::installHiddenCopyMethod):
(WebCore::copyElements):

  • bindings/v8/custom/V8ArrayBufferViewCustom.h:

(WebCore):
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):

  • bindings/v8/custom/V8ArrayBufferViewCustomScript.js:

LayoutTests:

  • fast/canvas/webgl/array-override-set-expected.txt: Added.
  • fast/canvas/webgl/array-override-set.html: Added.
12:40 Changeset [118954] by schenney@chromium.org

http/tests/cache/subresource-expiration-2.html is slow on Linux

Unreviewed Chromium test expectations expansion.

  • platform/chromium/test_expectations.txt:
12:34 Changeset [118953] by timothy_horton@apple.com

fast/dom/Window/mozilla-focus-blur.html is failing on Mac
https://bugs.webkit.org/show_bug.cgi?id=87884
<rdar://problem/11558864>

Unreviewed failing baselines after http://trac.webkit.org/changeset/118916.

  • platform/mac/fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
12:32 Changeset [118952] by schenney@chromium.org

Layout Test perf/mouse-event.html is flaky on Linux
https://bugs.webkit.org/show_bug.cgi?id=87886

Unreviewed Chromium expectations update for perf/mouse-event.html

  • platform/chromium/test_expectations.txt:
12:22 Changeset [118951] by schenney@chromium.org

Unreviewed Chromium epxectations update for http/tests/media/media-source/video-media-source-errors.html

  • platform/chromium/test_expectations.txt:
12:11 Changeset [118950] by hyatt@apple.com

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

[New Multicolumn] Rename layoutColumns to relayoutForPagination and make it
virtual so that it can be implemented by RenderMultiColumnBlock.

Reviewed by Anders Carlsson.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::relayoutForPagination):

  • rendering/RenderBlock.h:

(RenderBlock):

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::relayoutForPagination):
(WebCore):

  • rendering/RenderMultiColumnBlock.h:

(RenderMultiColumnBlock):

12:08 Changeset [118949] by mrobinson@webkit.org

Check for GTK2/GTK3 symbol mismatch earlier
https://bugs.webkit.org/show_bug.cgi?id=87687

Patch by Daniel Drake <dsd@laptop.org> on 2012-05-30
Reviewed by Martin Robinson.

No new tests. Regressions in core behavior are covered by existing
plugin tests and the fix deals with particular aspects of the system
environment that are difficult to test.

Detect plugins that would mix GTK+ symbols earlier, so that the
WebKit can skip them and choose a more appropriate plugin module.

  • plugins/gtk/PluginPackageGtk.cpp: Move this code from PluginViewGtk.

(WebCore::moduleMixesGtkSymbols):
(WebCore::PluginPackage::load):

  • plugins/gtk/PluginViewGtk.cpp: Move this code to PluginPackageGtk.

(WebCore::PluginView::platformStart):

11:57 Changeset [118948] by aestes@apple.com

WebProcessMainMac.mm doesn't need to import WKView.h.

Rubber-stamped by Anders Carlsson.

  • WebProcess/mac/WebProcessMainMac.mm:
11:48 Changeset [118947] by commit-queue@webkit.org

[Qt] Support IMAGE_DECODER_DOWN_SAMPLING flag.
https://bugs.webkit.org/show_bug.cgi?id=87840

Based on patches by Qi Zhang and Jussi Lehto.
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.

  • platform/graphics/Image.cpp:

(WebCore::Image::adjustSourceRectForDownSampling):

  • platform/graphics/Image.h:

(Image):

  • platform/graphics/openvg/ImageOpenVG.cpp:

(WebCore::BitmapImage::draw):

  • platform/graphics/qt/ImageQt.cpp:

(WebCore::Image::drawPattern):
(WebCore::BitmapImage::draw):

11:44 Changeset [118946] by ap@apple.com
  • platform/wk2/Skipped: Skipping newly added file-last-modified-after-delete.html, because WTR doesn't implement beginDragWithFiles.
11:36 Changeset [118945] by shinyak@chromium.org

comparePositions in htmlediting should consider nested Shadow DOM.
https://bugs.webkit.org/show_bug.cgi?id=87623

Reviewed by Ryosuke Niwa.

Source/WebCore:

comparePositions in htmlediting.cpp didn't consider nested Shadow DOM.
This patch makes it possible to compare the nodes in nested Shadow DOM.

The algorithm is: we calculate the common tree scope of node A and B, and
adjust the nodes to the treeScope, then compare them. If the adjusted nodes
are the same, we check the shadow descendent of each node.

Test: editing/shadow/compare-positions-in-nested-shadow.html

  • dom/TreeScope.cpp:

(WebCore::listTreeScopes):
(WebCore):
(WebCore::commonTreeScope):

  • dom/TreeScope.h:

(WebCore):

  • editing/htmlediting.cpp:

(WebCore::comparePositions):

LayoutTests:

  • editing/shadow/compare-positions-in-nested-shadow-expected.txt: Added.
  • editing/shadow/compare-positions-in-nested-shadow.html: Added.
11:33 Changeset [118944] by arv@chromium.org

[V8] Clean up V8LazyEventListener to use one less function call
https://bugs.webkit.org/show_bug.cgi?id=87785

Reviewed by Kentaro Hara.

Instead of relying on 'arguments' we rely on 'this'. 'this' cannot be intercepted by a
with-statement so it is safe to use that to bind the context objects. This allows us to
remove one layer of function indirection in the generated code.

Source/WebCore:

Covered by existing tests.

  • bindings/v8/V8LazyEventListener.cpp:

(WebCore::V8LazyEventListener::prepareListenerObject):

LayoutTests:

  • platform/chromium-win/inspector/debugger/debugger-scripts-expected.txt:
11:31 Changeset [118943] by schenney@chromium.org

Unreviewed Chromium test expectations for fast/layers/scroll-with-transform-composited-layer.html

  • platform/chromium/test_expectations.txt:
11:28 Changeset [118942] by timothy_horton@apple.com

Factor DeferrableOneShotTimer out of GraphicsContextCG/GeneratorGeneratedImage
https://bugs.webkit.org/show_bug.cgi?id=87824

Reviewed by Simon Fraser.

DeferrableOneShotTimer is a timer which takes a class and method to call (as Timer does),
and a delay. It exposes restart(), stop(), and isActive(), and none of the rest of
the TimerBase interface. On restart(), the timer is started with the given delay,
unless it's already running, in which case a flag is set to automatically restart
the timer when it fires instead of calling the given method. This provides a
low-overhead way to implement a deferrable timer.

No new tests, refactoring.

  • platform/Timer.h:

(DeferrableOneShotTimer):
(WebCore::DeferrableOneShotTimer::DeferrableOneShotTimer): New class.
(WebCore::DeferrableOneShotTimer::restart):
(WebCore::DeferrableOneShotTimer::fired):

  • platform/graphics/GeneratorGeneratedImage.cpp:

(WebCore::GeneratorGeneratedImage::invalidateCacheTimerFired):

  • platform/graphics/GeneratorGeneratedImage.h:

(WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage): Make use of DeferrableOneShotTimer.

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::SubimageCacheWithTimer::SubimageCacheWithTimer): Make use of DeferrableOneShotTimer.
(WebCore::SubimageCacheWithTimer::invalidateCacheTimerFired):

11:09 Changeset [118941] by commit-queue@webkit.org

Source/WebCore: eventSender.beginDragWithFiles should be implemented in Windows, which blocked drag and drop related tests.
https://bugs.webkit.org/show_bug.cgi?id=86296

Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.

Test: This change was requirement for eventSender.beginDragWithFiles, update win/Skipped file to remove drag and drop related tests will valiate it.

  • platform/win/DragDataWin.cpp:

(WebCore::DragData::numberOfFiles):

Tools: eventSender.beginDragWithFiles should be implemented in Windows, which blocked drag and drop related tests.
https://bugs.webkit.org/show_bug.cgi?id=86296

Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.

  • DumpRenderTree/win/DRTDataObject.cpp: Added.

(cfHDropFormat):
(cfFileNameWFormat):
(cfUrlWFormat):
(WCEnumFormatEtc):
(WCEnumFormatEtc::WCEnumFormatEtc):
(WCEnumFormatEtc::QueryInterface):
(WCEnumFormatEtc::AddRef):
(WCEnumFormatEtc::Release):
(WCEnumFormatEtc::Next):
(WCEnumFormatEtc::Skip):
(WCEnumFormatEtc::Reset):
(WCEnumFormatEtc::Clone):
(DRTDataObject::createInstance):
(DRTDataObject::DRTDataObject):
(DRTDataObject::~DRTDataObject):
(DRTDataObject::QueryInterface):
(DRTDataObject::AddRef):
(DRTDataObject::Release):
(DRTDataObject::GetData):
(DRTDataObject::GetDataHere):
(DRTDataObject::QueryGetData):
(DRTDataObject::GetCanonicalFormatEtc):
(DRTDataObject::SetData):
(DRTDataObject::CopyMedium):
(DRTDataObject::EnumFormatEtc):
(DRTDataObject::DAdvise):
(DRTDataObject::DUnadvise):
(DRTDataObject::EnumDAdvise):
(DRTDataObject::clearData):

  • DumpRenderTree/win/DRTDataObject.h: Added.

(DRTDataObject):

  • DumpRenderTree/win/DRTDropSource.cpp: Added.

(DRTDropSource::DRTDropSource):
(DRTDropSource::~DRTDropSource):
(DRTDropSource::QueryInterface):
(DRTDropSource::AddRef):
(DRTDropSource::Release):
(DRTDropSource::createInstance):
(DRTDropSource::QueryContinueDrag):
(DRTDropSource::GiveFeedback):

  • DumpRenderTree/win/DRTDropSource.h: Added.

(DRTDropSource):

  • DumpRenderTree/win/DumpRenderTree.vcproj:
  • DumpRenderTree/win/EventSender.cpp:

(beginDragWithFilesCallback):

LayoutTests: The tests listed in win/Skipped should be removed after this change, but some of these need to rebaseline in Windows, we do that in bug#87610.
https://bugs.webkit.org/show_bug.cgi?id=86296

Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.

  • platform/win/Skipped:
11:07 Changeset [118940] by ap@apple.com
  • fast/files/read-blob-async-expected.txt: Updating results to what Mac WK1 bot sees (two additional "result: null" lines).
10:47 Changeset [118939] by dbarton@mathscribe.com

mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786

Somehow these weren't included in r118935.

Unreviewed gardening.

  • platform/mac-lion/Skipped:
  • platform/mac/Skipped:
10:43 WebKitGTK/1.8.x edited by mrobinson@webkit.org
(diff)
10:41 Changeset [118938] by schenney@chromium.org

Unreviewed Chromium test expectations update.

tex-image-with-format-and-type.html
tex-image-with-format-and-type.html
formaction-attribute.html
terminate-during-sync-operation.html

  • platform/chromium/test_expectations.txt:
10:29 Changeset [118937] by commit-queue@webkit.org

WebKit2: Implement layoutTestController.setPluginsEnabled() in WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=58593

Source/WebKit2:

Adds the ability to change the pluginsEnabled flag in WebCore::Settings
to WebKitTestRunner's LayoutTestController. The flag is modified via the
public C API of the WebProcess.

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.

  • WebProcess/InjectedBundle/API/c/WKBundle.cpp:

(WKBundleSetPluginsEnabled):

  • WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::setPluginsEnabled): Calls the setPluginsEnabled
method for the WebCore::Settings of each WebCore::Page in the current
page group.
(WebKit):

  • WebProcess/InjectedBundle/InjectedBundle.h:

(InjectedBundle):

Tools:

Adds the ability to change the pluginsEnabled flag in WebCore::Settings
to WebKitTestRunner's LayoutTestController. The flag is modified via the
public C API of the WebProcess.

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:

(WTR::LayoutTestController::setPluginsEnabled): Just calls the
WKBundleSetPluginsEnabled function in the public C API of WebProcess.

  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:

LayoutTests:

Unskip passing tests.

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.

  • platform/wk2/Skipped:
10:26 Changeset [118936] by rafaelw@chromium.org

Updating test expectations (css3/filters/custom-filter-property-computed-style,
fast/frames/cached-frame-counter).

  • platform/chromium/test_expectations.txt:
10:25 Changeset [118935] by dbarton@mathscribe.com

mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786

The test result files below contain slightly improved metrics (usually by a single
pixel) and some other very minor (visually undetectable) pixel changes. To be honest,
I'm not sure what caused all these changes, since a lot of mathml tests have been
skipped or failing for a while. The small metric improvements were not caused by changes
in mathml code - perhaps LayoutUnit rounding or other 1-pixel corrections in logical
width code? At any rate, I'd like to rebaseline these tests, and unskip them and other
mathml tests.

Unreviewed rebaselining/gardening.

  • platform/mac-lion/Skipped:
  • platform/mac/Skipped:
  • platform/mac/mathml/presentation/attributes-expected.png:
  • platform/mac/mathml/presentation/fenced-mi-expected.png:
  • platform/mac/mathml/presentation/fractions-expected.png:
  • platform/mac/mathml/presentation/fractions-expected.txt:
  • platform/mac/mathml/presentation/fractions-vertical-alignment-expected.png:
  • platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
  • platform/mac/mathml/presentation/mo-stretch-expected.png:
  • platform/mac/mathml/presentation/mo-stretch-expected.txt:
  • platform/mac/mathml/presentation/roots-expected.png:
  • platform/mac/mathml/presentation/subsup-expected.png:
  • platform/mac/mathml/presentation/subsup-expected.txt:
10:18 Changeset [118934] by caio.oliveira@openbossa.org

HashTable.h has using directives for std::pair and std::make_pair
https://bugs.webkit.org/show_bug.cgi?id=29919

Reviewed by Darin Adler.

Source/WebCore:

Change code to use std::pair and std::make_pair.

  • accessibility/AXObjectCache.cpp:

(WebCore::AXObjectCache::postNotification):

  • html/MediaFragmentURIParser.cpp:

(WebCore::MediaFragmentURIParser::parseFragments):

  • html/parser/HTMLMetaCharsetParser.cpp:

(WebCore::HTMLMetaCharsetParser::processMeta):

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::brokenImage):

  • page/PageSerializer.cpp:

(WebCore::isCharsetSpecifyingNode):

Source/WebKit2:

Change code to use std::pair and std::make_pair.

  • UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.mm:

(WebKit::DynamicLinkerEnvironmentExtractor::processEnvironmentVariable):

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::postMessageToInjectedBundle):

Source/WTF:

Change code to use std::pair and std::make_pair. Later patch will remove the
'using' directives.

  • wtf/HashTable.h:

(WTF::hashTableSwap):
(HashTable):

  • wtf/HashTraits.h:

(PairHashTraits):
(WTF::PairHashTraits::emptyValue):

10:17 Changeset [118933] by commit-queue@webkit.org

[EFL][DRT] http/tests/navigation/new-window-redirect-history.html does not pass
https://bugs.webkit.org/show_bug.cgi?id=87848

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-30
Reviewed by Csaba Osztrogonác.

Tools:

The reason was that DumpRenderTreeChrome::extraViews() returned copy of the vector
and dumpBackForwardListForWebViews() used iterators belonging actually to different vectors
(browser->extraViews().begin() and browser->extraViews().end()) as if they had belonged to the same vector.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::extraViews):

  • DumpRenderTree/efl/DumpRenderTreeChrome.h:

(DumpRenderTreeChrome):

LayoutTests:

  • platform/efl/Skipped: Unskipped http/tests/navigation/new-window-redirect-history.html.
10:02 Changeset [118932] by fpizlo@apple.com

DFG CFA should infer types and values of captured variables
https://bugs.webkit.org/show_bug.cgi?id=87813

Reviewed by Gavin Barraclough.

Slight speed-up in V8/earley-boyer (~1%).

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::argumentsAreCaptured):
(JSC::CodeBlock::argumentIsCaptured):
(CodeBlock):

  • dfg/DFGAbstractState.cpp:

(DFG):
(JSC::DFG::AbstractState::beginBasicBlock):
(JSC::DFG::AbstractState::initialize):
(JSC::DFG::AbstractState::endBasicBlock):
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::clobberWorld):
(JSC::DFG::AbstractState::clobberStructures):
(JSC::DFG::AbstractState::mergeStateAtTail):
(JSC::DFG::AbstractState::merge):
(JSC::DFG::AbstractState::mergeToSuccessors):

  • dfg/DFGAbstractState.h:

(JSC::DFG::AbstractState::variables):
(AbstractState):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

09:44 Changeset [118931] by paroga@webkit.org

Unreviewed. Build fix for !ENABLE(JIT) after r117823.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):

09:14 Changeset [118930] by sergio@webkit.org

Unreviewed, removed some tests from the test_expectations file as
they have been regularly passing in the 3 GTK bots for some time.

  • platform/gtk/test_expectations.txt:
09:07 Changeset [118929] by paroga@webkit.org

Unreviewed WinCE build fix after r115926.

  • WebView.cpp:
09:06 Changeset [118928] by jberlin@webkit.org

[Win] REGRESSION(r118018) fast/js/names.html failing due to JavaScriptExperiments not being
enabled on Windows
https://bugs.webkit.org/show_bug.cgi?id=87858

Skip the test on Windows to get the bots greener.

  • platform/win/Skipped:
08:49 Changeset [118927] by paroga@webkit.org

Unreviewed WinCE build fix after r117470.

  • WebCoreSupport/EditorClientWinCE.h:

(EditorClientWinCE):

08:45 Changeset [118926] by jberlin@webkit.org

More Windows test cleanup.

Update the Skipped list and tests for features turned on/off on Windows.

  • platform/win/Skipped:
  • platform/win/fast/dom/constructed-objects-prototypes-expected.txt: Added.
  • platform/win/fast/js/global-constructors-expected.txt:
08:26 Changeset [118925] by caseq@chromium.org

Web Inspector: disable ExactlyInt feature in InspectorTypeBuilder since it breaks release Windows 7 WK2
https://bugs.webkit.org/show_bug.cgi?id=87857

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-05-30
Reviewed by Yury Semikhatsky.

Code generator is patched to support old style of int parameter.

  • inspector/CodeGeneratorInspector.py:

(TypeModel.init_class):

08:17 Changeset [118924] by kenneth@webkit.org

Unreviewed: Fix wrongly typed Qt slot.

  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):

08:06 Changeset [118923] by kenneth@webkit.org

[Qt] Move ViewportAttribute related methods to the interaction engine.
https://bugs.webkit.org/show_bug.cgi?id=87855

Reviewed by Simon Hausmann.

Move the logic of didChange{ViewportProperties|ContentsSize} to the
interaction engine and update our testing object.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewLegacyPrivate::QQuickWebViewLegacyPrivate):
(QQuickWebViewFlickablePrivate::didChangeViewportProperties):
(QQuickWebViewFlickablePrivate::didChangeContentsSize):

  • UIProcess/API/qt/qquickwebview_p_p.h:

(QQuickWebViewPrivate):

  • UIProcess/API/qt/qwebkittest.cpp:

(QWebKitTest::contentsScale):
(QWebKitTest::devicePixelRatio):
(QWebKitTest::initialScale):
(QWebKitTest::minimumScale):
(QWebKitTest::maximumScale):
(QWebKitTest::isScalable):
(QWebKitTest::layoutSize):

  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::QtViewportInteractionEngine::viewportAttributesChanged):
(WebKit):
(WebKit::QtViewportInteractionEngine::pageContentsSizeChanged):

  • UIProcess/qt/QtViewportInteractionEngine.h:

(QtViewportInteractionEngine):

07:24 Changeset [118922] by paroga@webkit.org

Build fix for WinCE after r118603.

  • wtf/Atomics.h:

(WTF::weakCompareAndSwap):

07:20 Changeset [118921] by commit-queue@webkit.org

Web Inspector: Add trace() method to the WorkerConsole
https://bugs.webkit.org/show_bug.cgi?id=87656

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-05-30
Reviewed by Yury Semikhatsky.

  • inspector/front-end/HeapSnapshotProxy.js:

(WebInspector.HeapSnapshotRealWorker.prototype._messageReceived):

  • inspector/front-end/HeapSnapshotWorker.js:

(WebInspector.WorkerConsole.prototype.trace):

06:57 Changeset [118920] by kinuko@chromium.org

File.lastModifiedDate must return null if the modified time info is not available
https://bugs.webkit.org/show_bug.cgi?id=87709

Reviewed by Kentaro Hara.

Source/WebCore:

Per File API spec, File.lastModifiedDate must return null if the
modified time info is not available.
http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate

Test: http/tests/local/fileapi/file-last-modified-after-delete.html

  • fileapi/File.cpp:

(WebCore::File::lastModifiedDateForBinding): Added.
(WebCore):

  • fileapi/File.h:

(File):

  • fileapi/File.idl: Added ImplementedAs=lastModifiedDateForBinding.

LayoutTests:

  • http/tests/local/fileapi/file-last-modified-after-delete-expected.txt: Added.
  • http/tests/local/fileapi/file-last-modified-after-delete.html: Added.
  • http/tests/local/fileapi/resources/temp-file-utils.js: Added.
  • http/tests/local/fileapi/script-tests/file-last-modified-after-delete.js: Added.
  • http/tests/local/fileapi/script-tests/send-sliced-dragged-file.js: Factored out common temp-file related functions into temp-file-utils.js.
  • http/tests/local/fileapi/send-sliced-dragged-file.html:
06:56 Changeset [118919] by kenneth@webkit.org

[Qt] Do renames in ViewportInteractionEngine as agreed upon
https://bugs.webkit.org/show_bug.cgi?id=87845

Reviewed by Simon Hausmann.

Mostly moving methods around and renaming them to be more
consistent and avoid terminology clashes.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewFlickablePrivate::didChangeViewportProperties):
(QQuickWebViewFlickablePrivate::pageDidRequestScroll):
(QQuickWebViewFlickablePrivate::didChangeContentsSize):

  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::boundPosition):
(WebKit):
(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
(WebKit::QtViewportInteractionEngine::setPageItemRectVisible):
(WebKit::QtViewportInteractionEngine::animatePageItemRectVisible):
(WebKit::QtViewportInteractionEngine::flickMoveStarted):
(WebKit::QtViewportInteractionEngine::flickMoveEnded):
(WebKit::QtViewportInteractionEngine::pageItemPositionChanged):
(WebKit::QtViewportInteractionEngine::pageContentPositionRequest):
(WebKit::QtViewportInteractionEngine::scaleAnimationValueChanged):
(WebKit::QtViewportInteractionEngine::computePosRangeForPageItemAtScale):
(WebKit::QtViewportInteractionEngine::focusEditableArea):
(WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
(WebKit::QtViewportInteractionEngine::nearestValidBounds):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::pinchGestureEnded):
(WebKit::QtViewportInteractionEngine::pageItemSizeChanged):

  • UIProcess/qt/QtViewportInteractionEngine.h:

(WebKit::QtViewportInteractionEngine::setDevicePixelRatio):
(QtViewportInteractionEngine):

06:55 Changeset [118918] by commit-queue@webkit.org

[EFL][DRT] EFL's DRT needs "postProgressFinishedNotification" message
https://bugs.webkit.org/show_bug.cgi?id=87833

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-30
Reviewed by Tor Arne Vestbø.

Tools:

Print "postProgressFinishedNotification" message if frame load finished
to unskip http/tests/loading/progress-finished-callback.html.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onFrameLoadFinished):

LayoutTests:

  • platform/efl/Skipped: Unskipped http/tests/loading/progress-finished-callback.html.
06:34 Changeset [118917] by schenney@chromium.org

[Chromium] Layout Test http/tests/media/media-source/webm/video-media-source-*.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=85952

Unreviewed Chromium expectations update to broaden expectations.

  • platform/chromium/test_expectations.txt:
06:28 Changeset [118916] by jochen@chromium.org

Match Firefox restrictions to window.blur and window.focus
https://bugs.webkit.org/show_bug.cgi?id=86969

Reviewed by Adam Barth.

Source/WebCore:

Disallow window.blur altogether, and only allow window.focus to be
invoked from the context that created this very window.

There's a new setting (windowFocusRestricted) that defaults to true. If
false, the new restrictions are lifted. This can be used by ports that
would prefer to stick with the old behavior.

For tests, this setting is accessible in window.internals.settings

To temporarily allow window.focus(), an object of type
WindowFocusAllowedIndicator can be created. It is currently used to
enable window.focus() during dispatch of the click event for
notifications.

Tests: fast/dom/Window/mozilla-focus-blur.html

fast/notifications/notifications-click-event-focus.html

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • notifications/Notification.cpp:

(WebCore::Notification::dispatchClickEvent):

  • page/DOMWindow.cpp:

(WebCore::DOMWindow::focus):
(WebCore::DOMWindow::blur):

  • page/DOMWindow.h:

(DOMWindow):

  • page/DOMWindow.idl:
  • page/Settings.cpp:

(WebCore::Settings::Settings):

  • page/Settings.h:

(Settings):
(WebCore::Settings::setWindowFocusRestricted):
(WebCore::Settings::windowFocusRestricted):

  • page/WindowFocusAllowedIndicator.cpp: Added.

(WebCore):
(WebCore::WindowFocusAllowedIndicator::windowFocusAllowed):
(WebCore::WindowFocusAllowedIndicator::WindowFocusAllowedIndicator):
(WebCore::WindowFocusAllowedIndicator::~WindowFocusAllowedIndicator):

  • page/WindowFocusAllowedIndicator.h: Added.

(WebCore):
(WindowFocusAllowedIndicator):

  • testing/InternalSettings.cpp:

(WebCore::InternalSettings::InternalSettings):
(WebCore::InternalSettings::restoreTo):
(WebCore::InternalSettings::setWindowFocusRestricted):
(WebCore):

  • testing/InternalSettings.h:

(InternalSettings):

  • testing/InternalSettings.idl:

Source/WebKit/chromium:

Allow window.focus() during the dispatch of the click event on
notifications.

  • src/WebNotification.cpp:

(WebKit::WebNotification::dispatchClickEvent):

LayoutTests:

  • fast/dom/HTMLDocument/hasFocus.html:
  • fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
  • fast/dom/Window/mozilla-focus-blur.html: Added.
  • fast/notifications/notifications-click-event-focus-expected.txt: Added.
  • fast/notifications/notifications-click-event-focus.html: Added.
06:18 Changeset [118915] by zandobersek@gmail.com

Unreviewed GTK gardening, updating platform-specific baselines after r118902.

  • platform/gtk/fast/js/global-constructors-expected.txt:
05:12 Changeset [118914] by ryuan.choi@samsung.com

[EFL][WK2] Fix WebKit2-EFL build
https://bugs.webkit.org/show_bug.cgi?id=83693

Reviewed by Carlos Garcia Campos.

.:

  • Source/cmake/OptionsEfl.cmake: Define BUILDING_SOUP to build WebKit2/Efl.

Source/WebCore:

  • CMakeLists.txt: Add GestureTapHighlighter.cpp.

Source/WebKit2:

  • CMakeLists.txt: Move IDL generator codes to generate port specific *.messages.in.
  • PlatformEfl.cmake: Add soup related files after r115411 and includes to fix build break.
  • UIProcess/API/efl/PageClientImpl.cpp: Fix build break with ENABLE_TOUCH_EVENTS.

(WebKit):
(WebKit::PageClientImpl::doneWithTouchEvent):

  • UIProcess/API/efl/PageClientImpl.h:

(PageClientImpl):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp: Fix build break with ENABLE_INPUT_TYPE_COLOR and ENABLE_REGISTER_PROTOCOL_HANDLER.

(WebKit):
(WebKit::WebChromeClient::createColorChooser):

  • WebProcess/WebCoreSupport/WebChromeClient.h:

(WebChromeClient):

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: Fix build break with ENABLE_WEB_INTENTS

(WebKit):
(WebKit::WebFrameLoaderClient::dispatchIntent):

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

(WebCore):
(WebFrameLoaderClient):

  • WebProcess/WebProcess.cpp: Guard PLATFORM_STRATEGIES codes.

(WebKit::WebProcess::didGetPlugins):

  • WebProcess/soup/WebSoupRequestManager.cpp: Try to share with EFL port.

(WebKit::WebSoupRequestManager::didHandleURIRequest):

Tools:

  • CMakeLists.txt: Guard Webkit1 related codes with ENABLE_WEBKIT.
05:09 Changeset [118913] by antti@apple.com

Rename Foo::addSubresourceStyleURLs and Node::addSubresourceAttributeURLs
https://bugs.webkit.org/show_bug.cgi?id=87739

Rubber-stamped by Andreas Kling.

Rename them to collectSubresourceURLs and collectSubresourceURLsFromAttributes to match
the naming conventions.

Move collectSubresourceURLsFromAttributes from Node to Element as only elements have attributes.

  • css/CSSFontFaceSrcValue.cpp:

(WebCore::CSSFontFaceSrcValue::collectSubresourceURLs):

  • css/CSSFontFaceSrcValue.h:

(CSSFontFaceSrcValue):

  • css/CSSPrimitiveValue.cpp:

(WebCore::CSSPrimitiveValue::collectSubresourceURLs):

  • css/CSSPrimitiveValue.h:

(CSSPrimitiveValue):

  • css/CSSReflectValue.cpp:

(WebCore::CSSReflectValue::collectSubresourceURLs):

  • css/CSSReflectValue.h:

(CSSReflectValue):

  • css/CSSValue.cpp:

(WebCore::CSSValue::collectSubresourceURLs):

  • css/CSSValue.h:

(CSSValue):

  • css/CSSValueList.cpp:

(WebCore::CSSValueList::collectSubresourceURLs):

  • css/CSSValueList.h:

(CSSValueList):

  • css/StylePropertySet.cpp:

(WebCore::StylePropertySet::collectSubresourceURLs):

  • css/StylePropertySet.h:

(StylePropertySet):

  • css/StyleSheetContents.cpp:

(WebCore::StyleSheetContents::collectSubresourceURLs):

  • css/StyleSheetContents.h:

(StyleSheetContents):

  • dom/Element.h:

(WebCore::Element::collectSubresourceURLsFromAttributes):
(Element):

  • dom/Node.cpp:

(WebCore::Node::getSubresourceURLs):

  • dom/Node.h:

(WebCore):

  • dom/ProcessingInstruction.cpp:

(WebCore::ProcessingInstruction::collectSubresourceURLsFromAttributes):

  • dom/ProcessingInstruction.h:

(ProcessingInstruction):

  • dom/StyledElement.cpp:

(WebCore::StyledElement::collectSubresourceURLsFromAttributes):

  • dom/StyledElement.h:

(StyledElement):

  • html/HTMLBodyElement.cpp:

(WebCore::HTMLBodyElement::collectSubresourceURLsFromAttributes):

  • html/HTMLBodyElement.h:

(HTMLBodyElement):

  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::collectSubresourceURLsFromAttributes):

  • html/HTMLEmbedElement.h:

(HTMLEmbedElement):

  • html/HTMLImageElement.cpp:

(WebCore::HTMLImageElement::collectSubresourceURLsFromAttributes):

  • html/HTMLImageElement.h:

(HTMLImageElement):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::collectSubresourceURLsFromAttributes):

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/HTMLLinkElement.cpp:

(WebCore::HTMLLinkElement::collectSubresourceURLsFromAttributes):

  • html/HTMLLinkElement.h:

(HTMLLinkElement):

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::collectSubresourceURLsFromAttributes):

  • html/HTMLObjectElement.h:

(HTMLObjectElement):

  • html/HTMLParamElement.cpp:

(WebCore::HTMLParamElement::collectSubresourceURLsFromAttributes):

  • html/HTMLParamElement.h:

(HTMLParamElement):

  • html/HTMLScriptElement.cpp:

(WebCore::HTMLScriptElement::collectSubresourceURLsFromAttributes):

  • html/HTMLScriptElement.h:

(HTMLScriptElement):

  • html/HTMLStyleElement.cpp:

(WebCore::HTMLStyleElement::collectSubresourceURLsFromAttributes):

  • html/HTMLStyleElement.h:

(HTMLStyleElement):

  • html/HTMLTableCellElement.cpp:

(WebCore::HTMLTableCellElement::collectSubresourceURLsFromAttributes):

  • html/HTMLTableCellElement.h:

(HTMLTableCellElement):

  • html/HTMLTableElement.cpp:

(WebCore::HTMLTableElement::collectSubresourceURLsFromAttributes):

  • html/HTMLTableElement.h:

(HTMLTableElement):

  • svg/SVGCursorElement.cpp:

(WebCore::SVGCursorElement::collectSubresourceURLsFromAttributes):

  • svg/SVGCursorElement.h:

(SVGCursorElement):

  • svg/SVGFEImageElement.cpp:

(WebCore::SVGFEImageElement::collectSubresourceURLsFromAttributes):

  • svg/SVGFEImageElement.h:

(SVGFEImageElement):

  • svg/SVGImageElement.cpp:

(WebCore::SVGImageElement::collectSubresourceURLsFromAttributes):

  • svg/SVGImageElement.h:

(SVGImageElement):

  • svg/SVGScriptElement.cpp:

(WebCore::SVGScriptElement::collectSubresourceURLsFromAttributes):

  • svg/SVGScriptElement.h:

(SVGScriptElement):

04:57 Changeset [118912] by commit-queue@webkit.org

[BlackBerry] Browser crashed when selecting in textarea
https://bugs.webkit.org/show_bug.cgi?id=87484

The function FatFingers::checkForText() uses host node's whole text
to checkFingerIntersection(). We should not give the text of shadow
nodes to it.

Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-05-30
Reviewed by Antonio Gomes.

  • WebKitSupport/FatFingers.cpp:

(BlackBerry::WebKit::FatFingers::getNodesFromRect): Avoid returning
shadow nodes when the context is Text node.

04:01 Changeset [118911] by commit-queue@webkit.org

Web Inspector: Fix JS compiler warning
https://bugs.webkit.org/show_bug.cgi?id=87836

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-30
Reviewed by Yury Semikhatsky.

  • inspector/front-end/SettingsScreen.js: Fix method annotation.
03:28 Changeset [118910] by kenneth@webkit.org

[Qt] Variable renaming as preparation of further refactoring.

Rubberstamped by Simon Hausmann.

Change m_viewport to m_viewportItem and m_content to m_pageItem.

  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
(WebKit::QtViewportInteractionEngine::setItemRectVisible):
(WebKit::QtViewportInteractionEngine::animateItemRectVisible):
(WebKit::QtViewportInteractionEngine::flickableMoveStarted):
(WebKit::QtViewportInteractionEngine::flickableMoveEnded):
(WebKit::QtViewportInteractionEngine::flickableMovingPositionUpdate):
(WebKit::QtViewportInteractionEngine::scaleAnimationStateChanged):
(WebKit::QtViewportInteractionEngine::pagePositionRequest):
(WebKit::QtViewportInteractionEngine::computePosRangeForItemAtScale):
(WebKit::QtViewportInteractionEngine::focusEditableArea):
(WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
(WebKit::QtViewportInteractionEngine::nearestValidBounds):
(WebKit::QtViewportInteractionEngine::reset):
(WebKit::QtViewportInteractionEngine::setCSSScale):
(WebKit::QtViewportInteractionEngine::currentCSSScale):
(WebKit::QtViewportInteractionEngine::scrollAnimationActive):
(WebKit::QtViewportInteractionEngine::panGestureActive):
(WebKit::QtViewportInteractionEngine::panGestureStarted):
(WebKit::QtViewportInteractionEngine::panGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::panGestureEnded):
(WebKit::QtViewportInteractionEngine::panGestureCancelled):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::pinchGestureStarted):
(WebKit::QtViewportInteractionEngine::pinchGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::scaleContent):

  • UIProcess/qt/QtViewportInteractionEngine.h:

(QtViewportInteractionEngine):

02:37 Changeset [118909] by zoltan@webkit.org

[Qt] Set WebCore imagedecoders as default and add fallback to QImageDecoder
https://bugs.webkit.org/show_bug.cgi?id=80400

Source/WebCore:

This change modifies the default ImageDecoder for Qt-port from QImageDecoder to WebCore ImageDecoder.
The new behavior is to use QImageDecoder only if WebCoreImageDecoder - and the platform - doesn't support
the requested image type.
The WTF_USE_QT_IMAGE_DECODER macro has been removed, since it is no longer needed.

This change adds build depedency (except Qt-MAC and Qt-WIN platform) for libpng-dev and libjpeg-dev packages,
because PNG and JPEG imagedecoders need not only these libraries, but their headers also. Qmake-config
tests for these libraries were introduced in r110045.

Notice: with using libjpeg-turbo as a system library I measured 10% performance improvement on Methanol benchmark
(collection of popular sites, page-loading benchmark) with this patch.

Reviewed by Simon Hausmann.

No new tests needed.

  • Target.pri: Move WebCore ImageDecoder files out of guards. Remove ImageFrameQt.cpp from sources.
  • WebCore.pri: Move WebCore ImageDecoder include paths out of guards.
  • platform/MIMETypeRegistry.cpp:

(WebCore::initializeSupportedImageMIMETypes): Add WebCore supported and Qt supported MIME types.
(WebCore::initializeSupportedImageMIMETypesForEncoding): Use Qt supported MIME types.

  • platform/graphics/ImageSource.cpp: Remove unnecessary includes.
  • platform/graphics/ImageSource.h: Remove unnecessary typedefs.

(WebCore):

  • platform/graphics/qt/ImageDecoderQt.cpp: Remove ImageDecoder::create, since it is no longer needed.

(WebCore::ImageDecoderQt::filenameExtension): Remove unnecessary semicolon.
(WebCore::ImageDecoderQt::internalHandleCurrentImage): Use QImage and ImageFrame instead of QPixmap.
(WebCore):
(WebCore::ImageFrame::asNewNativeImage): Moved here from removed ImageFrameQt.cpp.

  • platform/image-decoders/ImageDecoder.cpp: Reorganize the includes of the header.

(WebCore::ImageDecoder::create): Add platform macro guarded fallback case for QImageDecoder. Add guards
for JPEG, PNG, ICO decoder for Qt-MAC and Qt-WIN platform.

  • platform/image-decoders/ImageDecoder.h: Remove Qt-specific codes.

(WebCore::ImageFrame::getAddr): Remove Qt-specific case, since it is no longer needed.
(ImageFrame):

  • platform/image-decoders/qt/ImageFrameQt.cpp: Removed. Dead code, other code has been moved to

ImageDecoderQt.cpp.

Source/WebKit/blackberry:

Get rid of QT_IMAGE_DECODER flag.

Reviewed by Simon Hausmann.

  • WebCoreSupport/AboutDataEnableFeatures.in:
02:34 Changeset [118908] by commit-queue@webkit.org

[Qt][WK2] Do not use anonymous variables for ViewportUpdateDeferrer.
https://bugs.webkit.org/show_bug.cgi?id=87831

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.

  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::QtViewportInteractionEngine::pagePositionRequest):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::itemSizeChanged):

02:08 Changeset [118907] by kinuko@chromium.org

REGRESSION: We should allow null modificationTime when snapshot metadata is given
https://bugs.webkit.org/show_bug.cgi?id=86811

Reviewed by Jian Li.

r117432 has introduced a new File constructor which allows the caller
to pass in a snapshot file metadata. In the change we had considered the
given metadata is valid if "metadata.length >= 0 AND metadata.lastModifiedDate != 0",
but we should drop the latter condition (lastModifiedDate != 0) because

  1. the value 0 is used to indicate the time information is unavailable in File, and
  2. it is valid per spec (http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate says the UA must return null if the information is not available).

(Note: the current js/v8 binding returns Date(0) for the time value 0,
which is still valid as epoch time but would fail to indicate the
unavailability of the information. In this patch I added FIXME in
File.idl and filed a separate issue http://webkit.org/b/87709)

No new tests as this change does not affect regular files/filesystems behavior.
(Tests in Chrome OS port should be able to verify this)

  • fileapi/File.cpp:

(WebCore::File::lastModifiedDate):
(WebCore::File::size):
(WebCore::File::captureSnapshot):

  • fileapi/File.h:

(File):

01:32 Changeset [118906] by ossy@webkit.org

[Qt] Gardening. Shadow DOM is disabled on Qt.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-05-30
Reviewed by Csaba Osztrogonác.

  • platform/qt/Skipped: Skip fast/dom/shadow/shadow-element.html.
01:20 Changeset [118905] by commit-queue@webkit.org

Update test expectations for tests duplicated in Skipped
https://bugs.webkit.org/show_bug.cgi?id=87822

Unreviewed gardening; updating test expectations.

Patch by David Barr <davidbarr@chromium.org> on 2012-05-30

  • platform/mac/Skipped:
  • platform/mac/test_expectations.txt:
  • platform/qt/Skipped:
  • platform/qt/test_expectations.txt:
  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-mac/Skipped:
01:17 Changeset [118904] by carlosgc@webkit.org

Unreviewed. Fix WebKit2GTK+ API tests in the bots.

  • UIProcess/API/gtk/tests/TestWebKitWebView.cpp:

(testWebViewCanShowMIMEType): Remove the check for multimedia and
plugins MIME types since they depend on the configuration and they
are not available in the bots.

01:04 QtWebKitBuildBots edited by ossy@webkit.org
Update Qt versions on the bots (diff)
00:33 Changeset [118903] by commit-queue@webkit.org

[GTK] Update test expectations after r118841.
https://bugs.webkit.org/show_bug.cgi?id=87827

Unreviewed gardening; updating test expectations

Patch by David Barr <davidbarr@chromium.org> on 2012-05-30

  • platform/gtk/test_expectations.txt:
00:26 Changeset [118902] by morrita@google.com

[Shadow DOM] HTMLContentElement and HTMLShadowElement constructors should be visible.
https://bugs.webkit.org/show_bug.cgi?id=87818

Source/WebCore:

Reviewed by Kentaro Hara.

Added them as DOMWindow properties

Tests: fast/dom/shadow/content-element-api.html

fast/dom/shadow/shadow-element.html

  • page/DOMWindow.idl:

LayoutTests:

Added constructor checks.

Reviewed by Kentaro Hara.

  • fast/dom/shadow/content-element-api-expected.txt:
  • fast/dom/shadow/content-element-api.html:
  • fast/dom/shadow/shadow-element-expected.txt:
  • fast/dom/shadow/shadow-element.html:
00:17 Changeset [118901] by commit-queue@webkit.org

Unreviewed, rolling out r118868.
http://trac.webkit.org/changeset/118868
https://bugs.webkit.org/show_bug.cgi?id=87828

introduced ~20 crashes on Mac and Qt bots (Requested by pizlo_
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30

  • heap/Heap.cpp:

(JSC::Heap::collect):

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweep):

  • heap/MarkedBlock.h:

(JSC::MarkedBlock::sweepWeakSet):
(JSC):

  • heap/MarkedSpace.cpp:

(JSC::SweepWeakSet::operator()):
(JSC):
(JSC::MarkedSpace::sweepWeakSets):

  • heap/MarkedSpace.h:

(MarkedSpace):

00:01 Changeset [118900] by mikelawther@chromium.org

CSS3 calc: Implement CSSOM support
https://bugs.webkit.org/show_bug.cgi?id=84551

Reviewed by Ryosuke Niwa.

Source/WebCore:

Adds a pretty printer for the calc expression tree.

Test: css3/calc/cssom.html

  • css/CSSCalculationValue.cpp:

(WebCore::CSSCalcValue::customCssText):
(WebCore::CSSCalcPrimitiveValue::customCssText):
(WebCore::CSSCalcBinaryOperation::customCssText):
(CSSCalcBinaryOperation):

  • css/CSSCalculationValue.h:

(CSSCalcExpressionNode):

LayoutTests:

  • css3/calc/cssom-expected.txt: Added.
  • css3/calc/cssom.html: Added.
00:00 Changeset [118899] by haraken@chromium.org

[perf-test] Add a benchmark for querySelector()
https://bugs.webkit.org/show_bug.cgi?id=87742

Reviewed by Ryosuke Niwa.

Now I am optimizing querySelector() (bug 87625).
This patch adds a performance test for querySelector().
query-selector-first.html queries an element that appears
at the head of the document. On the other hand,
query-selector-last.html queries an element that appears
at the tail of the document.

Test results in my desktop:

[query-selector-first.html]
RESULT Parser: query-selector-first= 252.339803014 runs/s
median= 253.646265594 runs/s, stdev= 2.32610873209 runs/s, min= 248.138957816 runs/s, max= 254.777070064 runs/s

RESULT Parser: query-selector-first= 252.688468897 runs/s
median= 252.684876579 runs/s, stdev= 3.60008778708 runs/s, min= 246.002460025 runs/s, max= 258.397932817 runs/s

RESULT Parser: query-selector-first= 253.466019656 runs/s
median= 254.129606099 runs/s, stdev= 1.78002675664 runs/s, min= 247.831474597 runs/s, max= 254.777070064 runs/s

RESULT Parser: query-selector-first= 256.245078189 runs/s
median= 257.06940874 runs/s, stdev= 2.84722072201 runs/s, min= 249.687890137 runs/s, max= 259.74025974 runs/s

RESULT Parser: query-selector-first= 252.203100497 runs/s
median= 252.047989175 runs/s, stdev= 1.75233446036 runs/s, min= 248.138957816 runs/s, max= 255.427841635 runs/s

[query-selector-last.html]
RESULT Parser: query-selector-last= 356.009616076 runs/s
median= 355.781448539 runs/s, stdev= 0.841519086864 runs/s, min= 354.430379747 runs/s, max= 358.056265985 runs/s

RESULT Parser: query-selector-last= 360.735271001 runs/s
median= 361.057532424 runs/s, stdev= 1.12253219867 runs/s, min= 358.514724712 runs/s, max= 362.225097025 runs/s

RESULT Parser: query-selector-last= 359.598592463 runs/s
median= 359.435173299 runs/s, stdev= 0.816538258728 runs/s, min= 358.056265985 runs/s, max= 360.824742268 runs/s

RESULT Parser: query-selector-last= 357.260651715 runs/s
median= 357.598978289 runs/s, stdev= 1.17393159885 runs/s, min= 353.982300885 runs/s, max= 358.974358974 runs/s

RESULT Parser: query-selector-last= 351.696240713 runs/s
median= 351.980025916 runs/s, stdev= 1.14200564038 runs/s, min= 348.692403487 runs/s, max= 353.535353535 runs/s

  • Parser/query-selector-first.html: Added.
  • Parser/query-selector-last.html: Added.

05/29/12:

23:37 Changeset [118898] by ossy@webkit.org

[Qt] Modified ORWT and NRWT to check for test expectations in platform/qt-5.0-wk1 too
(They only used to check for Skipped in platform/qt-5.0-wk1)
https://bugs.webkit.org/show_bug.cgi?id=87376

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-05-29
Reviewed by Csaba Osztrogonác.

  • Scripts/old-run-webkit-tests:

(buildPlatformResultHierarchy):

  • Scripts/webkitpy/layout_tests/port/qt.py:

(QtPort.baseline_search_path):

23:34 Changeset [118897] by commit-queue@webkit.org

[FileAPI] The result attribute of FileReader shuold use null to replace empty string
https://bugs.webkit.org/show_bug.cgi?id=87578

Patch by Li Yin <li.yin@intel.com> on 2012-05-29
Reviewed by Jian Li.

Source/WebCore:

Spec: http://www.w3.org/TR/FileAPI/#dfn-result
If the readyState is EMPTY (no read method has been called) or an error
in reading the File or Blob has occurred (using any read method), then the
result attribute MUST return null.

Currently, Firefox11, Opera and IE 10 follows the spec, but Webkit based
browser doesn't.
WebKit should change the returned value empty string into null to keep
conformance with the spec.

Tests: fast/files/read-file-async.html

fast/files/workers/worker-read-file-async.html

  • fileapi/FileReader.cpp:

(WebCore::FileReader::arrayBufferResult):
(WebCore::FileReader::stringResult):

LayoutTests:

Spec: http://www.w3.org/TR/FileAPI/#dfn-result
If the readyState is EMPTY (no read method has been called) or an error in
reading the File or Blob has occurred (using any read method), then the result
attribute MUST return null.

Currently, webkit return empty string, not null.

  • fast/files/read-file-async-expected.txt:
  • fast/files/resources/read-common.js:

(logResult):
(loadFailed):

  • fast/files/resources/read-file-test-cases.js:

(testReadAgainAfterFailedReadStep1):

  • fast/files/workers/worker-read-file-async-expected.txt:
23:33 Changeset [118896] by jer.noble@apple.com

Noticeable delay taking an HTML5 trailer fullscreen.
https://bugs.webkit.org/show_bug.cgi?id=87794

Reviewed by Darin Adler.

Work around a not-entirely understood delay when using the results of a CGWindowListCreateImage()
call as the contents of a placeholder view. The backing of the resulting CGImageRef resides on
the WindowServer, and drawing that image requires synchronous calls to the WindowServer process.
By copying the image data, up front, into our own process, we can avoid those synchronous calls
later and avoid the delay-causing drawing behavior.

  • UIProcess/mac/WKFullScreenWindowController.mm:

(CGImageDeepCopy): Added a helper function which copies the image data into a new CGImage.
(-[WKFullScreenWindowController enterFullScreen:]): Use the above.

23:17 Changeset [118895] by commit-queue@webkit.org

[BlackBerry] The Page's deviceScaleFactor() is not being properly maintained
https://bugs.webkit.org/show_bug.cgi?id=87817

Patch by Max Feil <mfeil@rim.com> on 2012-05-29
Reviewed by Antonio Gomes.

This bug fix in WebKit/blackberry is needed by the changes for
fullscreen media control sizing in WebCore (bug 87551). The sizing
of controls depends on the page's deviceScaleFactor(), which was
not being maintained properly due to errors in logic. Viewport
changes from non-default to default were being erroneously
thrown out. Also, when the viewport did change back to default
the deviceScaleFactor was not being updated.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments):
(BlackBerry::WebKit::WebPagePrivate::dispatchViewportPropertiesDidChange):

22:08 Changeset [118894] by pilgrim@chromium.org

[Chromium] Move fileExists to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=87531

Reviewed by Adam Barth.

Call fileExists through fileUtilities(), not directly.

Source/Platform:

  • chromium/public/Platform.h:

(Platform):

Source/WebCore:

  • platform/chromium/FileSystemChromium.cpp:

(WebCore::fileExists):

21:37 Changeset [118893] by tkent@chromium.org

[Chromium] Test expectation update.

Rebaseline for placeholder-related tests.

  • platform/chromium-linux/fast/forms/date/date-appearance-expected.txt:
  • platform/chromium-linux/fast/forms/input-placeholder-paint-order-expected.png: Added.
  • platform/chromium-linux/fast/forms/placeholder-position-expected.png:
  • platform/chromium-linux/fast/forms/search-styled-expected.txt:
  • platform/chromium-linux/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac-leopard/fast/forms/input-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac-leopard/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/forms/input-placeholder-paint-order-expected.txt: Removed.
  • platform/chromium-mac-snowleopard/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Removed.
  • platform/chromium-mac/fast/css/text-overflow-input-expected.png:
  • platform/chromium-mac/fast/forms/date/date-appearance-expected.txt:
  • platform/chromium-mac/fast/forms/input-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/chromium-mac/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/chromium-mac/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-win-xp/fast/forms/search-styled-expected.txt:
  • platform/chromium-win/fast/css/text-overflow-input-expected.txt:
  • platform/chromium-win/fast/forms/date/date-appearance-expected.txt:
  • platform/chromium-win/fast/forms/input-placeholder-paint-order-expected.png: Added.
  • platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt:
  • platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt:
  • platform/chromium-win/fast/forms/placeholder-position-expected.txt:
  • platform/chromium-win/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/chromium-win/fast/forms/search-styled-expected.txt:
  • platform/chromium-win/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt:
  • platform/chromium-win/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium/test_expectations.txt:
21:37 Changeset [118892] by haraken@chromium.org

Remove a dummy style sheet from CSSParser::parseFlowThread()
https://bugs.webkit.org/show_bug.cgi?id=87715

Reviewed by Darin Adler.

r118736 changed CSSGrammar.y so that it works fine with no style sheet.
r118736 removed a dummy style sheet from CSSParser::parserSelector().
Now we can safely remove a dummy style sheet from parserFlowThread().

Tests: fast/regions. No change in test results.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFlowThread):

21:34 Changeset [118891] by yosin@chromium.org

REGRESSION(r111497): The "option" element doesn't match CSS pseudo class :enabled
https://bugs.webkit.org/show_bug.cgi?id=87719

Reviewed by Kent Tamura.

Source/WebCore:

This patch added checking of "option" element for CSS pseudo class :enabled as same as
:disabled to selector checker. Before r111497, it was done by using isFormControlElement.
After that revision, HTMLOptionElement was no longer derived from HTMLFormControlElement.

Test: fast/form/select/optgroup-rendering.html

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector): Checking element is option element as same
as PseudoDisabled in PseudoEnabled case.

LayoutTests:

  • platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.png: Updated. Text color of option element is bule from CSS pseudo class option:enabled.
  • platform/chromium/test_expectations.txt: Update comment.
21:20 Changeset [118890] by hayato@chromium.org

Introduces ComposedShadowTreeParentWalker, extracted from ComposedShadowTreeWalker.
https://bugs.webkit.org/show_bug.cgi?id=87004

Reviewed by Dimitri Glazkov.

Introduces a ComposedShadowTreeParentWalker, which is only used
for traversing a parent node (including shadow roots and insertion
points) and get rid of an equivalent function from
ComposedShadowTreeWalker.

Before this patch, there is an inconsistency inside of
ComposedShadowTreeWalker. The Walker uses 'Policy' to decide
whether it should visit shadow roots or not, but
parentIncludingInsertionPointAndShadowRoot() member function
ignores the policy. We can not add an assertion in its
constructor due to this inconsistency. To resolve it, we could
add yet another special policy, but that makes the implementation
complex and may add some overhead in runtime. So separate the
functionality into another class as ComposedShadowTreeParentWalker.

No new tests, no new functionality except for assertion.

  • dom/ComposedShadowTreeWalker.cpp:

(WebCore::ComposedShadowTreeWalker::ComposedShadowTreeWalker):
(WebCore::ComposedShadowTreeParentWalker::ComposedShadowTreeParentWalker):
(WebCore):
(WebCore::ComposedShadowTreeParentWalker::parentIncludingInsertionPointAndShadowRoot):
(WebCore::ComposedShadowTreeParentWalker::traverseParentIncludingInsertionPointAndShadowRoot):

  • dom/ComposedShadowTreeWalker.h:

(ComposedShadowTreeWalker):
(WebCore::ComposedShadowTreeWalker::assertPrecondition):
(WebCore):
(ComposedShadowTreeParentWalker):
(WebCore::ComposedShadowTreeParentWalker::get):

  • dom/EventDispatcher.cpp:

(WebCore::EventRelatedTargetAdjuster::adjust):
(WebCore::EventDispatcher::ensureEventAncestors):

  • page/EventHandler.cpp:

(WebCore::EventHandler::updateMouseEventTargetNode):

21:05 Changeset [118889] by hayato@chromium.org

Add assertions to make sure that event's target and relatedTarget are accessible.
https://bugs.webkit.org/show_bug.cgi?id=87641

Reviewed by Dimitri Glazkov.

No new tests. No new functionality except for assertions.

  • dom/EventContext.cpp:

(WebCore::EventContext::EventContext):

  • dom/EventContext.h:

(WebCore):
(EventContext):
(WebCore::EventContext::setRelatedTarget):
(WebCore::EventContext::accessible):

21:03 Changeset [118888] by tkent@chromium.org

Fix inefficient usage of traverseNextNode()
https://bugs.webkit.org/show_bug.cgi?id=87804

Reviewed by Ryosuke Niwa.

foo->traverseNextNode(foo) is equivalent to foo->firstChild(), and
firstChild() is more efficient.

No new tests because of no behavior change.

  • html/HTMLFieldSetElement.cpp:

(WebCore::HTMLFieldSetElement::invalidateDisabledStateUnder):
Replace traverseNextNode() with firstChild(), and shorten a variable name.

  • svg/SVGSVGElement.cpp:

(WebCore::SVGSVGElement::getElementById):
Replace traverseNextNode() with firstChild().

20:51 Changeset [118887] by commit-queue@webkit.org

[BlackBerry] Loading media data with http authentication
https://bugs.webkit.org/show_bug.cgi?id=84214

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-29
Reviewed by George Staikos.

.:

Added a manual test case which needs user to provide a HTTP server
with HTTP authentication support when loading the specified media
resource. The test case will test if the media resource is successfully
loaded.

  • ManualTests/blackberry/video-load-with-authentication.html: Added.

Source/WebCore:

RIM PR: 117618
Implemented http authentication feature for media by implementing
two interface functions in class MediaPlayerPrivate:
onAuthenticationNeeded(): this function is triggered when MMR
engine requires http authentication. We search the CredentialStorage
to see if we have already stored existing credential information,
or challenge user to provide it.
OnAuthenticationAccepted(): this function is triggered when MMR
engine accepts the credential information, and we need to save
it in CredentialStorage for later use.

Internally reviewed by Max Feil <mfeil@qnx.com>.

Manual test case: blackberry/video-load-with-authentication.html

  • platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:

(WebCore::generateProtectionSpaceFromMMRAuthChallenge):
(WebCore):
(WebCore::MediaPlayerPrivate::onAuthenticationNeeded):
(WebCore::MediaPlayerPrivate::onAuthenticationAccepted):

  • platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:

(MediaPlayerPrivate):

20:33 Changeset [118886] by morrita@google.com

[Shadow DOM] Node distribution should be orthogonal from node attachment
https://bugs.webkit.org/show_bug.cgi?id=87223

Reviewed by Dimitri Glazkov.

This chagne reorganizes Shadow DOM subtree distribution implementation.

Originally, it was interleaved across attach() of several classes like
InsertionPoint and ShadowRoot. Its invalidation was also mixed as a part of
the style recalculation and detach()-es.

This change extracts these bits of code to a set of ContentDistributor methods, which are
facaded by two ElementShadow API. Following two API are the primary entry points:

  • ElementShadow::ensureDistribution()
  • ElementShadow::invalidateDistribution()

The actual implementations are ContentDistributor::distribute() and
ContentDistributor::invalidate() respectively.

When clients need to traverse composed tree, before attach() for
example, they should call ensureDistribution() to make sure that
the traversal data structure ("the distribution") is ready. When
there is any DOM mutation which can result a composed tree
mutation, then clients should call invalidateDistribution() to
mark the distribution being dated.

Here are such DOM mutations:

  • The children of any ShadowRoots are changed,
  • The children of any InsertionPoints are changed,
  • The children of any host elements are changed,
  • Any insertion point is inserted to or removed from the shadow tree,
  • @select attribute of <content> is modified and
  • New ShadowRoot is added to the shadow tree.

Note that the validity of the distribution is tracked and
unnecessary distribution requests are ignored.

After the invalidation, that shadow subtrees are detached once and
request their re-attachment through the style recalculation.
Then, on the responding style recalculation and attach(), new
distribution will be computed.

No new tests. Covered by existing tests.

  • dom/Element.cpp:

(WebCore::Element::~Element):
(WebCore::Element::childrenChanged):

  • dom/ElementShadow.cpp:

(WebCore::ElementShadow::~ElementShadow):
(WebCore::ElementShadow::addShadowRoot):
(WebCore::ElementShadow::removeAllShadowRoots):
(WebCore::ElementShadow::attach):
(WebCore::ElementShadow::recalcStyle):
(WebCore::ElementShadow::ensureDistribution):
(WebCore::ElementShadow::invalidateDistribution):

  • dom/ElementShadow.h:

(ElementShadow):

  • dom/NodeRenderingContext.cpp:

(WebCore::NodeRenderingContext::NodeRenderingContext):
(WebCore::NodeRendererFactory::createRendererIfNeeded):

  • dom/NodeRenderingContext.h:

(NodeRenderingContext):

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::setApplyAuthorStyles):
(WebCore::ShadowRoot::attach):
(WebCore::ShadowRoot::childrenChanged):
(WebCore):

  • dom/ShadowRoot.h:

(ShadowRoot):

  • html/HTMLFormControlElement.cpp:
  • html/ValidationMessage.cpp:

(WebCore::ValidationMessage::buildBubbleTree):

  • html/shadow/ContentDistributor.cpp:

(WebCore::ContentDistributor::ContentDistributor):
(WebCore::ContentDistributor::~ContentDistributor):
(WebCore::ContentDistributor::findInsertionPointFor):
(WebCore::ContentDistributor::distribute):
(WebCore::ContentDistributor::invalidate):
(WebCore::ContentDistributor::finishInivalidation):
(WebCore::ContentDistributor::distributeSelectionsTo):
(WebCore::ContentDistributor::distributeShadowChildrenTo):
(WebCore::ContentDistributor::invalidateDistributionIn):

  • html/shadow/ContentDistributor.h:

(WebCore::ContentDistributor::needsInvalidation):
(ContentDistributor):
(WebCore::ContentDistributor::needsDistribution):

  • html/shadow/HTMLContentElement.cpp:

(WebCore::HTMLContentElement::parseAttribute):

  • html/shadow/InsertionPoint.cpp:

(WebCore::InsertionPoint::attach):
(WebCore::InsertionPoint::detach):
(WebCore::InsertionPoint::nextTo):
(WebCore::InsertionPoint::previousTo):
(WebCore::InsertionPoint::childrenChanged):

  • html/shadow/InsertionPoint.h:

(WebCore::InsertionPoint::setDistribution):
(WebCore::InsertionPoint::clearDistribution):
(InsertionPoint):

20:30 Changeset [118885] by macpherson@chromium.org

Implement post-landing feedback for WebKitCSSTransformValue::customCSSText().
https://bugs.webkit.org/show_bug.cgi?id=87684

Reviewed by Darin Adler.

Darin provided some style suggesting on https://bugs.webkit.org/show_bug.cgi?id=87462 after it landed.
This patch incorporates those suggestions, namely using 0 instead of empty string for UnknownTransformOperation
and WTF_ARRAY_LENGTH instead of hard coding the array length.

Covered by existing transform tests.

  • css/WebKitCSSTransformValue.cpp:

(WebCore):
(WebCore::WebKitCSSTransformValue::customCssText):

20:15 Changeset [118884] by ojan@chromium.org

Add a linter error for pngs that lack an embedded checksum
https://bugs.webkit.org/show_bug.cgi?id=87793

Reviewed by Dirk Pranke.

  • Scripts/read-checksum-from-png:
  • Scripts/webkitpy/common/read_checksum_from_png.py: Renamed from Tools/Scripts/webkitpy/layout_tests/read_checksum_from_png.py.

(read_checksum):

  • Scripts/webkitpy/common/read_checksum_from_png_unittest.py: Renamed from Tools/Scripts/webkitpy/layout_tests/read_checksum_from_png_unittest.py.

(ReadChecksumFromPngTest):
(ReadChecksumFromPngTest.test_read_checksum):

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/style/checkers/png.py:

(PNGChecker.check):

  • Scripts/webkitpy/style/checkers/png_unittest.py:

(PNGCheckerTest.test_check):

19:28 Changeset [118883] by eric@webkit.org

Fix ENABLE_IFRAME_SEAMLESS to actually fully disable <iframe seamless>
https://bugs.webkit.org/show_bug.cgi?id=87646

Reviewed by Adam Barth.

In the process of moving the seamless feature out of github and into bugs.webkit.org
multiple versions of the shouldDisplaySeamlessly function got written
(and moved from HTMLIFrameElement to Document), but only one of them was wrapped
in ENABLE_IFRAME_SEAMLESS. HTMLIFrameElement was checking mayDisplaySeamlessly
directly (as was my original design), which got around the ENABLE_IFRAME_SEAMLESS check.
I've fixed this oversight, and the feature is now off when we tell it to be off.

This is covered by many existing tests. I've verified locally that
all tests fail when ENABLE_IFRAME_SEAMLESS is disabled instead of
only some of them.

  • dom/SecurityContext.h:

(SecurityContext):

  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::shouldDisplaySeamlessly):

19:18 Changeset [118882] by ojan@chromium.org

Show an error in the pretty diff when an image lacks a checksum
https://bugs.webkit.org/show_bug.cgi?id=87791

Reviewed by Dirk Pranke.

  • PrettyPatch/PrettyPatch.rb:
  • PrettyPatch/PrettyPatch_test.rb:
19:13 Changeset [118881] by hayato@chromium.org

Refactor shadow-dom-event-dispatching.html.
https://bugs.webkit.org/show_bug.cgi?id=87626

Reviewed by Dimitri Glazkov.

There are badly named functions in shadow-dom-event-dispatching.html.
e.g. prepareDOMTree1, prepareDOMTree2 and so on.
That should have better namings which make the intention of each test clear.

  • fast/dom/shadow/shadow-dom-event-dispatching.html:
19:01 Changeset [118880] by cevans@google.com

Merge 117971
BUG=125374
Review URL: https://chromiumcodereview.appspot.com/10447082

18:57 Changeset [118879] by cevans@google.com

Merge 117957
BUG=128342
Review URL: https://chromiumcodereview.appspot.com/10446075

18:55 Changeset [118878] by cevans@google.com

Merge 117792
BUG=127234
Review URL: https://chromiumcodereview.appspot.com/10443074

18:52 Changeset [118877] by cevans@google.com

Merge 117977
BUG=128800
Review URL: https://chromiumcodereview.appspot.com/10448069

18:51 IdlAttributes edited by thakis@chromium.org
(diff)
18:51 Changeset [118876] by cevans@google.com

Merge 117975
BUG=128800
Review URL: https://chromiumcodereview.appspot.com/10456022

18:47 Changeset [118875] by cevans@google.com

Merge 117225
BUG=127679
Review URL: https://chromiumcodereview.appspot.com/10443073

18:36 Changeset [118874] by commit-queue@webkit.org

Fix warning in preprocessing Source/WebCore/dom/DOMError.idl
https://bugs.webkit.org/show_bug.cgi?id=87763

Patch by Scott Graham <scottmg@chromium.org> on 2012-05-29
Reviewed by Adam Barth.

Add newline at end of file to avoid warning:
../dom/DOMError.idl:35:2: warning: no newline at end of file

  • dom/DOMError.idl:
18:33 Changeset [118873] by pilgrim@chromium.org

[Chromium] Move fileExists to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=87531

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

Source/Platform:

  • chromium/public/Platform.h:

(WebKit::Platform::fileExists):
(Platform):

Source/WebCore:

  • platform/chromium/FileSystemChromium.cpp:

(WebCore::fileExists):

  • platform/chromium/PlatformSupport.h:

(PlatformSupport):

Source/WebKit/chromium:

  • src/PlatformSupport.cpp:

(WebCore):

18:24 Changeset [118872] by cevans@google.com

Merge 118471
BUG=128665
Review URL: https://chromiumcodereview.appspot.com/10444080

18:17 Changeset [118871] by rakuco@webkit.org

[EFL] Gardening after r118845 and r118851.

Apparently some baselines were not updated as expected, fixing
that now.

  • platform/efl/fast/ruby/ruby-text-before-after-content-expected.png: Added.
  • platform/efl/fast/ruby/ruby-text-before-after-content-expected.txt:
  • platform/efl/fast/selectors/166-expected.png:
  • platform/efl/fast/selectors/166-expected.txt:
  • platform/efl/fast/selectors/unqualified-hover-strict-expected.png:
  • platform/efl/fast/selectors/unqualified-hover-strict-expected.txt: Added.
  • platform/efl/svg/batik/text/textAnchor-expected.txt:
  • platform/efl/svg/batik/text/textOnPath3-expected.txt:
  • platform/efl/svg/batik/text/verticalTextOnPath-expected.txt:
  • platform/efl/svg/carto.net/tabgroup-expected.txt:
  • platform/efl/transitions/cross-fade-background-image-expected.txt: Added.
  • platform/efl/transitions/cross-fade-border-image-expected.txt: Added.
18:13 Changeset [118870] by cevans@google.com

Merge 118005
BUG=128204
Review URL: https://chromiumcodereview.appspot.com/10453072

18:09 Changeset [118869] by cevans@google.com

Merge 118248
BUG=126475
Review URL: https://chromiumcodereview.appspot.com/10442075

18:05 Changeset [118868] by ggaren@apple.com

Rolled back in r118646, now that
https://bugs.webkit.org/show_bug.cgi?id=87784 is fixed.

http://trac.webkit.org/changeset/118646
https://bugs.webkit.org/show_bug.cgi?id=87599

  • heap/Heap.cpp:

(JSC::Heap::collect):

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweep):

  • heap/MarkedBlock.h:

(JSC):

  • heap/MarkedSpace.cpp:

(JSC):

  • heap/MarkedSpace.h:

(MarkedSpace):

18:04 Changeset [118867] by cevans@google.com

Merge 118592
BUG=120222
Review URL: https://chromiumcodereview.appspot.com/10459020

18:00 Changeset [118866] by cevans@google.com

Merge 118236
BUG=129357
Review URL: https://chromiumcodereview.appspot.com/10448068

17:56 Changeset [118865] by cevans@google.com

Merge 118249
BUG=129299
Review URL: https://chromiumcodereview.appspot.com/10458025

17:47 Changeset [118864] by cevans@google.com

Merge 117865
BUG=128711
Review URL: https://chromiumcodereview.appspot.com/10447080

17:38 Changeset [118863] by cevans@google.com

Merge 117482
BUG=120006
Review URL: https://chromiumcodereview.appspot.com/10448067

17:34 Changeset [118862] by haraken@chromium.org

[V8] Rename v8Null() to v8NullWithCheck()
https://bugs.webkit.org/show_bug.cgi?id=87713

Reviewed by Adam Barth.

In IRC, cmarcelo@ pointed out that v8::Null() and v8Null()
are confusing. This patch renames v8Null() to v8NullWithCheck().

No tests. No behavior change.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):

  • bindings/scripts/test/V8/V8TestActiveDOMObject.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestCustomNamedGetter.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestEventConstructor.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestEventTarget.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestException.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestInterface.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestMediaQueryListListener.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestNamedConstructor.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestNode.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestObj.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:

(WebCore::toV8):

  • bindings/v8/V8Binding.h:

(WebCore::v8NullWithCheck):
(WebCore::v8DateOrNull):

17:25 Changeset [118861] by commit-queue@webkit.org

Some Content Security Policy console messages are missing line numbers in JSC
https://bugs.webkit.org/show_bug.cgi?id=87558

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-29
Reviewed by Adam Barth.

Source/WebCore:

Make ScriptController::eventHandlerPosition() behave the same way on
JSC than V8. This means that TextPosition::minimumPosition() is
returned if parser is null, instead of
TextPosition::belowRangePosition(). The line numbers are now correctly
printed in the output of Content Security Policy tests.

Tests: http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html

http/tests/security/contentSecurityPolicy/javascript-url-blocked.html

  • bindings/js/ScriptController.cpp:

(WebCore::ScriptController::eventHandlerPosition):

LayoutTests:

Remove Mac/EFL/GTK/Qt-specific expectations for Content Security Policy
tests now that the line numbers are correctly printed.

  • platform/efl/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Removed.
  • platform/efl/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Removed.
  • platform/gtk/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Removed.
  • platform/gtk/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Removed.
  • platform/mac/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Removed.
  • platform/mac/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Removed.
  • platform/qt/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Removed.
  • platform/qt/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Removed.
17:03 Changeset [118860] by slewis@apple.com

https://bugs.webkit.org/show_bug.cgi?id=87720
WebProcess is often killed due to being unresponsive on the bots

Reviewed by Alexey Proskuryakov.

Blind attempt to improve flakiness on the bots by reducing the number
of crashes due to an unresponsive process. This helped on my personal machine
under stress conditions. I don't have enough cores to hit the problem
under normal conditions.

  • WebKitTestRunner/TestController.cpp:

(WTR):

16:46 Changeset [118859] by andersca@apple.com

String should be move enabled/optimized
https://bugs.webkit.org/show_bug.cgi?id=87596

Reviewed by Andreas Kling.

Add move constructors and move assignment operators to String and AtomicString when building with
compilers that support rvalue references. This gets rid of ref-churn when the source of the
constructor or assignment is a temporary object.

  • wtf/text/AtomicString.h:

(AtomicString):
(WTF::AtomicString::AtomicString):
(WTF::AtomicString::operator=):

  • wtf/text/WTFString.h:

(String):
(WTF::String::String):
(WTF::String::operator=):

16:43 Changeset [118858] by fpizlo@apple.com

DFG should keep captured variables alive until the (inline) return.
https://bugs.webkit.org/show_bug.cgi?id=87205

Source/JavaScriptCore:

Reviewed by Gavin Barraclough.

Changes the way we do flushing for captured variables and arguments. Instead of flushing
each SetLocal immediately, we flush at kill points. So a SetLocal will cause a Flush of
whatever was live in the variable previously, and a return will cause a Flush of all
captured variables and all arguments.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::setDirect):
(JSC::DFG::ByteCodeParser::set):
(JSC::DFG::ByteCodeParser::setLocal):
(JSC::DFG::ByteCodeParser::getArgument):
(JSC::DFG::ByteCodeParser::setArgument):
(JSC::DFG::ByteCodeParser::findArgumentPositionForArgument):
(ByteCodeParser):
(JSC::DFG::ByteCodeParser::findArgumentPositionForLocal):
(JSC::DFG::ByteCodeParser::findArgumentPosition):
(JSC::DFG::ByteCodeParser::flush):
(JSC::DFG::ByteCodeParser::flushDirect):
(JSC::DFG::ByteCodeParser::flushArgumentsAndCapturedVariables):
(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):

  • dfg/DFGCSEPhase.cpp:

(JSC::DFG::CSEPhase::setLocalStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::forwardSpeculationCheck):

LayoutTests:

Reviewed by Gavin Barraclough.

  • fast/js/dfg-inline-arguments-osr-exit-and-capture-expected.txt: Added.
  • fast/js/dfg-inline-arguments-osr-exit-and-capture.html: Added.
  • fast/js/script-tests/dfg-inline-arguments-osr-exit-and-capture.js: Added.

(foo):
(bar):
(baz):

16:42 Changeset [118857] by shawnsingh@chromium.org

[chromium] make WebTransformationMatrix object usable by non-webkit code
https://bugs.webkit.org/show_bug.cgi?id=87315

Reviewed by James Robinson.

Source/Platform:

  • chromium/public/WebTransformationMatrix.h:

(WebKit::WebTransformationMatrix::~WebTransformationMatrix):
(WebTransformationMatrix):

Source/WebCore:

This change is covered by existing tests and by whether it
compiles. There should be no changes in behavior.

  • platform/chromium/support/WebTransformationMatrix.cpp:

(WebKit::WebTransformationMatrix::WebTransformationMatrix):
(WebKit::WebTransformationMatrix::operator=):
(WebKit::WebTransformationMatrix::operator==):
(WebKit::WebTransformationMatrix::inverse):
(WebKit::WebTransformationMatrix::to2dTransform):
(WebKit::WebTransformationMatrix::multiply):
(WebKit::WebTransformationMatrix::makeIdentity):
(WebKit::WebTransformationMatrix::translate):
(WebKit::WebTransformationMatrix::translate3d):
(WebKit::WebTransformationMatrix::translateRight3d):
(WebKit::WebTransformationMatrix::scale):
(WebKit::WebTransformationMatrix::scaleNonUniform):
(WebKit::WebTransformationMatrix::scale3d):
(WebKit::WebTransformationMatrix::rotate):
(WebKit::WebTransformationMatrix::rotate3d):
(WebKit::WebTransformationMatrix::skewX):
(WebKit::WebTransformationMatrix::skewY):
(WebKit::WebTransformationMatrix::applyPerspective):
(WebKit::WebTransformationMatrix::blend):
(WebKit::WebTransformationMatrix::hasPerspective):
(WebKit::WebTransformationMatrix::isInvertible):
(WebKit::WebTransformationMatrix::isBackFaceVisible):
(WebKit::WebTransformationMatrix::isIdentity):
(WebKit::WebTransformationMatrix::isIdentityOrTranslation):
(WebKit::WebTransformationMatrix::isIntegerTranslation):
(WebKit::WebTransformationMatrix::m11):
(WebKit::WebTransformationMatrix::setM11):
(WebKit::WebTransformationMatrix::m12):
(WebKit::WebTransformationMatrix::setM12):
(WebKit::WebTransformationMatrix::m13):
(WebKit::WebTransformationMatrix::setM13):
(WebKit::WebTransformationMatrix::m14):
(WebKit::WebTransformationMatrix::setM14):
(WebKit::WebTransformationMatrix::m21):
(WebKit::WebTransformationMatrix::setM21):
(WebKit::WebTransformationMatrix::m22):
(WebKit::WebTransformationMatrix::setM22):
(WebKit::WebTransformationMatrix::m23):
(WebKit::WebTransformationMatrix::setM23):
(WebKit::WebTransformationMatrix::m24):
(WebKit::WebTransformationMatrix::setM24):
(WebKit::WebTransformationMatrix::m31):
(WebKit::WebTransformationMatrix::setM31):
(WebKit::WebTransformationMatrix::m32):
(WebKit::WebTransformationMatrix::setM32):
(WebKit::WebTransformationMatrix::m33):
(WebKit::WebTransformationMatrix::setM33):
(WebKit::WebTransformationMatrix::m34):
(WebKit::WebTransformationMatrix::setM34):
(WebKit::WebTransformationMatrix::m41):
(WebKit::WebTransformationMatrix::setM41):
(WebKit::WebTransformationMatrix::m42):
(WebKit::WebTransformationMatrix::setM42):
(WebKit::WebTransformationMatrix::m43):
(WebKit::WebTransformationMatrix::setM43):
(WebKit::WebTransformationMatrix::m44):
(WebKit::WebTransformationMatrix::setM44):
(WebKit::WebTransformationMatrix::a):
(WebKit::WebTransformationMatrix::setA):
(WebKit::WebTransformationMatrix::b):
(WebKit::WebTransformationMatrix::setB):
(WebKit::WebTransformationMatrix::c):
(WebKit::WebTransformationMatrix::setC):
(WebKit::WebTransformationMatrix::d):
(WebKit::WebTransformationMatrix::setD):
(WebKit::WebTransformationMatrix::e):
(WebKit::WebTransformationMatrix::setE):
(WebKit::WebTransformationMatrix::f):
(WebKit::WebTransformationMatrix::setF):
(WebKit::WebTransformationMatrix::toWebCoreTransform):
(WebKit::WebTransformationMatrix::mapRect):
(WebKit::WebTransformationMatrix::mapPoint):
(WebKit::WebTransformationMatrix::mapQuad):
(WebKit::WebTransformationMatrix::projectPoint):

16:40 Changeset [118856] by ggaren@apple.com

WeakGCMap should be lazy-finalization-safe
https://bugs.webkit.org/show_bug.cgi?id=87784

Reviewed by Darin Adler.

  • runtime/WeakGCMap.h:

(JSC::WeakGCMap::get): Since this is a map of raw WeakImpl pointers, and
not Weak<T>, we need to verify manually that the WeakImpl is live before
we return its payload.

16:31 Changeset [118855] by dpranke@chromium.org

webkitpy: rename 'rm' to 'delete' in rebaseline scm output
https://bugs.webkit.org/show_bug.cgi?id=87779

Reviewed by Eric Seidel.

Update output to match the names in scm.py as per
https://bugs.webkit.org/show_bug.cgi?id=87451#c26 .

  • Scripts/webkitpy/tool/commands/rebaseline.py:

(RebaselineTest.execute):

  • Scripts/webkitpy/tool/commands/rebaseline_unittest.py:

(test_rebaseline_test_and_print_scm_changes):

  • Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:

(GardeningServerTest.test_rebaselineall):

16:27 Changeset [118854] by commit-queue@webkit.org

Support WebKit log messages on Android
https://bugs.webkit.org/show_bug.cgi?id=87773

Patch by Alexandre Elias <aelias@google.com> on 2012-05-29
Reviewed by Darin Adler.

This sends WebKit log messages to the Android "logcat" facility, as
Android sends stderr to /dev/null.

  • wtf/Assertions.cpp:
16:24 Changeset [118853] by alexis.menard@openbossa.org

[CSS3 Backgrounds and Borders] Implement box-decoration-break parsing.
https://bugs.webkit.org/show_bug.cgi?id=87678

Reviewed by Eric Seidel.

Source/WebCore:

Implement the parsing part of box-decoration-break. The specification
is located at http://www.w3.org/TR/css3-background/#box-decoration-break.
So far Opera implements it. This patch only implements the parsing part of
the property. A following patch will implement the rendering part. Despite
the rendering part missing it improves http://css3test.com by 1%.

Test: fast/box-decoration-break/box-decoration-break-parsing.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

  • css/CSSParser.cpp:

(WebCore::isValidKeywordPropertyAndValue):
(WebCore::isKeywordPropertyID):

  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore):
(WebCore::CSSPrimitiveValue::operator EBoxDecorationBreak):

  • css/CSSProperty.cpp:

(WebCore::CSSProperty::isInheritedProperty):

  • css/CSSPropertyNames.in:
  • css/CSSValueKeywords.in:
  • css/StyleBuilder.cpp:

(WebCore::StyleBuilder::StyleBuilder):

  • rendering/style/RenderStyle.h:
  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleBoxData.cpp:

(WebCore::StyleBoxData::StyleBoxData):
(WebCore::StyleBoxData::operator==):

  • rendering/style/StyleBoxData.h:

(WebCore::StyleBoxData::boxDecorationBreak):
(StyleBoxData):

LayoutTests:

Add a new test to cover the parsing part of the new css property. Also rebase the
existing tests which are listing the css properties of the style.

  • fast/box-decoration-break/box-decoration-break-parsing-expected.txt: Added.
  • fast/box-decoration-break/box-decoration-break-parsing.html: Added.
  • fast/css/getComputedStyle/computed-style-expected.txt:
  • fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/chromium-linux-x86/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-mac-leopard/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/chromium-mac-leopard/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-win-vista/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
  • platform/gtk/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
  • platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/mac/svg/css/getComputedStyle-basic-expected.txt:
  • platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/qt/svg/css/getComputedStyle-basic-expected.txt:
  • platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • svg/css/getComputedStyle-basic-expected.txt:
16:20 Changeset [118852] by commit-queue@webkit.org

[text-overflow: ellipsis] WebKit should ignore the ellipsis for the purpose of dispatching mouse events
https://bugs.webkit.org/show_bug.cgi?id=63781

Patch by David Barr <davidbarr@chromium.org> on 2012-05-29
Reviewed by Eric Seidel.

Source/WebCore:

"Ellipsing only affects rendering and must not affect layout nor dispatching of pointer events."
http://www.w3.org/TR/2012/WD-css3-ui-20120117/#text-overflow

Test: fast/css/text-overflow-ellipsis-hit-test.html

  • rendering/EllipsisBox.cpp:

(WebCore::EllipsisBox::nodeAtPoint): Always return false.

LayoutTests:

  • fast/css/text-overflow-ellipsis-hit-test-expected.txt: Added.
  • fast/css/text-overflow-ellipsis-hit-test.html: Added.
16:15 Changeset [118851] by rakuco@webkit.org

[EFL] Unreviewed gardening.

Unskip a lot of fast/selectors tests which were really passing all
the time, they just needed updated baselines after the jhbuild and
font commits.

  • platform/efl/Skipped:
  • platform/efl/fast/selectors/001-expected.png:
  • platform/efl/fast/selectors/002-expected.png:
  • platform/efl/fast/selectors/003-expected.png:
  • platform/efl/fast/selectors/004-expected.png:
  • platform/efl/fast/selectors/005-expected.png:
  • platform/efl/fast/selectors/006-expected.png:
  • platform/efl/fast/selectors/007a-expected.png:
  • platform/efl/fast/selectors/007b-expected.png:
  • platform/efl/fast/selectors/008-expected.png:
  • platform/efl/fast/selectors/009-expected.png:
  • platform/efl/fast/selectors/010-expected.png:
  • platform/efl/fast/selectors/011-expected.png:
  • platform/efl/fast/selectors/012-expected.png:
  • platform/efl/fast/selectors/013-expected.png:
  • platform/efl/fast/selectors/014-expected.png:
  • platform/efl/fast/selectors/015-expected.png:
  • platform/efl/fast/selectors/018-expected.png:
  • platform/efl/fast/selectors/018b-expected.png:
  • platform/efl/fast/selectors/021-expected.png:
  • platform/efl/fast/selectors/021b-expected.png:
  • platform/efl/fast/selectors/032-expected.png:
  • platform/efl/fast/selectors/034-expected.png:
  • platform/efl/fast/selectors/038-expected.png:
  • platform/efl/fast/selectors/040-expected.png:
  • platform/efl/fast/selectors/043-expected.png:
  • platform/efl/fast/selectors/043b-expected.png:
  • platform/efl/fast/selectors/044-expected.png:
  • platform/efl/fast/selectors/044b-expected.png:
  • platform/efl/fast/selectors/044c-expected.png:
  • platform/efl/fast/selectors/044d-expected.png:
  • platform/efl/fast/selectors/045-expected.png:
  • platform/efl/fast/selectors/045b-expected.png:
  • platform/efl/fast/selectors/045c-expected.png:
  • platform/efl/fast/selectors/046-expected.png:
  • platform/efl/fast/selectors/054-expected.png:
  • platform/efl/fast/selectors/056-expected.png:
  • platform/efl/fast/selectors/058-expected.png:
  • platform/efl/fast/selectors/059-expected.png:
  • platform/efl/fast/selectors/060-expected.png:
  • platform/efl/fast/selectors/061-expected.png:
  • platform/efl/fast/selectors/063-expected.png:
  • platform/efl/fast/selectors/064-expected.png:
  • platform/efl/fast/selectors/066-expected.png:
  • platform/efl/fast/selectors/066b-expected.png:
  • platform/efl/fast/selectors/072-expected.png:
  • platform/efl/fast/selectors/072b-expected.png:
  • platform/efl/fast/selectors/077-expected.png:
  • platform/efl/fast/selectors/077b-expected.png:
  • platform/efl/fast/selectors/078b-expected.png:
  • platform/efl/fast/selectors/083-expected.png:
  • platform/efl/fast/selectors/087b-expected.png:
  • platform/efl/fast/selectors/090b-expected.png:
  • platform/efl/fast/selectors/154-expected.png:
  • platform/efl/fast/selectors/155-expected.png:
  • platform/efl/fast/selectors/155a-expected.png:
  • platform/efl/fast/selectors/155b-expected.png:
  • platform/efl/fast/selectors/155c-expected.png:
  • platform/efl/fast/selectors/155d-expected.png:
  • platform/efl/fast/selectors/156b-expected.png:
  • platform/efl/fast/selectors/157-expected.png:
  • platform/efl/fast/selectors/158-expected.png:
  • platform/efl/fast/selectors/160-expected.png:
  • platform/efl/fast/selectors/168-expected.png:
  • platform/efl/fast/selectors/168a-expected.png:
  • platform/efl/fast/selectors/169-expected.png:
  • platform/efl/fast/selectors/169a-expected.png:
  • platform/efl/fast/selectors/lang-inheritance-expected.png:
  • platform/efl/fast/selectors/lang-inheritance2-expected.png:
  • platform/efl/fast/selectors/lang-vs-xml-lang-expected.png:
  • platform/efl/fast/selectors/lang-vs-xml-lang-xhtml-expected.png:
  • platform/efl/fast/selectors/visited-descendant-expected.png:
16:12 Changeset [118850] by commit-queue@webkit.org

[BlackBerry] WebOverlay build fixes and bug fixes
https://bugs.webkit.org/show_bug.cgi?id=87780

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
Reviewed by Rob Buis.

Fix build when accelerated compositing disabled, or debug build.

Also fix a bug where the selection overlay would not disappear properly
because of a typo in WebPage::removeOverlay(). Also convert said method
to early return style.

Debug build fixes contributed by Ming Xie.

  • Api/WebOverlay.cpp:

(BlackBerry::WebKit::WebOverlay::addAnimation):
(BlackBerry::WebKit::WebOverlay::setContentsToImage):
(WebKit):
(BlackBerry::WebKit::WebOverlay::setContentsToColor):
(BlackBerry::WebKit::WebOverlay::setDrawsContent):
(BlackBerry::WebKit::WebOverlay::invalidate):
(BlackBerry::WebKit::WebOverlay::setClient):
(BlackBerry::WebKit::WebOverlay::override):
(BlackBerry::WebKit::WebOverlay::resetOverrides):

  • Api/WebOverlayOverride.cpp:

(BlackBerry::WebKit::WebOverlayOverride::WebOverlayOverride):

  • Api/WebOverlay_p.h:

(BlackBerry::WebKit::WebOverlayPrivate::~WebOverlayPrivate):

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::removeOverlay):
(BlackBerry::WebKit::WebPage::addCompositingThreadOverlay):
(BlackBerry::WebKit::WebPage::removeCompositingThreadOverlay):

16:12 Changeset [118849] by jberlin@webkit.org

<progress> element is unsupported on Windows
https://bugs.webkit.org/show_bug.cgi?id=49769

Add platform-specific results for tests that use the progress element on Windows.

  • platform/win/fast/forms/label: Added.
  • platform/win/fast/forms/label/labelable-elements-expected.txt: Added.
  • platform/win/fast/forms/label/labels-add-htmlFor-label-expected.txt: Added.
  • platform/win/fast/forms/label/labels-add-parent-label-expected.txt: Added.
  • platform/win/fast/forms/label/labels-change-htmlFor-attribute-expected.txt: Added.
  • platform/win/fast/forms/label/labels-multiple-sibling-labels-expected.txt: Added.
  • platform/win/fast/forms/label/labels-parent-and-sibling-labels-expected.txt: Added.
  • platform/win/fast/forms/label/labels-remove-htmlFor-attribute-expected.txt: Added.
  • platform/win/fast/forms/label/labels-remove-htmlFor-label-expected.txt: Added.
  • platform/win/fast/forms/label/labels-remove-parent-label-expected.txt: Added.
  • platform/win/fast/forms/label/labels-set-htmlFor-attribute-expected.txt: Added.
16:07 Changeset [118848] by gavinp@chromium.org

[Chromium] Remove assertions on state in Prerender.cpp
https://bugs.webkit.org/show_bug.cgi?id=87746

Chrome was crashing in the new Prerender API on Google Web Search; this was because the DOM would stop(), setting the
state of the Prerenders in the document to Inactive, but an asyncronous GC would later come come along and trigger the
removedFromDocument behaviour on each element, including the <link> element launching the prerender. This causes an
assertion failure.

I believe the late-deletion of the DOM, and the HTMLElement::removedFromDocument calls are legal, and it was the
overzealous assertions in Prerender that were inappropriate.

Reviewed by Adam Barth.

No new automated tests, working on a Chromium browser test. Manually test by entering many prerender and non-prerendered
queries into Google Web Search.

  • platform/chromium/Prerender.cpp:

(WebCore::Prerender::Prerender):
(WebCore::Prerender::add):
(WebCore::Prerender::cancel):
(WebCore::Prerender::abandon):

  • platform/chromium/Prerender.h:

(Prerender):

15:59 Changeset [118847] by commit-queue@webkit.org

[BlackBerry] Add malloc info to about:memory page
https://bugs.webkit.org/show_bug.cgi?id=87676

Patch by Yong Li <yoli@rim.com> on 2012-05-29
Reviewed by Rob Buis.

Detailed malloc info can tell us how much memory
in the heaps is being in use.

  • WebCoreSupport/AboutData.cpp:

(WebCore::memoryPage):

15:59 Changeset [118846] by rafaelw@chromium.org

Updating test expectation (media/track/track-cues-missed CRASH).

  • platform/chromium/test_expectations.txt:
15:53 Changeset [118845] by rakuco@webkit.org

[EFL] Unreviewed gardening.

House cleaning on Skipped: remove tests which do not exist, unskip
some which are passing and add expectations for some which were
lacking them.

  • platform/efl/Skipped:
  • platform/efl/editing/selection/fake-doubleclick-expected.png: Added.
  • platform/efl/editing/selection/fake-doubleclick-expected.txt: Added.
  • platform/efl/fast/borders/border-image-slice-constrained-expected.png: Added.
  • platform/efl/fast/borders/border-image-slice-constrained-expected.txt: Added.
  • platform/efl/fast/borders/border-mixed-alpha-expected.png: Added.
  • platform/efl/fast/borders/borderRadiusArcs01-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusDouble01-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusDouble02-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusDouble03-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusGroove01-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusGroove02-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusInset01-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusOutset01-expected.txt: Added.
  • platform/efl/fast/borders/borderRadiusRidge01-expected.txt: Added.
  • platform/efl/fast/borders/scaled-border-image-expected.png: Added.
  • platform/efl/fast/borders/scaled-border-image-expected.txt: Added.
  • platform/efl/fast/forms/input-appearance-disabled-expected.png: Added.
  • platform/efl/fast/forms/input-appearance-disabled-expected.txt: Added.
  • platform/efl/fast/forms/input-appearance-readonly-expected.png: Added.
  • platform/efl/fast/forms/input-appearance-readonly-expected.txt: Added.
  • platform/efl/fast/forms/input-placeholder-visibility-3-expected.png: Added.
  • platform/efl/fast/forms/input-placeholder-visibility-3-expected.txt: Added.
  • platform/efl/fast/forms/textarea-placeholder-visibility-1-expected.png: Added.
  • platform/efl/fast/forms/textarea-placeholder-visibility-1-expected.txt: Added.
  • platform/efl/fast/forms/textarea-placeholder-visibility-2-expected.png: Added.
  • platform/efl/fast/forms/textarea-placeholder-visibility-2-expected.txt: Added.
  • platform/efl/fast/forms/textarea-scrollbar-expected.png: Added.
  • platform/efl/fast/forms/textarea-scrollbar-expected.txt: Added.
  • platform/efl/fast/line-grid/line-grid-floating-expected.png: Added.
  • platform/efl/fast/line-grid/line-grid-floating-expected.txt: Added.
  • platform/efl/fast/line-grid/line-grid-inside-columns-expected.png: Added.
  • platform/efl/fast/line-grid/line-grid-inside-columns-expected.txt: Added.
  • platform/efl/fast/line-grid/line-grid-into-floats-expected.png: Added.
  • platform/efl/fast/line-grid/line-grid-into-floats-expected.txt: Added.
  • platform/efl/fast/line-grid/line-grid-positioned-expected.png: Added.
  • platform/efl/fast/line-grid/line-grid-positioned-expected.txt: Added.
  • platform/efl/fast/repaint/4774354-expected.png: Added.
  • platform/efl/fast/repaint/4774354-expected.txt: Added.
  • platform/efl/fast/repaint/4776765-expected.png: Added.
  • platform/efl/fast/repaint/4776765-expected.txt: Added.
  • platform/efl/fast/repaint/delete-into-nested-block-expected.png: Added.
  • platform/efl/fast/repaint/delete-into-nested-block-expected.txt: Added.
  • platform/efl/fast/repaint/inline-outline-repaint-expected.png: Added.
  • platform/efl/fast/repaint/inline-outline-repaint-expected.txt: Added.
  • platform/efl/fast/repaint/selection-after-delete-expected.png: Added.
  • platform/efl/fast/repaint/selection-after-delete-expected.txt: Added.
  • platform/efl/fast/selectors/159-expected.png: Added.
  • platform/efl/fast/selectors/159-expected.txt: Added.
  • platform/efl/fast/selectors/177a-expected.png: Added.
  • platform/efl/fast/selectors/177a-expected.txt: Added.
  • platform/efl/fast/spatial-navigation/snav-multiple-select-focusring-expected.png: Added.
  • platform/efl/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt: Added.
  • platform/efl/fast/table/colspanMinWidth-vertical-expected.png:
  • platform/efl/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/efl/fast/text/delete-hard-break-character-expected.png: Added.
  • platform/efl/fast/text/delete-hard-break-character-expected.txt: Added.
  • platform/efl/fast/writing-mode/japanese-ruby-horizontal-bt-expected.png: Added.
  • platform/efl/fast/writing-mode/japanese-ruby-horizontal-bt-expected.txt: Added.
  • platform/efl/mathml/presentation/roots-expected.png: Added.
  • platform/efl/mathml/presentation/roots-expected.txt: Added.
  • platform/efl/mathml/presentation/row-alignment-expected.png: Added.
  • platform/efl/mathml/presentation/row-alignment-expected.txt: Added.
  • platform/efl/media/controls-styling-expected.png: Added.
  • platform/efl/media/controls-styling-expected.txt: Added.
  • platform/efl/svg/batik/text/textAnchor-expected.png: Added.
  • platform/efl/svg/batik/text/textOnPath3-expected.png: Added.
  • platform/efl/svg/batik/text/verticalTextOnPath-expected.png: Added.
  • platform/efl/svg/carto.net/tabgroup-expected.png: Added.
  • platform/efl/transitions/cross-fade-background-image-expected.png: Added.
  • platform/efl/transitions/cross-fade-border-image-expected.png: Added.
  • platform/efl/transitions/default-timing-function-expected.png:
  • platform/efl/transitions/default-timing-function-expected.txt:
  • platform/efl/transitions/move-after-transition-expected.png:
  • platform/efl/transitions/move-after-transition-expected.txt:
  • platform/efl/transitions/svg-text-shadow-transition-expected.png:
  • platform/efl/transitions/svg-text-shadow-transition-expected.txt:
15:37 Changeset [118844] by jamesr@google.com

Merge 118261 - [chromium] Turn ENABLE(OVERFLOW_SCROLLING) off for Chromium port
https://bugs.webkit.org/show_bug.cgi?id=87177

Reviewed by Eric Seidel.

Source/WebKit/chromium:

Removes ENABLE(OVERFLOW_SCROLLING) from the set of enables set by Chromium. This guards a new non-standard
CSS property, -webkit-overflow-scrolling, that was introduced by iOS5 intended for mobile browsers. This
property is very partially implemented in Chromium but the way it's implemented does cause new stacking contexts
to be created that otherwise would not be, breaking "desktop" pages.

This turns the feature off until we can figure out how to deal with the compatibility issues.

  • features.gypi:

LayoutTests:

Mark test depending on ENABLE(OVERFLOW_SCROLLING) as an expected failure since the define is off.

  • platform/chromium/test_expectations.txt:

TBR=jamesr@google.com
BUG=124559
Review URL: https://chromiumcodereview.appspot.com/10447078

15:36 Changeset [118843] by rafaelw@chromium.org

Updating test expectations (fast/forms/form-associated-element-removal MISSING).

  • platform/chromium/test_expectations.txt:
15:33 Changeset [118842] by slewis@apple.com

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

Reviewed by Jessie Berlin.

Remove Snowleopard testers so the hardware can be repurposed. The lion bots
are better maintained.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
15:28 Changeset [118841] by commit-queue@webkit.org

Display cues in the controls area
https://bugs.webkit.org/show_bug.cgi?id=87591

Patch by Victor Carbune <victor@rosedu.org> on 2012-05-29
Reviewed by Eric Carlson.

Source/WebCore:

Changed the behaviour to implicitly hide the volume slidebar
if the controls are hidden (due mouse moving out of the video
area or controls are toggled through JS).

This seems to be the simplest fix to this issue, otherwise
on toggling the display:none property on the controls the
volume slidebar might appear below the video.

Re-enabled failing tests for this functionality.

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlPanelElement::makeTransparent): Re-enabled
timer to set the display:none property on the controls.

  • html/shadow/MediaControlRootElement.cpp:

(WebCore::MediaControlRootElement::hide): Added a call to hide
the volume slider.
(WebCore::MediaControlRootElement::makeTransparent): Same.

  • html/shadow/MediaControlRootElementChromium.cpp:

(WebCore::MediaControlRootElementChromium::hide): Same.
(WebCore::MediaControlRootElementChromium::makeTransparent): Same.

LayoutTests:

  • media/media-volume-slider-rendered-normal-expected.txt: Renamed from LayoutTests/media/video-controls-rendering-toggle-display-none-expected.txt.
  • media/media-volume-slider-rendered-normal.html: Renamed from LayoutTests/media/video-controls-rendering-toggle-display-none.html.
  • platform/chromium/test_expectations.txt: Unmarked tests.
  • platform/efl/test_expectations.txt: Unmarked tests.
  • platform/mac/test_expectations.txt: Unmarked tests.
15:24 Changeset [118840] by enne@google.com

Fix transparent iframes with composited contents in WK1 on Mac
https://bugs.webkit.org/show_bug.cgi?id=76478

Reviewed by Simon Fraser.

Test: compositing/iframes/repaint-after-losing-scrollbars.html

  • page/FrameView.cpp:

(WebCore::FrameView::useSlowRepaints):

15:22 Changeset [118839] by hyatt@apple.com

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

[New Multicolumn] Refactor the region and flow thread code so that it can pick up the correct column widths
and heights when determining the logical width and height of the flow thread itself.

This patch adds new virtual methods to RenderRegion: logicalWidthForFlowThreadContent and logicalHeightForFlowThreadContent.
For normal regions, these methods return the contentWidth and contentHeight of the regions themselves. For column sets,
however, these methods actually return the column widths and heights.

This allows the flow thread to properly lay out according to the column width.

Region invalidation is also done properly by using these new methods.

In some cases the code is actually simplified, since we can get rid of some isHorizontalWritingMode() switching.

With this patch the flow thread now actually lays out and paints at the right width (spilling out of the region set in a single unbroken
column).

Reviewed by Dan Bernstein.

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::computeLogicalWidth):
(WebCore::RenderFlowThread::computeLogicalHeight):

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::ensureColumnSets):

  • rendering/RenderMultiColumnBlock.h:

(WebCore::RenderMultiColumnBlock::isRenderMultiColumnBlock):
(RenderMultiColumnBlock):
(WebCore::toRenderMultiColumnBlock):
(WebCore):

  • rendering/RenderMultiColumnSet.cpp:

(WebCore::RenderMultiColumnSet::computeLogicalWidth):
(WebCore):
(WebCore::RenderMultiColumnSet::computeLogicalHeight):

  • rendering/RenderMultiColumnSet.h:

(WebCore::RenderMultiColumnSet::setColumnWidthAndCount):
(RenderMultiColumnSet):

  • rendering/RenderObject.h:

(WebCore::RenderObject::isRenderMultiColumnBlock):

  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::logicalWidthForFlowThreadContent):
(WebCore):
(WebCore::RenderRegion::logicalHeightForFlowThreadContent):
(WebCore::RenderRegion::layout):

  • rendering/RenderRegion.h:

(RenderRegion):

14:46 Changeset [118838] by dpranke@chromium.org

webkit-patch optimize-baselines should add/delete files in batches from the vcs
https://bugs.webkit.org/show_bug.cgi?id=87538

Reviewed by Ojan Vafai.

Invoking git and svn on one file at a time is kinda slow. We
should batch the add and rm operations together.

  • Scripts/webkitpy/common/checkout/baselineoptimizer.py:

(BaselineOptimizer._move_baselines):

14:39 Changeset [118837] by rakuco@webkit.org

[EFL] Gardening. Unskip passing test.

  • platform/efl/Skipped:
  • platform/efl/editing/input/emacs-ctrl-o-expected.png: Added.
  • platform/efl/editing/input/emacs-ctrl-o-expected.txt: Added.
14:30 Changeset [118836] by dpranke@chromium.org

garden-o-matic should rebaseline baselines in parallel
https://bugs.webkit.org/show_bug.cgi?id=87451

Reviewed by Ojan Vafai.

This modifies garden-o-matic so that we will fetch all
of the baselines in parallel from the bots, and then
optimize the baselines serially (since that should be fairly
quick and we get into trouble if we optimize in parallel due
to concurrent access to the source control system).

This change adds a flag to webkit-patch rebaseline-test (--print-scm-changes)
so that the files that need to be modified in the SCM are returned to
garden-o-matic rather than actually added or removed. This is done so that
we can run multiple rebaseline-tests in parallel (we can't modify the SCM
concurrently). In order to safely return the files (as a JSON dict) I
needed to shift all of the logging in rebaseline-test to use the logging
module (and hence log to stderr).

I also had to stub out a line in chromium.py that would get confused if
the skia overrides file didn't exist in a mock checkout.

  • Scripts/webkitpy/common/system/executive.py:

(Executive.popen):
(Executive):
(Executive.run_in_parallel):
(_run_command_thunk):

  • Scripts/webkitpy/common/system/executive_mock.py:

(MockExecutive.run_in_parallel):

  • Scripts/webkitpy/common/system/executive_unittest.py:

(ExecutiveTest.test_run_in_parallel):

  • Scripts/webkitpy/layout_tests/port/chromium.py:

(ChromiumPort._expectations_file_contents):

  • Scripts/webkitpy/tool/commands/rebaseline.py:

(AbstractRebaseliningCommand.init):
(RebaselineTest.init):
(RebaselineTest._copy_existing_baseline):
(RebaselineTest._save_baseline):
(RebaselineTest):
(RebaselineTest._add_to_scm):
(RebaselineTest._rebaseline_test):
(RebaselineTest.execute):
(RebaselineExpectations._rebaseline_port):
(RebaselineExpectations.execute):
(Rebaseline._builder_to_pull_from):
(Rebaseline.execute):

  • Scripts/webkitpy/tool/commands/rebaseline_unittest.py:

(test_rebaseline_updates_expectations_file):
(test_rebaseline_test):
(test_rebaseline_test_and_print_scm_changes):
(test_rebaseline_and_copy_test):
(test_rebaseline_and_copy_test_no_existing_result):
(test_rebaseline_and_copy_test_with_lion_result):
(test_rebaseline_and_copy_no_overwrite_test):
(test_rebaseline_expectations):

  • Scripts/webkitpy/tool/servers/gardeningserver.py:

(GardeningHTTPRequestHandler._rebaseline_commands):
(GardeningHTTPRequestHandler):
(GardeningHTTPRequestHandler._files_to_add):
(GardeningHTTPRequestHandler._optimize_baselines):
(GardeningHTTPRequestHandler.rebaselineall):

  • Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:

(GardeningServerTest._post_to_path):
(GardeningServerTest.test_rebaselineall):
(GardeningServerTest.test_rebaselineall.run_command):

14:20 Changeset [118835] by commit-queue@webkit.org

IndexedDB: Align codes and names for IDB-specific and DOM-specific errors/exceptions
https://bugs.webkit.org/show_bug.cgi?id=87276

Patch by Alec Flett <alecflett@chromium.org> on 2012-05-29
Reviewed by Tony Chang.

Source/WebCore:

No new tests. Existing tests have been updated to use the new
exception constant values.

The IDB spec has evolved to DOM4-style DOMExceptions, which are
referred to with MixedCase, string-based style names for
exceptions rather than UNDERSCORE_CONSTANT_ERR codes. Change to
use MixedCase error/exception names, and tease out the
IDB-specific exception/error codes/names from the system-level
codes. Make sure that the legacy IDB-masked exception code values
match the DOM exception values. Make sure that
IDBDatabaseException[exception.name] still works.

  • Modules/indexeddb/IDBDatabase.cpp:

(WebCore::IDBDatabase::createObjectStore):
(WebCore::IDBDatabase::transaction):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
(WebCore::IDBDatabaseBackendImpl::setVersion):
(WebCore::IDBDatabaseBackendImpl::transaction):

  • Modules/indexeddb/IDBDatabaseException.cpp:

(IDBDatabaseExceptionNameDescription):
(WebCore):
(WebCore::IDBDatabaseException::initializeDescription):

  • Modules/indexeddb/IDBDatabaseException.h:
  • Modules/indexeddb/IDBDatabaseException.idl:
  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore::IDBObjectStore::createIndex):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

(WebCore::IDBObjectStoreBackendImpl::index):
(WebCore::IDBObjectStoreBackendImpl::deleteIndex):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::abort):

  • Modules/indexeddb/IDBTransactionBackendImpl.cpp:

(WebCore::IDBTransactionBackendImpl::objectStore):

Source/WebKit/chromium:

  • public/WebIDBDatabaseException.h:
  • src/AssertMatchingEnums.cpp:

LayoutTests:

  • storage/indexeddb/constants-expected.txt:
  • storage/indexeddb/resources/constants.js:

(test):

14:17 Changeset [118834] by ossy@webkit.org

[Qt] Unreviewed gardening, skip new failing tests
because of missing LayoutTestController implementation.

  • platform/qt/Skipped:
14:13 Changeset [118833] by commit-queue@webkit.org

[EFL] Unskip scroll related layout tests
https://bugs.webkit.org/show_bug.cgi?id=87765

Unreviewed EFL gardening.

Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-05-29

  • platform/efl/Skipped:
14:13 Changeset [118832] by hyatt@apple.com

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

[New Multicolumn] Make sure RenderMultiColumnSets have their own copy of the count, width and height of their columns.

Reviewed by Anders Carlsson.

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
(WebCore::RenderMultiColumnBlock::ensureColumnSets):

  • rendering/RenderMultiColumnBlock.h:

(WebCore::RenderMultiColumnBlock::columnWidth):
(WebCore::RenderMultiColumnBlock::columnCount):
(RenderMultiColumnBlock):

  • rendering/RenderMultiColumnSet.cpp:

(WebCore::RenderMultiColumnSet::RenderMultiColumnSet):

  • rendering/RenderMultiColumnSet.h:

(WebCore::RenderMultiColumnSet::columnCount):
(WebCore::RenderMultiColumnSet::columnWidth):
(WebCore::RenderMultiColumnSet::columnHeight):
(RenderMultiColumnSet):
(WebCore::RenderMultiColumnSet::setColumnWidthAndCount):
(WebCore::RenderMultiColumnSet::setColumnHeight):

13:58 Changeset [118831] by jberlin@webkit.org

AX: windows DRT needs to implement ::press
https://bugs.webkit.org/show_bug.cgi?id=36145

Add more tests that use press to the Windows Skipped list.

  • platform/win/Skipped:
13:56 Changeset [118830] by ap@apple.com

fast/events/message-port-close.html hits ASSERT in Debug
https://bugs.webkit.org/show_bug.cgi?id=85811

  • platform/mac/Skipped: I think that it's just this one test with a delayed effect. Skipping it, and unskipping a victim.
13:49 Changeset [118829] by rafaelw@chromium.org

Updating chromium test_expectations (svg/dom/viewspec-parser timeouts)

  • platform/chromium/test_expectations.txt:
13:49 Changeset [118828] by simon.fraser@apple.com

Incomplete repaint on twitter.com when replying to a tweet
https://bugs.webkit.org/show_bug.cgi?id=87553

Reviewed by Dean Jackson.

Manual test that adds a transform to a layer, forcing that
layer to gain backing store.

  • ManualTests/compositing/requires-backing-change.html: Added.

Source/WebCore:

Reviewed by Dean Jackson.

Style changes can cause a compositing layer to change between
requiring its own backing store or not, e.g. with the addition
or removal of a transform.

When that happens, we need to repaint the ancesetor layer that
this layer was, or will be drawing into.

Factored some code out of layerWillBeRemoved() to be able to
also call it from setRequiresOwnBackingStore().

New manual test, ManualTests/compositing/requires-backing-change.html.
I was not able to get an automated pixel test to work.

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::setRequiresOwnBackingStore):

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::updateCompositingLayers): Remove trailing whitespace.
(WebCore::RenderLayerCompositor::repaintInCompositedAncestor):
(WebCore::RenderLayerCompositor::layerWillBeRemoved):

  • rendering/RenderLayerCompositor.h:
13:35 Changeset [118827] by jberlin@webkit.org

JSC doesn't support heap profiling.
https://bugs.webkit.org/show_bug.cgi?id=50485

Add another heap profiling test to the Mac and Windows Skipped lists.

  • platform/mac/Skipped:
  • platform/win/Skipped:
13:27 Changeset [118826] by hyatt@apple.com

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

[New Multicolumn] Make sure we have one column set by default and add it to the flow thread's region list.

Reviewed by Anders Carlsson.

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::ensureColumnSets):

  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::RenderRegion):

13:26 Changeset [118825] by ap@apple.com

WTR doesn't support beginDragWithFiles.

  • platform/wk2/Skipped: Added fast/files/file-list-test.html
13:19 Changeset [118824] by jberlin@webkit.org

Clean up the Windows WK2 Skipped list.

Update it for the moves / renames in r96918, r102226, and r108612.

  • platform/win-wk2/Skipped:
13:03 Changeset [118823] by rafaelw@chromium.org

Unreviewed. Rolled DEPS.

  • DEPS:
12:59 Changeset [118822] by jberlin@webkit.org

JSC doesn't support heap profiling.
https://bugs.webkit.org/show_bug.cgi?id=50485

Add two heap profiling tests to the Windows Skipped list.

  • platform/win/Skipped:
12:42 Changeset [118821] by benjamin@webkit.org

Fix the type of dispatch_time() offset

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-05-29
Rubber-stamped by Joseph Pecoraro.

In r118631, I erroneously used the type NSTimeInterval for the delta of dispatch_time().

  • DumpRenderTree/mac/FrameLoadDelegate.mm:

(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):

12:33 Changeset [118820] by sullivan@apple.com

Update label for blacklisted plug-in
https://bugs.webkit.org/show_bug.cgi?id=87767
rdar://problem/11550048

Reviewed by Kevin Decker.

  • English.lproj/Localizable.strings:

Regenerated.

  • platform/LocalizedStrings.cpp:

(WebCore::insecurePluginVersionText):
Changed this string.

12:30 Changeset [118819] by jchaffraix@webkit.org

REGRESSION(r111742): box-sizing: border-box doesn't work on fixed table layout
https://bugs.webkit.org/show_bug.cgi?id=87536

Reviewed by Tony Chang.

Source/WebCore:

Tests: fast/table/fixed-table-layout/cell-box-sizing-fixed-table-layout.html

fast/table/fixed-table-layout/column-box-sizing-fixed-table-layout.html
fast/table/fixed-table-layout/column-group-box-sizing-fixed-table-layout.html
fast/table/fixed-table-layout/column-in-column-group-box-sizing-fixed-table-layout.html

The change in r111742 completely ignored border-sizing (following the table's code lead unfortunately).
The issue is that we would count the borders and paddings twice for the border-box case which would lead
to the content-box including them too. From a web-author, this behavior is equivalent to ignoring box-sizing.

  • rendering/FixedTableLayout.cpp:

(WebCore::FixedTableLayout::calcWidthArray):
Reworked the function to properly use computeBorderBoxLogicalWidth() for correctness. This matches
what RenderBox and the rendering code does generally. Also refactored the code to avoid the need
for local variables and make it more readable.

LayoutTests:

  • fast/table/fixed-table-layout/cell-box-sizing-fixed-table-layout-expected.html: Added.
  • fast/table/fixed-table-layout/cell-box-sizing-fixed-table-layout.html: Added.

This test covers the regression.

  • fast/table/fixed-table-layout/column-box-sizing-fixed-table-layout-expected.html: Added.
  • fast/table/fixed-table-layout/column-box-sizing-fixed-table-layout.html: Added.
  • fast/table/fixed-table-layout/column-group-box-sizing-fixed-table-layout-expected.html: Added.
  • fast/table/fixed-table-layout/column-group-box-sizing-fixed-table-layout.html: Added.
  • fast/table/fixed-table-layout/column-in-column-group-box-sizing-fixed-table-layout-expected.html: Added.
  • fast/table/fixed-table-layout/column-in-column-group-box-sizing-fixed-table-layout.html: Added.

Those test ensured I didn't regress and document our current behavior ie that column and column group fixed
width apply to the cell's border-box.

12:28 Changeset [118818] by ojan@chromium.org

Absolute positioned elements in a relative positioned CSS3 Flexbox fail to display properly
https://bugs.webkit.org/show_bug.cgi?id=58453

Reviewed by Tony Chang.

Source/WebCore:

Test: css3/flexbox/align-absolute-child.html

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::prepareChildForPositionedLayout):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::adjustAlignmentForChild):
When adjusting positioned items, adjust their static position, not their location.
(WebCore::RenderFlexibleBox::flipForRightToLeftColumn):
(WebCore::RenderFlexibleBox::flipForWrapReverse):

  • rendering/RenderFlexibleBox.h:

LayoutTests:

  • css3/flexbox/align-absolute-child-expected.txt: Added.
  • css3/flexbox/align-absolute-child.html: Added.
  • css3/flexbox/position-absolute-child-expected.txt:
  • css3/flexbox/position-absolute-child.html:
12:23 Changeset [118817] by jberlin@webkit.org

[Win] ~1/2 of all the iframe seamless tests fail
https://bugs.webkit.org/show_bug.cgi?id=87543

Rubber-stamped by Eric Seidel.

WebKitLibraries:

Finish enabling IFRAME_SEAMLESS on Windows.

  • win/tools/vsprops/FeatureDefines.vsprops:

LayoutTests:

Remove the platform-specific results as they are no longer needed.

  • platform/win/fast/frames/seamless/seamless-basic-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-css-cascade-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-form-get-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-form-get-named-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-form-post-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-form-post-named-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-hyperlink-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-hyperlink-named-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-inherited-document-style-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-window-location-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-window-location-href-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-window-location-sandbox-expected.txt: Removed.
  • platform/win/fast/frames/seamless/seamless-window-open-expected.txt: Removed.
12:15 Changeset [118816] by inferno@chromium.org

Crash due to text fragment destruction when updating first-letter block.
https://bugs.webkit.org/show_bug.cgi?id=87751

Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/text/text-fragment-first-letter-update-crash.html

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::setStyle):

LayoutTests:

  • fast/text/text-fragment-first-letter-update-crash-expected.txt: Added.
  • fast/text/text-fragment-first-letter-update-crash.html: Added.
12:12 Changeset [118815] by hyatt@apple.com

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

Add implementation of checkForPaginationLogicalHeightChange to RenderMultiColumnBlock.

Also stub out ensureColumnSets() and write a comment describing how it's going to work.

Reviewed by Anders Carlsson.

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
(WebCore::RenderMultiColumnBlock::checkForPaginationLogicalHeightChange):
(WebCore):
(WebCore::RenderMultiColumnBlock::ensureColumnSets):

  • rendering/RenderMultiColumnBlock.h:

(WebCore::RenderMultiColumnBlock::columnHeight):
(WebCore::RenderMultiColumnBlock::setColumnHeight):
(RenderMultiColumnBlock):

11:48 Changeset [118814] by commit-queue@webkit.org

[EFL] Gardening of failing tests and new passes
https://bugs.webkit.org/show_bug.cgi?id=87754

Unreviewed gardening.

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-29

  • platform/efl/Skipped:
  • platform/efl/fast/forms/select/optgroup-rendering-expected.png: Added.
  • platform/efl/fast/forms/select/optgroup-rendering-expected.txt: Added.
  • platform/efl/test_expectations.txt:
11:42 Changeset [118813] by rniwa@webkit.org

Merge 118449 - REGRESSION (r112399): insertHTML doesn't respect current selection range and inserts HTML to incorrect position
https://bugs.webkit.org/show_bug.cgi?id=87195

Reviewed by Darin Adler.

Source/WebCore:
The bug was caused by our passing insertionPos.anchorNode() to splitTreeToNode's start node even when
the position's type was an offset in a container. Fixed the bug by passing the node after the insert position
or the container node if the position is at the end of the container.

Test: editing/pasteboard/paste-at-end-of-node-followed-by-inline-element.html

  • editing/ReplaceSelectionCommand.cpp:

(WebCore::ReplaceSelectionCommand::doApply):
LayoutTests:
Add a regression test.

  • editing/pasteboard/paste-at-end-of-node-followed-by-inline-element-expected.txt: Added.
  • editing/pasteboard/paste-at-end-of-node-followed-by-inline-element.html: Added.
11:42 Changeset [118812] by commit-queue@webkit.org

Unreviewed, rolling out r118620.
http://trac.webkit.org/changeset/118620
https://bugs.webkit.org/show_bug.cgi?id=87760

This patch causes regression to read an empty file/blob via
FileReader (Requested by jianli on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-29

Source/WebCore:

  • fileapi/FileReader.cpp:

(WebCore::FileReader::stringResult):

LayoutTests:

  • fast/files/blob-slice-test-expected.txt:
  • fast/files/read-blob-async-expected.txt:
  • fast/files/read-file-async-expected.txt:
  • fast/files/resources/read-common.js:

(logResult):

  • fast/files/workers/worker-read-blob-async-expected.txt:
  • fast/files/workers/worker-read-file-async-expected.txt:
11:39 Changeset [118811] by jberlin@webkit.org

[Win] ASSERT(m_manualStream) failed in PluginView::didFinishLoading running
fast/loader/reload-zero-byte-plugin.html

Skip the test on Windows to get the bots greener.

  • platform/win/Skipped:
11:38 Changeset [118810] by mhahnenberg@apple.com

CopiedSpace::doneCopying could start another collection
https://bugs.webkit.org/show_bug.cgi?id=86538

Reviewed by Geoffrey Garen.

It's possible that if we don't have anything at the head of to-space
after a collection and the BlockAllocator doesn't have any fresh blocks
to give us right now we could start another collection while still in
the middle of the first collection when we call CopiedSpace::addNewBlock().

One way to resolve this would be to have Heap::shouldCollect() check that
m_operationInProgress is NoOperation. This would prevent the path in
getFreshBlock() that starts the collection if we're already in the middle of one.

I could not come up with a test case to reproduce this crash on ToT.

  • heap/Heap.h:

(JSC::Heap::shouldCollect): We shouldn't collect if we're already in the middle
of a collection, i.e. the current operation should be NoOperation.

11:19 Changeset [118809] by kling@webkit.org

Make StylePropertySet a variable-sized object to reduce memory use.
<http://webkit.org/b/87506>

Reviewed by Antti Koivisto.

Make immutable StylePropertySet objects variable-sized and allocate exactly
the space needed to hold the CSSProperty objects passed at construction.
This lets us avoid the memory overhead of Vector<CSSProperty, 4>.

Renamed StylePropertySet::adopt* to create and createImmutable since they no
longer adopt the incoming vector. More cleanup will follow in this area.

This reduces memory usage across the board - the more CSS declarations,
the bigger the benefit. As an example, we save around ~0.5MB on wsj.com.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::copyPropertiesInSet):

  • css/CSSParser.cpp:

(WebCore::CSSParser::createStylePropertySet):

  • css/StylePropertySet.cpp:

(WebCore::StylePropertySet::createImmutable):
(WebCore::StylePropertySet::StylePropertySet):
(WebCore::StylePropertySet::~StylePropertySet):
(WebCore::StylePropertySet::copyPropertiesFrom):
(WebCore::StylePropertySet::removeProperty):
(WebCore::StylePropertySet::setProperty):
(WebCore::StylePropertySet::parseDeclaration):
(WebCore::StylePropertySet::addParsedProperties):
(WebCore::StylePropertySet::asText):
(WebCore::StylePropertySet::merge):
(WebCore::StylePropertySet::addSubresourceStyleURLs):
(WebCore::StylePropertySet::removePropertiesInSet):
(WebCore::StylePropertySet::findPropertyWithId):
(WebCore::StylePropertySet::removeEquivalentProperties):
(WebCore::StylePropertySet::copyPropertiesInSet):
(WebCore::StylePropertySet::averageSizeInBytes):
(SameSizeAsStylePropertySet):
(WebCore::StylePropertySet::append):

  • css/StylePropertySet.h:

(WebCore::StylePropertySet::create):
(StylePropertySet):
(WebCore::StylePropertySet::propertyAt):
(WebCore::StylePropertySet::propertyCount):
(WebCore::StylePropertySet::isEmpty):
(WebCore::StylePropertySet::array):

  • dom/StyledElement.cpp:

(WebCore::StyledElement::updateAttributeStyle):

11:15 Changeset [118808] by hyatt@apple.com

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

Pull the initial page logical height checking for columns into its own separate function. This
will allow the derived RenderMultiColumnBlock class to do its own setup there. It also has the
effect of cleaning up layoutBlock even for the existing code.

Reviewed by Anders Carlsson.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::checkForPaginationLogicalHeightChange):
(WebCore):
(WebCore::RenderBlock::layoutBlock):

  • rendering/RenderBlock.h:

(RenderBlock):

11:13 Changeset [118807] by rafaelw@chromium.org

Adding VISTA timeout expectations to a number of viewport tests. Also, narrowing optgroup-clicking.html
to be just MAC.

  • platform/chromium/test_expectations.txt:
10:55 Changeset [118806] by commit-queue@webkit.org

Update cue event dispatching for zero and negative duration cues
https://bugs.webkit.org/show_bug.cgi?id=85143

Patch by Victor Carbune <victor@rosedu.org> on 2012-05-29
Reviewed by Eric Carlson.

Source/WebCore:

Updated existing test.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::updateActiveTextTrackCues): Explicitly
treated event dispatching for zero and negative duration cues.
(WebCore::HTMLMediaElement::textTrackAddCue): Interval tree doesn't
handle invalid cues with intervals - negative cues need to be treated
as zero-length cues as they are always missed cues anyway.
(WebCore::HTMLMediaElement::textTrackRemoveCue): Same.

LayoutTests:

  • media/track/captions-webvtt/missed-cues.vtt: Added negative

duration cue and changed a missed cue to have zero-length.

  • media/track/track-cues-missed-expected.txt: Updated.
  • media/track/track-cues-missed.html: Updated.
10:50 Changeset [118805] by commit-queue@webkit.org

[BlackBerry] Make DefaultTapHighlight use the new WebOverlay API
https://bugs.webkit.org/show_bug.cgi?id=87604

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
Reviewed by Antonio Gomes.

Also add a new method to allow the embedder to use the default tap
highlight instead of replacing it with a custom one just to keep track
of the "shouldHideAfterScroll" flag.

PR #160262.

  • Api/WebTapHighlight.h:
  • WebKitSupport/DefaultTapHighlight.cpp:

(BlackBerry::WebKit::DefaultTapHighlight::DefaultTapHighlight):
(BlackBerry::WebKit::DefaultTapHighlight::draw):
(BlackBerry::WebKit::DefaultTapHighlight::hide):
(BlackBerry::WebKit::DefaultTapHighlight::paintContents):

  • WebKitSupport/DefaultTapHighlight.h:

(BlackBerry::WebKit::DefaultTapHighlight::shouldHideAfterScroll):
(DefaultTapHighlight):

10:50 Changeset [118804] by morrita@google.com

ShadowRoot.getElementById() returns removed node.
https://bugs.webkit.org/show_bug.cgi?id=62184

Source/WebCore:

Deregitration of m_elementsById map is done at Element::removedFrom()
But the tree scope of the removed node is already reset from a shadow root
to a document.

This change lookup the old shadow root through its parent node and
deregitrater the node against it.

Reviewed by Dimitri Glazkov.

Test: fast/dom/shadow/get-element-by-id-in-shadow-mutation.html

  • dom/Element.cpp:

(WebCore::treeScopeOfParent):
(WebCore):
(WebCore::Element::removedFrom):

  • dom/Element.h:

(Element):
(WebCore::Element::updateId):
(WebCore):

LayoutTests:

Reviewed by Dimitri Glazkov.

  • fast/dom/shadow/get-element-by-id-in-shadow-mutation-expected.txt: Added.
  • fast/dom/shadow/get-element-by-id-in-shadow-mutation.html: Added.
10:46 Changeset [118803] by danakj@chromium.org

[chromium] Unoccluded area in surfaces should always be clipped to the rootScissorRect
https://bugs.webkit.org/show_bug.cgi?id=87677

Reviewed by Adrienne Walker.

Source/WebCore:

When a contributing surface is visited, and we have not visited another
surface, then we know the surface is completely unoccluded. However, the
root scissor rect should still be applied, and anything outside of it
should be considered occluded.

Unit test: WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor

  • platform/graphics/chromium/RenderSurfaceChromium.cpp:

(WebCore::RenderSurfaceChromium::targetRenderSurface):
(WebCore):

  • platform/graphics/chromium/RenderSurfaceChromium.h:

(RenderSurfaceChromium):

  • platform/graphics/chromium/cc/CCOcclusionTracker.cpp:

(WebCore::::unoccludedContributingSurfaceContentRect):

  • platform/graphics/chromium/cc/CCRenderSurface.cpp:

(WebCore::CCRenderSurface::targetRenderSurface):
(WebCore):

  • platform/graphics/chromium/cc/CCRenderSurface.h:

(CCRenderSurface):

Source/WebKit/chromium:

  • tests/CCOcclusionTrackerTest.cpp:

(CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor):
(WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
(WebKitTests):

10:23 Changeset [118802] by ap@apple.com
  • platform/mac/Skipped: Skipping a heap profiler test (unsupported functionality).
10:14 Changeset [118801] by commit-queue@webkit.org

[BlackBerry] Refactoring http/proxy authentication to use authcallback mechanism introduced with libcurl
https://bugs.webkit.org/show_bug.cgi?id=87706

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-29
Reviewed by Antonio Gomes.

Because we use authentication callback mechanism of libcurl,
which will take care of all the authentication communication
between UA and server, so the only thing we need to do is to
provide credential information when authentication callback
is triggered. By using this we don't need to process
intermediate headers for each http authentication scheme.

Implemented interface function notifyAuthReceived() in
NetworkJob to handle the authentication notification from
networking thread.
When the authentication callback is triggered, we should
cancel the current loading request and restart a new one with
credential information attached which comes from
credentialStorage or user input.

Internally reviewed by Joe Mason <jmason@rim.com>.

No new tests since there is no behavior change.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::notifyAuthReceived):
(WebCore):
(WebCore::NetworkJob::handleNotifyHeaderReceived):
(WebCore::NetworkJob::sendRequestWithCredentials):

  • platform/network/blackberry/NetworkJob.h:

(NetworkJob):

10:02 Changeset [118800] by jberlin@webkit.org

Merge r118078, which skips the test added in r118039, onto the 536 branch.

WTR does not have support for layoutTestController.setPrinting yet.

  • platform/wk2/Skipped:
09:57 Changeset [118799] by commit-queue@webkit.org

[BlackBerry] http authentication challenge issue when loading subresource
https://bugs.webkit.org/show_bug.cgi?id=87660

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-29
Reviewed by Rob Buis.

We should try to store the credential information as soon as we
receive http status notification which indicates that the
authentication succeeds, instead of storing credentials when the
main resource receives notify done which is too late for loading
subresource.

Internally reviewed by Joe Mason <jmason@rim.com>

No new tests since there is no change in behavior.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::handleNotifyStatusReceived):
(WebCore::NetworkJob::handleNotifyClose):

09:52 Changeset [118798] by ap@apple.com

[Mac] Move DefaultFonts.plist to C++ code
https://bugs.webkit.org/show_bug.cgi?id=87560
<rdar://problem/11466119>

Reviewed by Dan Bernstein.

  • DerivedSources.make:
  • Resources/DefaultFonts.plist.in: Removed.
  • WebCore.xcodeproj/project.pbxproj:
  • page/mac/SettingsMac.mm: (WebCore::Settings::initializeDefaultFontFamilies):

Instead of having a separate configuration file, just hardcode the settings in C++.

09:49 Changeset [118797] by jberlin@webkit.org

Regression: fast/forms/select/optgroup-clicking.html is failing / timing out
https://bugs.webkit.org/show_bug.cgi?id=87748

This test times out on Mac if there is no interaction with the keyboard. Skip it to keep the
bots green.

  • platform/mac/Skipped:
09:48 Changeset [118796] by commit-queue@webkit.org

[GTK] [WK2] Reproducible crash in performDragControllerAction
https://bugs.webkit.org/show_bug.cgi?id=87744

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-29
Reviewed by Martin Robinson.

Fix a crash by using deref() instead of delete to dereference and
release the platformData of DragData.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::performDragControllerAction):

09:47 Changeset [118795] by commit-queue@webkit.org

[GTK] Missing field initializers for WKPageLoaderClient and WKPageUIClient
https://bugs.webkit.org/show_bug.cgi?id=87745

Patch by Simon Pena <spena@igalia.com> on 2012-05-29
Reviewed by Carlos Garcia Campos.

Add missing initializers for WKPageLoaderClient and
WKPageUIClient, for callbacks WKPagePluginDidFailCallback and
WKPageUnavailablePluginButtonClickedCallback, introduced in
revision r116716.

  • UIProcess/API/gtk/WebKitLoaderClient.cpp:

(attachLoaderClientToView): Initialize WKPagePluginDidFailCallback

  • UIProcess/API/gtk/WebKitUIClient.cpp:

(attachUIClientToView): Initialize callback
WKPageUnavailablePluginButtonClickedCallback

09:44 Changeset [118794] by carlosgc@webkit.org

[GTK] Policy decision headers are not included in the main webkit2.h header
https://bugs.webkit.org/show_bug.cgi?id=87753

Reviewed by Martin Robinson.

  • UIProcess/API/gtk/webkit2.h: Include

WebKitNavigationPolicyDecision.h and WebKitResponsePolicyDecision.h.

09:36 Changeset [118793] by commit-queue@webkit.org

Web Inspector: Retainers are missing for all objects
https://bugs.webkit.org/show_bug.cgi?id=87655

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-05-29
Reviewed by Yury Semikhatsky.

Source/WebCore:

  • inspector/front-end/HeapSnapshotDataGrids.js:

(WebInspector.HeapSnapshotContainmentDataGrid.prototype.setDataSource):

LayoutTests:

  • inspector/profiler/heap-snapshot-summary-retainers-expected.txt: Added.
  • inspector/profiler/heap-snapshot-summary-retainers.html: Added.
  • inspector/profiler/heap-snapshot-test.js:

(initialize_HeapSnapshotTest.):
(initialize_HeapSnapshotTest):

09:31 Changeset [118792] by commit-queue@webkit.org

[GTK] fast tests needs rebaseline after r118733
https://bugs.webkit.org/show_bug.cgi?id=87729

Unreviewed GTK gardening, updated fast pngs.

Patch by Simon Pena <spena@igalia.com> on 2012-05-29

  • platform/gtk/fast/forms/input-placeholder-visibility-1-expected.png:
  • platform/gtk/fast/forms/input-placeholder-visibility-3-expected.png:
  • platform/gtk/fast/forms/placeholder-position-expected.png:
  • platform/gtk/fast/forms/placeholder-pseudo-style-expected.png:
  • platform/gtk/fast/forms/search-styled-expected.png:
  • platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.png:
  • platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.png:
  • platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.png:
09:29 Changeset [118791] by jberlin@webkit.org

[Mac] fast/forms/select/optgroup-rendering.html "failing" since introduction in r118772
https://bugs.webkit.org/show_bug.cgi?id=87752

Add expected (failing?) results to get the bots green.

  • platform/mac/fast/forms/select/optgroup-rendering-expected.png: Added.
  • platform/mac/fast/forms/select/optgroup-rendering-expected.txt: Added.
09:28 Changeset [118790] by zandobersek@gmail.com

Unreviewed GTK gardening after r118776. The failing test was split into
5 separate tests, but we're still failing all of them.

  • platform/gtk/test_expectations.txt:
09:27 Changeset [118789] by philn@webkit.org

[GStreamer] Video sink doesn't respect WebKit code style
https://bugs.webkit.org/show_bug.cgi?id=87693

Reviewed by Alexis Menard.

No change in behavior of the sink, this patch only adapts the code
style to WebKit's.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
  • platform/graphics/gstreamer/VideoSinkGStreamer.cpp:

(_WebKitVideoSinkPrivate):
(webkitVideoSinkTimeoutCallback):
(webkitVideoSinkRender):
(webkitVideoSinkDispose):
(unlockBufferMutex):
(webkitVideoSinkUnlock):
(webkitVideoSinkUnlockStop):
(webkitVideoSinkStop):
(webkitVideoSinkStart):
(webkitVideoSinkMarshalVoidAndMiniObject):
(webkit_video_sink_class_init):
(webkitVideoSinkNew):

  • platform/graphics/gstreamer/VideoSinkGStreamer.h:

(_WebKitVideoSink):
(_WebKitVideoSinkClass):

09:20 Changeset [118788] by commit-queue@webkit.org

[Qt] Uninitialized shader compiler when GLES is used
https://bugs.webkit.org/show_bug.cgi?id=87712

The '#if !defined(QT_OPENGL_ES_2)' has been removed before the initialization
of shader compiler to compile shader codes for ES-platforms as well.

Patch by Roland Takacs <takacs.roland@stud.u-szeged.hu> on 2012-05-29
Reviewed by Noam Rosenthal.

  • platform/graphics/qt/GraphicsContext3DQt.cpp:

(WebCore::GraphicsContext3D::GraphicsContext3D):

09:17 Changeset [118787] by commit-queue@webkit.org

[FileAPI] Miss FileList test
https://bugs.webkit.org/show_bug.cgi?id=87696

Patch by Li Yin <li.yin@intel.com> on 2012-05-29
Reviewed by Kentaro Hara.

WebKit should have the test to track the attribute of FileList.

  • fast/files/file-list-test-expected.txt: Added.
  • fast/files/file-list-test.html: Added.
09:09 Changeset [118786] by carlosgc@webkit.org

[GTK] Add webkit_web_view_can_show_mime_type() to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=85998

Reviewed by Martin Robinson.

And use it in the default handler of WebKitWebView::decide-policy
signal to decide whether to use or ignore a response policy
decision depending on whether the mime type of the response can be
displayed in the WebView or not.

  • UIProcess/API/gtk/WebKitURIResponse.cpp:

(webkitURIResponseGetProperty): Add getter for mime-type property.
(webkit_uri_response_class_init): Add mime-type property.
(webkit_uri_response_get_mime_type): Return the mime type of the
response.

  • UIProcess/API/gtk/WebKitURIResponse.h:
  • UIProcess/API/gtk/WebKitWebView.cpp:

(webkitWebViewDecidePolicy): In case of response policy decisions,
use the URI response to decide what to do: download if the
response is an attachment, use if the mime type is supported by
the web view or ignore otherwise.
(webkit_web_view_can_show_mime_type): Returns whether the given
mime type can be displayed in the WebView or not.

  • UIProcess/API/gtk/WebKitWebView.h:
  • UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
  • UIProcess/API/gtk/tests/TestResources.cpp:

(testWebResourceResponse):
(testWebResourceMimeType):
(serverCallback):
(beforeAll):

  • UIProcess/API/gtk/tests/TestWebKitWebView.cpp:

(testWebViewCanShowMIMEType):
(beforeAll):

09:06 Changeset [118785] by commit-queue@webkit.org

[BlackBerry] WebKit-side implementation of SelectionOverlay
https://bugs.webkit.org/show_bug.cgi?id=87605

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
Reviewed by Rob Buis.

Source/WebKit:

Add SelectionOverlay to the build system.

PR #160263

  • PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

Leverage the new WebOverlay API to move SelectionOverlay to the WebKit
library, so we always draw selection regardless of which embedder is
integrating WebKit.

PR #160263

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPage::selectionOverlay):
(WebKit):

  • Api/WebPage.h:

(WebKit):

  • Api/WebPage_p.h:

(WebPagePrivate):

  • Api/WebSelectionOverlay.h: Added.

(WebKit):

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

  • WebKitSupport/SelectionOverlay.cpp: Added.

(WebKit):
(BlackBerry::WebKit::SelectionOverlay::SelectionOverlay):
(BlackBerry::WebKit::SelectionOverlay::~SelectionOverlay):
(BlackBerry::WebKit::SelectionOverlay::draw):
(BlackBerry::WebKit::SelectionOverlay::hide):
(BlackBerry::WebKit::SelectionOverlay::notifySyncRequired):
(BlackBerry::WebKit::SelectionOverlay::paintContents):

  • WebKitSupport/SelectionOverlay.h: Added.

(WebKit):
(SelectionOverlay):
(BlackBerry::WebKit::SelectionOverlay::create):
(BlackBerry::WebKit::SelectionOverlay::notifyAnimationStarted):
(BlackBerry::WebKit::SelectionOverlay::showDebugBorders):
(BlackBerry::WebKit::SelectionOverlay::showRepaintCounter):
(BlackBerry::WebKit::SelectionOverlay::contentsVisible):

09:02 Changeset [118784] by jberlin@webkit.org

[Mac] fast/events/message-port-constructor-for-deleted-document.html ASSERTS in Debug.

This is happening often enough that it is necessary to add the test to the Mac Skipped list
in order to keep the bots green.

  • platform/mac/Skipped:
09:00 Changeset [118783] by commit-queue@webkit.org

Add InspectorFileSystemAgent::FrontendProvider
https://bugs.webkit.org/show_bug.cgi?id=87635

InspectorFileSystemAgent needs weak reference to its frontend to perform
asynchronous operation.

Patch by Taiju Tsuiki <tzik@chromium.org> on 2012-05-29
Reviewed by Yury Semikhatsky.

  • inspector/InspectorFileSystemAgent.cpp:

(InspectorFileSystemAgent::FrontendProvider):
(WebCore):
(WebCore::InspectorFileSystemAgent::~InspectorFileSystemAgent):
(WebCore::InspectorFileSystemAgent::enable):
(WebCore::InspectorFileSystemAgent::disable):
(WebCore::InspectorFileSystemAgent::setFrontend):
(WebCore::InspectorFileSystemAgent::clearFrontend):
(WebCore::InspectorFileSystemAgent::restore):
(WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):

  • inspector/InspectorFileSystemAgent.h:

(InspectorFileSystemAgent):

08:52 Changeset [118782] by commit-queue@webkit.org

[EFL][DRT] move idn encoding test to test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=86080

Unreviewed gardening. Implementing copy{En,De}codedHostName just
to test them is not useful: marking fast/encoding/idn-security.html
as expected to fail.

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-05-29

  • platform/efl/Skipped:
  • platform/efl/test_expectations.txt:
08:28 Changeset [118781] by ossy@webkit.org

[Qt] Unreviewed gardening.

  • platform/qt-5.0-wk2/compositing/geometry/composited-in-columns-expected.txt: Added.
  • platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.png:
  • platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/qt-5.0-wk2/svg/css/text-gradient-shadow-expected.png: Added.
  • platform/qt-5.0-wk2/svg/css/text-gradient-shadow-expected.txt:
  • platform/qt-5.0/fast/forms/placeholder-pseudo-style-expected.png:
  • platform/qt-5.0/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/wk2/Skipped:
08:20 Changeset [118780] by bulach@chromium.org

[chromium] Regression: fast/forms/select/optgroup-clicking.html is failing
https://bugs.webkit.org/show_bug.cgi?id=87748

Unreviewed gardening.

This test was added by r118772 and it fails with a mismatch in menulist.selectedIndex.

  • platform/chromium/test_expectations.txt:
08:12 Changeset [118779] by commit-queue@webkit.org

Fix new layout tests for images with color profiles by using fixed size
https://bugs.webkit.org/show_bug.cgi?id=87542

Patch by Tony Payne <tpayne@chromium.org> on 2012-05-29
Reviewed by Kent Tamura.

  • fast/images/jpeg-with-color-profile.html: Use width=400px instead of 50% to make sure size is consistent across ports.
  • fast/images/png-with-color-profile.html: Use width=40px instead of 50% to make sure size is consistent across ports.
08:08 Changeset [118778] by loislo@chromium.org

Unreviewed: Web Inspector: single line fix.
heap-snapshot-loader are failing in Debug configuration because the list of profiles is not empty.

  • inspector/profiler/heap-snapshot-loader.html:
07:56 Changeset [118777] by commit-queue@webkit.org

[BlackBerry] OpenGL content is not rendered on simulator
https://bugs.webkit.org/show_bug.cgi?id=87721

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
Reviewed by George Staikos.

Fixed by enabling GLES2 support in simulator builds.

To experiment with building without OpenGL support, you can set the
DISABLE_GLES2 environment variable to a non-empty string and rebuild.

PR #150695

  • Scripts/webkitdirs.pm:

(blackberryCMakeArguments):

07:53 Changeset [118776] by bulach@chromium.org

Split svg/dom/viewspec-parser.html in smaller tests
https://bugs.webkit.org/show_bug.cgi?id=87726

Reviewed by Andreas Kling.

This test was added by r118735.
Splits into smaller independent tests to avoid timeouts on ports such as chromium.

  • svg/dom/resources/viewspec-parser.js: Added.

(buildTestsToRun):
(zoomAndPanToString):
(viewSpecToString):
(testString.string_appeared_here.makeURLRelative):
(testFragment):
(startNextTest):
(continueFuzzing.else.script.onload):
(continueFuzzing):

  • svg/dom/viewspec-parser-1-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
  • svg/dom/viewspec-parser-1.html: Added.
  • svg/dom/viewspec-parser-2-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
  • svg/dom/viewspec-parser-2.html: Added.
  • svg/dom/viewspec-parser-3-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
  • svg/dom/viewspec-parser-3.html: Added.
  • svg/dom/viewspec-parser-4-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
  • svg/dom/viewspec-parser-4.html: Added.
  • svg/dom/viewspec-parser-5-expected.txt: Renamed from LayoutTests/svg/dom/viewspec-parser-expected.txt.
  • svg/dom/viewspec-parser-5.html: Added.
  • svg/dom/viewspec-parser.html: Removed.
07:45 Changeset [118775] by ossy@webkit.org

Unreviewed gardening, skip failing tests.

  • platform/mac/Skipped:
  • platform/qt/Skipped:
07:44 Changeset [118774] by commit-queue@webkit.org

Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag
https://bugs.webkit.org/show_bug.cgi?id=87685

Patch by David Barr <davidbarr@chromium.org> on 2012-05-29
Reviewed by Eric Seidel.

Add a configuration option for CSS image-resolution support, disabling it by default.

.:

  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit/chromium:

  • features.gypi:

Source/WebKit/mac:

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

  • Configurations/FeatureDefines.xcconfig:

Tools:

  • Scripts/webkitperl/FeatureList.pm:
  • qmake/mkspecs/features/features.pri:
07:09 Changeset [118773] by apavlov@chromium.org

Merge 118768 - [Chromium] [Regression] SELECT popup misplaced when there is not enough vertical space
https://bugs.webkit.org/show_bug.cgi?id=87735

Reviewed by Kent Tamura.

This change fixes the obsolete WebWidget Y-repositioning code for the insufficient vertical space case, not removed in r113418.

No new tests, as popups are not testable in Chromium.

  • platform/chromium/PopupContainer.cpp:

(WebCore::PopupContainer::layoutAndCalculateWidgetRect):

TBR=apavlov@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10442063

07:00 Changeset [118772] by yosin@chromium.org

REGRESSION(r109729): The optgroup element's "disabled" attribute has no effect to rendering and selection
https://bugs.webkit.org/show_bug.cgi?id=87614

Reviewed by Kent Tamura.

Source/WebCore:

This patch adds HTMLOptGroupElement::disabled and isEnabledFormControl
methods which was implemented in HTMLFormControlElement at r109729 and
updates CSS pseudo class checker to check "optgroup" element.

Tests: fast/forms/select/optgroup-clicking.html

fast/forms/select/optgroup-disabled.html
fast/forms/select/optgroup-rendering.html

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector): On disabled and enabled pseudo class checker.
We checked tag name "optgroup" in addition isFormControlElement.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::canShareStyleWithElement): Checks optgroup.disabled.

  • html/HTMLOptGroupElement.cpp:

(WebCore::HTMLOptGroupElement::disabled): Added.

  • html/HTMLOptGroupElement.h:

(HTMLOptGroupElement): Added isEnabledFormControl.

LayoutTests:

Note: An image for optgroup-rendering.html will be change due by
BUG-87719. Color of option elements should be blue (:enabled
pseudo class) instead of green.

  • fast/forms/select/optgroup-clicking-expected.txt: Added.
  • fast/forms/select/optgroup-clicking.html: Added.
  • fast/forms/select/optgroup-disabled-expected.txt: Added.
  • fast/forms/select/optgroup-disabled.html: Added.
  • fast/forms/select/optgroup-rendering.html: Added.
  • platform/chromium/test_expectations.txt: Add MISSING entry for optgroup-rendering.html.
  • platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.png: Added.
  • platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.txt: Added.
06:57 Changeset [118771] by ossy@webkit.org

REGRESSION(r118742): It made inspector/profiler/heap-snapshot-loader.html fail on Lion, Qt
https://bugs.webkit.org/show_bug.cgi?id=87741

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-29
Reviewed by Csaba Osztrogonác.

  • platform/qt/Skipped: Skip the failing test.
06:53 Changeset [118770] by commit-queue@webkit.org

[EFL] Tests needs gardening after r118733
https://bugs.webkit.org/show_bug.cgi?id=87733

Unreviewed gardening.

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-29

  • platform/efl/fast/css/text-overflow-input-expected.txt:
  • platform/efl/fast/forms/search-styled-expected.png:
  • platform/efl/fast/forms/search-styled-expected.txt:
  • platform/efl/test_expectations.txt:
06:53 Changeset [118769] by vestbo@webkit.org

[Qt] Remove duplication of logic for disabling selected warnings related to C++11

This is already handled in unix/default_post.prf

Reviewed by Simon Hausmann.

06:41 Changeset [118768] by apavlov@chromium.org

[Chromium] [Regression] SELECT popup misplaced when there is not enough vertical space
https://bugs.webkit.org/show_bug.cgi?id=87735

Reviewed by Kent Tamura.

This change fixes the obsolete WebWidget Y-repositioning code for the insufficient vertical space case, not removed in r113418.

No new tests, as popups are not testable in Chromium.

  • platform/chromium/PopupContainer.cpp:

(WebCore::PopupContainer::layoutAndCalculateWidgetRect):

06:39 Changeset [118767] by commit-queue@webkit.org

[CSS Regions]Rename NamedFlow::overflow to NamedFlow::overset
https://bugs.webkit.org/show_bug.cgi?id=87491

This patch updates the CSSOM property name overflow to overset. There are no changes in functionality.
Link to spec: http://www.w3.org/TR/2012/WD-css3-regions-20120503/

Source/WebCore:

Patch by Andrei Bucur <abucur@adobe.com> on 2012-05-29
Reviewed by Andreas Kling.

Test: fast/regions/webkit-named-flow-overset.html

  • dom/WebKitNamedFlow.cpp:

(WebCore::WebKitNamedFlow::overset):

  • dom/WebKitNamedFlow.h:

(WebKitNamedFlow):

  • dom/WebKitNamedFlow.idl:
  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::RenderFlowThread):
(WebCore::RenderFlowThread::computeOverflowStateForRegions):

  • rendering/RenderFlowThread.h:

LayoutTests:

The test was refactored to be more similar to the other script tests (by using make-new-script-test)

Patch by Andrei Bucur <abucur@adobe.com> on 2012-05-29
Reviewed by Andreas Kling.

  • fast/regions/webkit-named-flow-overflow-expected.txt: Removed.
  • fast/regions/webkit-named-flow-overflow.html: Removed.
  • fast/regions/webkit-named-flow-overset-expected.txt: Added.
  • fast/regions/webkit-named-flow-overset.html: Added.
06:37 Changeset [118766] by ossy@webkit.org

[Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8
https://bugs.webkit.org/show_bug.cgi?id=87740

Unreviewed gardening.

  • platform/qt-4.8/Skipped: Skip fast/forms/textarea-maxlength.html until proper fix.
06:34 Changeset [118765] by ossy@webkit.org

[Qt] Unreviewed gardening.

  • platform/qt-4.8/Skipped: Skip fast/parser/innerhtml-with-prefixed-elements.xhtml because of buggy QtXmlPatterns.
  • platform/qt-5.0/Skipped: Unskip fast/parser/innerhtml-with-prefixed-elements.xhtml, because libxslt works fine.
  • platform/qt/Skipped: Unskip a non-existing test.
  • platform/qt/fast/parser/innerhtml-with-prefixed-elements-expected.png: Added.
  • platform/qt/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Updated.
06:26 Changeset [118764] by kenneth@webkit.org

[Qt] Move tests from DesktopBehavior which can be made to work
https://bugs.webkit.org/show_bug.cgi?id=87736

Rubberstamped by Simon Hausmann.

Move and modify the following tests to WebView/ and make them
use touch events.

  • UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml.
  • UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml.
  • UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_multiFileUpload.qml.
  • UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_singleFileUpload.qml.
06:21 Changeset [118763] by vestbo@webkit.org

[Qt] Don't add cxx-flags to QMAKE_CFLAGS

Prevents warnings such as: "command line option ‘-Wno-c++0x-compat’ is

valid for C++/ObjC++ but not for C [enabled by default]"

Reviewed by Simon Hausmann.

06:17 Changeset [118762] by vestbo@webkit.org

[Qt] Sync up favicon-implementation with WebView url changes in r118158

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

We now base64-encode the page url in the image-provider url, so that any
normalization done by QUrl will not mess up the page-url. The logic of
creating and parsing the provider-url has been moved into the image
provider, to keep it in one place.

We were also releasing icons (even ones we hadn't retained), which we can't
do since we don't know when the icon url is no longer in use.

Reviewed-by Simon Hausmann.

05:25 Changeset [118761] by kling@webkit.org

Give StylePropertySet a proper mutability flag.
<http://webkit.org/b/87675>

Reviewed by Antti Koivisto.

Add a flag to StylePropertySet that determines whether it's mutable or not. Only objects
constructed from the CSS parser (by way of StylePropertySet::adopt()) are made immutable.
This is clean-up and prep work for implementing a more efficient storage scheme for immutable
StylePropertySets (fixed-size array instead of vector) as the vast majority of them are
unlikely to ever mutate during their lifetime.

Sprinkled ASSERT(isMutable()) all over StylePropertySet to catch any attempts to modify
an immutable object.

Also made properties() const on StyleRule and friends, which brought some additional code
churn along with it.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::copyPropertiesInSet):

  • css/CSSFontFaceRule.cpp:

(WebCore::CSSFontFaceRule::style):
(WebCore::CSSFontFaceRule::reattach):

  • css/CSSFontFaceSrcValue.cpp:

(WebCore::CSSFontFaceSrcValue::addSubresourceStyleURLs):

  • css/CSSFontFaceSrcValue.h:

(CSSFontFaceSrcValue):

  • css/CSSPageRule.cpp:

(WebCore::CSSPageRule::style):
(WebCore::CSSPageRule::reattach):

  • css/CSSPrimitiveValue.cpp:

(WebCore::CSSPrimitiveValue::addSubresourceStyleURLs):

  • css/CSSPrimitiveValue.h:

(CSSPrimitiveValue):

  • css/CSSReflectValue.cpp:

(WebCore::CSSReflectValue::addSubresourceStyleURLs):

  • css/CSSReflectValue.h:

(CSSReflectValue):

  • css/CSSStyleRule.cpp:

(WebCore::CSSStyleRule::style):
(WebCore::CSSStyleRule::reattach):

  • css/CSSValue.cpp:

(WebCore::CSSValue::addSubresourceStyleURLs):

  • css/CSSValue.h:

(CSSValue):

  • css/CSSValueList.cpp:

(WebCore::CSSValueList::addSubresourceStyleURLs):

  • css/CSSValueList.h:

(CSSValueList):

  • css/StylePropertySet.cpp:

(WebCore::StylePropertySet::StylePropertySet):
(WebCore::StylePropertySet::setCSSParserMode):
(WebCore):
(WebCore::StylePropertySet::copyPropertiesFrom):
(WebCore::StylePropertySet::removeShorthandProperty):
(WebCore::StylePropertySet::removeProperty):
(WebCore::StylePropertySet::setProperty):
(WebCore::StylePropertySet::parseDeclaration):
(WebCore::StylePropertySet::addParsedProperties):
(WebCore::StylePropertySet::addParsedProperty):
(WebCore::StylePropertySet::merge):
(WebCore::StylePropertySet::addSubresourceStyleURLs):
(WebCore::StylePropertySet::removePropertiesInSet):
(WebCore::StylePropertySet::findPropertyWithId):
(WebCore::StylePropertySet::removeEquivalentProperties):
(WebCore::StylePropertySet::copyPropertiesInSet):

  • css/StylePropertySet.h:

(WebCore::StylePropertySet::adopt):
(WebCore::StylePropertySet::adoptMutable):
(StylePropertySet):
(WebCore::StylePropertySet::isMutable):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::addMatchedProperties):
(WebCore::StyleResolver::collectMatchingRulesForList):

  • css/StyleResolver.h:

(StyleResolver):

  • css/StyleRule.cpp:

(WebCore::StyleRule::mutableProperties):
(WebCore):
(WebCore::StyleRulePage::mutableProperties):
(WebCore::StyleRuleFontFace::mutableProperties):

  • css/StyleRule.h:

(WebCore::StyleRule::properties):
(StyleRule):
(WebCore::StyleRuleFontFace::properties):
(StyleRuleFontFace):
(WebCore::StyleRulePage::properties):
(StyleRulePage):

  • dom/ElementAttributeData.cpp:

(WebCore::ElementAttributeData::ensureInlineStyle):
(WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):

  • editing/EditingStyle.cpp:

(WebCore::styleFromMatchedRulesForElement):

  • svg/SVGFontFaceElement.cpp:

(WebCore::SVGFontFaceElement::parseAttribute):
(WebCore::SVGFontFaceElement::rebuildFontFace):
(WebCore::SVGFontFaceElement::removedFrom):

05:13 Changeset [118760] by commit-queue@webkit.org

[EFL] Refactoring. Get rid of unnecessary singleCharacterString() function
https://bugs.webkit.org/show_bug.cgi?id=87654

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-29
Reviewed by Csaba Osztrogonác.

Source/WebCore:

Evas key events already provide key string, so no practical need for singleCharacterString()
evaluating the event string from keyname.
Modified code related functionality is already covered with fast/events and fast/forms tests.

  • platform/efl/EflKeyboardUtilities.cpp:
  • platform/efl/PlatformKeyboardEventEfl.cpp:

(WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):

Tools:

Event sender provides strings for all the key events.
Also KeyEventInfo constructor parameters order was changed to simplify the case when
a key event has empty string.

  • DumpRenderTree/efl/EventSender.cpp:

(KeyEventInfo::KeyEventInfo):
(keyPadNameFromJSValue):
(keyNameFromJSValue):

05:10 Changeset [118759] by zandobersek@gmail.com

Unreviewed GTK gardening after r118733 and r118735.

  • platform/gtk/fast/css/text-overflow-input-expected.txt:
  • platform/gtk/fast/forms/input-placeholder-visibility-1-expected.txt:
  • platform/gtk/fast/forms/input-placeholder-visibility-3-expected.txt:
  • platform/gtk/fast/forms/placeholder-position-expected.txt:
  • platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/search-styled-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.txt:
  • platform/gtk/test_expectations.txt:
05:09 Changeset [118758] by kenneth@webkit.org

[Qt][WK2] Fix failing qmltests::FitToView::test_basic()
https://bugs.webkit.org/show_bug.cgi?id=87236

Reviewed by Simon Hausmann.

The fix is a combination of things. First of all some events
were emitted at the wrong times or when nothing had changed.

We also initialized the view saying it was suspended which is
not correct.

Another bug was that the touch tap, didn't result in marking
the view as having user interaction. This was recently fixed
in r118493.

  • UIProcess/API/qt/qquickwebpage.cpp:

(QQuickWebPage::setContentsScale):

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewFlickablePrivate::QQuickWebViewFlickablePrivate):

Make sure pageIsSuspended is initialized to false.

(QQuickWebViewFlickablePrivate::_q_onInformVisibleContentChange):

Early bail out if there is no change.

Inform contentScaleCommitted if the scale changed since last time.

(QQuickWebViewFlickablePrivate::didChangeContentsSize):

Make sure to commit the right signals, ie. *Changed and not *Committed.

  • UIProcess/API/qt/qquickwebview_p.h:
  • UIProcess/API/qt/qwebkittest.cpp:

(touchPoint):
(QWebKitTest::sendTouchEvent):
(QWebKitTest::touchTap):
(QWebKitTest::touchDoubleTap):

Add proper touch emulation for the testing system. Call directly
to our WebKit API (avoid Qt event loop) to ensure all events gets
delivered.

  • UIProcess/API/qt/qwebkittest_p.h:
  • UIProcess/qt/QtViewportInteractionEngine.cpp:

(WebKit::QtViewportInteractionEngine::setItemRectVisible):

Assert that a ViewportUpdateDeferrer is always used when calling
this method.

(WebKit::QtViewportInteractionEngine::animateItemRectVisible):

Remove work around now we have the proper fix in place.

(WebKit::QtViewportInteractionEngine::pagePositionRequest):

Do not send the informVisibleContentChange manually, use the
ViewportUpdateDeferrer instead.

(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):

Add missing ViewportUpdateDeferrer.

(WebKit::QtViewportInteractionEngine::pinchGestureStarted):

No reason to emit informVisibleContentChange before pinch
start, as it is always done on end (due to the ViewportUpdateDeferrer).

(WebKit::QtViewportInteractionEngine::itemSizeChanged):

Add missing ViewportUpdateDeferrer.

04:43 Changeset [118757] by kkristof@inf.u-szeged.hu

[Qt] Unreviewed Gardening. Update test expectations after r118733.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-29

  • platform/qt/fast/css/text-overflow-input-expected.txt:
  • platform/qt/fast/forms/input-placeholder-visibility-1-expected.txt:
  • platform/qt/fast/forms/input-placeholder-visibility-3-expected.txt:
  • platform/qt/fast/forms/placeholder-position-expected.txt:
  • platform/qt/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/qt/fast/forms/search-styled-expected.txt:
  • platform/qt/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/qt/fast/forms/textarea-placeholder-visibility-1-expected.txt:
  • platform/qt/fast/forms/textarea-placeholder-visibility-2-expected.txt:
04:43 Changeset [118756] by caio.oliveira@openbossa.org

[Qt] [WK2] Allow user to inject JS scripts when the page loads
https://bugs.webkit.org/show_bug.cgi?id=85827

Reviewed by Simon Hausmann.

Create a new experimental property to list URLs of JS scripts that should be
loaded when a page is loaded. These scripts will run in the normal JS environment
of the page.

The supported URL schemes are file:/// and qrc:///. The scripts are read from the
UI process and transfered to the Web process.

Together with the experimental messaging API this provides a way for the
application to manipulate the DOM (by injecting a script that does the
manipulation and communicating with it via postMessage). This covers some of the
use cases of QWebElement in our WK1 API.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewPrivate::didRelaunchProcess):
(readUserScript):
(QQuickWebViewPrivate::updateUserScripts):
(QQuickWebViewExperimental::userScripts):
(QQuickWebViewExperimental::setUserScripts):

  • UIProcess/API/qt/qquickwebview_p.h:
  • UIProcess/API/qt/qquickwebview_p_p.h:

(QQuickWebViewPrivate):

  • UIProcess/API/qt/tests/qmltests/WebView.pro:
  • UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Added.
  • UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Added.
  • UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Added.
  • UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Added.
  • UIProcess/API/qt/tests/qmltests/resources.qrc: Added.
  • UIProcess/WebPageProxy.h:

(WebPageProxy):

  • UIProcess/qt/WebPageProxyQt.cpp:

(WebKit::WebPageProxy::setUserScripts):
(WebKit):

  • WebProcess/WebPage/WebPage.h:

(WebPage):

  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/qt/WebPageQt.cpp:

(WebKit::WebPage::setUserScripts):
(WebKit):

04:42 Changeset [118755] by vestbo@webkit.org

[Qt] Cancel potential url-edit when going back/forward

Reviewed by Kenneth Rohde Christiansen.

  • MiniBrowser/qt/qml/BrowserWindow.qml:
04:37 Changeset [118754] by caio.oliveira@openbossa.org

Unreviewed, rolling out r118752.
http://trac.webkit.org/changeset/118752
https://bugs.webkit.org/show_bug.cgi?id=87731

incomplete patch (Requested by cmarcelo on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-29

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewPrivate::didRelaunchProcess):

  • UIProcess/API/qt/qquickwebview_p.h:
  • UIProcess/API/qt/qquickwebview_p_p.h:

(QQuickWebViewPrivate):

  • UIProcess/API/qt/tests/qmltests/WebView.pro:
  • UIProcess/WebPageProxy.h:

(WebPageProxy):

  • UIProcess/qt/WebPageProxyQt.cpp:
  • WebProcess/WebPage/WebPage.h:

(WebPage):

  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/qt/WebPageQt.cpp:
04:36 Changeset [118753] by slewis@apple.com

Unreviewed, skipping failing test
See https://bugs.webkit.org/show_bug.cgi?id=87728

  • platform/mac/Skipped:
04:22 Changeset [118752] by caio.oliveira@openbossa.org

[Qt] [WK2] Allow user to inject JS scripts when the page loads
https://bugs.webkit.org/show_bug.cgi?id=85827

Reviewed by Simon Hausmann.

Create a new experimental property to list URLs of JS scripts that should be
loaded when a page is loaded. These scripts will run in the normal JS environment
of the page.

The supported URL schemes are file:/// and qrc:///. The scripts are read from the
UI process and transfered to the Web process.

Together with the experimental messaging API this provides a way for the
application to manipulate the DOM (by injecting a script that does the
manipulation and communicating with it via postMessage). This covers some of the
use cases of QWebElement in our WK1 API.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewPrivate::didRelaunchProcess):
(readUserScript):
(QQuickWebViewPrivate::updateUserScripts):
(QQuickWebViewExperimental::userScripts):
(QQuickWebViewExperimental::setUserScripts):

  • UIProcess/API/qt/qquickwebview_p.h:
  • UIProcess/API/qt/qquickwebview_p_p.h:

(QQuickWebViewPrivate):

  • UIProcess/API/qt/tests/qmltests/WebView.pro:
  • UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Added.
  • UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Added.
  • UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Added.
  • UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Added.
  • UIProcess/API/qt/tests/qmltests/resources.qrc: Added.
  • UIProcess/WebPageProxy.h:

(WebPageProxy):

  • UIProcess/qt/WebPageProxyQt.cpp:

(WebKit::WebPageProxy::setUserScripts):
(WebKit):

  • WebProcess/WebPage/WebPage.h:

(WebPage):

  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/qt/WebPageQt.cpp:

(WebKit::WebPage::setUserScripts):
(WebKit):

04:14 Changeset [118751] by slewis@apple.com

Unreviewed, updating results after http://trac.webkit.org/projects/webkit/changeset/118733

  • platform/mac/fast/css/text-overflow-input-expected.txt:
  • platform/mac/fast/forms/input-placeholder-visibility-1-expected.txt:
  • platform/mac/fast/forms/input-placeholder-visibility-3-expected.txt:
  • platform/mac/fast/forms/placeholder-position-expected.txt:
  • platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/mac/fast/forms/search-styled-expected.txt:
  • platform/mac/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
  • platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:
04:14 Changeset [118750] by commit-queue@webkit.org

[BlackBerry] WebOverlay API
https://bugs.webkit.org/show_bug.cgi?id=87603

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
Reviewed by Rob Buis.

Source/WebKit:

Add WebOverlay related files to the build system.

PR #156812

  • PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

This new API makes it possible to leverage the BlackBerry accelerated
compositing implementation to draw, transform and fluidly animate
overlays in the embedding library or application.

A WebOverlay has an affinity for the thread where it was created. If
the current thread is the WebKit thread, use WebPage::addOverlay() to
add it to the page, and manipulate it only from the WebKit thread, with
exception of the "override" functionality which can be used from the
compositing thread. If the current thread is the compositing thread,
use WebPage::addCompositingThreadOverlay() to add it to the page, and
only manipulate it on the compositing thread.

A WebOverlay can be painted using Skia, or its contents can be set to
an image or a solid color.

PR #156812

  • Api/WebAnimation.cpp: Added.

(WebKit):
(BlackBerry::WebKit::WebAnimation::fadeAnimation):
(BlackBerry::WebKit::WebAnimation::name):
(BlackBerry::WebKit::WebAnimation::WebAnimation):
(BlackBerry::WebKit::WebAnimation::~WebAnimation):
(BlackBerry::WebKit::WebAnimation::operator=):

  • Api/WebAnimation.h: Added.

(WebKit):

  • Api/WebAnimation_p.h: Added.

(WebKit):
(WebAnimationPrivate):
(BlackBerry::WebKit::WebAnimationPrivate::WebAnimationPrivate):

  • Api/WebOverlay.cpp: Added.

(WebKit):
(BlackBerry::WebKit::WebOverlay::WebOverlay):
(BlackBerry::WebKit::WebOverlay::~WebOverlay):
(BlackBerry::WebKit::WebOverlay::position):
(BlackBerry::WebKit::WebOverlay::setPosition):
(BlackBerry::WebKit::WebOverlay::anchorPoint):
(BlackBerry::WebKit::WebOverlay::setAnchorPoint):
(BlackBerry::WebKit::WebOverlay::size):
(BlackBerry::WebKit::WebOverlay::setSize):
(BlackBerry::WebKit::WebOverlay::sizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlay::setSizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlay::transform):
(BlackBerry::WebKit::WebOverlay::setTransform):
(BlackBerry::WebKit::WebOverlay::opacity):
(BlackBerry::WebKit::WebOverlay::setOpacity):
(BlackBerry::WebKit::WebOverlay::addAnimation):
(BlackBerry::WebKit::WebOverlay::removeAnimation):
(BlackBerry::WebKit::WebOverlay::parent):
(BlackBerry::WebKit::WebOverlay::addChild):
(BlackBerry::WebKit::WebOverlay::removeFromParent):
(BlackBerry::WebKit::WebOverlay::setContentsToImage):
(BlackBerry::WebKit::WebOverlay::setContentsToColor):
(BlackBerry::WebKit::WebOverlay::setDrawsContent):
(BlackBerry::WebKit::WebOverlay::invalidate):
(BlackBerry::WebKit::WebOverlay::setClient):
(BlackBerry::WebKit::WebOverlay::override):
(BlackBerry::WebKit::WebOverlay::resetOverrides):
(BlackBerry::WebKit::WebOverlayPrivate::page):
(BlackBerry::WebKit::WebOverlayPrivate::override):
(BlackBerry::WebKit::WebOverlayPrivate::drawContents):
(BlackBerry::WebKit::WebOverlayPrivate::scheduleCompositingRun):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::WebOverlayPrivateWebKitThread):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::override):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::position):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setPosition):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::anchorPoint):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setAnchorPoint):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::size):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setSize):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::sizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setSizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::transform):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setTransform):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::opacity):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setOpacity):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::addAnimation):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::removeAnimation):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::addChild):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::removeFromParent):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToImage):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToColor):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setDrawsContent):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::clear):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::invalidate):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::resetOverrides):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifySyncRequired):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::paintContents):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::WebOverlayLayerCompositingThreadClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::~WebOverlayLayerCompositingThreadClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setDrawsContent):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::invalidate):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContents):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContentsToColor):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerCompositingThreadDestroyed):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerVisibilityChanged):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::deleteTextures):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::WebOverlayPrivateCompositingThread):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::~WebOverlayPrivateCompositingThread):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setClient):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::override):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::position):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setPosition):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::anchorPoint):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setAnchorPoint):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::size):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setSize):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::sizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setSizeIsScaleInvariant):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::transform):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setTransform):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::opacity):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setOpacity):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::addAnimation):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::removeAnimation):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::addChild):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::removeFromParent):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToColor):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setDrawsContent):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::clear):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::invalidate):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::resetOverrides):

  • Api/WebOverlay.h: Added.

(WebCore):
(WebKit):

  • Api/WebOverlayClient.h: Added.

(WebKit):

  • Api/WebOverlayOverride.cpp: Added.

(WebKit):
(BlackBerry::WebKit::WebOverlayOverride::WebOverlayOverride):
(BlackBerry::WebKit::WebOverlayOverride::~WebOverlayOverride):
(BlackBerry::WebKit::WebOverlayOverride::setPosition):
(BlackBerry::WebKit::WebOverlayOverride::setAnchorPoint):
(BlackBerry::WebKit::WebOverlayOverride::setSize):
(BlackBerry::WebKit::WebOverlayOverride::setTransform):
(BlackBerry::WebKit::WebOverlayOverride::setOpacity):
(BlackBerry::WebKit::WebOverlayOverride::addAnimation):
(BlackBerry::WebKit::WebOverlayOverride::removeAnimation):

  • Api/WebOverlayOverride.h: Added.

(WebKit):

  • Api/WebOverlay_p.h: Added.

(WTF):
(WebCore):
(WebKit):
(WebOverlayPrivate):
(BlackBerry::WebKit::WebOverlayPrivate::WebOverlayPrivate):
(BlackBerry::WebKit::WebOverlayPrivate::~WebOverlayPrivate):
(BlackBerry::WebKit::WebOverlayPrivate::setPage):
(BlackBerry::WebKit::WebOverlayPrivate::setClient):
(BlackBerry::WebKit::WebOverlayPrivate::layerCompositingThread):
(BlackBerry::WebKit::WebOverlayPrivate::graphicsLayer):
(WebOverlayPrivateWebKitThread):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::graphicsLayer):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyAnimationStarted):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showDebugBorders):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showRepaintCounter):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::contentsVisible):
(WebOverlayLayerCompositingThreadClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setLayer):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawsContent):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::contents):
(WebOverlayPrivateCompositingThread):

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::addOverlay):
(WebKit):
(BlackBerry::WebKit::WebPage::removeOverlay):
(BlackBerry::WebKit::WebPage::addCompositingThreadOverlay):
(BlackBerry::WebKit::WebPage::removeCompositingThreadOverlay):

  • Api/WebPage.h:

(WebKit):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(WebKit):
(BlackBerry::WebKit::WebPageCompositorPrivate::compositeLayers):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):
(BlackBerry::WebKit::WebPageCompositorPrivate::addOverlay):
(BlackBerry::WebKit::WebPageCompositorPrivate::removeOverlay):

  • Api/WebPageCompositor_p.h:

(BlackBerry::WebKit::WebPageCompositorPrivate::compositingThreadOverlayLayer):
(WebPageCompositorPrivate):

04:14 Changeset [118749] by loislo@chromium.org

Unreviewed: Web Inspector: single line fix after r118742.

  • inspector/front-end/HeapSnapshotView.js:

(WebInspector.HeapProfileHeader.prototype.saveToFile):

03:42 Changeset [118748] by haraken@chromium.org

Remove m_rootNode and m_selectorChecker from SelectorQuery.h
https://bugs.webkit.org/show_bug.cgi?id=87650

Reviewed by Antti Koivisto.

To avoid parsing CSS selectors every time, I am planning to cache
SelectorQuery objects into a HashMap, which will be defined in
Node::querySelector(). To make the size of SelectorQuery small,
this patch removes m_rootNode and m_selectorChecker from SelectorQuery.h.

Tests: fast/dom/SelectorAPI/*. No change in test results.

  • dom/Node.cpp:

(WebCore::Node::querySelector):
(WebCore::Node::querySelectorAll):

  • dom/SelectorQuery.cpp:

(WebCore::SelectorQuery::SelectorQuery):
(WebCore):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):

  • dom/SelectorQuery.h:

(SelectorQuery):

03:06 Changeset [118747] by caseq@chromium.org

Web Inspector: Tabbed Settings Screen
https://bugs.webkit.org/show_bug.cgi?id=87497

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-29
Reviewed by Yury Semikhatsky.

Combine settings screen and shortcuts screen
to a single tabbed settings screen.
This will make shortcuts screen more discoverable.

  • inspector/front-end/HelpScreen.js:

(WebInspector.HelpScreen): Make titled tamplate optional.
(WebInspector.HelpScreen.prototype._createCloseButton): Extract method.

  • inspector/front-end/SettingsScreen.js:

(WebInspector.SettingsScreen): Split initialization and UI construction.
(WebInspector.SettingsScreen.prototype._createSettingsTabView.appendSection):
(WebInspector.SettingsScreen.prototype._createSettingsTabView):
Extract GUI construction method.
(WebInspector.SettingsScreen.prototype._getOrCreateTabbedPane):
Make GUI construction lazy.
(WebInspector.SettingsScreen.prototype.selectTab):
Add method for external tab swithching.
(WebInspector.SettingsScreen.prototype.wasShown):
Make GUI construction lazy.
(WebInspector.SettingsScreenTabbedPane):
Extend class to access protected member.
(WebInspector.SettingsController.prototype._buttonClicked):
Change "showSettingsScreen" visibility and parameters.
(WebInspector.SettingsController.prototype._onHideSettingsScreen):
Preserve settings screen state.
(WebInspector.SettingsController.prototype.showSettingsScreen):
Change method visibility and parameters.

  • inspector/front-end/ShortcutsScreen.js:

(WebInspector.ShortcutsScreen): Remove inheritance from HelpScreen.
(WebInspector.ShortcutsScreen.prototype._createShortcutsTabView):
Refactoring of GUI construction.
(WebInspector.ShortcutsSection.prototype.renderSection):
Ditto.

  • inspector/front-end/helpScreen.css:

(.help-window-main ::-webkit-scrollbar): Rebind scrollbar settings.
(.help-window-main ::-webkit-resizer): Ditto.
(.help-window-main ::-webkit-scrollbar-thumb:vertical): Ditto.
(.help-window-main ::-webkit-scrollbar-thumb:vertical:active): Ditto.
(.help-window-main ::-webkit-scrollbar-track:vertical): Ditto.
(body:not(.compact) #settings-screen .tabbed-pane): Fix container height.
(#settings-screen .tabbed-pane-header): Ditto.
(#settings-screen .tabbed-pane-header-tabs): Adjust spacing.
(#settings-screen .tabbed-pane-header-tab): Adjust style.
(#settings-screen .help-close-button): Adjust spacing.
(#settings-screen .tabbed-pane-header-tab.selected):
Erase line below active tab.
(#settings-screen .tabbed-pane-content): Adjust spacing.
(#settings-screen .help-content): Ditto.

  • inspector/front-end/inspector.js:

(WebInspector.documentKeyDown): Use Settings screen to show shortcuts.

02:43 Changeset [118746] by peter@chromium.org

Unreviewed. Rolled DEPS.

  • DEPS:
02:35 Changeset [118745] by tkent@chromium.org

[Chromium] Update test expectations
https://bugs.webkit.org/show_bug.cgi?id=87155

More placehodler tests.

  • platform/chromium/test_expectations.txt:
02:29 Changeset [118744] by tkent@chromium.org

[Chromium] Update test expectations.
https://bugs.webkit.org/show_bug.cgi?id=87155

Placeholder-related render dumps need to be udpated.

  • platform/chromium/test_expectations.txt:
02:20 Changeset [118743] by kkristof@inf.u-szeged.hu

[Qt] Unreviewed gardening after r118618. http/tests/cache/cancel-in-progress-load.html
fails with code 5.
https://bugs.webkit.org/show_bug.cgi?id=35377

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-05-29

  • platform/qt/Skipped:
02:17 Changeset [118742] by loislo@chromium.org

Web Inspector: REGRESSION: load heap snapshot doesn't work.
https://bugs.webkit.org/show_bug.cgi?id=87642

Source/WebCore:

HeapSnapshotReceiver interface was introduced.
It declares the API for HeapSnapshotLoader, HeapSnapshotLoaderProxy and HeapSnapshotSaveToFileReceiver.
The HeapProfileHeader was refactored and tests were added.

Reviewed by Yury Semikhatsky.

  • inspector/front-end/HeapSnapshotLoader.js:

(WebInspector.HeapSnapshotLoader):
(WebInspector.HeapSnapshotLoader.prototype.startLoading):
(WebInspector.HeapSnapshotLoader.prototype.dispose):
(WebInspector.HeapSnapshotLoader.prototype._reset):
(WebInspector.HeapSnapshotLoader.prototype.finishLoading):

  • inspector/front-end/HeapSnapshotProxy.js:

(WebInspector.HeapSnapshotWorker.prototype.startCheckingForLongRunningCalls):
(WebInspector.HeapSnapshotLoaderProxy.prototype.startLoading):
(WebInspector.HeapSnapshotLoaderProxy.prototype.pushJSONChunk):
(WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading):

  • inspector/front-end/HeapSnapshotView.js:

(WebInspector.HeapSnapshotReceiver):
(WebInspector.HeapSnapshotReceiver.prototype.startLoading):
(WebInspector.HeapSnapshotReceiver.prototype.pushJSONChunk):
(WebInspector.HeapSnapshotReceiver.prototype.finishLoading):
(WebInspector.HeapSnapshotReceiver.prototype.dispose):
(WebInspector.HeapProfileHeader):
(WebInspector.HeapProfileHeader.prototype.load):
(WebInspector.HeapProfileHeader.prototype._setupWorker):
(WebInspector.HeapProfileHeader.prototype.dispose):
(WebInspector.HeapProfileHeader.prototype._saveStatusUpdate):
(WebInspector.HeapProfileHeader.prototype.pushJSONChunk):
(WebInspector.HeapProfileHeader.prototype._parsed):
(WebInspector.HeapProfileHeader.prototype.finishHeapSnapshot):
(WebInspector.HeapProfileHeader.prototype.saveToFile):
(WebInspector.HeapProfileHeader.prototype.loadFromFile.onLoad):
(WebInspector.HeapProfileHeader.prototype.loadFromFile):
(WebInspector.HeapProfileHeader.prototype._loadNextChunk):
(WebInspector.HeapProfileHeader.prototype._nextChunkLoaded):
(WebInspector.HeapProfileHeader.prototype._createFileReader):
(WebInspector.HeapSnapshotSaveToFileReceiver):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype.startLoading):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype.pushJSONChunk):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype.finishLoading):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype.dispose):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype._startSavingSnapshot):
(WebInspector.HeapSnapshotSaveToFileReceiver.prototype._saveStatusUpdate):

  • inspector/front-end/ProfilesPanel.js:

(WebInspector.ProfilesPanel.prototype._createFileSelectorElement.onChange):
(WebInspector.ProfilesPanel.prototype._createFileSelectorElement):
(WebInspector.ProfilesPanel.prototype._loadFromFile):

LayoutTests:

HeapSnapshotReceiver interface was introduced.
It declares the API for HSLoader, HSLoaderProxy and HSSaveToFileReceiver.
The HeapProfileHeader was refactored and tests were added.

Reviewed by Yury Semikhatsky.

  • inspector/profiler/heap-snapshot-loader-expected.txt:
  • inspector/profiler/heap-snapshot-loader.html:
02:12 Changeset [118741] by bulach@chromium.org

Test expectation pngs missing checksums are treated as MISSING by bots
https://bugs.webkit.org/show_bug.cgi?id=87552

Unreviewed gardening.

This test was already failing for IMAGE and TEXT reasons prior to r118566.
On r118566, new images were added, probably without an embedded checksum.
It looks like our test infrastructure thinks that these images are MISSING.
Temporarily add MISSING expectations, so that we can proceed with this (failing) test.

  • platform/chromium/test_expectations.txt:
02:10 Changeset [118740] by hbono@chromium.org

Use WebSpellCheckClient::spellcheck to retrieve suggestions.
https://bugs.webkit.org/show_bug.cgi?id=87690

Reviewed by Hajime Morita.

This change uses WebSpellCheckClient::spellcheck as a fallback method to
retrieve suggestions when a marker does not have any suggestions. (It consumes
lots of CPU power to get suggestions for misspelled word, i.e. Chromium cannot
afford to attach suggestions to all spelling markers.)

  • src/ContextMenuClientImpl.cpp:

(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Retrieve suggestions if markers do not have any.

02:06 Changeset [118739] by commit-queue@webkit.org

[EFL] MathML tests needs rebaseline after r118713
https://bugs.webkit.org/show_bug.cgi?id=87705

Unreviewed gardening.

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-29

  • platform/efl/mathml/presentation/mo-stretch-expected.png:
  • platform/efl/mathml/presentation/mo-stretch-expected.txt:
  • platform/efl/mathml/presentation/mroot-pref-width-expected.png:
  • platform/efl/mathml/presentation/mroot-pref-width-expected.txt:
  • platform/efl/mathml/presentation/tables-expected.png:
  • platform/efl/mathml/presentation/tables-expected.txt:
02:05 Changeset [118738] by kkristof@inf.u-szeged.hu

[Qt] Unreviewed gardening after r118585. Added Qt platform specific expected files.
https://bugs.webkit.org/show_bug.cgi?id=86848

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-05-29

  • platform/qt/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Added.
  • platform/qt/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Added.
02:01 Changeset [118737] by eric@webkit.org

Add HTMLIFrameElement.seamless property accessor now that seamless is enabled and works
https://bugs.webkit.org/show_bug.cgi?id=87708

Reviewed by Adam Barth.

Source/WebCore:

Lots of tests in fast/frames/seamless cover this property.

  • html/HTMLIFrameElement.idl:

LayoutTests:

  • fast/frames/seamless/seamless-basic-expected.txt:
  • fast/frames/seamless/seamless-inherited-origin-expected.txt:
  • fast/frames/seamless/seamless-nested-expected.txt:
  • fast/frames/seamless/seamless-quirks-expected.txt:
  • fast/frames/seamless/seamless-sandbox-flag-expected.txt:
  • fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt:
  • http/tests/security/seamless/seamless-cross-origin-expected.txt:
  • http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt:
01:43 Changeset [118736] by haraken@chromium.org

[Performance] Optimize querySelector() and querySelectorAll() by removing
redundant dummy style sheet creations
https://bugs.webkit.org/show_bug.cgi?id=87627

Reviewed by Antti Koivisto.

This patch improves performance of querySelector("#id") by 4.2% ~ 17.7%
in Safari and Chromium.

Performance tests: https://bugs.webkit.org/attachment.cgi?id=144288

The performance test results in my desktop:

[Safari/Mac]
document.querySelector("#headId") : 13.60 ms => 12.40 ms +9.68%
document.querySelector("#duplicatedId") : 14.80 ms => 14.20 ms +4.23%
document.querySelector("#tailId") : 13.80 ms => 12.20 ms +13.11%
document.querySelectorAll("#headId") : 17.80 ms => 14.60 ms +21.92%
document.querySelectorAll("#duplicatedId") : 513.80 ms => 471.60 ms +8.95%
document.querySelectorAll("#tailId") : 19.20 ms => 16.40 ms +17.07%
document.querySelector("h1") : 14.40 ms => 13.60 ms +5.88%
document.querySelector("h2") : 14.80 ms => 13.80 ms +7.25%
document.querySelector("h3") : 312.00 ms => 306.60 ms +1.76%
document.querySelectorAll("h1") : 322.00 ms => 314.60 ms +2.35%
document.querySelectorAll("h2") : 481.00 ms => 420.60 ms +14.36%
document.querySelectorAll("h3") : 326.80 ms => 315.80 ms +3.48%
document.querySelector(".headClass") : 16.20 ms => 15.40 ms +5.19%
document.querySelector(".duplicatedClass") : 17.00 ms => 15.40 ms +10.39%
document.querySelector(".tailClass") : 369.60 ms => 362.60 ms +1.93%
document.querySelectorAll(".headClass") : 388.20 ms => 377.60 ms +2.81%
document.querySelectorAll(".duplicatedClass") : 605.00 ms => 581.20 ms +4.09%
document.querySelectorAll(".tailClass") : 401.60 ms => 391.40 ms +2.61%

[Chromium/Linux]
ocument.querySelector("#headId") : 16.00 ms => 13.60 ms +17.65%
document.querySelector("#duplicatedId") : 16.80 ms => 15.40 ms +9.09%
document.querySelector("#tailId") : 16.00 ms => 13.60 ms +17.65%
document.querySelectorAll("#headId") : 29.00 ms => 25.00 ms +16.00%
document.querySelectorAll("#duplicatedId") : 561.40 ms => 505.20 ms +11.12%
document.querySelectorAll("#tailId") : 34.00 ms => 26.80 ms +26.87%
document.querySelector("h1") : 18.20 ms => 15.80 ms +15.19%
document.querySelector("h2") : 19.00 ms => 16.60 ms +14.46%
document.querySelector("h3") : 280.40 ms => 274.00 ms +2.34%
document.querySelectorAll("h1") : 300.20 ms => 365.20 ms -17.80%
document.querySelectorAll("h2") : 487.60 ms => 504.20 ms -3.29%
document.querySelectorAll("h3") : 349.40 ms => 324.00 ms +7.84%
document.querySelector(".headClass") : 18.40 ms => 16.00 ms +15.00%
document.querySelector(".duplicatedClass") : 19.40 ms => 16.20 ms +19.75%
document.querySelector(".tailClass") : 349.60 ms => 345.40 ms +1.22%
document.querySelectorAll(".headClass") : 382.80 ms => 378.20 ms +1.22%
document.querySelectorAll(".duplicatedClass") : 550.80 ms => 574.20 ms -4.08%
document.querySelectorAll(".tailClass") : 381.00 ms => 387.00 ms -1.55%

I've found that StyleSheetInternal::create() in CSSParser::parseSelector()
is a bottleneck of querySelector() and querySelectorAll().

void CSSParser::parseSelector(const String& string, CSSSelectorList& selectorList)
{

RefPtr<StyleSheetInternal> dummyStyleSheet = StyleSheetInternal::create();
setStyleSheet(dummyStyleSheet.get());
...;

}

This patch removes a dummy style sheet. Previously the dummy style sheet
was needed to avoid null checks of m_styleSheet in CSSGrammer.y.
This patch fixes CSSGrammer.y so that it works fine with a null m_styleSheet.

Tests: fast/dom/SelectorAPI/*. No change in the test results.

  • css/CSSGrammar.y:
  • css/CSSParser.cpp:

(WebCore::CSSParser::parseSelector):

01:41 Changeset [118735] by zimmermann@webkit.org

SVGViewSpec DOM bindings aka SVGSVGElement.currentView is unimplemented
https://bugs.webkit.org/show_bug.cgi?id=15495

Reviewed by Rob Buis.

Source/WebCore:

Finish SVGViewSpec implementation and expose it to the Web. Numerous smaller bugs are fixed:

  • SVGViewSpec and all of its contents should be read-only. Enforce that and test it. Add a new enum to SVGPropertyInfo so that each SVGAnimatedProperty knows if its content is supposed to be read-write or read-only.
  • Make the 'transform' attribute of SVGViewSpec exposable by switching to a SVGTransformListProperty - it can now be accessed from JS.
  • Assure that following XXXString methods are in sync with the corresponding SVG DOM interfaces

readonly attribute DOMString viewBoxString;
readonly attribute DOMString preserveAspectRatioString;
readonly attribute DOMString transformString;
readonly attribute DOMString viewTargetString;

  • Cleanup code in svg/properties that was intended to handle SVGViewSpec. Turns out lot of the complexity was unncessary, and can be removed.
  • Move SVGFitToViewBox to the same pattern SVGZoomAndPan uses since two days, that avoids any virtual function calls for attribute parsing.
  • Create/expose ObjectiveC/JS bindings for SVGViewSpec.
  • Enable SVGViewSpec constructor.

Tests: svg/custom/linking-a-03-b-all-expected.svg

svg/dom/SVGViewSpec-defaults.html
svg/dom/SVGViewSpec.html
svg/dom/complex-svgView-specification.html
svg/dom/viewspec-parser.html

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • DerivedSources.pri:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSSVGLengthCustom.cpp:

(WebCore::JSSVGLength::setValue):
(WebCore::JSSVGLength::convertToSpecifiedUnits):

  • bindings/objc/DOMSVG.h:
  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):
(NativeToJSValue):

  • bindings/scripts/CodeGeneratorObjC.pm:

(GenerateImplementation):

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateFunctionCallback):

  • bindings/v8/custom/V8SVGLengthCustom.cpp:

(WebCore::V8SVGLength::valueAccessorSetter):
(WebCore::V8SVGLength::convertToSpecifiedUnitsCallback):

  • page/DOMWindow.idl:
  • rendering/svg/RenderSVGResourcePattern.cpp:

(WebCore::RenderSVGResourcePattern::buildTileImageTransform):

  • svg/SVGFitToViewBox.cpp:
  • svg/SVGFitToViewBox.h:

(SVGFitToViewBox):
(WebCore::SVGFitToViewBox::parseAttribute):

  • svg/SVGMarkerElement.cpp:

(WebCore::SVGMarkerElement::orientTypePropertyInfo):
(WebCore::SVGMarkerElement::parseAttribute):
(WebCore::SVGMarkerElement::synchronizeOrientType):
(WebCore::SVGMarkerElement::lookupOrCreateOrientTypeWrapper):

  • svg/SVGPathElement.cpp:

(WebCore::SVGPathElement::dPropertyInfo):
(WebCore::SVGPathElement::svgAttributeChanged):
(WebCore::SVGPathElement::pathByteStream):
(WebCore::SVGPathElement::lookupOrCreateDWrapper):
(WebCore::SVGPathElement::synchronizeD):

  • svg/SVGPathSegWithContext.h:

(WebCore::SVGPathSegWithContext::animatedProperty):

  • svg/SVGPatternElement.cpp:

(WebCore::SVGPatternElement::parseAttribute):

  • svg/SVGPolyElement.cpp:

(WebCore::SVGPolyElement::pointsPropertyInfo):
(WebCore::SVGPolyElement::parseAttribute):
(WebCore::SVGPolyElement::synchronizePoints):
(WebCore::SVGPolyElement::lookupOrCreatePointsWrapper):

  • svg/SVGRect.h:
  • svg/SVGSVGElement.cpp:

(WebCore::SVGSVGElement::~SVGSVGElement):
(WebCore::SVGSVGElement::currentView):
(WebCore::SVGSVGElement::parseAttribute):
(WebCore::SVGSVGElement::currentViewBoxRect):
(WebCore::SVGSVGElement::viewBoxToViewTransform):
(WebCore::SVGSVGElement::setupInitialView):
(WebCore::SVGSVGElement::inheritViewAttributes):

  • svg/SVGSVGElement.h:

(SVGSVGElement):

  • svg/SVGSVGElement.idl:
  • svg/SVGSymbolElement.cpp:

(WebCore::SVGSymbolElement::parseAttribute):

  • svg/SVGTests.cpp:

(WebCore::SVGTests::requiredFeaturesPropertyInfo):
(WebCore::SVGTests::requiredExtensionsPropertyInfo):
(WebCore::SVGTests::systemLanguagePropertyInfo):
(WebCore::SVGTests::synchronizeRequiredFeatures):
(WebCore::SVGTests::synchronizeRequiredExtensions):
(WebCore::SVGTests::synchronizeSystemLanguage):

  • svg/SVGTextContentElement.cpp:

(WebCore::SVGTextContentElement::textLengthPropertyInfo):
(WebCore::SVGTextContentElement::synchronizeTextLength):
(WebCore::SVGTextContentElement::lookupOrCreateTextLengthWrapper):

  • svg/SVGViewElement.cpp:

(WebCore::SVGViewElement::parseAttribute):

  • svg/SVGViewElement.h:
  • svg/SVGViewSpec.cpp:

(WebCore::SVGViewSpec::viewBoxPropertyInfo):
(WebCore::SVGViewSpec::preserveAspectRatioPropertyInfo):
(WebCore::SVGViewSpec::transformPropertyInfo):
(WebCore::SVGViewSpec::SVGViewSpec):
(WebCore::SVGViewSpec::viewBoxIdentifier):
(WebCore::SVGViewSpec::preserveAspectRatioIdentifier):
(WebCore::SVGViewSpec::transformIdentifier):
(WebCore::SVGViewSpec::setZoomAndPan):
(WebCore::SVGViewSpec::setTransformString):
(WebCore::SVGViewSpec::transformString):
(WebCore::SVGViewSpec::viewBoxString):
(WebCore::SVGViewSpec::preserveAspectRatioString):
(WebCore::SVGViewSpec::viewTarget):
(WebCore::SVGViewSpec::transform):
(WebCore::SVGViewSpec::lookupOrCreateViewBoxWrapper):
(WebCore::SVGViewSpec::lookupOrCreatePreserveAspectRatioWrapper):
(WebCore::SVGViewSpec::lookupOrCreateTransformWrapper):
(WebCore::SVGViewSpec::reset):
(WebCore::SVGViewSpec::parseViewSpec):

  • svg/SVGViewSpec.h:

(WebCore::SVGViewSpec::~SVGViewSpec):
(SVGViewSpec):
(WebCore::SVGViewSpec::create):
(WebCore::SVGViewSpec::setViewTargetString):
(WebCore::SVGViewSpec::setZoomAndPan):
(WebCore::SVGViewSpec::contextElement):
(WebCore::SVGViewSpec::resetContextElement):
(WebCore::SVGViewSpec::transformBaseValue):
(WebCore::SVGViewSpec::viewBoxAnimated):
(WebCore::SVGViewSpec::viewBox):
(WebCore::SVGViewSpec::viewBoxBaseValue):
(WebCore::SVGViewSpec::setViewBoxBaseValue):
(WebCore::SVGViewSpec::preserveAspectRatioAnimated):
(WebCore::SVGViewSpec::preserveAspectRatio):
(WebCore::SVGViewSpec::preserveAspectRatioBaseValue):
(WebCore::SVGViewSpec::setPreserveAspectRatioBaseValue):

  • svg/SVGViewSpec.idl:
  • svg/properties/SVGAnimatedProperty.h:

(WebCore::SVGAnimatedProperty::isReadOnly):
(WebCore::SVGAnimatedProperty::setIsReadOnly):
(SVGAnimatedProperty):
(WebCore::SVGAnimatedProperty::lookupOrCreateWrapper):
(WebCore::SVGAnimatedProperty::lookupWrapper):
(WebCore::SVGAnimatedProperty::SVGAnimatedProperty):

  • svg/properties/SVGAnimatedPropertyMacros.h:

(WebCore::SVGSynchronizableAnimatedProperty::synchronize):
(SVGSynchronizableAnimatedProperty):

  • svg/properties/SVGAnimatedPropertySynchronizer.h: Removed.
  • svg/properties/SVGAttributeToPropertyMap.h:
  • svg/properties/SVGListProperty.h:
  • svg/properties/SVGListPropertyTearOff.h:

(SVGListPropertyTearOff):
(WebCore::SVGListPropertyTearOff::isReadOnly):

  • svg/properties/SVGPathSegListPropertyTearOff.h:

(SVGPathSegListPropertyTearOff):
(WebCore::SVGPathSegListPropertyTearOff::isReadOnly):

  • svg/properties/SVGProperty.h:

(SVGProperty):

  • svg/properties/SVGPropertyInfo.h:

(WebCore::SVGPropertyInfo::SVGPropertyInfo):
(SVGPropertyInfo):

  • svg/properties/SVGPropertyTearOff.h:

(WebCore::SVGPropertyTearOff::isReadOnly):

  • svg/properties/SVGStaticListPropertyTearOff.h:

(SVGStaticListPropertyTearOff):
(WebCore::SVGStaticListPropertyTearOff::isReadOnly):

Source/WebKit/mac:

  • MigrateHeaders.make: Copy DOMSVGViewSpec*.h headers.

LayoutTests:

Re-enable a long disabled test for SVGViewSpec, and make it actually work.
Extend SVGViewSpec test coverage, and rebaseline results that changed due the SVGViewSpec constructor addition.

Make linking-a-03-b-all.svg a reftest, to avoid rebaselines on all platforms.

  • platform/chromium-linux/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/chromium-mac/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/chromium-win/fast/js/global-constructors-expected.txt:
  • platform/chromium-win/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/chromium-win/svg/custom/linking-a-03-b-all-expected.txt: Removed.
  • platform/gtk/fast/js/global-constructors-expected.txt:
  • platform/gtk/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/gtk/svg/custom/linking-a-03-b-all-expected.txt: Removed.
  • platform/mac/fast/js/global-constructors-expected.txt:
  • platform/mac/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/mac/svg/custom/linking-a-03-b-all-expected.txt: Removed.
  • platform/qt/fast/js/global-constructors-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-all-expected.png: Removed.
  • platform/qt/svg/custom/linking-a-03-b-all-expected.txt: Removed.
  • platform/win/fast/js/global-constructors-expected.txt:
  • svg/custom/global-constructors-expected.txt:
  • svg/custom/linking-a-03-b-all-expected.svg: Added.
  • svg/dom/SVGViewSpec-defaults-expected.txt: Added.
  • svg/dom/SVGViewSpec-defaults.html: Added.
  • svg/dom/SVGViewSpec-expected.txt: Added.
  • svg/dom/SVGViewSpec.html: Added.
  • svg/dom/complex-svgView-specification-expected.html: Added.
  • svg/dom/complex-svgView-specification.html: Added.
  • svg/dom/resources/viewspec-target.svg: Added.
  • svg/dom/script-tests/SVGViewSpec-defaults.js: Added.
  • svg/dom/script-tests/SVGViewSpec.js: Added.

(completeTest.script.onload):
(completeTest):
(testFragment):
(matrixToString):
(continueTesting):

  • svg/dom/viewspec-parser-expected.txt: Added.
  • svg/dom/viewspec-parser.html: Renamed from LayoutTests/svg/dom/viewspec-parser.html-disabled.
01:32 Changeset [118734] by bulach@chromium.org

[chromium] Adjust expectations for fast/layers/clip-rects-assertion-expected.txt
https://bugs.webkit.org/show_bug.cgi?id=87671

Unreviewed gardening.
Test has been fixed by r118724, remove expectation.

  • platform/chromium/test_expectations.txt:
01:23 Changeset [118733] by tkent@chromium.org

REGRESSION (r90971): the cursor is painted “behind” the placeholder text
https://bugs.webkit.org/show_bug.cgi?id=87155

Reviewed by Hajime Morita.

Source/WebCore:

This regression happened only on platforms on which
RenderTheme::shouldShowPlaceholderWhenFocused() returns true.

Because the order of renderers for the editable node and the placeholder
node was:

  • A renderer for the editable node
  • A renderer for the placeholder node,

The text caret was painted, then the palceholder was painted.

We should not use z-index in the built-in shadow nodes. So the patch
fixes this bug by re-ordering these renderers.

Tests: fast/forms/input-placeholder-paint-order-2.html

fast/forms/input-placeholder-paint-order.html
fast/forms/textarea/textarea-placeholder-paint-order-2.html
fast/forms/textarea/textarea-placeholder-paint-order.html

  • html/HTMLTextFormControlElement.cpp:

(WebCore::HTMLTextFormControlElement::fixPlaceholderRenderer):
Added. Reorder the order of renderers so that the placeholder renderer
precedes the inner text renderer.

  • html/HTMLTextFormControlElement.h: Add fixPlaceholderRenderer() declaration.
  • html/HTMLTextAreaElement.cpp:

(WebCore::HTMLTextAreaElement::attach): Calls fixPlaceholderRenderer().
(WebCore::HTMLTextAreaElement::updatePlaceholderText):
ditto. Also, use innerTextElement() to improvde code readability.

  • html/HTMLTextAreaElement.h:

(HTMLTextAreaElement): Overrides attach().

  • html/TextFieldInputType.cpp:

(WebCore::TextFieldInputType::updatePlaceholderText):
Calls fixPlaceholderRenderer().
(WebCore::TextFieldInputType::attach): ditto.

  • html/TextFieldInputType.h:

(TextFieldInputType): Overrides attach().

LayoutTests:

  • fast/forms/input-placeholder-paint-order-2-expected.html: Added.
  • fast/forms/input-placeholder-paint-order-2.html: Added.
  • fast/forms/input-placeholder-paint-order.html: Added.
  • fast/forms/textarea/textarea-placeholder-paint-order-2-expected.html: Added.
  • fast/forms/textarea/textarea-placeholder-paint-order-2.html: Added.
  • fast/forms/textarea/textarea-placeholder-paint-order.html: Added.
  • platform/chromium-mac-snowleopard/fast/forms/input-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/forms/input-placeholder-paint-order-expected.txt: Added.
  • platform/chromium-mac-snowleopard/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
01:08 Changeset [118732] by carlosgc@webkit.org

[GTK] Add return value information to WebKitWebView::load-failed signal documentation
https://bugs.webkit.org/show_bug.cgi?id=87704

Reviewed by Martin Robinson.

  • UIProcess/API/gtk/WebKitWebView.cpp:

(webkit_web_view_class_init):

01:06 Changeset [118731] by carlosgc@webkit.org

[GTK] Add WebKitWebInspector.h to the list of WebKit2 GTK public headers
https://bugs.webkit.org/show_bug.cgi?id=87703

Reviewed by Martin Robinson.

  • GNUmakefile.list.am: Add WebKitWebInspector.h to webkit2gtk_h_api.
00:57 Changeset [118730] by kkristof@inf.u-szeged.hu

[Qt] Unreviewed gardening after r118631. http/tests/appcache/load-from-appcache-defer-resume-crash.html
fails because of missing LayoutTestController::setUseDeferredFrameLoading implementation.

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-05-29

  • platform/qt/Skipped:
00:51 Changeset [118729] by commit-queue@webkit.org

[EFL] Compilation warning in DumpRenderTreeView.cpp
https://bugs.webkit.org/show_bug.cgi?id=87636

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-29
Reviewed by Filip Pizlo.

Source/WebKit/efl:

Fix return type of exceeded_application_cache_quota callback, it
should be int64_t, not uint64_t.

  • ewk/ewk_view.h:

Tools:

Fix compilation error in DumpRenderTreeView.cpp due to wrong format
specifier in printf. Also fix the return type for
onExceededApplicationCacheQuota callback.

  • DumpRenderTree/efl/DumpRenderTreeView.cpp:

(onExceededApplicationCacheQuota):

00:34 Changeset [118728] by hbono@chromium.org

Adding Hironori Bono to committers.py.
https://bugs.webkit.org/show_bug.cgi?id=87697

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

05/28/12:

23:44 Changeset [118727] by ossy@webkit.org

[Qt] New fast/dom/window-scroll-scaling.html made 3-400 tests flakey
https://bugs.webkit.org/show_bug.cgi?id=87700

Unreviewed gardening to paint the bot less and less red.

  • platform/qt/Skipped: Skip fast/dom/window-scroll-scaling.html until proper fix.
23:42 Changeset [118726] by haraken@chromium.org

[V8] Implement V8Binding::v8Null(isolate) and use it in CodeGeneratorV8.pm
https://bugs.webkit.org/show_bug.cgi?id=87692

Reviewed by Adam Barth.

Since v8::Null(isolate) crashes if we pass a NULL isolate, we are planning
to pass Isolate to v8::Null() in the following steps:

[1] Implement V8Bindings::v8Null(isolate). v8Null(isolate) does the NULL check.
If isolate is NULL, v8Null(isolate) calls v8::Null(). Otherwise,
v8Null(isolate) calls v8::Null(isolate).

[2] In V8 bindings, we replace v8::Null() with v8::Null(isolate) for a non-optional
'isolate' parameter. (e.g. void foo(..., Isolate* isolate) { v8::Null(); } )

[3] In V8 bindings, we replace v8::Null() with v8Null(isolate) for an optional
'isolate' parameter. (e.g. void foo(..., Isolate* isolate = 0) { v8::Null(); } )

This bug fixes [1] by implementing V8Binding::v8Null(isolate). Also this patch uses
V8Binding::v8Null(isolate) in bindings/v8/*.{h,cpp}.

No tests. No behavior change.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):
(NativeToJSValue):

  • bindings/scripts/test/V8/V8Float64Array.h:
  • bindings/scripts/test/V8/V8TestActiveDOMObject.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestCustomNamedGetter.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestEventConstructor.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestEventTarget.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestException.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestInterface.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestMediaQueryListListener.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestNamedConstructor.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestNode.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestObj.h:

(WebCore::toV8):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:

(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetter):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:

(WebCore::toV8):

  • bindings/v8/V8Binding.h:

(WebCore::v8Null):
(WebCore):
(WebCore::v8DateOrNull):

  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8DOMWrapper.h:

(WebCore):

22:37 Changeset [118725] by tkent@chromium.org

Fix a crash in HTMLFormControlElement::disabled().
https://bugs.webkit.org/show_bug.cgi?id=86534

Reviewed by Ryosuke Niwa.

Source/WebCore:

Stop to hold pointers of fildset and legend elements. We can avoid it by
holding ancestor's disabled state.

The ancesotr's disabled state should be invalidated when

  • fieldset's disabled value is changed.
  • fieldset's children is updated because a legend position might be changed.
  • A form control is attached to or detached from a tree.

No new tests. It's almost impossible to make a reliable test.

  • html/HTMLFieldSetElement.cpp:

(WebCore::HTMLFieldSetElement::invalidateDisabledStateUnder):
Added. Invalidate disabled state of form controls under the specified node.
(WebCore::HTMLFieldSetElement::disabledAttributeChanged):
Uses invalidateDisabledStateUnder().
(WebCore::HTMLFieldSetElement::childrenChanged):
Added new override function. We need invalidate disabled state of form
controls under legend elements.

  • html/HTMLFieldSetElement.h:

(HTMLFieldSetElement): Add invalidateDisabledStateUnder() and childrenChanged().

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::HTMLFormControlElement):
Remove initialization of the removed data members.
Initialize m_ancestorDisabledState.
(WebCore::HTMLFormControlElement::updateAncestorDisabledState):
Update m_ancestorDisabledState. It should be
AncestorDisabledStateDisabled if the control is under a disabled
fieldset and not under the first legend child of the disabled filedset.
(WebCore::HTMLFormControlElement::ancestorDisabledStateWasChanged):
Invalidate m_ancestorDisabledState.
(WebCore::HTMLFormControlElement::insertedInto): ditto.
(WebCore::HTMLFormControlElement::removedFrom): ditto.
(WebCore::HTMLFormControlElement::disabled):
Calls updateAncestorDisabledState() if needed.
(WebCore::HTMLFormControlElement::recalcWillValidate):
Remove unnecessary check for m_legendAncestor.

  • html/HTMLFormControlElement.h:

(HTMLFormControlElement):

  • Rename updateFieldSetAndLegendAncestor() to updateAncestorDisabledState(), and make it private.
  • Remove m_fieldSetAncestor, m_legendAncestor, and m_fieldSetAncestorValid.
  • Add m_ancestorDisabledState.

LayoutTests:

Add a testcase to confirm <lagend> doesn't affect validation.

  • fast/forms/datalist/datalist-child-validation-expected.txt:
  • fast/forms/datalist/datalist-child-validation.html:
22:16 Changeset [118724] by bulach@chromium.org

Removes pixel result requirements from fast/layers/clip-rects-assertion-expected.txt
https://bugs.webkit.org/show_bug.cgi?id=87663

Unreviewed gardening.

This test was added by r118612, but no pixel result were provided.
It seems that it's enough to remove the param for dumpAsText() and just use the text text output.

  • fast/layers/clip-rects-assertion.html:
22:15 Changeset [118723] by toyoshim@chromium.org

[WebSocket] Receiving reserved close codes, 1005, 1006, and 1015 must appear as code=1006 and wasClean=false
https://bugs.webkit.org/show_bug.cgi?id=87084

Reviewed by Kent Tamura.

Source/WebCore:

Status codes 1005, 1006, and 1015 are forbidden to be sent in actual close frames.
If a client received these frames, the client should handle them as broken.
Close frames containing invalid body size are the same as these forbidden cases.
Update close-code-and-reason tests to verify this patch.

  • Modules/websockets/WebSocket.cpp: Handle AbnormalClosure as wasClean == false

(WebCore::WebSocket::didClose):

  • Modules/websockets/WebSocketChannel.cpp: Handle close frames' status code carefully

(WebCore::WebSocketChannel::processFrame):

  • Modules/websockets/WebSocketChannel.h: Update on newly defined close event codes

Source/WebKit/chromium:

Update close event codes corresponding to WebSocketChannel::CloseEventCode.

  • public/WebSocket.h: Update on newly defined close event codes

LayoutTests:

Add test cases where server initiates a closing handshake with forbidden status codes.

  • http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt:
  • http/tests/websocket/tests/hybi/close-code-and-reason.html:
  • http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt:
  • http/tests/websocket/tests/hybi/workers/resources/close-code-and-reason.js:

(WebSocketTest.prototype.onclose):

21:11 Changeset [118722] by haraken@chromium.org

[V8] Avoid passing NULL to an 'isolate' parameter
https://bugs.webkit.org/show_bug.cgi?id=87689

Reviewed by Adam Barth.

v8::Null(isolate) crashes if we pass a NULL isolate.
Thus we are planning to replace v8::Null()s in a following way:

  • Implement V8Bindings::v8Null(isolate). v8Null(isolate) does the NULL check.

If isolate is NULL, v8Null(isolate) calls v8::Null(). Otherwise,
v8Null(isolate) calls v8::Null(isolate).

  • In V8 bindings, we replace v8::Null() with v8::Null(isolate) for a

non-optional 'isolate' parameter.
(e.g. void foo(..., Isolate* isolate) { v8::Null(); } )

  • In V8 bindings, we replace v8::Null() with v8Null(isolate) for an

optional 'isolate' parameter.
(e.g. void foo(..., Isolate* isolate = 0) { v8::Null(); } )

However, currently we cannot do the replacement mechanically, since some code
pass NULL to a non-optional 'isolate' parameter. In other words, currently
"non-optional" does not guarantee that 'isolate' is not NULL.

This patch removes all the code that passes NULL to a non-optional 'isolate'
parameter. This will enable us to achieve the replacement mechanically.

No tests. No behavior change.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateCallbackImplementation):
(NativeToJSValue):

  • bindings/scripts/test/V8/V8TestCallback.cpp:

(WebCore::V8TestCallback::callbackWithClass1Param):
(WebCore::V8TestCallback::callbackWithClass2Param):
(WebCore::V8TestCallback::callbackWithStringList):
(WebCore::V8TestCallback::callbackRequiresThisToPass):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::V8TestObj::installPerContextProperties):

  • bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:

(WebCore::V8SQLStatementErrorCallback::handleEvent):

  • bindings/v8/custom/V8MutationCallbackCustom.cpp:

(WebCore::V8MutationCallback::handleEvent):

21:08 Changeset [118721] by tkent@chromium.org

Form controls in <fieldset disabled> should not be validated.
https://bugs.webkit.org/show_bug.cgi?id=87381

Reviewed by Hajime Morita.

Source/WebCore:

We need to use disabeld() instead of m_disabled to calculate
willValidate property. Also, we need to update willValidate if
necessary.

Test: fast/forms/fieldset/validation-in-fieldset.html

  • html/HTMLFieldSetElement.cpp:

(WebCore::HTMLFieldSetElement::disabledAttributeChanged):

  • Do not traverse this.
  • Calls ancestorDisabledStateWasChanged() instead of setNeedsStyleRecalc() because we'd like to do additional tasks.
  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::ancestorDisabledStateWasChanged):
Added. Just calls disabledAttributeChanged().
(WebCore::HTMLFormControlElement::parseAttribute):
Do not call setNeedsWillValidateCheck() whenever an attribute is updated.
It should be called only if disabled or readonly attribute is updated.
(WebCore::HTMLFormControlElement::disabledAttributeChanged):
Add setNeedsWillValidateCheck(). It was moved from parseAttribute().
(WebCore::HTMLFormControlElement::insertedInto):
Invalidate ancestor information.
(WebCore::HTMLFormControlElement::recalcWillValidate):
Use disabled() instead of m_disabled. disabled() takes care of
ancestor's disabled state.

  • html/HTMLFormControlElement.h:

(HTMLFormControlElement):

LayoutTests:

  • fast/forms/fieldset/validation-in-fieldset-expected.txt: Added.
  • fast/forms/fieldset/validation-in-fieldset.html: Added.
21:05 AddingFeatures edited by rakuco@webkit.org
Add another CMake-related file that should be changed. (diff)
20:57 Changeset [118720] by commit-queue@webkit.org

[Forms] HTMLFieldSetElement.idl doesn't have elements attribute.
https://bugs.webkit.org/show_bug.cgi?id=80110

Patch by Rakesh KN <rakesh.kn@motorola.com> on 2012-05-28
Reviewed by Kent Tamura.

Source/WebCore:

Implemented elements attribute for HTMLFieldSetElement. This is spec'ed at
http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#dom-fieldset-elements

Tests: fast/forms/fieldset/fieldset-elements.html

fast/forms/fieldset/fieldset-form-collection-radionode-list.html

  • dom/Node.cpp:

(WebCore::Node::radioNodeList):
Extended ASSERT to assert if not HTMLFieldSetElement or HTMLFormElement.

  • html/HTMLFieldSetElement.cpp:

(WebCore::HTMLFieldSetElement::elements):
Elements attribute implementation.
(WebCore::HTMLFieldSetElement::refreshElementsIfNeeded):
Update the formcontrol elements collections if dom tree got modified.
(WebCore::HTMLFieldSetElement::associatedElements):
FormControl elements collection accessor.
(WebCore::HTMLFieldSetElement::length):
Number of elements in the fieldset group.

  • html/HTMLFieldSetElement.h:

Added elements collection member and form control collection members.

  • html/HTMLFieldSetElement.idl:

Added elements attribute.

  • html/HTMLFormCollection.cpp:

(WebCore::HTMLFormCollection::formControlElements):
Added support for HTMLFieldSetElement, based on base element type gets its associated elements.
(WebCore::HTMLFormCollection::numberOfFormControlElements): Ditto
(WebCore::HTMLFormCollection::getNamedFormItem): Process image elements only for form element.
(WebCore::HTMLFormCollection::updateNameCache): Ditto

  • html/RadioNodeList.cpp:

(WebCore::RadioNodeList::RadioNodeList):
DynamicSubTree root element is decided based on the type whether base element is form or fieldset element.
Renamed m_formElement to m_baseElement.
(WebCore::RadioNodeList::~RadioNodeList):
Renamed m_formElement to m_baseElement.
(WebCore::RadioNodeList::checkElementMatchesRadioNodeListFilter):
Form element specific changes moved under form element check.

  • html/RadioNodeList.h:

(WebCore::RadioNodeList::create):
(RadioNodeList):
Renamed m_formElement to m_baseElement.

LayoutTests:

  • fast/forms/fieldset/fieldset-elements-expected.txt: Added.
  • fast/forms/fieldset/fieldset-elements.html: Added.
  • fast/forms/fieldset/fieldset-form-collection-radionode-list-expected.txt: Added.
  • fast/forms/fieldset/fieldset-form-collection-radionode-list.html: Added.
20:49 Changeset [118719] by commit-queue@webkit.org

[BlackBerry] http authenticate dialog popup only once no matter authentication pass or fail
https://bugs.webkit.org/show_bug.cgi?id=80135

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-28
Reviewed by Rob Buis.

Source/WebCore:

RIM PR: 145660
Fixed a regression introduced by r111810, we should cancel the new
request when user press cancel button in http authentication challenge
dialog, and we should also allow sending empty username and password
with the request.
Also removed redundant codes which checked the existence of the
FrameLoaderClient pointer, as we've already moved authenticationChallenge()
out of class FrameLoaderClient, it is not needed.

Manual test added. Testing http authentication dialog relies on user interaction.

Resubmit the patch reverted by r115104 after the digest infinite loop
issue for BlackBerry porting get identified and fixed.

Internally reviewed by Joe Mason <jmason@rim.com>

  • platform/blackberry/PageClientBlackBerry.h:
  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::sendRequestWithCredentials):

Source/WebKit/blackberry:

RIM PR: 145660
Fixed a regression introduced by r111810, which used the wrong
credential object.

Added the interface function didReceivedAuthenticaitonChallenge()
in interface class DumpRenderTreeClient;
Called m_dumpRenderTree->didReceiveAuthenticationChallenge() in
WebPagePrivate::authenticationChallenge() when DRT is enabled.

Test: reuse existing test cases:
http/tests/loading/basic-credentials-sent-automatically.html
http/tests/loading/basic-auth-resend-wrong-credentials.html

Resubmit the patch reverted by r115104 after the digest infinite loop
issue for BlackBerry porting get identified and fixed.

Internally reviewed by Joe Mason <jmason@rim.com>

  • Api/DumpRenderTreeClient.h:

(WebCore):

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::authenticationChallenge):

  • Api/WebPageClient.h:
  • Api/WebPage_p.h:

(WebPagePrivate):

Tools:

Implemented interface function didReceiveAuthenticationChallenge in class
DumpRenderTree.

Resubmit the patch reverted by r115104 after the digest infinite loop
issue for BlackBerry porting get identified and fixed.

Internally reviewed by Joe Mason <jmason@rim.com>

  • DumpRenderTree/blackberry/DumpRenderTree.cpp:

(drtCredentialDescription):
(BlackBerry::WebKit::DumpRenderTree::didReceiveAuthenticationChallenge):
(WebKit):

  • DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:

(WebCore):
(DumpRenderTree):

20:24 Changeset [118718] by commit-queue@webkit.org

Unreviewed, rolling out r118646.
http://trac.webkit.org/changeset/118646
https://bugs.webkit.org/show_bug.cgi?id=87691

broke V8 raytrace benchmark (Requested by pizlo_ on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-28

  • heap/Heap.cpp:

(JSC::Heap::collect):

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweep):

  • heap/MarkedBlock.h:

(JSC::MarkedBlock::sweepWeakSet):
(JSC):

  • heap/MarkedSpace.cpp:

(JSC::SweepWeakSet::operator()):
(JSC):
(JSC::MarkedSpace::sweepWeakSets):

  • heap/MarkedSpace.h:

(MarkedSpace):

20:04 Changeset [118717] by dbarton@mathscribe.com

mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786

Unreviewed gardening - add back these two tests to skip for now.

  • platform/mac/Skipped:
19:58 Changeset [118716] by commit-queue@webkit.org

[BlackBerry] http authentication challenge issue when loading favicon
https://bugs.webkit.org/show_bug.cgi?id=87665

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-28
Reviewed by Rob Buis.

Provide the TargetType when generating a favicon loading
request. Loading favicons is triggered after the main resource
has been loaded and parsed, so if we cancel the authentication
challenge when loading main resource, we should also cancel
loading the favicon when it starts to load. If not we will
receive another challenge after we canceled the main resource
loading, which may confuse the user.

Internally reviewed by Joe Mason <jmason@rim.com>

No new tests because of no behavior changes.

  • loader/icon/IconLoader.cpp:

(WebCore::IconLoader::startLoading):

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::sendRequestWithCredentials):

19:43 Changeset [118715] by fpizlo@apple.com

DFG should not generate code for code that the CFA proves to be unreachable
https://bugs.webkit.org/show_bug.cgi?id=87682

Reviewed by Sam Weinig.

This also fixes a small performance bug where CFA was not marking blocks
as having constants (and hence not triggering constant folding) if the only
constants were on GetLocals.

And fixing that bug revealed another bug: constant folding was assuming that
a GetLocal must be the first access to a local in a basic block. This isn't
true. The first access may be a Flush. This patch fixes that issue using the
safest approach possible, since we don't need to be clever for something that
only happens in one of our benchmarks.

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGConstantFoldingPhase.cpp:

(JSC::DFG::ConstantFoldingPhase::run):

  • dfg/DFGJITCompiler.h:

(JSC::DFG::JITCompiler::noticeOSREntry):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

18:50 Changeset [118714] by morrita@google.com

Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
https://bugs.webkit.org/show_bug.cgi?id=87101

Reviewed by Kentaro Hara.

Source/WebCore:

No new tests. No behavior change.

  • bindings/generic/ContextEnabledFeatures.cpp:

(WebCore::ContextEnabledFeatures::shadowDOMEnabled):

  • loader/FrameLoaderClient.h:

(WebCore::FrameLoaderClient::allowShadowDOM):

Source/WebKit/chromium:

  • src/FrameLoaderClientImpl.cpp:

(WebKit::FrameLoaderClientImpl::allowShadowDOM):

  • src/FrameLoaderClientImpl.h:

(FrameLoaderClientImpl):

18:24 Changeset [118713] by dbarton@mathscribe.com

mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786

Reviewed by Darin Adler.

Source/WebCore:

The fix to https://bugs.webkit.org/show_bug.cgi?id=84167 changed inline-table baselines,
including for <mtable>. We therefore have to correct <mtable>'s vertical-align CSS
property.

Tested by existing tests mo-stretch.html, row-alignment.xhtml, and tables.xhtml.

  • css/mathml.css:

(mtable):

LayoutTests:

  • platform/mac/Skipped:
  • platform/mac/mathml/presentation/mo-stretch-expected.png:
  • platform/mac/mathml/presentation/mo-stretch-expected.txt:
  • platform/mac/mathml/presentation/row-alignment-expected.png:
  • platform/mac/mathml/presentation/row-alignment-expected.txt:
  • platform/mac/mathml/presentation/tables-expected.png:
  • platform/mac/mathml/presentation/tables-expected.txt:
16:56 Changeset [118712] by macpherson@chromium.org

Make CSSParser::filteredProperties() O(n) instead of O(n2) and improve readability.
https://bugs.webkit.org/show_bug.cgi?id=87078

Reviewed by Darin Adler.

This patch implements a number of improvements to filteredProperties:
1) Make the code more linearly readable by separating out handling of important and non-important properties.
2) Eliminate one BitArray instance (reduces hot memory so more cache friendly).
3) Remove O(n2) behavior caused by scanning for and removing previously encountered definitions of each property.
The key algorithmic change is to add properties in decreasing precedence:
a) Iterating once per (important, !important) so that important properties are visited first.
b) Reverse iteration of m_parsedProperties visits the properties in decreasing precedence.

Covered by loads of existing tests - getting CSS property precedence wrong results in too many errors to list.
In particular fast/css contains test cases for important corner cases like duplicated important properties.

  • css/CSSParser.cpp:

(WebCore::CSSParser::createStylePropertySet):

  • css/CSSProperty.h:

Add vector traits so that CSSProperty can just be memset by vector without calling constructor.

16:52 Changeset [118711] by morrita@google.com

Can't edit <input> elements with :first-letter
https://bugs.webkit.org/show_bug.cgi?id=87615

Reviewed by Kent Tamura.

A check using canHaveGeneratedChildren() should cover not only
button and menulist, but also RenderTextControl.
This change pulles canHaveGeneratedChildren() up
from RenderDeprecatedFlexibleBox to RenderObject,
and lets RenderTextControl override it.

Test: fast/forms/input-first-letter-edit.html

  • rendering/RenderBlock.cpp:

(WebCore):
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::updateFirstLetter):

  • rendering/RenderBlock.h: Removed a static function canHaveGeneratedChildren()

(RenderBlock):

  • rendering/RenderDeprecatedFlexibleBox.h:
  • rendering/RenderObject.cpp:

(WebCore):
(WebCore::RenderObject::canHaveGeneratedChildren): Added.

  • rendering/RenderObject.h:

(RenderObject):

  • rendering/RenderTextControl.h:
15:49 Changeset [118710] by commit-queue@webkit.org

[BlackBerry] Add support for layers with scale invariant size
https://bugs.webkit.org/show_bug.cgi?id=87601

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

To support layers that have a "floating" appearance, i.e. don't change size
when the web page is drawn at a different scale, we add a new layer property
named "sizeIsScaleInvariant".

The anchor position will still be given in document coordinates for these
"floating" layers, so this is well suited for interface elements like selection
handles whose size is always the same but move with the web page contents.

PR #156812

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::setDrawTransform):
(WebCore::LayerCompositingThread::drawTextures):
(WebCore::LayerCompositingThread::drawMissingTextures):

  • platform/graphics/blackberry/LayerCompositingThread.h:

(LayerCompositingThread):

  • platform/graphics/blackberry/LayerCompositingThreadClient.h:

(LayerCompositingThreadClient):
(WebCore::LayerCompositingThreadClient::drawMissingTextures):

  • platform/graphics/blackberry/LayerData.h:

(WebCore::LayerData::LayerData):
(WebCore::LayerData::sizeIsScaleInvariant):
(LayerData):

  • platform/graphics/blackberry/LayerRenderer.cpp:

(WebCore::LayerRenderer::LayerRenderer):
(WebCore::LayerRenderer::compositeLayers):
(WebCore::LayerRenderer::updateLayersRecursive):
(WebCore::LayerRenderer::compositeLayersRecursive):

  • platform/graphics/blackberry/LayerRenderer.h:

(LayerRenderer):

  • platform/graphics/blackberry/LayerTiler.cpp:

(WebCore::LayerTiler::updateTextureContentsIfNeeded):
(WebCore::LayerTiler::drawTextures):
(WebCore::LayerTiler::drawMissingTextures):
(WebCore::LayerTiler::drawTexturesInternal):

  • platform/graphics/blackberry/LayerTiler.h:

(LayerTiler):

  • platform/graphics/blackberry/LayerWebKitThread.h:

(WebCore::LayerWebKitThread::setSizeIsScaleInvariant):
(LayerWebKitThread):

15:22 Changeset [118709] by commit-queue@webkit.org

[BlackBerry] Make it possible to manipulate layers on the compositing thread
https://bugs.webkit.org/show_bug.cgi?id=87602

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

Normally, layers are manipulated on the WebKit thread, and the changes are
synced to the compositing thread during the next accelerated compositing commit
operation.

However, for overlay layers the ability to manipulate layers on the compositing
thread is necessary for adequate user interface responsiveness.

Two mechanisms are added:

  1. For a layer with a WebKit-thread counterpart, you can temporarily override

attributes or add animations whose output override attributes.

  1. For a layer with no WebKit-thread counterpart, you can now directly set the

compositing thread values for attributes. If you attempt to do this for layers
that do have a WebKit-thread counterpart, the compositing thread values will
be overwritten at the time of the next commit, which makes the override
mechanism more useful there.

PR #156812

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::addSublayer):
(WebCore):
(WebCore::LayerCompositingThread::updateAnimations):
(WebCore::LayerCompositingThread::removeAnimation):
(WebCore::LayerCompositingThread::override):
(WebCore::LayerCompositingThread::clearOverride):

  • platform/graphics/blackberry/LayerCompositingThread.h:

(LayerOverride):
(WebCore::LayerOverride::create):
(WebCore::LayerOverride::setPosition):
(WebCore::LayerOverride::setAnchorPoint):
(WebCore::LayerOverride::setBounds):
(WebCore::LayerOverride::setTransform):
(WebCore::LayerOverride::setOpacity):
(WebCore::LayerOverride::addAnimation):
(WebCore::LayerOverride::LayerOverride):
(WebCore):
(LayerCompositingThread):
(WebCore::LayerCompositingThread::setPosition):
(WebCore::LayerCompositingThread::setAnchorPoint):
(WebCore::LayerCompositingThread::setBounds):
(WebCore::LayerCompositingThread::setSizeIsScaleInvariant):
(WebCore::LayerCompositingThread::setTransform):
(WebCore::LayerCompositingThread::setOpacity):
(WebCore::LayerCompositingThread::setNeedsTexture):

  • platform/graphics/blackberry/LayerWebKitThread.cpp:

(WebCore::LayerWebKitThread::LayerWebKitThread):
(WebCore::LayerWebKitThread::commitOnCompositingThread):

  • platform/graphics/blackberry/LayerWebKitThread.h:

(LayerWebKitThread):
(WebCore::LayerWebKitThread::clearOverride):

15:22 Changeset [118708] by jesus@webkit.org

Flaky tests in fast/profiler/
https://bugs.webkit.org/show_bug.cgi?id=84102

Unreviewed gardening.

Tests fast/profiler/stop-profiling-after-setTimeout.html and
fast/profiler/dead-time.html were still failing after
https://bugs.webkit.org/show_bug.cgi?id=42328 . Mac and chromium
already skip these tests.

  • platform/efl/Skipped:
  • platform/gtk/test_expectations.txt:
  • platform/qt/Skipped:
14:55 Changeset [118707] by commit-queue@webkit.org

[chromium] Only increase size of Combo Box Options when displayed on touch screen
https://bugs.webkit.org/show_bug.cgi?id=85921

Patch by Rob Flack <flackr@chromium.org> on 2012-05-28
Reviewed by Adam Barth.

Adds a flag to set whether the current device is a touch screen, independent of whether touch events are supported and use this for the combo box sizing.

Source/WebCore:

No new tests as this is a flag change and covered by existing tests: WebKit/chromium/tests/PopupMenuTest.cpp

  • page/Settings.cpp:

(WebCore::Settings::Settings):

  • page/Settings.h:

(WebCore::Settings::setDeviceSupportsTouch):
(WebCore::Settings::deviceSupportsTouch):
(Settings):

  • platform/chromium/PopupListBox.cpp:

(WebCore::PopupListBox::getRowHeight):

  • platform/chromium/PopupListBox.h:

(PopupContainerSettings):

  • platform/chromium/PopupMenuChromium.cpp:

(WebCore::PopupMenuChromium::show):

Source/WebKit/chromium:

  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp:

(WebKit::WebSettingsImpl::defaultDeviceScaleFactor):
(WebKit):
(WebKit::WebSettingsImpl::setDeviceSupportsTouch):
(WebKit::WebSettingsImpl::deviceSupportsTouch):

  • src/WebSettingsImpl.h:

(WebSettingsImpl):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::applyAutofillSuggestions):

  • tests/PopupMenuTest.cpp:

(WebKit::SelectPopupMenuTest::SetUp):
(WebKit::SelectPopupMenuTest::TearDown):
(SelectPopupMenuTest):
(WebKit::TEST_F):

14:20 Changeset [118706] by commit-queue@webkit.org

[BlackBerry] Make custom compositing thread layers more flexible
https://bugs.webkit.org/show_bug.cgi?id=87600

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

Introduce a LayerCompositingThreadClient that's used to fine tune the
behaviour of custom layers. Let the LayerTiler be a
LayerCompositingThreadClient and thus decouple it from
LayerCompositingThread. Adjust method signatures to allow a one-to-many
relationship between Client and Layer.

Remove the old LayerCompositingThread::drawCustom() in favour of this new
Client interface.

PR #156812

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::create):
(WebCore::LayerCompositingThread::LayerCompositingThread):
(WebCore::LayerCompositingThread::~LayerCompositingThread):
(WebCore::LayerCompositingThread::deleteTextures):
(WebCore::LayerCompositingThread::drawTextures):
(WebCore::LayerCompositingThread::hasMissingTextures):
(WebCore::LayerCompositingThread::drawMissingTextures):
(WebCore::LayerCompositingThread::updateTextureContentsIfNeeded):
(WebCore::LayerCompositingThread::bindContentsTexture):
(WebCore::LayerCompositingThread::setVisible):
(WebCore::LayerCompositingThread::scheduleCommit):

  • platform/graphics/blackberry/LayerCompositingThread.h:

(WebCore):
(LayerCompositingThread):

  • platform/graphics/blackberry/LayerCompositingThreadClient.h: Added.

(WebCore):
(LayerCompositingThreadClient):
(WebCore::LayerCompositingThreadClient::~LayerCompositingThreadClient):
(WebCore::LayerCompositingThreadClient::bindContentsTexture):
(WebCore::LayerCompositingThreadClient::hasMissingTextures):
(WebCore::LayerCompositingThreadClient::drawMissingTextures):
(WebCore::LayerCompositingThreadClient::scheduleCommit):

  • platform/graphics/blackberry/LayerRenderer.cpp:

(WebCore::LayerRenderer::drawDebugBorder):

  • platform/graphics/blackberry/LayerTiler.cpp:

(WebCore::LayerTiler::LayerTiler):
(WebCore::LayerTiler::layerCompositingThreadDestroyed):
(WebCore::LayerTiler::layerVisibilityChanged):
(WebCore::LayerTiler::uploadTexturesIfNeeded):
(WebCore::LayerTiler::deleteTextures):
(WebCore::LayerTiler::scheduleCommit):
(WebCore):
(WebCore::LayerTiler::bindContentsTexture):

  • platform/graphics/blackberry/LayerTiler.h:

(LayerTiler):
(WebCore::LayerTiler::hasMissingTextures):

  • platform/graphics/blackberry/LayerWebKitThread.cpp:

(WebCore::LayerWebKitThread::LayerWebKitThread):

  • platform/graphics/blackberry/LayerWebKitThread.h:

(LayerWebKitThread):

13:00 Changeset [118705] by jesus@webkit.org

WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
https://bugs.webkit.org/show_bug.cgi?id=42328

Reviewed by Eric Seidel.

.:

  • Source/autotools/symbols.filter: Added needed symbols for GTK build.

Source/WebCore:

Add setJavaScriptProfilingEnabled() to window.internals.settings. No new tests, but this
change will allow more tests to run in WebKitTestRunner and DRT for ports that weren't
implementing this function before.
This patch also refactors InspectorController::enableProfiler() and
InspectorController::disableProfiler() to InspectorController::setProfilerEnabled(bool).

  • WebCore.exp.in:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::profilerEnabled):
(WebCore::InspectorController::setProfilerEnabled):

  • inspector/InspectorController.h:

(InspectorController):

  • testing/InternalSettings.cpp:

(WebCore::InternalSettings::InternalSettings):
(WebCore::InternalSettings::restoreTo):
(WebCore::InternalSettings::setJavaScriptProfilingEnabled):
(WebCore):

  • testing/InternalSettings.h:

(InternalSettings):

  • testing/InternalSettings.idl:

Source/WebKit/chromium:

Removed private APIs that were only being used by DRT.

  • public/WebDevToolsAgent.h:

(WebDevToolsAgent):

  • src/WebDevToolsAgentImpl.cpp:
  • src/WebDevToolsAgentImpl.h:

(WebDevToolsAgentImpl):

Source/WebKit/efl:

Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
move to windows.internals.settings.

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
  • WebCoreSupport/DumpRenderTreeSupportEfl.h:

Source/WebKit/gtk:

  • webkit/webkitwebinspector.cpp:

(webkit_web_inspector_set_property):

Source/WebKit/mac:

  • WebInspector/WebInspector.mm:

(-setJavaScriptProfilingEnabled:):

Source/WebKit/qt:

Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
move to windows.internals.settings.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

Source/WebKit/win:

(WebInspector::setJavaScriptProfilingEnabled):

Source/WebKit2:

Removed unneeded setJavaScriptProfilingEnabled function from WTR after its
move to windows.internals.settings.

  • WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp:
  • WebProcess/InjectedBundle/API/c/WKBundleInspector.h:
  • WebProcess/WebPage/WebInspector.cpp:

(WebKit::WebInspector::setJavaScriptProfilingEnabled):

  • win/WebKit2.def:

Tools:

Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
move to windows.internals.settings.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
  • DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  • DumpRenderTree/chromium/DRTDevToolsAgent.h:

(DRTDevToolsAgent):

  • DumpRenderTree/chromium/LayoutTestController.cpp:

(LayoutTestController::LayoutTestController):

  • DumpRenderTree/chromium/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::resetDefaultsToConsistentValues):

  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/DumpRenderTree.mm:

(resetWebViewToConsistentStateBeforeTesting):

  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:

(LayoutTestController):

  • DumpRenderTree/win/DumpRenderTree.cpp:

(resetWebViewToConsistentStateBeforeTesting):

  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:

(LayoutTestController):

LayoutTests:

Updated tests to use windows.internals instead of layoutTestController.

  • fast/profiler/anonymous-event-handler.html:
  • fast/profiler/anonymous-function-called-from-different-contexts.html:
  • fast/profiler/anonymous-function-calls-built-in-functions.html:
  • fast/profiler/anonymous-function-calls-eval.html:
  • fast/profiler/anonymous-functions-with-display-names.html:
  • fast/profiler/apply.html:
  • fast/profiler/built-in-function-calls-anonymous.html:
  • fast/profiler/built-in-function-calls-user-defined-function.html:
  • fast/profiler/call-register-leak.html:
  • fast/profiler/call.html:
  • fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html:
  • fast/profiler/compare-multiple-profiles.html:
  • fast/profiler/constructor.html:
  • fast/profiler/dead-time.html:
  • fast/profiler/document-dot-write.html:
  • fast/profiler/event-handler.html:
  • fast/profiler/execution-context-and-eval-on-same-line.html:
  • fast/profiler/inline-event-handler.html:
  • fast/profiler/many-calls-in-the-same-scope.html:
  • fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html:
  • fast/profiler/multiple-and-different-scoped-function-calls.html:
  • fast/profiler/multiple-anonymous-functions-called-from-the-same-function.html:
  • fast/profiler/multiple-frames.html:
  • fast/profiler/named-functions-with-display-names.html:
  • fast/profiler/nested-anonymous-functon.html:
  • fast/profiler/nested-start-and-stop-profiler.html:
  • fast/profiler/no-execution-context.html:
  • fast/profiler/one-execution-context.html:
  • fast/profiler/profile-calls-in-included-file.html:
  • fast/profiler/profile-with-no-title.html:
  • fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html:
  • fast/profiler/profiling-from-a-nested-location.html:
  • fast/profiler/simple-event-call.html:
  • fast/profiler/simple-no-level-change.html:
  • fast/profiler/start-and-stop-profiler-multiple-times.html:
  • fast/profiler/start-and-stop-profiling-in-the-same-function.html:
  • fast/profiler/start-but-dont-stop-profiling.html:
  • fast/profiler/stop-profiling-after-setTimeout.html:
  • fast/profiler/stop-then-function-call.html:
  • fast/profiler/throw-exception-from-eval.html-disabled:
  • fast/profiler/two-execution-contexts.html:
  • fast/profiler/user-defined-function-calls-built-in-functions.html:
  • fast/profiler/window-dot-eval.html:
  • inspector/profiler/cpu-profiler-profiling-without-inspector.html:
  • platform/wk2/Skipped:
12:57 Changeset [118704] by commit-queue@webkit.org

[BlackBerry] Always create a compositor
https://bugs.webkit.org/show_bug.cgi?id=87598

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

There will likely be compositing layers either due to web content or
due to overlays.

Defer initialization of OpenGL objects (i.e., delay creation of the
LayerRenderer object) until we actually need to draw and there are such
layers, to avoid initializing OpenGL in the unlikely case that there
are no compositing layers or overlay layers.

PR #156811

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPagePrivate::createCompositor):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::setContext):
(BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):

  • Api/WebPageCompositor_p.h:

(WebPageCompositorPrivate):

12:37 Changeset [118703] by commit-queue@webkit.org

Crash on incomplete :not().
https://bugs.webkit.org/show_bug.cgi?id=86673

Patch by Yong Li <yoli@rim.com> on 2012-05-28
Reviewed by Antti Koivisto.

Source/WebCore:

Add back null-checks for incomplete :not() class
which were dropped by r81845.

  • css/CSSSelector.cpp:

(WebCore::CSSSelector::specificityForOneSelector):
(WebCore::CSSSelector::selectorText):

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector):
(WebCore::SelectorChecker::determineLinkMatchType):

LayoutTests:

Add a test case that makes CSS parser create incomplete
:not selector.

  • fast/css/crash-on-incomplete-not.html: Added.
  • fast/css/crash-on-incomplete-not-expected.txt: Added.
12:21 Changeset [118702] by commit-queue@webkit.org

[BlackBerry] Dangling pointer in WebPagePrivate::setCompositor() message
https://bugs.webkit.org/show_bug.cgi?id=87590

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

A crash would be seen in GuardedPointerBase::getWithGuardLocked when
attempting to unpickle and execute serialized call to setCompositor.

The problem was that the message had been created with a dangling
pointer as the target. The web page failed to inform its compositor
that it was being destroyed due to an early return in
WebPagePrivate::destroyCompositor.

The root cause was that a method called "destroyCompositor" was being
called in two situations, when navigating to a new page as well as when
actually deleting the web page. And in one case, we really only wanted
to free up some memory by clearing textures, while in the other case we
really did want to destroy the compositor.

Fixed by calling a method to release textures when that's what we want
to do, and calling a method to destroy the compositor when that's what
we want to do, and making that latter method unconditional.

Reviewed internally by Jeff Rogers.

PR #156765

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::setLoadState):
(BlackBerry::WebKit::WebPagePrivate::destroyCompositor):

11:53 Changeset [118701] by commit-queue@webkit.org

[BlackBerry] Add a default tap highlight
https://bugs.webkit.org/show_bug.cgi?id=87569

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

Source/WebKit:

Add DefaultTapHighlight to the build system

Reviewed internally by Mike Lattanzio and Mike Fenton.

PR #154329

  • PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

We used to require the embedder to implement tap highlight drawing.
Now, a default tap highlight, implemented using the recently added
accelerated compositing overlay layer support, can be used instead.

The tap highlight appears instantly but fades out when hidden.

The default tap highlight can be overridden using the new
WebPage::setTapHighlight() method.

Reviewed internally by Mike Lattanzio and Mike Fenton.

PR #154329

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPage::tapHighlight):
(WebKit):
(BlackBerry::WebKit::WebPage::setTapHighlight):

  • Api/WebPage.h:

(WebKit):

  • Api/WebPageClient.h:
  • Api/WebPage_p.h:

(WebCore):
(WebPagePrivate):

  • Api/WebTapHighlight.h: Added.

(WebKit):

  • WebKitSupport/DefaultTapHighlight.cpp: Added.

(WebKit):
(BlackBerry::WebKit::fadeAnimationName):
(BlackBerry::WebKit::DefaultTapHighlight::DefaultTapHighlight):
(BlackBerry::WebKit::DefaultTapHighlight::~DefaultTapHighlight):
(BlackBerry::WebKit::DefaultTapHighlight::draw):
(BlackBerry::WebKit::DefaultTapHighlight::hide):
(BlackBerry::WebKit::DefaultTapHighlight::notifySyncRequired):
(BlackBerry::WebKit::DefaultTapHighlight::paintContents):

  • WebKitSupport/DefaultTapHighlight.h: Added.

(WebKit):
(DefaultTapHighlight):
(BlackBerry::WebKit::DefaultTapHighlight::create):
(BlackBerry::WebKit::DefaultTapHighlight::notifyAnimationStarted):
(BlackBerry::WebKit::DefaultTapHighlight::showDebugBorders):
(BlackBerry::WebKit::DefaultTapHighlight::showRepaintCounter):
(BlackBerry::WebKit::DefaultTapHighlight::contentsVisible):

  • WebKitSupport/TouchEventHandler.cpp:

(BlackBerry::WebKit::TouchEventHandler::drawTapHighlight):

11:33 Changeset [118700] by leo.yang@torchmobile.com.cn

FileWriterSync binding should have no static table
https://bugs.webkit.org/show_bug.cgi?id=87645

Reviewed by George Staikos.

FileWriterSync could be used in filesystem FileWriter in worker thread, so we should add ProgressEvent in idl file.

Covered by existing test: fast/filesystem/workers/sync-operations.html.

  • Modules/filesystem/FileWriterSync.idl:
11:29 Changeset [118699] by commit-queue@webkit.org

[BlackBerry] Add an overlay layer
https://bugs.webkit.org/show_bug.cgi?id=87567

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Antonio Gomes.

The overlay layer allows us to have compositing layers even though the
web page is not currently using accelerated compositing.

These layers can be used to implement tap highlight, inspector overlay
and more.

Source/WebCore:

The WebCore changes support the overlay layer functionality in WebKit
by making it possible to add animations from the compositing thread
without them being instantly overwritten during the next commit.

Also a new custom layer type is added, which allow an overlay layer to
draw itself using raw OpenGL calls. An instance of a custom subclass of
LayerCompositingThread must be provided when creating the
LayerWebKitThread. Then, the custom layer can be used as the content
layer of a GraphicsLayer, or by itself.

Reviewed internally by Filip Spacek.

PR #154335

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::~LayerCompositingThread):
(WebCore::LayerCompositingThread::deleteTextures):
(WebCore::LayerCompositingThread::drawTextures):
(WebCore::LayerCompositingThread::drawMissingTextures):
(WebCore::LayerCompositingThread::updateTextureContentsIfNeeded):
(WebCore::LayerCompositingThread::setVisible):
(WebCore::LayerCompositingThread::scheduleCommit):

  • platform/graphics/blackberry/LayerCompositingThread.h:

(WebCore::LayerCompositingThread::addAnimation):
(WebCore::LayerCompositingThread::setRunningAnimations):
(WebCore::LayerCompositingThread::setSuspendedAnimations):
(LayerCompositingThread):
(WebCore::LayerCompositingThread::drawCustom):

  • platform/graphics/blackberry/LayerData.h:

(LayerData):

  • platform/graphics/blackberry/LayerWebKitThread.cpp:

(WebCore::LayerWebKitThread::LayerWebKitThread):
(WebCore):
(WebCore::LayerWebKitThread::~LayerWebKitThread):
(WebCore::LayerWebKitThread::updateTextureContentsIfNeeded):
(WebCore::LayerWebKitThread::startAnimations):
(WebCore::LayerWebKitThread::commitOnCompositingThread):
(WebCore::LayerWebKitThread::setNeedsDisplayInRect):
(WebCore::LayerWebKitThread::setNeedsDisplay):
(WebCore::LayerWebKitThread::setIsMask):
(WebCore::LayerWebKitThread::setRunningAnimations):
(WebCore::LayerWebKitThread::setSuspendedAnimations):

  • platform/graphics/blackberry/LayerWebKitThread.h:

(LayerWebKitThread):

Source/WebKit/blackberry:

Reviewed internally by Filip Spacek.

PR #154335

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::scheduleRootLayerCommit):
(BlackBerry::WebKit::WebPagePrivate::overlayLayer):
(WebKit):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayer):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::setOverlayLayer):
(WebKit):
(BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):

  • Api/WebPageCompositor_p.h:

(BlackBerry::WebKit::WebPageCompositorPrivate::overlayLayer):
(WebPageCompositorPrivate):

  • Api/WebPage_p.h:

(WebPagePrivate):

11:17 Changeset [118698] by leo.yang@torchmobile.com.cn

ProgressEvent JSC binding should have no static table
https://bugs.webkit.org/show_bug.cgi?id=87365

Reviewed by George Staikos.

ProgressEvent could be used in filesystem FileWriter in worker thread, so we should add ProgressEvent in idl file.

Covered by existing test: fast/filesystem/workers/file-writer-events.html.

  • dom/ProgressEvent.idl:
10:48 Changeset [118697] by noam.rosenthal@nokia.com

Remove unused argument coders for animation
https://bugs.webkit.org/show_bug.cgi?id=87435

Reviewed by Sam Weinig.

Left the used argument coders only, behind a proper USE(UI_SIDE_COMPOSITING) flag.

  • Shared/WebCoreArgumentCoders.cpp:

(CoreIPC):

  • Shared/WebCoreArgumentCoders.h:
10:29 Changeset [118696] by commit-queue@webkit.org

[BlackBerry] Update WebPageCompositor::render() API
https://bugs.webkit.org/show_bug.cgi?id=87565

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

Source/WebCore:

The new API allows the embedder to specify the root transform and many
OpenGL related parameters.

Also refactor the code to allow several sets of layers to be rendered,
and to allow interleaving the rendering of layers with rendering of
buffers and checkerboard.

Reviewed internally by Filip Spacek.

PR #154334

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::drawTextures):
(WebCore::LayerCompositingThread::drawSurface):

  • platform/graphics/blackberry/LayerRenderer.cpp:

(WebCore::LayerRenderer::orthoMatrix):
(WebCore::LayerRenderer::LayerRenderer):
(WebCore::LayerRenderer::prepareFrame):
(WebCore):
(WebCore::LayerRenderer::setViewport):
(WebCore::LayerRenderer::compositeLayers):
(WebCore::LayerRenderer::compositeBuffer):
(WebCore::LayerRenderer::drawCheckerboardPattern):
(WebCore::LayerRenderer::drawLayersOnSurfaces):
(WebCore::LayerRenderer::prepareFrameRecursive):
(WebCore::LayerRenderer::updateLayersRecursive):
(WebCore::LayerRenderer::compositeLayersRecursive):
(WebCore::LayerRenderer::updateScissorIfNeeded):
(WebCore::LayerRenderingResults::addHolePunchRect):

  • platform/graphics/blackberry/LayerRenderer.h:

(LayerRenderer):

Source/WebKit/blackberry:

The new API allows the embedder to specify the root transform and many
OpenGL related parameters to be used when rendering the web page.

To honor the transform, we have to implement a way to composite the
BackingStore output using a generic transform. This method,
BackingStorePrivate::compositeContents(), uses a strategy that differs
from blitContents(), because that one is optimized for software
blitting, while this one is optimized for GPU rendering. Specifically,
instead of drawing the checkerboard first, and the rendered subregions
of the tile afterward, we draw the whole tile in one call, and then
draw checkered regions on top, if any.

Removed the blit generation condvar from the new code paths for drawing
BackingStore output using a transform, since the condvar is ineffective
in preventing flicker when we're not in charge of swapping the window.
Instead, another synchronization solution will be implemented in the
future.

Reviewed internally by Filip Spacek.
Some parts reviewed internally by Jacky Jiang and others by
Mike Lattanzio.

PR #151887, #154334

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::render):
(BlackBerry::WebKit::BackingStorePrivate::blitContents):
(WebKit):
(BlackBerry::WebKit::BackingStorePrivate::compositeContents):

  • Api/BackingStore_p.h:

(WebCore):
(BackingStorePrivate):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::setContext):
(BlackBerry::WebKit::WebPageCompositorPrivate::setRootLayer):
(BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):
(BlackBerry::WebKit::WebPageCompositor::prepareFrame):
(BlackBerry::WebKit::WebPageCompositor::render):

  • Api/WebPageCompositor.h:
  • Api/WebPageCompositorClient.h:
  • Api/WebPageCompositor_p.h:

(WebPageCompositorPrivate):

  • WebCoreSupport/ChromeClientBlackBerry.cpp:
09:59 Changeset [118695] by bulach@chromium.org

[chromium] Adjust expectations for fast/layers/clip-rects-assertion-expected.txt
https://bugs.webkit.org/show_bug.cgi?id=87671

Unreviewed gardening.
Temporarily adds "MISSING" for this test.

  • platform/chromium/test_expectations.txt:
09:54 Changeset [118694] by lforschler@apple.com

Merged r118399 -> <rdar://problem/11527190>

09:52 Changeset [118693] by lforschler@apple.com

Merged r118397 -> <rdar://problem/11024330>

09:49 Changeset [118692] by lforschler@apple.com

Merged r118039 -> <rdar://problem/11348396>

09:41 Changeset [118691] by bulach@chromium.org

[chromium] http/tests/cache/cancel-in-progress-load.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=87657

Unreviewed gardening.
It should be "MISSING" rather than "IMAGE" (fixes r118683).

  • platform/chromium/test_expectations.txt:
09:28 Changeset [118690] by bulach@chromium.org

Adds missing expectation after r118577
https://bugs.webkit.org/show_bug.cgi?id=87670

Unreviewed gardening.
A few baselines were already added by r118584. Adds baseline for Windows.

  • platform/chromium-win/http/tests/media/video-buffered-range-contains-currentTime-expected.png: Added.
09:23 Changeset [118689] by commit-queue@webkit.org

[BlackBerry] Plumb through the return value of makeCurrent to caller
https://bugs.webkit.org/show_bug.cgi?id=87564

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Rob Buis.

This way the caller can take appropriate action if makeCurrent fails,
for example because we're running out of memory.

Reviewed internally by George Staikos.

PR #149721

  • WebKitSupport/GLES2Context.cpp:

(BlackBerry::WebKit::GLES2Context::makeCurrent):

09:22 Changeset [118688] by antti@apple.com

REGRESSION(r96517): Attribute selector fails to match dynamically modified style attribute
https://bugs.webkit.org/show_bug.cgi?id=87349

Source/WebCore:

Reviewed by Andreas Kling.

Selector fast path does not trigger lazy style attribute generation. Since attribute selectors matching
style attribute are rare, disallow them from the fast path rather than making it more branchy.

Test: fast/css/dynamic-style-attribute-query.html

  • css/SelectorChecker.cpp:

(WebCore::isFastCheckableMatch):

LayoutTests:

Reviewed by Andreas Kling.

  • fast/css/dynamic-style-attribute-query-expected.txt: Added.
  • fast/css/dynamic-style-attribute-query.html: Added.
09:05 Changeset [118687] by bulach@chromium.org

[Chromium] [V8] Layout Test fast/js/string-replace-2.html failing following 11594 => 11648 v8 update
https://bugs.webkit.org/show_bug.cgi?id=87423

Unreviewed gardening.

We have rolled v8 and we can now set the expectation for both debug and release back to TEXT.

  • platform/chromium/test_expectations.txt:
08:57 Changeset [118686] by peter@chromium.org

Unreviewed. Rolled DEPS.

  • DEPS:
08:52 Changeset [118685] by commit-queue@webkit.org

Web Inspector: Expose function (closure) scopes in remote protocol
https://bugs.webkit.org/show_bug.cgi?id=86861

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-05-28
Reviewed by Yury Semikhatsky.

Source/WebCore:

A data transfer from V8's FunctionMirror via DebuggerScript.js via InjectedScriptHost is built.
Scope field is added to protocol declaration similar to scopes of stack call frame.
Test for function details is extended.
JSC code binging got fixme for implemting the corresponding feature.

  • bindings/js/JSInjectedScriptHostCustom.cpp:

(WebCore::JSInjectedScriptHost::functionDetails):

  • bindings/v8/DebuggerScript.js:
  • bindings/v8/ScriptDebugServer.cpp:

(WebCore::ScriptDebugServer::functionScopes):
(WebCore):

  • bindings/v8/ScriptDebugServer.h:

(ScriptDebugServer):

  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp:

(WebCore::V8InjectedScriptHost::functionDetailsCallback):

  • inspector/InjectedScriptHost.cpp:

(WebCore):
(WebCore::InjectedScriptHost::scriptDebugServer):

  • inspector/InjectedScriptHost.h:

(WebCore):
(WebCore::InjectedScriptHost::init):
(InjectedScriptHost):

  • inspector/InjectedScriptSource.js:

(.):

  • inspector/Inspector.json:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):

  • inspector/WorkerInspectorController.cpp:

(WebCore::WorkerInspectorController::WorkerInspectorController):

LayoutTests:

Test for function details now checks scopes.

  • inspector/debugger/function-details-expected.txt:
  • inspector/debugger/function-details.html:
  • platform/chromium/inspector/debugger/function-details-expected.txt:
08:45 Changeset [118684] by bulach@chromium.org

[chromium] Rebaseline following r118598
https://bugs.webkit.org/show_bug.cgi?id=87669

Unreviewed gardening.

In chromium we print a prefix "line 1:" on one console message.

  • platform/chromium/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Added.
  • platform/chromium/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Added.
08:07 Changeset [118683] by bulach@chromium.org

[chromium] http/tests/cache/cancel-in-progress-load.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=87657

Unreviewed gardening.

Adds PASS and IMAGE expectations.

  • platform/chromium/test_expectations.txt:
08:04 Changeset [118682] by commit-queue@webkit.org

[BlackBerry] Add a constructor to create a Path from an SkPath
https://bugs.webkit.org/show_bug.cgi?id=87566

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-28
Reviewed by Antonio Gomes.

Skia allows the creation of more complex paths than WebCore would
allow. This will be used in the BlackBerry port to implement a default
tap highlight appearance.

Reviewed internally by Mike Lattanzio.

PR #154329

  • platform/graphics/Path.h:

(Path):

  • platform/graphics/skia/PathSkia.cpp:

(WebCore):
(WebCore::Path::Path):

07:54 Changeset [118681] by alexis.menard@openbossa.org

Unreviewed build fix for Mac on Lion.

  • inspector/CodeGeneratorInspector.py:
06:49 Changeset [118680] by bulach@chromium.org

[chromium] http/tests/cache/cancel-in-progress-load.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=87657

Unreviewed gardening.

r118618 added this new test but it's been flaky in chromium.

  • platform/chromium/test_expectations.txt:
06:23 Changeset [118679] by bulach@chromium.org

[chromium] Baseline compositing/geometry/composited-in-columns.html
https://bugs.webkit.org/show_bug.cgi?id=87653

Unreviewed gardening.

r118567 introduced a new test. Chromium is positioning the layers
a few pixels off.
Set the baseline for IMAGE+TEXT temporarily.

  • platform/chromium/test_expectations.txt:
06:16 Changeset [118678] by peter@chromium.org

[Chromium] Build fix for the Android bot, set CXX_target at gyp generation-time
https://bugs.webkit.org/show_bug.cgi?id=87649

Unreviewed build fix.

Chromium Android builds were broken because v8 tried to compile files
for target with the "-m32" flag. This was caused by a v8 check falling
back to using "which g++" to find the right compiler, whereas it should
have used the $CXX_target environment variable. This isn't being set
for Android builds.

  • gyp_webkit: Set the CXX_target environment variable. Annotate the fix with a FIXME comment too.
05:50 Changeset [118677] by keishi@webkit.org

Expose value localization function of HTMLInputElement
https://bugs.webkit.org/show_bug.cgi?id=84356

Reviewed by Kent Tamura.

Source/WebCore:

No new tests.

We want to localize the values that are defined in the datalist element.
This adds HTMLInputElement::localizeValue() which will localize a given
value.

  • html/BaseDateAndTimeInputType.cpp:

(WebCore::BaseDateAndTimeInputType::localizeValue):
(WebCore):
(WebCore::BaseDateAndTimeInputType::visibleValue):

  • html/BaseDateAndTimeInputType.h:

(BaseDateAndTimeInputType):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::localizeValue):
(WebCore):

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/InputType.cpp:

(WebCore::InputType::localizeValue):
(WebCore):

  • html/InputType.h:

(InputType):

  • html/NumberInputType.cpp:

(WebCore::NumberInputType::localizeValue):
(WebCore):
(WebCore::NumberInputType::visibleValue):

  • html/NumberInputType.h:

(NumberInputType):

Source/WebKit/chromium:

  • public/WebInputElement.h:

(WebInputElement):

  • src/WebInputElement.cpp:

(WebKit::WebInputElement::localizeValue):
(WebKit):

05:38 Changeset [118676] by bulach@chromium.org

[chromium] LayoutTestController needs DeferredFrameLoading flag
https://bugs.webkit.org/show_bug.cgi?id=87652

Unreviewed gardening.

r118631 introduced a new test and a new API on LayoutTestController
that we need to implement in chromium.
Skip the test temporarily.

  • platform/chromium/test_expectations.txt:
05:15 Changeset [118675] by commit-queue@webkit.org

fast/tokenizer/entities-01.html & fast/tokenizer/entities-03.html need new baseline after r118672
https://bugs.webkit.org/show_bug.cgi?id=87648

Unreviewed gardening.

r118672 fixed a rendering bug with &AElig but did not update the
expected results for fast/tokenizer/entities-01.html and
fast/tokenizer/entities-03.html.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • fast/tokenizer/entities-01-expected.txt:
  • fast/tokenizer/entities-03-expected.txt:
05:09 Changeset [118674] by yurys@chromium.org

Unreviewed. Test fix after r118670: saved timeline data may
not have DOM counters data and MemoryStatistics object should
take this into account.

  • inspector/front-end/MemoryStatistics.js:

(WebInspector.MemoryStatistics.prototype._onRecordAdded):

04:13 Changeset [118673] by commit-queue@webkit.org

Unreviewed, rolling out r118580.
http://trac.webkit.org/changeset/118580
https://bugs.webkit.org/show_bug.cgi?id=87647

Caused webkit_unit_tests to crash on chromium. (Requested by
bulach on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-28

  • platform/graphics/chromium/ContentLayerChromium.cpp:

(WebCore::ContentLayerPainter::create):
(WebCore::ContentLayerPainter::paint):
(WebCore::ContentLayerPainter::ContentLayerPainter):
(ContentLayerPainter):
(WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):

  • platform/graphics/chromium/TiledLayerChromium.cpp:

(UpdatableTile):
(WebCore::UpdatableTile::UpdatableTile):
(WebCore::TiledLayerChromium::updateTiles):

  • platform/graphics/chromium/TiledLayerChromium.h:

(TiledLayerChromium):

  • platform/graphics/chromium/cc/CCLayerTreeHost.h:

(WebCore::CCSettings::CCSettings):
(CCSettings):

03:23 Changeset [118672] by peter@chromium.org

&AElig doesn't get rendered as U+00C6
https://bugs.webkit.org/show_bug.cgi?id=87465

Reviewed by Adam Barth.

Source/WebCore:

The if-statement to check whether the first entry of a certain letter
already exists in the index used .get(). The very first alphabetical
entry is in position "0", which evaluates to false, causing the first
entry to be ignored. Instead, use a "x not in y" check here.

Also update WebCore.gyp to list the create-html-entity-table script as
an input for the action, to make sure the table will be recreated.

Test: html5lib/resources/entities02.dat

  • WebCore.gyp/WebCore.gyp:
  • html/parser/create-html-entity-table:

LayoutTests:

Test that the (current) first alphabetical entity in the named entity
table (&AElig, without a semi-colon) renders as expected.

  • html5lib/resources/entities02.dat:
03:21 Changeset [118671] by carlosgc@webkit.org

Unreviewed. Fix make distcheck.

  • GNUmakefile.list.am: Add missing header file.
03:20 Changeset [118670] by yurys@chromium.org

Web Inspector: dom counters graphs vanish on switching between timeline views
https://bugs.webkit.org/show_bug.cgi?id=87628

Reviewed by Vsevolod Vlasov.

MemoryStatistics object now listens to the TimelineModel events instead of being
populated by timeline panel. This behavior mathes that of the overview pane.

  • inspector/front-end/MemoryStatistics.js:

(WebInspector.MemoryStatistics.prototype.addTimlineEvent):

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):

03:19 Changeset [118669] by commit-queue@webkit.org

Remove obsolete feature define ENABLE_3D_CANVAS from FeatureDefines.vsprops for windows
https://bugs.webkit.org/show_bug.cgi?id=87622

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-05-28
Reviewed by Eric Seidel.

Removed the ENABLE_3D_CANVAS from the property define as this is
obsolete since bug #53041

  • win/tools/vsprops/FeatureDefines.vsprops:
03:14 Changeset [118668] by bulach@chromium.org

[chromium] Buildfix: remove obsolete file from gypi.
https://bugs.webkit.org/show_bug.cgi?id=87643

Reviewed by no-reviewer.

Following http://trac.webkit.org/changeset/118610.
Removes reference to platform/graphics/gstreamer/ImageGStreamerCG.mm

  • WebCore.gypi:
03:12 Changeset [118667] by commit-queue@webkit.org

[EFL] fast/dom/beforeload/image-object-before-load* need to be skipped after r118618
https://bugs.webkit.org/show_bug.cgi?id=87632

Unreviewed EFL gardening.
fast/dom/beforeload/image-object-before-load* need to be skipped after
r118618. The issue will be addressed in Bug 87631.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • platform/efl/test_expectations.txt:
03:07 Changeset [118666] by commit-queue@webkit.org

[EFL] http/tests/appcache/abort-cache* are flaky and should be skipped
https://bugs.webkit.org/show_bug.cgi?id=87634

Unreviewed EFL gardening. Aborting application cache downloads is
flaky on EFL port so we need to skip the corresponding test cases for
now.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • platform/efl/test_expectations.txt:
02:54 Changeset [118665] by commit-queue@webkit.org

[EFL] Move input element's internal spinner layout tests to test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=87629

Unreviewed EFL gardening.

Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-05-28

  • platform/efl/Skipped:
  • platform/efl/test_expectations.txt:
02:54 Changeset [118664] by morrita@google.com

HTMLFormControlElement::m_validationMessage shouldn't be cleared on detach()
https://bugs.webkit.org/show_bug.cgi?id=87608

Reviewed by Kent Tamura.

Moved m_validationMessage clearance from detach() to removedFrom() and
remove detach().

No new tests. This change has no visible difference. Upcoming changes rely on this though.

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::removedFrom):

02:49 Changeset [118663] by commit-queue@webkit.org

[EFL] Unreviewed EFL gardening after r118585
https://bugs.webkit.org/show_bug.cgi?id=87621

Unreviewed EFL Gardening.

Two contentSecurityPolicy tests need expectation for EFL port after
r118585 due to line numbers not being printed. Mac and GTK port are
already doing the same.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • platform/efl/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Added.
  • platform/efl/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Added.
02:44 Changeset [118662] by yurys@chromium.org

Web Inspector: "Record CPU profile" button doesn't change its state after finishing profiling
https://bugs.webkit.org/show_bug.cgi?id=87624

Reviewed by Vsevolod Vlasov.

Keep record button state in sync with the current profiling state.

  • inspector/front-end/ProfilesPanel.js:

(WebInspector.ProfilesPanel.prototype.toggleRecordButton):

02:38 Changeset [118661] by commit-queue@webkit.org

[EFL] Test added in r118577 is failing and should be skipped
https://bugs.webkit.org/show_bug.cgi?id=87620

Unreviewed EFL gardening. Skipping new test introduced in r118577
which is failing on our port.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • platform/efl/test_expectations.txt:
02:14 Changeset [118660] by morrita@google.com

Unreviewed Mac Chromium build fix.

  • src/FrameLoaderClientImpl.cpp:

(WebKit::FrameLoaderClientImpl::allowStyleScoped):

02:14 Changeset [118659] by zandobersek@gmail.com

Unreviewed, rolling out r118650.
http://trac.webkit.org/changeset/118650
https://bugs.webkit.org/show_bug.cgi?id=87639

Patch caused massive failures throughout the builders
(Requested by zdobersek on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-28

  • css/MediaQuery.cpp:

(WebCore):
(WebCore::MediaQuery::serialize):
(WebCore::MediaQuery::MediaQuery):
(WebCore::MediaQuery::cssText):

  • css/MediaQuery.h:

(WebCore::MediaQuery::expressions):
(WebCore::MediaQuery::mediaType):
(MediaQuery):
(WebCore::MediaQuery::copy):

  • css/MediaQueryEvaluator.cpp:

(WebCore::MediaQueryEvaluator::MediaQueryEvaluator):
(WebCore::MediaQueryEvaluator):
(WebCore::MediaQueryEvaluator::eval):
(WebCore::aspect_ratioMediaFeatureEval):
(WebCore::device_aspect_ratioMediaFeatureEval):
(WebCore::transform_3dMediaFeatureEval):
(WebCore::view_modeMediaFeatureEval):
(WebCore::createFunctionMap):

  • css/MediaQueryEvaluator.h:

(WebCore):
(MediaQueryEvaluator):

  • css/StyleResolver.cpp:

(WebCore):
(WebCore::StyleResolver::collectMatchingRulesForList):

  • css/StyleResolver.h:

(MediaQueryResult):
(WebCore::MediaQueryResult::MediaQueryResult):
(WebCore):
(StyleResolver):

02:08 Changeset [118658] by commit-queue@webkit.org

[EFL] New tests added in r118567 should be skipped on EFL port
https://bugs.webkit.org/show_bug.cgi?id=87618

Unreviewed EFL gardening. Move the test added in r118567 to test
expectations since the EFL port lacks support for
LayoutTestController::layerTreeAsText.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-28

  • platform/efl/test_expectations.txt:
02:05 Changeset [118657] by gyuyoung.kim@samsung.com

Move allowRoundingHacks to Internals interface
https://bugs.webkit.org/show_bug.cgi?id=87328

Reviewed by Hajime Morita.

.:

  • Source/autotools/symbols.filter: Add allowRoundingHacks symbol filter.

Source/WebCore:

Add allowRoundingHacks function, because it is able to work in the
cross-port way by means of the Internals interface.

In addition, a function is added in order to restore default setting values.

No new tests, since we are improving here the infra-structure for testing
a specific method.

  • testing/Internals.cpp:

(WebCore::Internals::reset):
(WebCore):
(WebCore::Internals::resetDefaultsToConsistentValues):
(WebCore::Internals::allowRoundingHacks):

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

Source/WebKit2:

  • win/WebKit2.def: Add setAllowsRoundingHacks() to symbol filter.

Tools:

Remove allowRoundingHacks functions, because it is able to work in the
cross-port way through the Internals interface.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp:

LayoutTests:

Invoke allowRoundingHacks function from internals, because it is able to work in the
cross-port way via the Internals interface.

  • platform/mac/fast/text/rounding-hacks-expansion.html:
  • platform/mac/fast/text/rounding-hacks.html:
02:03 Changeset [118656] by macpherson@chromium.org

Fix mac build with older XCode by defining NSEC_PER_MSEC.
https://bugs.webkit.org/show_bug.cgi?id=87616

Reviewed by Hajime Morita.

The following patch introduced the use of NSEC_PER_MSEC which is not defined for older XCode versions.
http://trac.webkit.org/changeset/118631/trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm
Patch just adds a #ifndef / #define check.

  • DumpRenderTree/mac/FrameLoadDelegate.mm:

(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):

01:53 Changeset [118655] by commit-queue@webkit.org

[BlackBerry] http authentication crash the browser when user commit or cancel the http authentication dialog
https://bugs.webkit.org/show_bug.cgi?id=87579

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-28
Reviewed by George Staikos.

In function NetworkJob::startNewJobWithRequest, We should cancel the
NetworkJob first before we start a new NetworkJob which reuses the
resource handle of the old one. If we only set the m_handle = 0 of the
old NetworkJob without cancelling itself, it will still receives data
notification from network thread and handles the received data with
the released resource handler, which will cause the crash.

No new tests because no behavior has changed.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::startNewJobWithRequest):

01:40 Changeset [118654] by morrita@google.com

[Refactoring][ShadowDOM] Some ElementShadow methods can be inlined.
https://bugs.webkit.org/show_bug.cgi?id=87617

Reviewed by Kentaro Hara.

Inlined ElementShadow::attachHost(), ElementShadow::detachHost() and
ElementShadow::reattach()

No new tests. No behavior change.

  • dom/Element.cpp:

(WebCore::Element::attach):
(WebCore::Element::detach):

  • dom/ElementShadow.cpp:

(WebCore::ElememtnShadow::reattachHostChildrenAndShadow):

  • dom/ElementShadow.h:

(ElementShadow):

01:17 Changeset [118653] by morrita@google.com

https://bugs.webkit.org/show_bug.cgi?id=87609
[Chromium] FrameLoaderClient::allowStyleScoped() should be implemented interms of WebPermissionClient

Reviewed by Kent Tamura.

Added allowStyleScoped() implementation which is essentially same as shadowDOMAllowed().

  • src/FrameLoaderClientImpl.cpp:
  • src/FrameLoaderClientImpl.h:

(FrameLoaderClientImpl):

01:03 Changeset [118652] by commit-queue@webkit.org

Web Inspector: CodeGeneratorInspector.py: protect typed API from C++ implicit float to int cast
https://bugs.webkit.org/show_bug.cgi?id=87183

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-05-28
Reviewed by Yury Semikhatsky.

An intermediate C++ class is introduced that uses C++ template technique to control actual type
of its constructor argument.
All input parameters of type "int" now have type ExactlyInt.
All usage sites are fixed accordingly.

  • inspector/CodeGeneratorInspector.py:

(TypeModel.RefPtrBased):
(TypeModel.Enum):
(TypeModel.ValueType):
(TypeModel.ValueType.get_opt_output_type_):
(TypeModel.ValueType.ValueOptional.get_command_return_pass_model):
(TypeModel.ExactlyInt):
(TypeModel.ExactlyInt.init):
(TypeModel.ExactlyInt.get_input_param_type_text):
(TypeModel.ExactlyInt.get_opt_output_type_):
(TypeModel.init_class):
(ExactlyInt):

  • inspector/InspectorAgent.cpp:

(WebCore::InspectorAgent::enable):
(WebCore::InspectorAgent::didCreateWorker):
(WebCore::InspectorAgent::didDestroyWorker):
(WebCore::InspectorAgent::evaluateForTestInFrontend):

  • inspector/InspectorApplicationCacheAgent.cpp:

(WebCore::InspectorApplicationCacheAgent::updateApplicationCacheStatus):
(WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::buildObjectForNode):

  • inspector/InspectorMemoryAgent.cpp:

(WebCore::jsHeapInfo):
(WebCore::InspectorMemoryAgent::getProcessMemoryDistribution):

  • inspector/PageRuntimeAgent.cpp:

(WebCore::PageRuntimeAgent::notifyContextCreated):

00:48 Changeset [118651] by haraken@chromium.org

Unreviewed. Rebaselined run-binding-tests results.

  • bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:

(WebCore::JSTestActiveDOMObjectOwner::finalize):

  • bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:

(WebCore::JSTestCustomNamedGetterOwner::finalize):

  • bindings/scripts/test/JS/JSTestEventConstructor.cpp:

(WebCore::JSTestEventConstructorOwner::finalize):

  • bindings/scripts/test/JS/JSTestEventTarget.cpp:

(WebCore::JSTestEventTargetOwner::finalize):

  • bindings/scripts/test/JS/JSTestException.cpp:

(WebCore::JSTestExceptionOwner::finalize):

  • bindings/scripts/test/JS/JSTestInterface.cpp:

(WebCore::JSTestInterfaceOwner::finalize):

  • bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:

(WebCore::JSTestMediaQueryListListenerOwner::finalize):

  • bindings/scripts/test/JS/JSTestNamedConstructor.cpp:

(WebCore::JSTestNamedConstructorOwner::finalize):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::JSTestObjOwner::finalize):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::V8TestObj::installPerContextProperties):

00:11 Changeset [118650] by darin@apple.com

StyleResolver need not allocate each MediaQueryResult on the heap
https://bugs.webkit.org/show_bug.cgi?id=75223

Reviewed by Daniel Bates.

  • css/MediaQuery.cpp: Removed some comments that pointed to CSS documents.

There is no guarantee these links will be valid over time.
(WebCore::MediaQuery::MediaQuery): Rewrote for clarity, conventional WebKit coding
style, and simplicity.
(WebCore::MediaQuery::copy): Moved out of line; not performance critical, and this
allows us to cut down header dependencies.
(WebCore::MediaQuery::cssText): Updated for change to data member name.

  • css/MediaQuery.h: Removed unneeded includes. Removed non-helpful argument name

"exprs". Changed expressions function to return a reference instead of
a pointer. Changed mediaType and cssText functions to return a reference. Renamed
m_serializationCache to m_serializedQuery. Moved copy function out of header.

  • css/MediaQueryEvaluator.cpp: Renamed EvalFunc to MediaFeatureEvaluationFunction.

Broke a FIXME into three and reworded for clarity.
(WebCore::MediaQueryEvaluator): Updated for name changes.
(WebCore::MediaQueryEvaluator::eval): Rewrote this for clarity and to regularize
the logic a bit.
(WebCore::aspect_ratioMediaFeatureEval): Got rid of a != 0 that is contrary to the
normal WebKit style.
(WebCore::device_aspect_ratioMediaFeatureEval): Ditto.
(WebCore::transform_3dMediaFeatureEval): Fixed mangled #if that was here.
(WebCore::view_modeMediaFeatureEval): Replaced UNUSED_PARAM usage with ASSERT_UNUSED.
(WebCore::createFunctionMap): Changed this so it returns the map so we can use a
cleaner style in the caller.
(WebCore::MediaQueryEvaluator::eval): Updated to take a reference and improved the
comments and coding style a bit.

  • css/MediaQueryEvaluator.h: Updated comment style. Removed unused constructor.

Removed unneeded destructor declaration. Renamed m_expResult to m_mediaFeatureResult.

  • css/StyleResolver.cpp: Moved the MediaQueryResult class into this file

and made it a structure rather than a class.
(WebCore::StyleResolver::addViewportDependentMediaQueryResult): Updated to take
a reference argument instead of a pointer and for the new vector type.
(WebCore::StyleResolver::affectedByViewportChange): Updated for above changes.

  • css/StyleResolver.h: Removed many unneeded includes and forward declarations of

classes, including now-unneeded include of MediaQueryExp.h. Replaced MediaQueryResult
definition with a forward declaration. Changed addViewportDependentMediaQueryResult
to take a reference instead of a pointer. Changed m_viewportDependentMediaQueryResults
to be a vector of values rather than of pointers.

05/27/12:

22:48 Changeset [118649] by darin@apple.com

Fix an incorrect assertion in Vector::remove
https://bugs.webkit.org/show_bug.cgi?id=87612

Reviewed by Dan Bernstein.

  • wtf/Vector.h: There's no good reason to disallow calling remove

with a size of 0, even when the position is at the end of the vector,
so changed the two-argument Vector::remove assertion to assert that
the position is <= size rather than < size.

22:13 Changeset [118648] by shinyak@chromium.org

cut, copy or paste event won't be fired in Shadow DOM.
https://bugs.webkit.org/show_bug.cgi?id=87352

Reviewed by Dimitri Glazkov.

Source/WebCore:

cut, copy or paste event was not fired in Shadow DOM.
Since event re-targeting has been implemented, it should be safe to fire them in Shadow DOM now.

Tests: fast/dom/shadow/cppevent-in-shadow.html

fast/dom/shadow/cppevent-input-in-shadow.html

  • editing/Editor.cpp:

(WebCore::Editor::findEventTargetFrom):

LayoutTests:

  • fast/dom/shadow/cppevent-in-shadow-expected.txt: Added.
  • fast/dom/shadow/cppevent-in-shadow.html: Added.
  • fast/dom/shadow/cppevent-input-in-shadow-expected.txt: Added.
  • fast/dom/shadow/cppevent-input-in-shadow.html: Added.
22:00 Changeset [118647] by commit-queue@webkit.org

[EFL] Enable blob support for the EFL port
https://bugs.webkit.org/show_bug.cgi?id=85363

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-27
Reviewed by Hajime Morita.

.:

Enable Blob support by default for the EFL port.

  • Source/cmake/OptionsEfl.cmake:

Tools:

Enable Blob support by default for the EFL port.

  • Scripts/webkitperl/FeatureList.pm:

LayoutTests:

Unskip tests which require blob support to be enabled.

  • platform/efl/Skipped:
  • platform/efl/test_expectations.txt:
21:56 Changeset [118646] by ggaren@apple.com

Weak pointer finalization should be lazy
https://bugs.webkit.org/show_bug.cgi?id=87599

Reviewed by Darin Adler.

  • heap/Heap.cpp:

(JSC::Heap::collect): Don't force immediate finalization -- it will
happen lazily.

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweep): Sweep a block's weak set when sweeping the
block. The weak set may not have been swept yet, and this is our last
chance to run weak finalizers before we recycle the memory they reference.

  • heap/MarkedBlock.h:
  • heap/MarkedSpace.cpp:

(JSC::MarkedBlock::sweepWeakSets):

  • heap/MarkedSpace.h:

(JSC::MarkedSpace::sweepWeakSets): Nixed sweepWeakSets because it's unused
now.

21:39 Changeset [118645] by hayato@chromium.org

Support multiple shadow roots in event dispatching.
https://bugs.webkit.org/show_bug.cgi?id=87470

Reviewed by Dimitri Glazkov.

Source/WebCore:

The current implementation does not set event's target correctly
if an event happens on DOM tree with multiple shadow roots. So
this patch updates an event re-targeting algorithm so that it
works even if it is applied to multiple shadow roots.

Tests: fast/dom/shadow/shadow-dom-event-dispatching.html

  • dom/ComposedShadowTreeWalker.cpp:

(WebCore::ComposedShadowTreeWalker::traverseParentIncludingInsertionPointAndShadowRoot):

  • dom/EventDispatcher.cpp:

(WebCore::EventDispatcher::ensureEventAncestors):

LayoutTests:

  • fast/dom/shadow/shadow-dom-event-dispatching-expected.txt:
  • fast/dom/shadow/shadow-dom-event-dispatching.html:
21:22 Changeset [118644] by benjamin@webkit.org

Minor code cleaning for the interface of MainResourceLoader
https://bugs.webkit.org/show_bug.cgi?id=87607

Reviewed by Darin Adler.

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::MainResourceLoader):
(WebCore::MainResourceLoader::handleSubstituteDataLoadNow):
(WebCore::MainResourceLoader::handleSubstituteDataLoadSoon):

  • loader/MainResourceLoader.h:

(MainResourceLoader):
-Add the OVERRIDE keyword for the methods inherited from ResourceLoader.
-Remove the useless declaration of handleDataLoad(ResourceRequest&), this method does not exist.
-Rename handleDataLoadNow() to handleSubstituteDataLoadNow() and make the method private. This should

only be used by handleSubstituteDataLoadSoon() and indirectly through the timer.

19:26 Changeset [118643] by yosin@chromium.org

[WTF] Introduce UINT64_C to MathExtras.h
https://bugs.webkit.org/show_bug.cgi?id=87485

Reviewed by Kent Tamura.

Source/WebCore:

This patch introduces UINT64_C for all platforms to avoid using
conditional compilation.

No new tests. This patch doesn't change behavior.

  • Modules/websockets/WebSocketFrame.cpp:

(WebCore::WebSocketFrame::parseFrame): Replace conditional compilation with UINT64_C.

Source/WTF:

  • wtf/MathExtras.h:
19:05 Changeset [118642] by mitz@apple.com

Added a tag for the Safari 5.1.7 release.

Safari 5.1.7 includes JavaScriptCore-x534.57.3, JavaScriptGlue-x534.57.2, WebCore-x534.57.2, WebKit-x534.57.2, and WebKit2-x534.57.2.

18:58 Changeset [118641] by mitz@apple.com

Added a tag for the OS X Lion Update 10.7.4 release.

OS X Lion v10.7.4 includes JavaScriptCore-7534.56.6, WebCore-7534.56.5, WebKit-7534.56.5, and WebKit2-7534.56.5.

18:56 Changeset [118640] by rakuco@webkit.org

[CMake] Make WEBKIT_SET_EXTRA_COMPILER_FLAGS work with clang.
https://bugs.webkit.org/show_bug.cgi?id=87597

Reviewed by Daniel Bates.

Building with clang requires at least the -fPIC option being
passed correctly, just like it is needed with gcc. clang is also
compatible with most of gcc's compiler options, so we only need to
check for clang besides g++ in the macro definition.

  • Source/cmake/WebKitHelpers.cmake: Check for "Clang" and use

CMAKE_COMPILER_IS_GNUCXX for the previous check, as it is shorter
and achieves the same effect.

18:53 Changeset [118639] by macpherson@chromium.org

Use StringBuilder in WebKitCSSTransformValue::customCssText() to allow code reuse with CSS Variables.
https://bugs.webkit.org/show_bug.cgi?id=87462

Reviewed by Dimitri Glazkov.

Factor out strings into a const char* array, and use a StringBuilder instead of String concatenation.
This will allow future code to re-use the array of transform names, and StringBuilder is generally faster.

Covered by existing CSS transform tests.

  • css/WebKitCSSTransformValue.cpp:

(WebCore):
(WebCore::WebKitCSSTransformValue::customCssText):

18:52 Changeset [118638] by mitz@apple.com

Added a tag for the Safari 5.1.5 release.

Safari 5.1.5 includes JavaScriptCore-x534.55.2, JavaScriptGlue-x534.55.2, WebCore-x534.55.3, WebKit-x534.55.3, and WebKit2-x534.55.3.

18:49 Changeset [118637] by mitz@apple.com

Added a tag for the Safari 5.1.4 release.

Safari 5.1.4 includes JavaScriptCore-x534.54.15, JavaScriptGlue-x534.54.5, WebCore-x534.54.17, WebKit-x534.54.16, and WebKit2-x534.54.16.

18:44 Changeset [118636] by mitz@apple.com

Added a tag for the OS X Lion Update 10.7.3 release.

OS X Lion v10.7.3 includes JavaScriptCore-x534.53.8, WebCore-x534.53.11, WebKit-x534.53.11, and WebKit2-x534.53.11.

18:24 Changeset [118635] by mitz@apple.com

Added a tag for the Safari 5.1.2 release.

Safari 5.1.2 includes JavaScriptCore-x534.52.7, JavaScriptGlue-x534.51.13, WebCore-x534.52.11, WebKit-x534.52.7, and WebKit2-x534.52.7.

18:17 Changeset [118634] by mitz@apple.com

Added a tag for the Safari 5.1.1 release.

Safari 5.1.1 includes JavaScriptCore-x534.51.21, JavaScriptGlue-x534.51.13, WebCore-x534.51.22, WebKit-x534.51.22, and WebKit2-x534.51.22.

17:28 Changeset [118633] by commit-queue@webkit.org

fast/dom/shadow/content-element-in-media.html is wrong.
https://bugs.webkit.org/show_bug.cgi?id=81310

Modifying to check() to dump expected and actual text at the same
absolute position, because DumpRenderTree dumps absolute x,y-position
information for a layer which contains RenderVideo. For example,
backgroundClip at (8,163), clip at (8, 163) and so on.

Patch by Takashi Sakamoto <tasak@google.com> on 2012-05-27
Reviewed by Hajime Morita.

  • fast/dom/resources/shadow-test-driver.js:

(check):
Disabled actual block when dumping expected block as text, and vice
versa.

  • platform/chromium/test_expectations.txt:

Removed BUGWK81310.

17:23 Changeset [118632] by commit-queue@webkit.org

[BlackBerry] Update color for tap highlight and selection
https://bugs.webkit.org/show_bug.cgi?id=87606

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-27
Reviewed by Antonio Gomes.

PR #154813

  • platform/blackberry/RenderThemeBlackBerry.cpp:

(WebCore::RenderThemeBlackBerry::platformTapHighlightColor):
(WebCore::RenderThemeBlackBerry::platformActiveSelectionBackgroundColor):

14:31 Changeset [118631] by benjamin@webkit.org

When pages are loaded from AppCache with DeferredLoading, willSendRequest() is never called
https://bugs.webkit.org/show_bug.cgi?id=87582

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-05-27
Reviewed by Darin Adler.

Source/WebCore:

Previously, there was a shortcut when a deferred MainResourceLoader is resumed: If the data
was coming from AppCache we could jump directly to startDataLoadTimer().

The problem with the shortcut is willSendRequest() is never called in that particular case
(substituteData + deferred-resume). The imbalance between willSendRequest() and didReceiveResponse()
causes problems.

This patch removes the shortcut so that MainResourceLoader::loadNow() is used regardless of
the deferred loading. The method MainResourceLoader::loadNow() handle the substituteData as if the loading
was not deferred.

Test: http/tests/appcache/load-from-appcache-defer-resume-crash.html

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::continueAfterNavigationPolicy):
(WebCore::MainResourceLoader::handleSubstituteDataLoadSoon):
Rename the method to be consistent with the attribute it uses, making the naming more explicit.
(WebCore::MainResourceLoader::loadNow):
(WebCore::MainResourceLoader::setDefersLoading):

  • loader/MainResourceLoader.h:

(MainResourceLoader):

Tools:

Extend DumpRenderTree to support loading the main resource deferred with a delay. This makes it
possible to test pages in a similar way as they are loaded in Browsers.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::LayoutTestController):
(setUseDeferredFrameLoadingCallback):
(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:

(LayoutTestController::useDeferredFrameLoading):
(LayoutTestController::setUseDeferredFrameLoading):
(LayoutTestController):

  • DumpRenderTree/mac/FrameLoadDelegate.mm:

(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):

LayoutTests:

  • http/tests/appcache/load-from-appcache-defer-resume-crash-expected.txt: Added.
  • http/tests/appcache/load-from-appcache-defer-resume-crash.html: Added.
  • http/tests/appcache/resources/load-from-appcache-defer-resume-bounce-back.html: Added.
  • http/tests/appcache/resources/load-from-appcache-defer-resume-crash.manifest: Added.
12:51 Changeset [118630] by zandobersek@gmail.com

Unreviewed GTK gardening after r118618.

  • platform/gtk/test_expectations.txt:
12:48 Changeset [118629] by hausmann@webkit.org

[Qt] Trivial unreviewed build fix with newer Qt

  • Api/qwebpage.cpp:

(QWebPage::javaScriptPrompt): Don't use deprecated QString/QChar functions.

12:27 Changeset [118628] by dbarton@mathscribe.com

[watchlist] Improve MathML rule
https://bugs.webkit.org/show_bug.cgi?id=87592

Reviewed by Adam Barth.

The old rule "filename": r".*mathml" works fine because "filename" is a prefix match,
but if this changed the rule would be slow. We protect against this, clarify the rule,
and make it more similar to existing rules.

  • Scripts/webkitpy/common/config/watchlist:
07:54 Changeset [118627] by commit-queue@webkit.org

[BlackBerry] Crash when deleting WebPageCompositor
https://bugs.webkit.org/show_bug.cgi?id=87589

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-27
Reviewed by Rob Buis.

The WebPageCompositorPrivate is reference counted, so it may outlive
either the WebPage or the WebPageCompositor, depending on who releases
its reference first.

Fixed by disconnecting the objects properly, regardless of who goes
away first.

Reviewed internally by Mike Lattanzio.

PR #156444

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::setCompositor):
(BlackBerry::WebKit::WebPagePrivate::destroyCompositor):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositor::~WebPageCompositor):
(BlackBerry::WebKit::WebPageCompositor::client):

  • Api/WebPageCompositor_p.h:

(BlackBerry::WebKit::WebPageCompositorPrivate::setPage):

07:41 Changeset [118626] by commit-queue@webkit.org

[BlackBerry] BackingStore accesses tiles even though it's not active
https://bugs.webkit.org/show_bug.cgi?id=87563

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-04-18
Reviewed by Antonio Gomes.

There are many scenarios that can call render and cause tile access,
and they used to be rerouted to the direct rendering code when the
backing store was not active. This was thanks to an implicit check for
isActive() by virtue of calling shouldDirectRenderingToWindow() from
render().

If we're using OpenGL for compositing the backing store contents
however, direct rendering is always disabled and we jump right into the
tile based rendering code.

Fixed by adding an explicit check for isActive() in render(), now that
the implicit check in shouldDirectRenderingToWindow() is conditional on
having raster usage.

Since PR136381/bug83131, when OpenGL compositing is used, and the
backing store is not active, it is not in charge of drawing the root
layer. Instead, we switch off the paintingGoesToWindow flag on the root
RenderLayer so no invalidates will reach the ChromeClient or the
BackingStore any more. Instead, invalidations will cause the root
accelerated compositing layer to be repainted. Any BackingStore render
calls while in this state are pointless, and can safely do an early
return.

Reviewed internally by Jakob Petsovits.

PR #150403

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::render):

07:17 Changeset [118625] by commit-queue@webkit.org

[BlackBerry] Web page fails to render after clicking link with target=_blank
https://bugs.webkit.org/show_bug.cgi?id=87562

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-04-12
Reviewed by Antonio Gomes.

Clicking such a link opens a new tab. The compositor was briefly in
charge of drawing the root layer while the backing store was inactive
and the user was looking at the other tab. The problem was that the
compositor believed it was still painting the root layer even after the
backing store became active again. The flag was not properly cleared
when turning off compositing.

Fixed by returning false from drawsRootLayer() if we don't have a root
layer.

Reviewed internally by Filip Spacek.

PR #149342

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::drawsRootLayer):

04:35 Changeset [118624] by ddkilzer@apple.com

Use xcrun to find gperf path on platforms that use Xcode
<http://webkit.org/b/87587>

Reviewed by Dan Bernstein.

  • WebCore.xcodeproj/project.pbxproj:

(Generate Derived Sources): Set GPERF environment variable using
xcrun.

  • css/makeprop.pl: Use GPERF environment variable if set, else

"gperf".

  • css/makevalues.pl: Ditto.
  • make-hash-tools.pl: Ditto.
00:40 Changeset [118623] by dbarton@mathscribe.com

[watchlist] Add myself & a rule for MathML
https://bugs.webkit.org/show_bug.cgi?id=87586

Reviewed by Adam Barth.

  • Scripts/webkitpy/common/config/watchlist:
00:35 Applications using WebKit edited by rmoneymunch@yahoo.com
(diff)
00:34 Applications using WebKit edited by rmoneymunch@yahoo.com
(diff)
00:34 Changeset [118622] by commit-queue@webkit.org

[FileAPI] FileReader should fire progress event when blob has been completely read into memory
https://bugs.webkit.org/show_bug.cgi?id=87585

Patch by Li Yin <li.yin@intel.com> on 2012-05-27
Reviewed by Kentaro Hara.

From Spec: http://www.w3.org/TR/FileAPI/#dfn-progress-event
One progress event will fire when blob has been completely read into memory.
Firefox, Opera and IE follows the spec.
Webkit based browser doesn't do that, it only fires progress event at interval of 50ms.
WebKit should add the behavior to make the conformance with the spec.

Source/WebCore:

Tests: fast/files/file-reader-event-listener.html

  • fileapi/FileReader.cpp:

(WebCore::FileReader::didFinishLoading):

LayoutTests:

  • fast/files/file-reader-event-listener-expected.txt:
  • fast/files/file-reader-event-listener.html:

05/26/12:

23:52 Changeset [118621] by ddkilzer@apple.com

Use xcrun to find path to nm for Mac port
<http://webkit.org/b/87588>

Reviewed by Dan Bernstein.

  • Scripts/webkitpy/layout_tests/port/mac.py:

(MacPort.nm_command): Add. Tries to find a path for the nm
command using xcrun. Falls back to returning 'nm'.

  • Scripts/webkitpy/layout_tests/port/webkit.py:

(WebKitPort.nm_command): Add. Returns 'nm'.
(WebKitPort._webcore_symbols_string): Call self.nm_command().

18:51 Changeset [118620] by commit-queue@webkit.org

[FileAPI] The result attribute of FileReader shuold use null to replace empty string
https://bugs.webkit.org/show_bug.cgi?id=87578

Patch by Li Yin <li.yin@intel.com> on 2012-05-26
Reviewed by Kentaro Hara.

Source/WebCore:

From Spec: http://www.w3.org/TR/FileAPI/#filedata-attr
Before read method has been called or an error in reading has occurred,
the result attribute should be null, not empty string.

Currently, Firefox, Opera and IE 10 follows the spec, but Webkit based
browser don't.
WebKit should change the returned value empty string into null to keep
conformance with the spec.

Tests: fast/files/read-file-async.html

fast/files/blob-slice-test.html
fast/files/read-blob-async.html
fast/files/workers/worker-read-blob-async.html
fast/files/workers/worker-read-file-async.html

  • fileapi/FileReader.cpp:

(WebCore::FileReader::stringResult):

LayoutTests:

From Spec: http://www.w3.org/TR/FileAPI/#filedata-attr
Before read method has been called or an error in reading has occurred,
the result attribute should be null, not empty string.
WebKit should change the returned value empty string into null to keep
conformance with the spec.

  • fast/files/blob-slice-test-expected.txt:
  • fast/files/read-blob-async-expected.txt:
  • fast/files/read-file-async-expected.txt:
  • fast/files/resources/read-common.js:

(logResult):

  • fast/files/workers/worker-read-blob-async-expected.txt:
  • fast/files/workers/worker-read-file-async-expected.txt:
18:16 Changeset [118619] by aestes@apple.com

Fix the build when NETSCAPE_PLUGIN_API is disabled by marking a
parameter as unused.

  • plugins/PluginData.cpp:

(WebCore::PluginData::initPlugins):

17:46 Changeset [118618] by japhet@chromium.org

Source/WebCore: Cancel CachedResource loads when the last client is removed.
https://bugs.webkit.org/show_bug.cgi?id=35377

Reviewed by Darin Adler.

Test: http/tests/cache/cancel-in-progress-load.html

  • loader/SubresourceLoader.cpp:

(WebCore::SubresourceLoader::errorLoadingResource):

  • loader/cache/CachedCSSStyleSheet.cpp:

(WebCore::CachedCSSStyleSheet::allClientsRemoved):

  • loader/cache/CachedFont.cpp:

(WebCore::CachedFont::allClientsRemoved):

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::allClientsRemoved):

  • loader/cache/CachedRawResource.cpp:

(WebCore):

  • loader/cache/CachedRawResource.h:

(WebCore::CachedRawResource::shouldIgnoreHTTPStatusCodeErrors):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::allClientsRemoved):
(WebCore):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::allClientsRemoved):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=35377.

Reviewed by Darin Adler.

  • http/tests/cache/cancel-in-progress-load-expected.txt: Added.
  • http/tests/cache/cancel-in-progress-load.html: Added.
  • http/tests/misc/write-while-waiting.html: Add waitUntilDone()/notifyDone().

The slow script will now be cancelled when the script element is removed from the document.
Without waitUntilDone(), LayoutTestController will immediately end the test upon cancellation
of the last resource.

17:43 Changeset [118617] by simon.fraser@apple.com

fast/block/inline-children-root-linebox-crash.html asserts after r118567
https://bugs.webkit.org/show_bug.cgi?id=87544

Source/WebCore:

Reviewed by Darin Adler.

RenderInline::offsetFromContainer() set offsetDependsOnPoint to true based
on the container's flipped writing mode. However, offsetFromContainer() would
then overwrite that, since it only checked for columns.

Fix by having RenderInline::offsetFromContainer() check for flipping on
the container. This fixes the assertion.

The new testcase exercises fixes another issue; unlike mapLocalToAbsolute(),
RenderGeometryMap::absoluteRect() didn't pass the rect center point through
the mapping, which resulted in a different result in some flipping cases.

Test: compositing/geometry/flipped-blocks-inline-mapping.html

  • rendering/RenderGeometryMap.cpp:

(WebCore::RenderGeometryMap::absoluteRect):

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::offsetFromContainer):
(WebCore::RenderInline::pushMappingToContainer):

LayoutTests:

Reviewed by Darin Adler.

Remove fast/block/inline-children-root-linebox-crash.html from the skipped
list.

New, more complex writing mode flipping test with compositing.

  • compositing/geometry/flipped-blocks-inline-mapping-expected.txt: Added.
  • compositing/geometry/flipped-blocks-inline-mapping.html: Added.
  • platform/mac/Skipped:
15:40 Changeset [118616] by ggaren@apple.com

WebKit should be lazy-finalization-safe (esp. the DOM) v2
https://bugs.webkit.org/show_bug.cgi?id=87581

Reviewed by Oliver Hunt.

../JavaScriptCore:

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::callDestructor):

  • heap/WeakBlock.h:
  • heap/WeakSetInlines.h:

(JSC::WeakBlock::finalize): Since we don't guarantee destruction order,
it's not valid to access GC pointers like the Structure pointer during
finalization. We NULL out the structure pointer in debug builds to try
to make this programming mistake more obvious.

  • API/JSCallbackConstructor.cpp:

(JSC::JSCallbackConstructor::destroy):

  • API/JSCallbackObject.cpp:

(JSC::::destroy):
(JSC::JSCallbackObjectData::finalize):

  • runtime/Arguments.cpp:

(JSC::Arguments::destroy):

  • runtime/DateInstance.cpp:

(JSC::DateInstance::destroy):

  • runtime/Error.cpp:

(JSC::StrictModeTypeErrorFunction::destroy):

  • runtime/Executable.cpp:

(JSC::ExecutableBase::destroy):
(JSC::NativeExecutable::destroy):
(JSC::ScriptExecutable::destroy):
(JSC::EvalExecutable::destroy):
(JSC::ProgramExecutable::destroy):
(JSC::FunctionExecutable::destroy):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::destroy):

  • runtime/JSPropertyNameIterator.cpp:

(JSC::JSPropertyNameIterator::destroy):

  • runtime/JSStaticScopeObject.cpp:

(JSC::JSStaticScopeObject::destroy):

  • runtime/JSString.cpp:

(JSC::JSString::destroy):

  • runtime/JSVariableObject.cpp:

(JSC::JSVariableObject::destroy):

  • runtime/NameInstance.cpp:

(JSC::NameInstance::destroy):

  • runtime/RegExp.cpp:

(JSC::RegExp::destroy):

  • runtime/RegExpConstructor.cpp:

(JSC::RegExpConstructor::destroy):

  • runtime/Structure.cpp:

(JSC::Structure::destroy):

  • runtime/StructureChain.cpp:

(JSC::StructureChain::destroy): Use static_cast instead of jsCast because
jsCast does Structure-based validation, and our Structure is not guaranteed
to be alive when we get finalized.

../WebCore:

  • bindings/js/JSDOMGlobalObject.cpp:

(WebCore::JSDOMGlobalObject::destroy):

  • bindings/js/JSDOMWindowBase.cpp:

(WebCore::JSDOMWindowBase::destroy):

  • bindings/js/JSDOMWindowShell.cpp:

(WebCore::JSDOMWindowShell::destroy):

  • bindings/js/JSNodeCustom.cpp:

(WebCore::JSNodeOwner::finalize):

  • bindings/js/JSWorkerContextBase.cpp:

(WebCore::JSWorkerContextBase::destroy):

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):

  • bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:

(WebCore::JSTestActiveDOMObject::destroy):
(WebCore::JSTestActiveDOMObjectOwner::finalize):

  • bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:

(WebCore::JSTestCustomNamedGetter::destroy):
(WebCore::JSTestCustomNamedGetterOwner::finalize):

  • bindings/scripts/test/JS/JSTestEventConstructor.cpp:

(WebCore::JSTestEventConstructor::destroy):
(WebCore::JSTestEventConstructorOwner::finalize):

  • bindings/scripts/test/JS/JSTestEventTarget.cpp:

(WebCore::JSTestEventTarget::destroy):
(WebCore::JSTestEventTargetOwner::finalize):

  • bindings/scripts/test/JS/JSTestException.cpp:

(WebCore::JSTestException::destroy):
(WebCore::JSTestExceptionOwner::finalize):

  • bindings/scripts/test/JS/JSTestInterface.cpp:

(WebCore::JSTestInterface::destroy):
(WebCore::JSTestInterfaceOwner::finalize):

  • bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:

(WebCore::JSTestMediaQueryListListener::destroy):
(WebCore::JSTestMediaQueryListListenerOwner::finalize):

  • bindings/scripts/test/JS/JSTestNamedConstructor.cpp:

(WebCore::JSTestNamedConstructor::destroy):
(WebCore::JSTestNamedConstructorOwner::finalize):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::JSTestObj::destroy):
(WebCore::JSTestObjOwner::finalize):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore::JSTestSerializedScriptValueInterface::destroy):
(WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):

  • bridge/objc/objc_runtime.mm:

(JSC::Bindings::ObjcFallbackObjectImp::destroy):

  • bridge/qt/qt_runtime.cpp:

(JSC::Bindings::QtRuntimeMethod::destroy):

  • bridge/qt/qt_runtime_qt4.cpp:

(JSC::Bindings::QtRuntimeMethod::destroy):

  • bridge/runtime_array.cpp:

(JSC::RuntimeArray::destroy):

  • bridge/runtime_method.cpp:

(JSC::RuntimeMethod::destroy):

  • bridge/runtime_object.cpp:

(JSC::Bindings::RuntimeObject::destroy):

  • bridge/runtime_root.cpp:

(JSC::Bindings::RootObject::finalize): Use static_cast instead of jsCast because
jsCast does Structure-based validation, and our Structure is not guaranteed
to be alive when we get finalized.

../WebKit2:

  • WebProcess/Plugins/Netscape/JSNPObject.cpp:

(WebKit::JSNPObject::destroy):
(WebKit::JSNPObject::leakNPObject):

  • WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:

(WebKit::NPRuntimeObjectMap::finalize): Use static_cast instead of jsCast because
jsCast does Structure-based validation, and our Structure is not guaranteed
to be alive when we get finalized.

15:08 Changeset [118615] by mjs@apple.com

REGRESSION (r116720): Subframe PDF scrolls extremely slowly
https://bugs.webkit.org/show_bug.cgi?id=87557
<rdar://problem/11499408>

Reviewed by Anders Carlsson.

It's not possible to make an automated test for this.

  • WebProcess/Plugins/PDF/BuiltInPDFView.mm:

(WebKit::BuiltInPDFView::wantsWheelEvents): Return true instead of false and delete
misleading comment. While the built-in PDF view would get added to the set of scrollable
areas anyway, there are some code paths that check wantsWheelEvents explicitly, so it seems
necessary to reutrn true.

14:25 Changeset [118614] by dbarton@mathscribe.com

Move myself to committers.

13:35 Changeset [118613] by dbarton@mathscribe.com

My first commit - set svn:mime-type to image/png on one .png file.

  • platform/mac/mathml/presentation/mroot-pref-width-expected.png:
13:15 Changeset [118612] by simon.fraser@apple.com

Clip rects assertion when hovering div with transform
https://bugs.webkit.org/show_bug.cgi?id=87580

Source/WebCore:

Reviewed by Eric Seidel.

Hit testing used to use temporary clip rects in composited documents,
until r118562. Now that we cache clip rects for hit testing, we need
to clear the cache on descendant layers when a layer gains or loses
a transform.

Test: fast/layers/clip-rects-assertion.html

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::updateTransform):

LayoutTests:

Reviewed by Eric Seidel.

Test that changes transform on hover style, testing for clipRect-related
assertions.

  • fast/layers/clip-rects-assertion-expected.txt: Added.
  • fast/layers/clip-rects-assertion.html: Added.
10:32 WebKit Team edited by noam.rosenthal@nokia.com
(diff)
10:14 Changeset [118611] by mitz@apple.com

<rdar://problem/11439771> WebProcess sends many synchronous messages to the UI process while scrolling beneath ScrollView::contentsToScreen()
https://bugs.webkit.org/show_bug.cgi?id=87571

Reviewed by Anders Carlsson.

fakeMouseEventTimerFired() uses the last known mouse position for the fake mouse event, but
calls contentsToScreen() to compute a corresponding position in screen coordinates. Avoid
this by also recording the last known mouse position in screen coordinates, and using that
value.

  • page/EventHandler.cpp:

(WebCore::EventHandler::clear): Added resetting m_currentMouseGlobalPosition.
(WebCore::EventHandler::handleMousePressEvent): Added updating m_currentMouseGlobalPosition
when updating m_currentMousePosition.
(WebCore::EventHandler::handleMouseDoubleClickEvent): Ditto.
(WebCore::EventHandler::handleMouseMoveEvent): Ditto.
(WebCore::EventHandler::handleMouseReleaseEvent): Ditto.
(WebCore::EventHandler::fakeMouseMoveEventTimerFired): Changed to use m_currentMouseGlobalPosition
in the fake event instead of calling contentsToScreen().

  • page/EventHandler.h: Added m_currentMouseGlobalPosition data member.
08:34 Changeset [118610] by philn@webkit.org

[GStreamer] Remove ImageGStreamerCG implementation
https://bugs.webkit.org/show_bug.cgi?id=87559

The ImageGStreamerCG abstraction is being removed until I manage to
port my gst-mac WebKit branch over to the WebKit2 mac port. No
need to update the XCode project because this file is not
referenced there anyway.

Reviewed by Martin Robinson.

  • platform/graphics/gstreamer/ImageGStreamer.h:

(ImageGStreamer):

  • platform/graphics/gstreamer/ImageGStreamerCG.mm: Removed.
04:38 Changeset [118609] by rwlbuis@webkit.org

Bug 15799: textPath element does not re-render when referenced path changes
https://bugs.webkit.org/show_bug.cgi?id=15799

Patch by Rob Buis <rwlbuis@webkit.org> on 2012-05-26
Reviewed by Nikolas Zimmermann.

Source/WebCore:

Support textPath updating to changes on the referenced path. To make this possible
use the target reference functionality also used by SVGFEImageElement.

Tests: svg/custom/textPath-change-id-expected.svg

svg/custom/textPath-change-id-pattern-expected.svg
svg/custom/textPath-change-id-pattern.svg
svg/custom/textPath-change-id.svg
svg/custom/textPath-change-id2-expected.svg
svg/custom/textPath-change-id2-pattern-expected.svg
svg/custom/textPath-change-id2-pattern.svg
svg/custom/textPath-change-id2.svg
svg/custom/textPath-change-reference-expected.svg
svg/custom/textPath-change-reference-pattern-expected.svg
svg/custom/textPath-change-reference-pattern.svg
svg/custom/textPath-change-reference-using-baseval-expected.svg
svg/custom/textPath-change-reference-using-baseval-pattern-expected.svg
svg/custom/textPath-change-reference-using-baseval-pattern.svg
svg/custom/textPath-change-reference-using-baseval.svg
svg/custom/textPath-change-reference.svg
svg/custom/textPath-change-reference2-expected.svg
svg/custom/textPath-change-reference2-pattern-expected.svg
svg/custom/textPath-change-reference2-pattern.svg
svg/custom/textPath-change-reference2-using-baseval-expected.svg
svg/custom/textPath-change-reference2-using-baseval-pattern-expected.svg
svg/custom/textPath-change-reference2-using-baseval-pattern.svg
svg/custom/textPath-change-reference2-using-baseval.svg
svg/custom/textPath-change-reference2.svg
svg/custom/textPath-insert-path-expected.svg
svg/custom/textPath-insert-path-pattern-expected.svg
svg/custom/textPath-insert-path-pattern.svg
svg/custom/textPath-insert-path.svg
svg/custom/textPath-modify-child-expected.svg
svg/custom/textPath-modify-child-pattern-expected.svg
svg/custom/textPath-modify-child-pattern.svg
svg/custom/textPath-modify-child.svg
svg/custom/textPath-path-change-expected.svg
svg/custom/textPath-path-change-pattern-expected.svg
svg/custom/textPath-path-change-pattern.svg
svg/custom/textPath-path-change-using-svg-dom-expected.svg
svg/custom/textPath-path-change-using-svg-dom-pattern-expected.svg
svg/custom/textPath-path-change-using-svg-dom-pattern.svg
svg/custom/textPath-path-change-using-svg-dom.svg
svg/custom/textPath-path-change.svg
svg/custom/textPath-path-change2-expected.svg
svg/custom/textPath-path-change2-pattern-expected.svg
svg/custom/textPath-path-change2-pattern.svg
svg/custom/textPath-path-change2.svg
svg/custom/textPath-remove-path-expected.svg
svg/custom/textPath-remove-path-pattern-expected.svg
svg/custom/textPath-remove-path-pattern.svg
svg/custom/textPath-remove-path.svg
svg/custom/textPath-set-id-expected.svg
svg/custom/textPath-set-id.svg
svg/custom/textPath-startoffset-expected.svg
svg/custom/textPath-startoffset-pattern-expected.svg
svg/custom/textPath-startoffset-pattern.svg
svg/custom/textPath-startoffset.svg

  • svg/SVGTextPathElement.cpp:

(WebCore::SVGTextPathElement::~SVGTextPathElement):
(WebCore):
(WebCore::SVGTextPathElement::clearResourceReferences):
(WebCore::SVGTextPathElement::svgAttributeChanged):
(WebCore::SVGTextPathElement::buildPendingResource):
(WebCore::SVGTextPathElement::insertedInto):
(WebCore::SVGTextPathElement::removedFrom):

  • svg/SVGTextPathElement.h:

LayoutTests:

  • textPath-path-change-id.svg, react to change of id attribute on referenced path (makes the xlink:href valid).
  • textPath-path-change-id2.svg, react to change of id attribute on referenced path (makes the xlink:href invalid).
  • textPath-path-set-id.svg, react to setting of id attribute on referenced path (makes the xlink:href valid).
  • textPath-change-reference.svg, <textPath> references existing <path>, change the xlink:href to a non-existing one.
  • textPath-change-reference-using-baseval.svg, <textPath> references existing <path>, change the xlink:href to a non-existing one using SVG DOM.
  • textPath-change-reference2.svg, <textPath> references non-existing <path>, change xlink:href to an existing one.
  • textPath-change-reference2-using-baseval.svg, <textPath> references non-existing <path>, change xlink:href to an existing one using SVG DOM.
  • textPath-insert-path.svg, <textPath> references non-existing <path>, <path> added dynamically.
  • textPath-modify-child.svg, react to change on textPath content.
  • textPath-path-change-using-svg-dom.svg, react to change on pathSegList of referenced path.
  • textPath-path-change.svg, react to change on d attribute of referenced path.
  • textPath-path-change2.svg, react to change on d attribute of path referenced by multiple <textPath>s.
  • textPath-remove-path.svg, <textPath> references existing <path>, <path> is removed from DOM.
  • textPath-startoffset.svg, react to startOffset attribute change on <textPath>.

These tests are duplicated for <textPath> inside a <pattern>.

  • svg/custom/textPath-change-id-expected.svg: Added.
  • svg/custom/textPath-change-id-pattern-expected.svg: Added.
  • svg/custom/textPath-change-id-pattern.svg: Added.
  • svg/custom/textPath-change-id.svg: Added.
  • svg/custom/textPath-change-id2-expected.svg: Added.
  • svg/custom/textPath-change-id2-pattern-expected.svg: Added.
  • svg/custom/textPath-change-id2-pattern.svg: Added.
  • svg/custom/textPath-change-id2.svg: Added.
  • svg/custom/textPath-change-reference-expected.svg: Added.
  • svg/custom/textPath-change-reference-pattern-expected.svg: Added.
  • svg/custom/textPath-change-reference-pattern.svg: Added.
  • svg/custom/textPath-change-reference-using-baseval-expected.svg: Added.
  • svg/custom/textPath-change-reference-using-baseval-pattern-expected.svg: Added.
  • svg/custom/textPath-change-reference-using-baseval-pattern.svg: Added.
  • svg/custom/textPath-change-reference-using-baseval.svg: Added.
  • svg/custom/textPath-change-reference.svg: Added.
  • svg/custom/textPath-change-reference2-expected.svg: Added.
  • svg/custom/textPath-change-reference2-pattern-expected.svg: Added.
  • svg/custom/textPath-change-reference2-pattern.svg: Added.
  • svg/custom/textPath-change-reference2-using-baseval-expected.svg: Added.
  • svg/custom/textPath-change-reference2-using-baseval-pattern-expected.svg: Added.
  • svg/custom/textPath-change-reference2-using-baseval-pattern.svg: Added.
  • svg/custom/textPath-change-reference2-using-baseval.svg: Added.
  • svg/custom/textPath-change-reference2.svg: Added.
  • svg/custom/textPath-insert-path-expected.svg: Added.
  • svg/custom/textPath-insert-path-pattern-expected.svg: Added.
  • svg/custom/textPath-insert-path-pattern.svg: Added.
  • svg/custom/textPath-insert-path.svg: Added.
  • svg/custom/textPath-modify-child-expected.svg: Added.
  • svg/custom/textPath-modify-child-pattern-expected.svg: Added.
  • svg/custom/textPath-modify-child-pattern.svg: Added.
  • svg/custom/textPath-modify-child.svg: Added.
  • svg/custom/textPath-path-change-expected.svg: Added.
  • svg/custom/textPath-path-change-pattern-expected.svg: Added.
  • svg/custom/textPath-path-change-pattern.svg: Added.
  • svg/custom/textPath-path-change-using-svg-dom-expected.svg: Added.
  • svg/custom/textPath-path-change-using-svg-dom-pattern-expected.svg: Added.
  • svg/custom/textPath-path-change-using-svg-dom-pattern.svg: Added.
  • svg/custom/textPath-path-change-using-svg-dom.svg: Added.
  • svg/custom/textPath-path-change.svg: Added.
  • svg/custom/textPath-path-change2-expected.svg: Added.
  • svg/custom/textPath-path-change2-pattern-expected.svg: Added.
  • svg/custom/textPath-path-change2-pattern.svg: Added.
  • svg/custom/textPath-path-change2.svg: Added.
  • svg/custom/textPath-remove-path-expected.svg: Added.
  • svg/custom/textPath-remove-path-pattern-expected.svg: Added.
  • svg/custom/textPath-remove-path-pattern.svg: Added.
  • svg/custom/textPath-remove-path.svg: Added.
  • svg/custom/textPath-set-id-expected.svg: Added.
  • svg/custom/textPath-set-id.svg: Added.
  • svg/custom/textPath-startoffset-expected.svg: Added.
  • svg/custom/textPath-startoffset-pattern-expected.svg: Added.
  • svg/custom/textPath-startoffset-pattern.svg: Added.
  • svg/custom/textPath-startoffset.svg: Added.
02:08 Changeset [118608] by zimmermann@webkit.org

Avoid updateFromElement() usage in SVG
https://bugs.webkit.org/show_bug.cgi?id=87573

Stop relying on updateFromElement() - instead rely on addChild/removeChild, which
allows us to optimize the resources re-fetching. When a child is added to the tree
we don't need to remove existing resources from the SVGResourcesCache - the renderer
can't be in the cache yet. Similary, remove the entry from the cache earlier: as soon
as the renderer is removed from the tree, instead of waiting for willBeDestroyed().

No new tests, refactoring only.

  • rendering/svg/RenderSVGBlock.cpp:
  • rendering/svg/RenderSVGBlock.h:

(RenderSVGBlock):

  • rendering/svg/RenderSVGContainer.cpp:

(WebCore::RenderSVGContainer::addChild):
(WebCore):
(WebCore::RenderSVGContainer::removeChild):

  • rendering/svg/RenderSVGContainer.h:

(RenderSVGContainer):

  • rendering/svg/RenderSVGInline.cpp:

(WebCore::RenderSVGInline::addChild):
(WebCore::RenderSVGInline::removeChild):

  • rendering/svg/RenderSVGInline.h:

(RenderSVGInline):

  • rendering/svg/RenderSVGModelObject.cpp:
  • rendering/svg/RenderSVGModelObject.h:

(RenderSVGModelObject):

  • rendering/svg/RenderSVGResourceContainer.cpp:

(WebCore::RenderSVGResourceContainer::registerResource):

  • rendering/svg/RenderSVGRoot.cpp:

(WebCore::RenderSVGRoot::addChild):
(WebCore):
(WebCore::RenderSVGRoot::removeChild):

  • rendering/svg/RenderSVGRoot.h:

(RenderSVGRoot):

  • rendering/svg/RenderSVGText.cpp:

(WebCore::RenderSVGText::addChild):
(WebCore::RenderSVGText::removeChild):

  • rendering/svg/SVGResourcesCache.cpp:

(WebCore::SVGResourcesCache::clientStyleChanged):
(WebCore::rendererCanHaveResources):
(WebCore):
(WebCore::SVGResourcesCache::clientWasAddedToTree):
(WebCore::SVGResourcesCache::clientWillBeRemovedFromTree):

  • rendering/svg/SVGResourcesCache.h:

(SVGResourcesCache):

  • svg/SVGStyledElement.cpp:
  • svg/SVGStyledElement.h:

(SVGStyledElement):

00:16 Changeset [118607] by zandobersek@gmail.com

Unreviewed GTK gardening after r118577 and r118585.

  • platform/gtk/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Added.
  • platform/gtk/http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Added.
  • platform/gtk/test_expectations.txt:
Note: See TracTimeline for information about the timeline view.