Timeline



Dec 4, 2012:

11:07 PM Changeset in webkit [136644] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.
https://bugs.webkit.org/show_bug.cgi?id=104090

  • platform/chromium/TestExpectations:

Mark fast/css-grid-layout/grid-columns-rows-get-set-multiple.html and
fast/css-grid-layout/grid-columns-rows-get-set.html as crash on Mac
Debug.

10:30 PM Changeset in webkit [136643] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Mark fast/frames/viewsource-attribute.html and
viewsource-on-image-file.html as failure.

10:23 PM Changeset in webkit [136642] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

Source/WebCore: Clicking a scrollbar unfocuses the current activeElement
https://bugs.webkit.org/show_bug.cgi?id=96335

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Ojan Vafai.

Previously we only tested for clicks inside frame scrollbars before
moving the focus, this patch expands the check to overflow scrollbars.
Now clicking inside a scrollbar only moves the focus when the scrollbar
has an ancestor that is mouse focusable.

This matches Gecko behavior, and was agreed to be the most sensible for now:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037759.html

Test: fast/overflow/scrollbar-click-retains-focus.html

  • page/EventHandler.cpp:

(WebCore::EventHandler::handleMousePressEvent):

Never start selections inside scrollbars because it would cause asserts.
This wasn't a problem before because we always moved the focus when clicking a scrollbar.

(WebCore::EventHandler::dispatchMouseEvent):

Check that the click is not inside a scrollbar before moving the focus.

(WebCore::EventHandler::isInsideScrollbar): Tests if a point is in a scrollbar.
(WebCore):
(WebCore::EventHandler::sendContextMenuEvent):

Never start selections inside scrollbars because it would cause asserts.

  • page/EventHandler.h:

(EventHandler):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::hitTestOverflowControls):

LayoutTests: Clicking a scrollbar unfocuses the current activeElement
https://bugs.webkit.org/show_bug.cgi?id=96335

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Ojan Vafai.

Add test that ensures clicking inside a scrollbar doesn't move the
focus unless the scrollbar is inside a mouse focusable element.

  • fast/overflow/scrollbar-click-retains-focus-expected.txt: Added.
  • fast/overflow/scrollbar-click-retains-focus.html: Added.
10:20 PM Changeset in webkit [136641] by haraken@chromium.org
  • 14 edits in trunk/Source/WebCore

[V8] Replace String::New("symbol") with String::NewSymbol("symbol")
https://bugs.webkit.org/show_bug.cgi?id=104084

Reviewed by Adam Barth.

V8 can look up symbols faster than strings. This is a final patch for the replacement.

No tests. No change in behavior.

  • bindings/v8/DateExtension.cpp:

(WebCore::DateExtension::setAllowSleep):
(WebCore::DateExtension::GetNativeFunction):

  • bindings/v8/NPV8Object.cpp:

(WebCore::npIdentifierToV8Identifier):
(_NPN_Invoke):

  • bindings/v8/PageScriptDebugServer.cpp:

(WebCore::PageScriptDebugServer::addListener):

  • bindings/v8/ScriptController.cpp:

(WebCore::ScriptController::setContextDebugId):

  • bindings/v8/ScriptDebugServer.cpp:

(WebCore::ScriptDebugServer::callDebuggerMethod):
(WebCore::ScriptDebugServer::setBreakpoint):
(WebCore::ScriptDebugServer::removeBreakpoint):
(WebCore::ScriptDebugServer::clearBreakpoints):
(WebCore::ScriptDebugServer::setBreakpointsActivated):
(WebCore::ScriptDebugServer::handleV8DebugEvent):
(WebCore::ScriptDebugServer::dispatchDidParseSource):

  • bindings/v8/ScriptObject.cpp:

(WebCore::ScriptGlobalObject::set):
(WebCore::ScriptGlobalObject::get):
(WebCore::ScriptGlobalObject::remove):

  • bindings/v8/V8Binding.h:

(WebCore::toV8Sequence):

  • bindings/v8/V8DOMWindowShell.cpp:

(WebCore::setInjectedScriptContextDebugId):
(WebCore::V8DOMWindowShell::updateDocumentProperty):
(WebCore::V8DOMWindowShell::clearDocumentProperty):

  • bindings/v8/V8NPObject.cpp:

(WebCore::npObjectPropertyEnumerator):

  • bindings/v8/V8NodeFilterCondition.cpp:

(WebCore::V8NodeFilterCondition::acceptNode):

  • bindings/v8/V8PerIsolateData.cpp:

(WebCore::V8PerIsolateData::constructorOfToString):

  • bindings/v8/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::initializeContextIfNeeded):

  • bindings/v8/WorkerScriptDebugServer.cpp:

(WebCore::WorkerScriptDebugServer::addListener):

10:18 PM Changeset in webkit [136640] by mitz@apple.com
  • 21 edits
    1 move
    3 adds in trunk

Support text-orientation: sideways-right (and sideways when it maps to sideways-right)
https://bugs.webkit.org/show_bug.cgi?id=104035

Reviewed by Anders Carlsson.

Test: fast/text/orientation-sideways.html

  • GNUmakefile.list.am: Updated for rename of TextOrientation.h.
  • WebCore.gypi: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Changed to retrieve
text-orientation from RenderStyle rather than from the font description.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue): Added sideways and sideways-right as acceptable
text-orientation values.

  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added mappings for sideways and
sideways-right.
(WebCore::CSSPrimitiveValue::operator TextOrientation): Ditto.

  • css/CSSValueKeywords.in: Added sideways and sideways-right.
  • css/StyleBuilder.cpp:

(WebCore::StyleBuilder::StyleBuilder): Removed text-orientation property handler, as it is
now handled in CSSStyleResolver.

  • css/StyleResolver.cpp:

(WebCore::getFontAndGlyphOrientation): Added this helper function that determines the font
orientation and non-CJK glyph orientation based on writing-mode and text-orientation.
(WebCore::StyleResolver::styleForDocument): Added code to set the font orientation and
non-CJK glyph orientation in the document style.
(WebCore::checkForOrientationChange): Added. Sets the font orientation and non-CJK glyph
orientation in the child style if the difference between the parent and child styles requires
doing so.
(WebCore::StyleResolver::updateFont): Added call to checkForOrientationChange().
(WebCore::StyleResolver::applyProperty): Changed the writing-mode case to call the new
setWritingMode helper, which dirties the font as needed, rather than changing the font
here. Moved handling of text-orientation here, by calling setTextOrientation, which also
dirties the font as needed.

  • css/StyleResolver.h:

(WebCore::StyleResolver::setWritingMode): Added. Dirties the font if the writing mode changes.
(WebCore::StyleResolver::setTextOrientation): Ditto for text orientation.

  • platform/graphics/FontDescription.h:

(WebCore::FontDescription::FontDescription): Updated initializer for rename.
(WebCore::FontDescription::nonCJKGlyphOrientation): Renamed textOrientation to this.
(WebCore::FontDescription::setNonCJKGlyphOrientation): Renamed setTextOrientation to this.
(FontDescription): Renamed member variable m_textOrientation to m_nonCJKGlyphOrientation.
(WebCore::FontDescription::operator==): Updated for rename.

  • platform/graphics/FontFastPath.cpp:

(WebCore::glyphDataAndPageForNonCJKCharacterWithGlyphOrientation): Renamed
glyphDataAndPageForCharacterWithTextOrientation to this and changed the parameter type from
TextOrientation to NonCJKGlyphOrientation.
(WebCore::Font::glyphDataAndPageForCharacter): Updated for above rename.

  • platform/graphics/mac/FontComplexTextMac.cpp:

(WebCore::Font::fontDataForCombiningCharacterSequence): Updated for rename of
FontDescription::textOrientation().

  • platform/text/NonCJKGlyphOrientation.h: Renamed TextOrientation.h to this, and renamed

the enum and its values to better reflect that they describe how glyphs for non-CJK
characters are to be rendered in vertical text.

  • rendering/InlineFlowBox.cpp:

(WebCore::InlineFlowBox::requiresIdeographicBaseline): Updated for rename of
FontDescription::textOrientation().

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::diff): Made text-orientation change a layout change.

  • rendering/style/RenderStyle.h:

(WebCore::RenderStyle::setTextOrientation): Added.

  • rendering/style/RenderStyleConstants.h: Added a new TextOrientation enum here.
  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::StyleRareInheritedData): Added initialization and copying
of m_textOrientation member variable.
(WebCore::StyleRareInheritedData::operator==): Added comparing of m_textOrientation.

  • rendering/style/StyleRareInheritedData.h:

(StyleRareInheritedData): Added m_textOrientation member variable.

9:51 PM Changeset in webkit [136639] by Jonathan Dong
  • 2 edits in trunk/Tools

Change email address of Jonathan Dong
https://bugs.webkit.org/show_bug.cgi?id=103976

Unreviewed, change my email address from Jonathan Dong
to jonathan.dong.webkit@gmail.com in committers list.

  • Scripts/webkitpy/common/config/committers.py:
9:36 PM Changeset in webkit [136638] by haraken@chromium.org
  • 3 edits in trunk/Source/WebCore

[V8] Use ScopedPersistent for IntegerCache::smallIntegers
https://bugs.webkit.org/show_bug.cgi?id=104066

Reviewed by Adam Barth.

We can use ScopedPersistent for IntegerCache::smallIntegers
instead of manual Persistent::New().

I confirmed no performance regression in Bindings/scroll-top.html

No tests. No change in behavior.

  • bindings/v8/V8PerIsolateData.cpp:

(WebCore::V8PerIsolateData::V8PerIsolateData):

  • bindings/v8/V8ValueCache.cpp:

(WebCore::IntegerCache::IntegerCache):

  • bindings/v8/V8ValueCache.h:

(IntegerCache):
(WebCore::IntegerCache::v8Integer):
(WebCore::IntegerCache::v8UnsignedInteger):

9:20 PM Changeset in webkit [136637] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit2

[EFL][WK2] Add APIs to get/set default font size.
https://bugs.webkit.org/show_bug.cgi?id=101921

Patch by Yuni Jeong <yhnet.jung@samsung.com> on 2012-12-04
Reviewed by Gyuyoung Kim.

Add setting APIs for default font size and a unit test.

  • UIProcess/API/efl/ewk_settings.cpp:

(ewk_settings_default_font_size_set):
(ewk_settings_default_font_size_get):

  • UIProcess/API/efl/ewk_settings.h:
  • UIProcess/API/efl/tests/test_ewk2_settings.cpp:

(TEST_F):

9:18 PM Changeset in webkit [136636] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Resources: domain cookies are not shown for sub-sub domain pages.
https://bugs.webkit.org/show_bug.cgi?id=104016

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2012-12-04
Reviewed by Pavel Feldman.

Fixed regexp to allow zero or more subdomain prefix (was zero or one).

  • inspector/front-end/CookieParser.js:

(WebInspector.Cookies.cookieDomainMatchesResourceDomain): Fixed regexp.

9:15 PM Changeset in webkit [136635] by hclam@chromium.org
  • 2 edits in trunk/Source/WebCore

Not reviewed. Build fix.

Fix Chromium Windows build.

  • platform/graphics/chromium/ImageDecodingStore.h:

(CacheEntry):

9:11 PM Changeset in webkit [136634] by haraken@chromium.org
  • 19 edits in trunk/Source

[V8] Remove toV8Object()
https://bugs.webkit.org/show_bug.cgi?id=103987

Reviewed by Adam Barth.

toV8Object() is used only for MessagePort and ArrayBuffer
only by SerializedScriptValue. It is wasteful to generate
toV8Object() for all interfaces.

No tests. No change in behavior.

Source/WebCore:

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):

  • bindings/scripts/test/V8/V8Float64Array.h:

(WebCore):

  • bindings/scripts/test/V8/V8TestActiveDOMObject.h:
  • bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
  • bindings/scripts/test/V8/V8TestEventConstructor.h:
  • bindings/scripts/test/V8/V8TestEventTarget.h:
  • bindings/scripts/test/V8/V8TestException.h:
  • bindings/scripts/test/V8/V8TestInterface.h:
  • bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
  • bindings/scripts/test/V8/V8TestNamedConstructor.h:
  • bindings/scripts/test/V8/V8TestNode.h:
  • bindings/scripts/test/V8/V8TestObj.h:
  • bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
  • bindings/v8/SerializedScriptValue.cpp:

Source/WebKit/chromium:

  • src/WebArrayBuffer.cpp:

(WebKit::WebArrayBuffer::toV8Value):

  • src/WebBlob.cpp:

(WebKit::WebBlob::toV8Value):

9:11 PM Changeset in webkit [136633] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] VKB flickers in and out when tapping on webview after text selection on URL bar
https://bugs.webkit.org/show_bug.cgi?id=103874
PR245678

Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-12-04
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.

When the virtual keyboard is hiding, the viewport is changed and the page needs
to relayout.At the same time, the user interface thread is executing compositeLayers
and it will dispatch the updateDelegatedOverlays() to webkit thread which will trigger
the selectionPositionChanged() in webkit thread.

When the selectionPositionChanged() calls frame->selection()->selection().
visibleStart() and frame->selection()->selection().visibleEnd(), it will
trigger page relayout and return the relayouted selection start and end position.
These positions are out of the range which is recorded before its relayout.
As a result it think the selection start and end are all clipped out and it send
out an "empty selection"(not selected) changing event.

When the WebPageClient receives the empty selection changing event, it will consider
the selection process aborted and might cancel selection-related user interaction.
This is not what we intend to happen.

This patch stops the changing handling process and returns when the page needs relayout,
and the selection will be updated again when the page finishs relayout.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

9:02 PM Changeset in webkit [136632] by haraken@chromium.org
  • 16 edits in trunk/Source/WebCore

[V8] Replace v8::Null(isolate) with v8Null(isolate)
https://bugs.webkit.org/show_bug.cgi?id=104070

Reviewed by Adam Barth.

v8Null(isolate) is a faster version of v8::Null(isolate).

No tests. No change in behavior.

  • bindings/v8/V8Binding.h:

(WebCore::v8StringOrNull):

  • 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/V8HistoryCustom.cpp:

(WebCore::V8History::stateAccessorGetter):

  • bindings/v8/custom/V8MessageEventCustom.cpp:

(WebCore::V8MessageEvent::dataAccessorGetter):

  • bindings/v8/custom/V8MicroDataItemValueCustom.cpp:

(WebCore::toV8):

  • 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):

8:55 PM Changeset in webkit [136631] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebKit/chromium

[Chromium] Detach the frame and destroy the page immediately upon request to closeHelperPlugin().
https://bugs.webkit.org/show_bug.cgi?id=103947

Patch by David Dorwin <ddorwin@chromium.org> on 2012-12-04
Reviewed by Kent Tamura.

In the case that the host page is being destroyed, some of the objects
the page depends on, specifically RenderViewImpl, may be destroyed by
the time close() is called asynchronously.
The frameDetached() calling code was originally copied from
WebViewImpl::close(), but WebViewImpl does not have an asynchronous
closing mechanism like the WebWidgets.

This is the fix for http://crbug.com/160650

  • src/WebHelperPluginImpl.cpp:

(WebKit::WebHelperPluginImpl::init):
(WebKit::WebHelperPluginImpl::closeHelperPlugin):
(WebKit::WebHelperPluginImpl::destoryPage):
(WebKit):
(WebKit::WebHelperPluginImpl::close):.
(WebKit::WebHelperPlugin::create):

  • src/WebHelperPluginImpl.h:

(WebHelperPluginImpl):

  • src/WebPagePopupImpl.cpp: Made similar changes since it follows the same model. (I think the way popups are closed has prevented the race condition from occurring for popups.)

(WebKit::WebPagePopupImpl::destoryPage):
(WebKit):
(WebKit::WebPagePopupImpl::close):
(WebKit::WebPagePopupImpl::closePopup):

  • src/WebPagePopupImpl.h:

(WebPagePopupImpl):

8:49 PM Changeset in webkit [136630] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Make LazyDecodingPixelRef inherit from skia::LazyPixelRef so that cc thread can access it
https://bugs.webkit.org/show_bug.cgi?id=103555

Patch by Min Qin <qinmin@chromium.org> on 2012-12-04
Reviewed by Stephen White.

Expose LazyDecodingPixelRef to the cc thread by inheriting from skia::LazyPixelRef.
No test added for now as impl side paiting is still WIP.

  • platform/graphics/chromium/LazyDecodingPixelRef.cpp:

(WebCore::LazyDecodingPixelRef::LazyDecodingPixelRef):
(WebCore::LazyDecodingPixelRef::PrepareToDecode):
(WebCore):
(WebCore::LazyDecodingPixelRef::Decode):

  • platform/graphics/chromium/LazyDecodingPixelRef.h:

(LazyDecodingPixelRef):

8:46 PM Changeset in webkit [136629] by tasak@google.com
  • 2 edits in trunk/Source/WebCore

Fix compile error when SVG is disabled.

Unreviewed gardening.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):

8:40 PM Changeset in webkit [136628] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[BlackBerry] DRT - Tests under "dumpAsText" directory should be dumped as text
https://bugs.webkit.org/show_bug.cgi?id=103986

Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2012-12-04
Reviewed by Rob Buis.

Also move declaration of webSettingTransaction to before any WebSettings
::setXXX() calls so that it works as expected (commit only once in the
function scope).

  • DumpRenderTree/blackberry/DumpRenderTree.cpp:

(shouldDumpAsText):
(BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):

8:37 PM Changeset in webkit [136627] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[EFL][WK2] Enable compositing pixel tests that are not fail after EFL WTR snapshot implementation.
https://bugs.webkit.org/show_bug.cgi?id=104075

Unreviewed, EFL gardening.

Patch by Viatcheslav Ostapenko <v.ostapenko@samsung.com> on 2012-12-04

  • platform/efl-wk1/TestExpectations:
  • platform/efl/TestExpectations:
8:35 PM Changeset in webkit [136626] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebCore

Static code analysis warning fixes
https://bugs.webkit.org/show_bug.cgi?id=103837

Patch by Anthony Scian <ascian@rim.com> on 2012-12-04
Reviewed by Rob Buis.

172,174: disable copy ctor, op= in AutofillBackingStore
504,506: disable copy ctor, op= in CookieManager
1488,1491: disable copy ctor, op= in RSSParserBase
1489,1490: disable copy ctor, op= in RSSItem
514,516: disable copy ctor, op= in CredentialBackingStore
1363: m_state not initialized in ctor

  • platform/blackberry/CookieManager.h:
  • platform/blackberry/PlatformTouchPointBlackBerry.cpp:

(WebCore::PlatformTouchPoint::PlatformTouchPoint):

  • platform/network/blackberry/AutofillBackingStore.h:

(AutofillBackingStore):

  • platform/network/blackberry/CredentialBackingStore.h:

(CredentialBackingStore):

  • platform/network/blackberry/rss/RSSParserBase.h:

(RSSParserBase):

8:33 PM Changeset in webkit [136625] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

[Chromium] Removed obsolete local variable from WebViewImpl.cpp.
https://bugs.webkit.org/show_bug.cgi?id=104050

Patch by David Dorwin <ddorwin@chromium.org> on 2012-12-04
Reviewed by Kent Tamura.

These lines were added with the file in 50739#L761 but the later use
of this variable at L779 has since been removed.

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::close):

8:28 PM Changeset in webkit [136624] by noel.gordon@gmail.com
  • 5 edits in trunk

[v8] Improve worker.postMessage() string performance: avoid utf8 conversion
https://bugs.webkit.org/show_bug.cgi?id=102230

Reviewed by Eric Seidel.

Source/WebCore:

Avoid utf8 conversion when serializing strings with SerializedScriptValue. Provide
Ascii and UChar writers for v8 string serialization and provide a UChar reader for
deserialization. Define/use serialization StringUCharTag to indicate UChar strings
in the wire format. Increment the SerializedScriptValue wire format version.

In the wire format, StringUCharTag is followed by the string length in bytes, then
the length/2 UChars of the string.

Note the string length is VarInt encoded. During serialization, compute the number
of bytes used to encode the length and prepend a PaddingTag if needed so the UChar
data appears on an even-byte boundary. This prevents unaligned reads of UChar data
during deserialization (the deserialization buffer is even-byte aligned).

Testing transfers of large strings to and from workers indicates a 10X improvement
in transfer rate for strings, and strings within js objects, with this change. For
example, 500 MByte/s on my test machine (50 MByte/s without this change) for flat,
32 MByte string postMessage() transfers.

Covered by platform/chromium/fast/storage/serialized-script-value.html

  • bindings/v8/SerializedScriptValue.cpp:

LayoutTests:

Update serialized-script-value-expected results for the new SerializedScriptValue
wire format version. Add test cases for UChar string serialization to verify that
the UChar string data appears on an even-byte boundary in the wire format, and to
test reading string data from the previous wire format is backward-compatible.

  • platform/chromium/fast/storage/serialized-script-value-expected.txt:
  • platform/chromium/fast/storage/serialized-script-value.html:
8:25 PM Changeset in webkit [136623] by haraken@chromium.org
  • 7 edits in trunk/Source/WebCore

[V8] V8Binding::v8ExternalString() is redundant
https://bugs.webkit.org/show_bug.cgi?id=103979

Reviewed by Adam Barth.

v8String(), v8StringOrNull() and v8StringOrUndefined() are enough.
We can remove V8Binding::v8ExternalString().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):

  • bindings/v8/ScriptController.cpp:

(WebCore::ScriptController::compileAndRunScript):

  • bindings/v8/ScriptDebugServer.cpp:

(WebCore::ScriptDebugServer::compileScript):

  • bindings/v8/V8Binding.h:

(WebCore):
(WebCore::v8String):
(WebCore::v8StringOrNull):
(WebCore::v8StringOrUndefined):

  • bindings/v8/V8LazyEventListener.cpp:

(WebCore::V8LazyEventListener::prepareListenerObject):

  • bindings/v8/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::evaluate):

8:22 PM Changeset in webkit [136622] by haraken@chromium.org
  • 4 edits in trunk/Source/WebCore

[V8] Remove v8NonStringValueToWebCoreString() and v8NonStringValueToAtomicWebCoreString()
https://bugs.webkit.org/show_bug.cgi?id=103981

Reviewed by Adam Barth.

v8NonStringValueToWebCoreString() and v8NonStringValueToAtomicWebCoreString()
are equivalent to what StringResource does.

No tests. No change in behavior.

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

(WebCore::toWebCoreString):
(WebCore):
(WebCore::toWebCoreStringWithNullCheck):
(WebCore::toWebCoreStringWithUndefinedOrNullCheck):
(WebCore::toWebCoreAtomicString):
(WebCore::toWebCoreAtomicStringWithNullCheck):

  • bindings/v8/V8StringResource.h:

(WebCore::V8StringResource::V8StringResource):
(V8StringResource):

8:21 PM Changeset in webkit [136621] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Scroll adjustments while typing scroll off page, then bounce back.
https://bugs.webkit.org/show_bug.cgi?id=104045

Patch by Andrew Lo <anlo@rim.com> on 2012-12-04
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton & Jakob Petsovits.

Internal PR253845
The main frame's view should only be temporarily set to
not constrain scrolling to the content edge while the
scroll position is set at the end of the scroll animation.

Remove ensureFocusTextElementVisible from setSpannableTextAndRelativeCursor
in InputHandler since FrameSelection::revealSelection
already implements scroll adjustments due to typing.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::zoomBlock):
(BlackBerry::WebKit::WebPagePrivate::resetBlockZoom):

  • Api/WebPage_p.h:

(WebPagePrivate):

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible):
(BlackBerry::WebKit::InputHandler::setSpannableTextAndRelativeCursor):

8:19 PM Changeset in webkit [136620] by andersca@apple.com
  • 35 edits in trunk/Source/WebKit2

Remove #ifs that are always true
https://bugs.webkit.org/show_bug.cgi?id=104080

Reviewed by Andreas Kling.

MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 is always true, so remove all the #ifs.

  • PluginProcess/mac/PluginProcessMac.mm:

(WebKit::initializeSandbox):
(WebKit::PluginProcess::platformInitialize):

  • Shared/DictionaryPopupInfo.cpp:

(WebKit::DictionaryPopupInfo::encode):
(WebKit::DictionaryPopupInfo::decode):

  • Shared/DictionaryPopupInfo.h:
  • Shared/mac/WebEventFactory.mm:

(WebKit::phaseForEvent):
(WebKit::momentumPhaseForEvent):

  • SharedWorkerProcess/mac/SharedWorkerProcessMac.mm:

(WebKit::initializeSandbox):
(WebKit::SharedWorkerProcess::platformInitialize):

  • UIProcess/API/mac/PDFViewController.mm:

(WebKit::PDFViewScrollView_scrollWheel):
(WebKit::PDFViewController::pdfKitBundle):

  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::didPerformDictionaryLookup):
(WebKit::PageClientImpl::dismissDictionaryLookupPanel):
(WebKit::PageClientImpl::recordAutocorrectionResponse):
(WebKit::PageClientImpl::recommendedScrollbarStyleDidChange):

  • UIProcess/API/mac/WKView.mm:

(-[WKView displayIfNeeded]):
(-[WKView draggingUpdated:]):
(-[WKView viewDidMoveToWindow]):
(-[WKView _intrinsicDeviceScaleFactor]):
(-[WKView _cacheWindowBottomCornerRect]):
(-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
(+[WKView hideWordDefinitionWindow]):

  • UIProcess/Launcher/mac/EnvironmentVariables.cpp:
  • UIProcess/Launcher/mac/EnvironmentVariables.h:

(EnvironmentVariables):

  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:

(WebKit::addDYLDEnvironmentAdditions):
(WebKit::createWebProcessServiceForWebKitDevelopment):
(WebKit):
(WebKit::tryPreexistingProcess):
(WebKit::createProcess):
(WebKit::ProcessLauncher::launchProcess):

  • UIProcess/Plugins/mac/PluginInfoStoreMac.mm:

(WebKit::PluginInfoStore::shouldUsePlugin):
(WebKit::PluginInfoStore::reactivateInactivePlugin):

  • UIProcess/Plugins/mac/PluginProcessProxyMac.mm:

(WebKit::PluginProcessProxy::platformInitializePluginProcess):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didCommitLoadForFrame):
(WebKit::WebPageProxy::pageDidScroll):
(WebKit::WebPageProxy::processDidCrash):
(WebKit::WebPageProxy::recordAutocorrectionResponse):
(WebKit::WebPageProxy::handleAlternativeTextUIResult):

  • UIProcess/WebPageProxy.h:

(WebPageProxy):

  • UIProcess/WebPageProxy.messages.in:
  • UIProcess/mac/TextCheckerMac.mm:

(WebKit::initializeState):
(WebKit::TextChecker::getGuessesForWord):

  • UIProcess/mac/WKFullScreenWindowController.mm:

(convertRectToScreen):

  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::platformInitializeWebProcess):

  • WebKit2Prefix.h:
  • WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:

(WebKit::NPN_GetValue):

  • WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm:
  • WebProcess/WebCoreSupport/WebEditorClient.cpp:

(WebKit::WebEditorClient::shouldEraseMarkersAfterChangeSelection):

  • WebProcess/WebCoreSupport/WebEditorClient.h:
  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit):

  • WebProcess/WebPage/WebPage.h:

(WebPage):

  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::performDictionaryLookupAtLocation):
(WebKit::WebPage::performDictionaryLookupForSelection):
(WebKit::WebPage::performDictionaryLookupForRange):

  • WebProcess/mac/SecItemShimMethods.mm:
  • WebProcess/mac/WebProcessMac.mm:

(WebKit::WebProcess::secItemResponse):

  • WebProcess/mac/WebProcessMainMac.mm:

(WebKit::WebProcessMain):

  • WebProcessService/WebProcessServiceMain.mm:

(main):

  • WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm:

(WebProcessServiceForWebKitDevelopmentEventHandler):
(main):

8:18 PM Changeset in webkit [136619] by inferno@chromium.org
  • 2 edits in trunk/Source/WebCore

Crash in WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode
https://bugs.webkit.org/show_bug.cgi?id=103515

Reviewed by Ryosuke Niwa.

|current| is weak node pointer that iterates in the hierarchy chain
between |highestAncestor| and |targetNode|. Script executed as part
of iframe onload event can blow away the nodes and we no longer have
|targetNode| in our descendants chain. So, we RefPtr |current| and bail
out when |targetNode| stops being a part of descendant chain.

Test blocked on https://bugs.webkit.org/show_bug.cgi?id=104044.

  • editing/ApplyStyleCommand.cpp:

(WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):

8:18 PM Changeset in webkit [136618] by tasak@google.com
  • 1 edit
    5 adds in trunk/LayoutTests

Unreviewed, WebKit gardening. A rebaseline.

  • platform/chromium/media/track/opera/interfaces/TextTrack/addCue-expected.txt: Added.
8:16 PM Changeset in webkit [136617] by Bruno de Oliveira Abinader
  • 2 edits in trunk/Source/WebCore

Avoid repeated calls to decorationColor on RenderObject::getTextDecorationColors
https://bugs.webkit.org/show_bug.cgi?id=94131

Reviewed by Brent Fulgham.

Replaces repeated calls to decorationColor by adding a variable that reads the
return value from that function just once on each loop and gets used upon need.

This change won't affect text decoration behavior, so current tests suffice.

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::getTextDecorationColors):

8:15 PM Changeset in webkit [136616] by hclam@chromium.org
  • 6 edits
    1 add in trunk/Source

[chromium] Implement cache eviction logic in ImageDecodingStore
https://bugs.webkit.org/show_bug.cgi?id=103480

Reviewed by James Robinson.

Source/WebCore:

This patch implements these features in the new image cache:

  • Least-recently-used eviction logic
  • Setting cache limit (default is 32MB)
  • Remove cache entries when ImageFrameGenerator is removed

New tests in ImageDecodingTestTest. Also covered by platform/chromium/virtual/deferred.

  • platform/graphics/chromium/ImageDecodingStore.cpp:

(WebCore::ImageDecodingStore::ImageDecodingStore):
(WebCore::ImageDecodingStore::~ImageDecodingStore):
Code to assert that everything is cleaned up.
(WebCore::ImageDecodingStore::lockCompleteCache):
(WebCore::ImageDecodingStore::unlockCache):
(WebCore::ImageDecodingStore::insertAndLockCache):
(WebCore::ImageDecodingStore::removeCacheIndexedByGenerator):
New method to remove all cache entries index by ImageFrameGenerator.
(WebCore):
(WebCore::ImageDecodingStore::setCacheLimitInBytes):
(WebCore::ImageDecodingStore::memoryUsageInBytes):
(WebCore::ImageDecodingStore::cacheEntries):
(WebCore::ImageDecodingStore::prune):
New code to implement LRU eviction logic.
(WebCore::ImageDecodingStore::insertCacheInternal):
New method to help new cache insertion. This is separately because it touches 3 containers.
(WebCore::ImageDecodingStore::removeFromCacheInternal):
New method to help remove a cache entry from containers.
(WebCore::ImageDecodingStore::removeFromCacheListInternal):
New helper method to help remove cache entry from doubly linked list.

  • platform/graphics/chromium/ImageDecodingStore.h:

(ImageDecodingStore):
(CacheEntry):
(WebCore::ImageDecodingStore::CacheEntry::createAndUse):
(WebCore::ImageDecodingStore::CacheEntry::CacheEntry):
(WebCore::ImageDecodingStore::CacheEntry::~CacheEntry):
(WebCore::ImageDecodingStore::CacheEntry::cacheKey):
(WebCore::ImageDecodingStore::CacheEntry::cachedImage):
(WebCore::ImageDecodingStore::CacheEntry::useCount):
(WebCore::ImageDecodingStore::CacheEntry::incrementUseCount):
(WebCore::ImageDecodingStore::CacheEntry::decrementUseCount):
(WebCore::ImageDecodingStore::CacheEntry::memoryUsageInBytes):
(WebCore::ImageDecodingStore::incrementMemoryUsage):
(WebCore::ImageDecodingStore::decrementMemoryUsage):
New helper methods.

  • platform/graphics/chromium/ImageFrameGenerator.cpp:

(WebCore::ImageFrameGenerator::~ImageFrameGenerator):

Source/WebKit/chromium:

Added ImageDecodingStoreTest for unit testing new image cache.

New tests:

ImageDecodingStoreTest.evictOneCache

Test eviction of one cache entry by setting a smaller cache limit.

ImageDecodingStoreTest.pruneOrderIsLeastRecentlyUsed

Test eviction order is least recently used.

ImageDecodingStoreTest.pruneCausedByInsertion

Test that eviction is triggered also by cache insertion.

ImageDecodingStoreTest.cacheInUseNotEvicted

Test that cache in use is not evicted.

ImageDecodingStoreTest.destroyImageFrameGenerator

Test that deleting a ImageFrameGenerator causes associated cache
entries to be removed.

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

(WebCore):
(ImageDecodingStoreTest):
(WebCore::ImageDecodingStoreTest::SetUp):
(WebCore::ImageDecodingStoreTest::TearDown):
(WebCore::ImageDecodingStoreTest::createCompleteImage):
(WebCore::ImageDecodingStoreTest::insertCache):
(WebCore::ImageDecodingStoreTest::lockCache):
(WebCore::ImageDecodingStoreTest::unlockCache):
(WebCore::ImageDecodingStoreTest::evictOneCache):
(WebCore::ImageDecodingStoreTest::isCacheAlive):
(WebCore::TEST_F):

8:05 PM Changeset in webkit [136615] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

Style sharing: Allow sharing between elements with classes not referenced by any selectors.
<http://webkit.org/b/103925>

Reviewed by Antti Koivisto.

When looking for elements that can share style, instead of blindly rejecting candidates with
a different "class" attribute, check if it's actually referenced by any of the tracked style rules.
It's surprisingly common for web pages to have elements with classes to which no rules apply,
mediawiki content is especially good at this.

~2100 new sharing "hits" on <https://en.wikipedia.org/wiki/Steve_Jobs>.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::canShareStyleWithElement):

Don't bail early if the two elements have different return values for hasClass().

(WebCore::StyleResolver::classNamesAffectedByRules):

Helper function that returns whether a SpaceSplitString contains a class name referenced
by any style rules.

(WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):

Make this a member function since we need access to m_features.classesInRules.

  • css/StyleResolver.h:

(StyleResolver):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::locateSharedStyle):

Cache whether the element we're resolving style for has a "class" attribute referenced by style rules.

8:01 PM Changeset in webkit [136614] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Updated css3/filters/effect-reference-hw.html's expectation.

8:01 PM Changeset in webkit [136613] by commit-queue@webkit.org
  • 20 edits
    1 copy
    3 adds in trunk/Source/WebCore

Refactor Media Control Elements to remove code duplication.
https://bugs.webkit.org/show_bug.cgi?id=101877

Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-12-04
Reviewed by Eric Carlson.

Instead of having two different types of inheritance trees for
MediaControlElement and MediaControlInputElement, this
creates a stand-alone virtual class MediaControlElement that
provides the common functions: show(), hide(), isShowing(),
setMediaController(), displayType(), isMediaControlElement(),
shadowPseudoId(), mediaController(), setDisplayType().

The individual elements inherit from MediaControlElement and
either HTMLInputElement or HTMLDivElement. They extend/override
the base functions as appropriate.

As part of this, the RenderXXX classes mixed in between the media
controls in MediaControlElements.cpp are also moved to
rendering/RenderMediaControls.h/cpp to follow common code separation.

No new tests since this is just a refactoring.

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

Build files extended with new files.

  • html/HTMLMediaElement.h:

(WebCore::HTMLMediaElement::textTracksIndexNotFound):
Replaced const with function, since it is used in multiple files.

  • html/shadow/MediaControlElementTypes.cpp: new file
  • html/shadow/MediaControlElementTypes.h: new file

Added new MediaControlElement class. Moved MediaControlDivElement and MediaControlInputElement
classes into these files from MediaControlElements.cpp/h. Moved MediaControlElementTypes enum
into these. Moved other media control element classes that are the basis for inheriting media
control elements into these (MediaControlTimeDisplayElement, MediaControlMuteButtonElement,
MediaControlSeekButtonElement, MediaControlVolumeSliderElement).

  • html/shadow/MediaControlElements.cpp:
  • html/shadow/MediaControlElements.h:

Removed common functions between media elements that are now in the common
base class MediaControlElement.
Also moved common base classes to MediaControlElementTypes.h/cpp

  • html/shadow/MediaControls.cpp:
  • html/shadow/MediaControls.h:

Renamed MediaControlVolumeSliderElement to MediaControlPanelVolumeSliderElement
to be consistent in inheritance tree. Updated copyright date.

  • html/shadow/MediaControlsApple.cpp:
  • html/shadow/MediaControlsApple.h:

Renamed MediaControlVolumeSliderElement to MediaControlPanelVolumeSliderElement
to be consistent in inheritance tree. Updated copyright dates.n

  • html/shadow/MediaControlsChromium.cpp:
  • html/shadow/MediaControlsChromium.h:

Renamed MediaControlVolumeSliderElement to MediaControlPanelVolumeSliderElement
to be consistent in inheritance tree.
Moved enclosure element definitions to common MediaControlElements.cpp/h
file through which different media elements are made available to different ports.

  • html/shadow/MediaControlsChromiumAndroid.cpp:
  • html/shadow/MediaControlsChromiumAndroid.h:

Moved enclosure for overlay button to MediaControlElements.cpp/h files
through which different media elements are made available to different ports.

  • rendering/RenderMediaControlElements.cpp: new file
  • rendering/RenderMediaControlElements.h: new file

Moved rendering classes for media control elements into these files from
MediaControlElements.cpp/h.

  • rendering/RenderThemeMac.mm:

Added new RenderMediaControlElements.h file.

  • rendering/RenderingAllInOne.cpp:

Added new RenderMediaControlEleemnt.cpp file.

7:53 PM Changeset in webkit [136612] by andersca@apple.com
  • 11 edits
    6 deletes in trunk/Source/WebKit2

Remove more Snow Leopard only code
https://bugs.webkit.org/show_bug.cgi?id=104079

Reviewed by Andreas Kling.

All of the SecKeychainItem code was Snow Leopard only.

  • Shared/mac/SecKeychainItemRequestData.cpp: Removed.
  • Shared/mac/SecKeychainItemRequestData.h: Removed.
  • Shared/mac/SecKeychainItemResponseData.cpp: Removed.
  • Shared/mac/SecKeychainItemResponseData.h: Removed.
  • UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.h:
  • UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.mm:
  • UIProcess/WebProcessProxy.h:

(WebProcessProxy):

  • UIProcess/WebProcessProxy.messages.in:
  • UIProcess/mac/WebProcessProxyMac.mm:
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/WebProcess.h:
  • WebProcess/WebProcess.messages.in:
  • WebProcess/mac/KeychainItemShimMethods.h: Removed.
  • WebProcess/mac/KeychainItemShimMethods.mm: Removed.
  • WebProcess/mac/WebProcessMac.mm:

(WebKit::WebProcess::initializeShim):

  • WebProcess/mac/WebProcessShim.mm:
7:29 PM Changeset in webkit [136611] by andersca@apple.com
  • 15 edits in trunk/Source/WebKit2

Remove PageClient::didChangeScrollbarsForMainFrame
https://bugs.webkit.org/show_bug.cgi?id=104077

Reviewed by Andreas Kling.

The aforementioned function was only used to implement some Snow Leopard specific behavior that we no longer support.

  • UIProcess/API/gtk/PageClientImpl.cpp:
  • UIProcess/API/gtk/PageClientImpl.h:

(PageClientImpl):

  • UIProcess/API/mac/PageClientImpl.h:

(PageClientImpl):

  • UIProcess/API/mac/PageClientImpl.mm:
  • UIProcess/API/mac/WKView.mm:

(-[WKView viewWillMoveToWindow:]):

  • UIProcess/API/mac/WKViewInternal.h:
  • UIProcess/API/qt/raw/qrawwebview_p_p.h:
  • UIProcess/PageClient.h:

(PageClient):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didChangeScrollbarsForMainFrame):

  • UIProcess/efl/PageClientBase.cpp:

(WebKit):

  • UIProcess/efl/PageClientBase.h:

(PageClientBase):

  • UIProcess/qt/QtPageClient.h:
  • UIProcess/win/WebView.cpp:
  • UIProcess/win/WebView.h:

(WebView):

7:25 PM Changeset in webkit [136610] by fmalita@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed gardening - skip use-href-update-crash.svg on Win.

  • platform/win/TestExpectations:
6:49 PM Changeset in webkit [136609] by kbr@google.com
  • 9 edits in trunk/Source

Associate URLs with GraphicsContext3D instances created for WebGL
https://bugs.webkit.org/show_bug.cgi?id=103793

Reviewed by Adam Barth.

Source/Platform:

  • Platform.gyp/Platform.gyp:

Allow WebURL.h to be included directly or indirectly from Platform.h.

  • chromium/public/WebGraphicsContext3D.h:

(Attributes):

Add top document's URL to context creation attributes.

Source/WebCore:

Pass down the URL of the topmost frame's document creating the
WebGL context to the platform layer through
GraphicsContext3D::Attributes.

Not feasible to write a layout test for this change; has no
user-visible effect. Tested manually with failure injection in
Chromium port.

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::create):

Pass top document's URL in context creation attributes.

  • platform/chromium/support/GraphicsContext3DChromium.cpp:

(WebCore::GraphicsContext3D::create):

Pass URL through WebKit API.

  • platform/graphics/GraphicsContext3D.h:

(Attributes):

Add top document's URL to context creation attributes.

Source/WebKit/chromium:

  • WebKit.gyp:

Allow WebURL.h to be included directly or indirectly from Platform.h.

6:40 PM Changeset in webkit [136608] by yurys@chromium.org
  • 15 edits in trunk/Source

Web Inspector: simplify reportMemoryUsage signature
https://bugs.webkit.org/show_bug.cgi?id=104028

Reviewed by Vsevolod Vlasov.

Removed const& modifier from instrumented pointer type. Was const T* const&,
now it is const T*

Source/WebCore:

  • platform/graphics/NativeImagePtr.h:

(WebCore):

  • platform/graphics/skia/NativeImageSkia.cpp:

(WebCore::reportMemoryUsage):

Source/WTF:

  • wtf/MemoryInstrumentation.cpp:

(WTF::MemoryClassInfo::addRawBuffer):

  • wtf/MemoryInstrumentation.h:

(MemoryInstrumentation):
(WTF::MemoryInstrumentation::selectInstrumentationMethod):
(WTF::MemoryInstrumentation::reportObjectMemoryUsage):
(MemoryClassInfo):
(WTF::reportMemoryUsage):
(WTF::MemoryInstrumentation::addObjectImpl):
(WTF):

  • wtf/MemoryInstrumentationArrayBufferView.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashCountedSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashMap.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationListHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationParsedURL.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationString.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationVector.h:

(WTF::reportMemoryUsage):

6:35 PM Changeset in webkit [136607] by tasak@google.com
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium-mac-snowleopard/fast/parser/document-write-ignores-later-network-bytes-expected.txt: Removed, rebaseline.
6:24 PM Changeset in webkit [136606] by fpizlo@apple.com
  • 10 edits in trunk

display-profiler-output should be able to show source code
https://bugs.webkit.org/show_bug.cgi?id=104073

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

Modify the profiler database to store source code. For functions, we store the
function including the function signature.

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::unlinkedCodeBlock):
(CodeBlock):

  • profiler/ProfilerBytecodes.cpp:

(JSC::Profiler::Bytecodes::Bytecodes):
(JSC::Profiler::Bytecodes::toJS):

  • profiler/ProfilerBytecodes.h:

(Bytecodes):
(JSC::Profiler::Bytecodes::sourceCode):

  • profiler/ProfilerDatabase.cpp:

(JSC::Profiler::Database::addBytecodes):
(JSC::Profiler::Database::ensureBytecodesFor):

  • profiler/ProfilerDatabase.h:

(Database):

  • runtime/CommonIdentifiers.h:
  • runtime/Executable.h:

(FunctionExecutable):
(JSC::FunctionExecutable::unlinkedExecutable):

Tools:

Display source code in the summary, using a one-line shortening.

  • Scripts/display-profiler-output:
5:40 PM Changeset in webkit [136605] by abarth@webkit.org
  • 42 edits in trunk/Source/WebCore

[V8] Rename V8DOMWrapper member functions to be more descriptive
https://bugs.webkit.org/show_bug.cgi?id=104069

Reviewed by Eric Seidel.

In addition to the renames, this patch also inline lookupDOMWrapper
into its callers.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateDomainSafeFunctionGetter):
(GenerateDomainSafeFunctionSetter):
(GenerateNormalAttrGetter):
(GenerateSingleConstructorCallback):
(GenerateEventConstructorCallback):
(GenerateNamedConstructorCallback):
(GenerateToV8Converters):

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

(WebCore::V8TestSerializedScriptValueInterface::constructorCallback):

  • bindings/v8/Dictionary.cpp:

(WebCore::Dictionary::get):

  • bindings/v8/PageScriptDebugServer.cpp:

(WebCore::retrieveFrameWithGlobalObjectCheck):

  • bindings/v8/V8Binding.cpp:

(WebCore::toDOMWindow):
(WebCore::toScriptExecutionContext):

  • bindings/v8/V8DOMWindowShell.cpp:

(WebCore::V8DOMWindowShell::clearForNavigation):
(WebCore::V8DOMWindowShell::installDOMWindow):

  • bindings/v8/V8DOMWrapper.cpp:

(WebCore::V8DOMWrapper::create):

  • bindings/v8/V8DOMWrapper.h:

(V8DOMWrapper):
(WebCore::V8DOMWrapper::setNativeInfo):
(WebCore::V8DOMWrapper::clearNativeInfo):
(WebCore::V8DOMWrapper::associateObjectWithWrapper):

  • bindings/v8/V8Initializer.cpp:

(WebCore::findFrame):

  • bindings/v8/V8NPObject.cpp:

(WebCore::createV8ObjectForNPObject):
(WebCore::forgetV8ObjectForNPObject):

  • bindings/v8/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::initializeContextIfNeeded):
(WebCore::WorkerScriptController::controllerForContext):

  • bindings/v8/custom/V8ArrayBufferCustom.cpp:

(WebCore::V8ArrayBuffer::constructorCallbackCustom):

  • bindings/v8/custom/V8ArrayBufferViewCustom.h:

(WebCore::wrapArrayBufferView):
(WebCore::constructWebGLArray):

  • bindings/v8/custom/V8AudioContextCustom.cpp:

(WebCore::V8AudioContext::constructorCallbackCustom):

  • bindings/v8/custom/V8DOMFormDataCustom.cpp:

(WebCore::V8DOMFormData::constructorCallbackCustom):

  • bindings/v8/custom/V8DOMWindowCustom.cpp:

(WebCore::V8DOMWindow::eventAccessorGetter):
(WebCore::V8DOMWindow::eventAccessorSetter):
(WebCore::V8DOMWindow::toStringCallback):
(WebCore::V8DOMWindow::namedSecurityCheck):
(WebCore::V8DOMWindow::indexedSecurityCheck):
(WebCore::toV8):

  • bindings/v8/custom/V8DataViewCustom.cpp:

(WebCore::V8DataView::constructorCallbackCustom):

  • bindings/v8/custom/V8HTMLDocumentCustom.cpp:

(WebCore::V8HTMLDocument::wrapInShadowObject):

  • bindings/v8/custom/V8HTMLImageElementConstructor.cpp:

(WebCore::v8HTMLImageElementConstructorCallback):

  • bindings/v8/custom/V8InjectedScriptManager.cpp:

(WebCore::createInjectedScriptHostV8Wrapper):
(WebCore::InjectedScriptManager::canAccessInspectedWindow):

  • bindings/v8/custom/V8IntentCustom.cpp:

(WebCore::V8Intent::constructorCallbackCustom):

  • bindings/v8/custom/V8LocationCustom.cpp:

(WebCore::V8Location::reloadAccessorGetter):
(WebCore::V8Location::replaceAccessorGetter):
(WebCore::V8Location::assignAccessorGetter):

  • bindings/v8/custom/V8MessageChannelCustom.cpp:

(WebCore::V8MessageChannel::constructorCallbackCustom):

  • bindings/v8/custom/V8MessageEventCustom.cpp:

(WebCore::V8MessageEvent::initMessageEventCallback):

  • bindings/v8/custom/V8MutationObserverCustom.cpp:

(WebCore::V8MutationObserver::constructorCallbackCustom):

  • bindings/v8/custom/V8ScriptProfileCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8ScriptProfileNodeCustom.cpp:

(WebCore::toV8):

  • bindings/v8/custom/V8WebKitPointCustom.cpp:

(WebCore::V8WebKitPoint::constructorCallbackCustom):

  • bindings/v8/custom/V8XMLHttpRequestCustom.cpp:

(WebCore::V8XMLHttpRequest::constructorCallbackCustom):

5:39 PM Changeset in webkit [136604] by fmalita@chromium.org
  • 3 edits in trunk/LayoutTests

Unreviewed gardening - suppressing failing svg/custom/use-href-update-crash.svg on Mac and
Qt.

  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
5:35 PM Changeset in webkit [136603] by abarth@webkit.org
  • 10 edits in trunk/Source

[V8] Cleanup style in V8DOMWrapper
https://bugs.webkit.org/show_bug.cgi?id=104062

Reviewed by Kentaro Hara.

Source/WebCore:

This patch moves a number of functions from inside the class
declaration to below the class declaration. I've also inlined
domWrapperType into each of its callers and renamed a few functions.
A subsequent patch will improve the names of the remaining functions.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateToV8Converters):

  • bindings/v8/ScriptProfiler.cpp:

(WebCore::ScriptProfiler::visitExternalArrays):

  • bindings/v8/V8Collection.h:

(WebCore::getNamedPropertyOfCollection):
(WebCore::getIndexedPropertyOfCollection):

  • bindings/v8/V8DOMWrapper.cpp:

(WebCore::V8DOMWrapper::instantiateDOMWrapper):
(WebCore::V8DOMWrapper::isWrapperOfType):

  • bindings/v8/V8DOMWrapper.h:

(V8DOMWrapper):
(WebCore::V8DOMWrapper::setWrapperClass):
(WebCore::V8DOMWrapper::setDOMWrapper):
(WebCore):
(WebCore::V8DOMWrapper::clearDOMWrapper):
(WebCore::V8DOMWrapper::lookupDOMWrapper):
(WebCore::V8DOMWrapper::createDOMWrapper):

  • bindings/v8/V8GCController.cpp:
  • bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:

(WebCore::V8InspectorFrontendHost::showContextMenuCallback):

Source/WebKit/chromium:

  • src/WebBindings.cpp:

(WebKit::getRangeImpl):

5:32 PM Changeset in webkit [136602] by fpizlo@apple.com
  • 2 edits in trunk/Tools

display-profiler-output should not use reflective infocation to resolve command names

Rubber stamped by Mark Hahnenberg.

Reflection is amazing, but here it was just kind of a bit much.

  • Scripts/display-profiler-output:
5:26 PM Changeset in webkit [136601] by fpizlo@apple.com
  • 44 edits
    18 adds in trunk

JSC should be able to report profiling data associated with the IR dumps and disassembly
https://bugs.webkit.org/show_bug.cgi?id=102999

Reviewed by Gavin Barraclough.

Source/JavaScriptCore:

Added a new profiler to JSC. It's simply called "Profiler" in anticipation of it
ultimately replacing the previous profiling infrastructure. This profiler counts the
number of times that a bytecode executes in various engines, and will record both the
counts and all disassembly and bytecode dumps, into a database that can be at any
time turned into either a JS object using any global object or global data of your
choice, or can be turned into a JSON string, or saved to a file.

Currently the only use of this is the new '-p <file>' flag to the jsc command-line.

The profiler is always compiled in and normally incurs no execution time cost, but is
only activated when you create a Profiler::Database and install it in
JSGlobalData::m_perBytecodeProfiler. From that point on, all code blocks will be
compiled along with disassembly and bytecode dumps stored into the Profiler::Database,
and all code blocks will have execution counts, which are also stored in the database.
The database will continue to keep information about code blocks alive even after they
are otherwise GC'd.

This currently still has some glitches, like the fact that it only counts executions
in the JITs. Doing execution counting in the LLInt might require a bit of a rethink
about how the counting is expressed - currently it is implicit in bytecode, so there
is no easy way to "turn it on" in the LLInt. Also, right now there is no information
recorded about OSR exits or out-of-line stubs. But, even so, it's quite cool, and
gives you a peek into what JSC is doing that would otherwise not be possible.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • Target.pri:
  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::~CodeBlock):

  • bytecode/CodeBlock.h:

(CodeBlock):
(JSC::CodeBlock::baselineVersion):

  • bytecode/CodeOrigin.cpp:

(JSC::InlineCallFrame::baselineCodeBlock):
(JSC):

  • bytecode/CodeOrigin.h:

(InlineCallFrame):

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parseBlock):

  • dfg/DFGDisassembler.cpp:

(JSC::DFG::Disassembler::dump):
(DFG):
(JSC::DFG::Disassembler::reportToProfiler):
(JSC::DFG::Disassembler::dumpHeader):
(JSC::DFG::Disassembler::append):
(JSC::DFG::Disassembler::createDumpList):

  • dfg/DFGDisassembler.h:

(Disassembler):
(JSC::DFG::Disassembler::DumpedOp::DumpedOp):
(DumpedOp):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::Graph):
(JSC::DFG::Graph::dumpCodeOrigin):
(JSC::DFG::Graph::dump):

  • dfg/DFGGraph.h:

(Graph):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::JITCompiler):
(JSC::DFG::JITCompiler::compile):
(JSC::DFG::JITCompiler::compileFunction):

  • dfg/DFGNode.h:

(Node):
(JSC::DFG::Node::hasExecutionCounter):
(JSC::DFG::Node::executionCounter):

  • dfg/DFGNodeType.h:

(DFG):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

  • dfg/DFGSpeculativeJIT32_64.cpp:

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

  • dfg/DFGSpeculativeJIT64.cpp:

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

  • jit/JIT.cpp:

(JSC::JIT::JIT):
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompile):

  • jit/JIT.h:

(JIT):

  • jit/JITDisassembler.cpp:

(JSC::JITDisassembler::dump):
(JSC::JITDisassembler::reportToProfiler):
(JSC):
(JSC::JITDisassembler::dumpHeader):
(JSC::JITDisassembler::firstSlowLabel):
(JSC::JITDisassembler::dumpVectorForInstructions):
(JSC::JITDisassembler::dumpForInstructions):
(JSC::JITDisassembler::reportInstructions):

  • jit/JITDisassembler.h:

(JITDisassembler):
(DumpedOp):

  • jsc.cpp:

(CommandLine::CommandLine):
(CommandLine):
(printUsageStatement):
(CommandLine::parseArguments):
(jscmain):

  • profiler/ProfilerBytecode.cpp: Added.

(Profiler):
(JSC::Profiler::Bytecode::toJS):

  • profiler/ProfilerBytecode.h: Added.

(Profiler):
(Bytecode):
(JSC::Profiler::Bytecode::Bytecode):
(JSC::Profiler::Bytecode::bytecodeIndex):
(JSC::Profiler::Bytecode::description):
(JSC::Profiler::getBytecodeIndexForBytecode):

  • profiler/ProfilerBytecodes.cpp: Added.

(Profiler):
(JSC::Profiler::Bytecodes::Bytecodes):
(JSC::Profiler::Bytecodes::~Bytecodes):
(JSC::Profiler::Bytecodes::indexForBytecodeIndex):
(JSC::Profiler::Bytecodes::forBytecodeIndex):
(JSC::Profiler::Bytecodes::dump):
(JSC::Profiler::Bytecodes::toJS):

  • profiler/ProfilerBytecodes.h: Added.

(Profiler):
(Bytecodes):
(JSC::Profiler::Bytecodes::append):
(JSC::Profiler::Bytecodes::id):
(JSC::Profiler::Bytecodes::hash):
(JSC::Profiler::Bytecodes::size):
(JSC::Profiler::Bytecodes::at):

  • profiler/ProfilerCompilation.cpp: Added.

(Profiler):
(JSC::Profiler::Compilation::Compilation):
(JSC::Profiler::Compilation::~Compilation):
(JSC::Profiler::Compilation::addDescription):
(JSC::Profiler::Compilation::executionCounterFor):
(JSC::Profiler::Compilation::toJS):

  • profiler/ProfilerCompilation.h: Added.

(Profiler):
(Compilation):
(JSC::Profiler::Compilation::bytecodes):
(JSC::Profiler::Compilation::kind):

  • profiler/ProfilerCompilationKind.cpp: Added.

(WTF):
(WTF::printInternal):

  • profiler/ProfilerCompilationKind.h: Added.

(Profiler):
(WTF):

  • profiler/ProfilerCompiledBytecode.cpp: Added.

(Profiler):
(JSC::Profiler::CompiledBytecode::CompiledBytecode):
(JSC::Profiler::CompiledBytecode::~CompiledBytecode):
(JSC::Profiler::CompiledBytecode::toJS):

  • profiler/ProfilerCompiledBytecode.h: Added.

(Profiler):
(CompiledBytecode):
(JSC::Profiler::CompiledBytecode::originStack):
(JSC::Profiler::CompiledBytecode::description):

  • profiler/ProfilerDatabase.cpp: Added.

(Profiler):
(JSC::Profiler::Database::Database):
(JSC::Profiler::Database::~Database):
(JSC::Profiler::Database::addBytecodes):
(JSC::Profiler::Database::ensureBytecodesFor):
(JSC::Profiler::Database::notifyDestruction):
(JSC::Profiler::Database::newCompilation):
(JSC::Profiler::Database::toJS):
(JSC::Profiler::Database::toJSON):
(JSC::Profiler::Database::save):

  • profiler/ProfilerDatabase.h: Added.

(Profiler):
(Database):

  • profiler/ProfilerExecutionCounter.h: Added.

(Profiler):
(ExecutionCounter):
(JSC::Profiler::ExecutionCounter::ExecutionCounter):
(JSC::Profiler::ExecutionCounter::address):
(JSC::Profiler::ExecutionCounter::count):

  • profiler/ProfilerOrigin.cpp: Added.

(Profiler):
(JSC::Profiler::Origin::Origin):
(JSC::Profiler::Origin::dump):
(JSC::Profiler::Origin::toJS):

  • profiler/ProfilerOrigin.h: Added.

(JSC):
(Profiler):
(Origin):
(JSC::Profiler::Origin::Origin):
(JSC::Profiler::Origin::operator!):
(JSC::Profiler::Origin::bytecodes):
(JSC::Profiler::Origin::bytecodeIndex):
(JSC::Profiler::Origin::operator!=):
(JSC::Profiler::Origin::operator==):
(JSC::Profiler::Origin::hash):
(JSC::Profiler::Origin::isHashTableDeletedValue):
(JSC::Profiler::OriginHash::hash):
(JSC::Profiler::OriginHash::equal):
(OriginHash):
(WTF):

  • profiler/ProfilerOriginStack.cpp: Added.

(Profiler):
(JSC::Profiler::OriginStack::OriginStack):
(JSC::Profiler::OriginStack::~OriginStack):
(JSC::Profiler::OriginStack::append):
(JSC::Profiler::OriginStack::operator==):
(JSC::Profiler::OriginStack::hash):
(JSC::Profiler::OriginStack::dump):
(JSC::Profiler::OriginStack::toJS):

  • profiler/ProfilerOriginStack.h: Added.

(JSC):
(Profiler):
(OriginStack):
(JSC::Profiler::OriginStack::OriginStack):
(JSC::Profiler::OriginStack::operator!):
(JSC::Profiler::OriginStack::size):
(JSC::Profiler::OriginStack::fromBottom):
(JSC::Profiler::OriginStack::fromTop):
(JSC::Profiler::OriginStack::isHashTableDeletedValue):
(JSC::Profiler::OriginStackHash::hash):
(JSC::Profiler::OriginStackHash::equal):
(OriginStackHash):
(WTF):

  • runtime/CommonIdentifiers.h:
  • runtime/ExecutionHarness.h:

(JSC::prepareForExecution):
(JSC::prepareFunctionForExecution):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):

  • runtime/JSGlobalData.h:

(JSGlobalData):

  • runtime/Options.h:

(JSC):

Source/WTF:

Made some minor changes to support the new profiler. FileOutputStream now has an
open() method, and DataLog uses it. StringPrintStream has a reset() method, which
allows you to reuse the same StringPrintStream for creating multiple strings.
SegmentedVector now has a const operator[]. And, WTFString now can do fromUTF8() on
a CString directly.

  • wtf/DataLog.cpp:

(WTF::initializeLogFileOnce):

  • wtf/FilePrintStream.cpp:

(WTF::FilePrintStream::open):
(WTF):

  • wtf/FilePrintStream.h:
  • wtf/SegmentedVector.h:

(WTF::SegmentedVector::at):
(SegmentedVector):
(WTF::SegmentedVector::operator[]):

  • wtf/StringPrintStream.cpp:

(WTF::StringPrintStream::reset):
(WTF):

  • wtf/StringPrintStream.h:

(StringPrintStream):

  • wtf/text/WTFString.cpp:

(WTF::String::fromUTF8):
(WTF):

  • wtf/text/WTFString.h:

(String):

Tools:

Added a tool that allows you to grok the output from JSC's new profiler. Currently,
this still gets confused a bit about the execution counts of a method running
standalone versus a method running inlined, but other than that, it's pretty cool.
See the attached "sampling profiling session" attached to the bug to see it in
action.

Also had to feed EFL's build system.

  • DumpRenderTree/efl/CMakeLists.txt:
  • Scripts/display-profiler-output: Added.
5:18 PM Changeset in webkit [136600] by senorblanco@chromium.org
  • 4 edits in trunk

[chromium] Turn on the new Skia mask blur algorithm.
https://bugs.webkit.org/show_bug.cgi?id=103906

Reviewed by Adrienne Walker.

Source/WebKit/chromium:

  • skia_webkit.gyp:

LayoutTests:

  • platform/chromium/TestExpectations:
5:11 PM Changeset in webkit [136599] by yurys@chromium.org
  • 14 edits in trunk/Source

Unreviewed, rolling out r136597.
http://trac.webkit.org/changeset/136597
https://bugs.webkit.org/show_bug.cgi?id=104065

broke Windows compilation (Requested by yurys on #webkit).

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

Source/WebCore:

  • platform/graphics/NativeImagePtr.h:

(WebCore):

  • platform/graphics/skia/NativeImageSkia.cpp:

(WebCore::reportMemoryUsage):

Source/WTF:

  • wtf/MemoryInstrumentation.cpp:

(WTF::MemoryClassInfo::addRawBuffer):

  • wtf/MemoryInstrumentation.h:

(MemoryInstrumentation):
(WTF::MemoryInstrumentation::selectInstrumentationMethod):
(WTF::MemoryInstrumentation::reportObjectMemoryUsage):
(MemoryClassInfo):
(WTF::reportMemoryUsage):
(WTF::MemoryInstrumentation::addObjectImpl):
(WTF):

  • wtf/MemoryInstrumentationArrayBufferView.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashCountedSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashMap.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationListHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationParsedURL.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationString.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationVector.h:

(WTF::reportMemoryUsage):

5:05 PM Changeset in webkit [136598] by aestes@apple.com
  • 2 edits in trunk/Source/WebKit2

[WebKit2] WKWebProcessPlugInBrowserContextControllers should be treated as type WKBrowsingContextControllerType for encoding purposes
https://bugs.webkit.org/show_bug.cgi?id=104063

Reviewed by Sam Weinig.

Objective-C message graphs can include browsing context controller
objects, which are decoded as WKWebProcessPlugInBrowserContextControllers
in the web process plug-in and as WKBrowsingContextControllers in the UI
process. Ensure we correctly encode WKWebProcessPlugInBrowserContextControllers
by treating them as type WKBrowsingContextControllerType.

  • Shared/mac/ObjCObjectGraphCoders.mm:

(WebKit::typeFromObject):

4:56 PM Changeset in webkit [136597] by yurys@chromium.org
  • 14 edits in trunk/Source

Web Inspector: simplify reportMemoryUsage signature
https://bugs.webkit.org/show_bug.cgi?id=104028

Reviewed by Vsevolod Vlasov.

Removed const& modifier from instrumented pointer type. Was const T* const&,
now it is const T*

Source/WebCore:

  • platform/graphics/NativeImagePtr.h:

(WebCore):

  • platform/graphics/skia/NativeImageSkia.cpp:

(WebCore::reportMemoryUsage):

Source/WTF:

  • wtf/MemoryInstrumentation.cpp:

(WTF::MemoryClassInfo::addRawBuffer):

  • wtf/MemoryInstrumentation.h:

(MemoryInstrumentation):
(WTF::MemoryInstrumentation::selectInstrumentationMethod):
(WTF::MemoryInstrumentation::reportObjectMemoryUsage):
(MemoryClassInfo):
(WTF::reportMemoryUsage):
(WTF::MemoryInstrumentation::addObjectImpl):
(WTF):

  • wtf/MemoryInstrumentationArrayBufferView.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashCountedSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashMap.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationListHashSet.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationParsedURL.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationString.h:

(WTF::reportMemoryUsage):

  • wtf/MemoryInstrumentationVector.h:

(WTF::reportMemoryUsage):

4:53 PM Changeset in webkit [136596] by roger_fong@apple.com
  • 2 edits
    2 adds in trunk/LayoutTests

Unreviewed. Add Windows specific results for some tests following r136558 and r136560.

Tests are indeed passing. The output is just slightly different on Windows.

  • platform/win/TestExpectations:
  • platform/win/fast/css/image-set-value-not-removed-crash-expected.txt: Added.
  • platform/win/fast/images/crossfade-client-not-removed-crash-expected.txt: Added.
4:51 PM Changeset in webkit [136595] by abarth@webkit.org
  • 6 edits in trunk/Source/WebCore

[V8] V8DOMWrapper shouldn't know about NodeFilter
https://bugs.webkit.org/show_bug.cgi?id=104057

Reviewed by Kentaro Hara.

This patch just moves this code into V8Bindings.h, which is where we
have our other type conversion functions. It's too bad that we still
need to special case NodeFilter, but fixing that is going to be a bit
more work.

  • bindings/scripts/CodeGeneratorV8.pm:

(JSValueToNative):

  • bindings/v8/V8Binding.cpp:

(WebCore::toNodeFilter):
(WebCore):

  • bindings/v8/V8Binding.h:

(WebCore):

  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8DOMWrapper.h:

(WebCore):
(V8DOMWrapper):

4:51 PM ExportingSymbols edited by wangxianzhu@chromium.org
Update another place about WebKit2.def.in (diff)
4:49 PM Changeset in webkit [136594] by Simon Fraser
  • 18 edits
    1 delete in trunk/Source

Show a mini visualizer for the tile cache tiles
https://bugs.webkit.org/show_bug.cgi?id=104053

Reviewed by Beth Dakin.

Source/WebCore:

Replace the current red/green/yellow scrolling indicator with a
mini map of the tile cache that shows the current tiles, and the
visible rect.

Visibility is controlled via a new preference.

  • WebCore.exp.in: Add Settings::setShowTiledScrollingIndicator(bool),

and remove ScrollingTree::setDebugRootLayer(CALayer*)

  • WebCore.xcodeproj/project.pbxproj: Remove ScrollingTreeMac.mm which

is no longer needed; it just contained debug layer stuff.

  • page/Settings.cpp:

(WebCore::Settings::Settings): Support the new setting.
(WebCore::Settings::setShowTiledScrollingIndicator):

  • page/Settings.h:

(WebCore::Settings::showTiledScrollingIndicator):

  • page/scrolling/ScrollingTree.cpp:

(WebCore::ScrollingTree::commitNewTreeState): We no longer update the debug
indicator on tree commit.

  • page/scrolling/ScrollingTree.h:

(WebCore::ScrollingTree::hasWheelEventHandlers): Needed for the tiled
scrolling indicator.
(ScrollingTree):

  • page/scrolling/mac/ScrollingCoordinatorMac.mm:

(WebCore::ScrollingCoordinatorMac::commitTreeState): Tell the TiledBacking
about the current scrolling mode.

  • page/scrolling/mac/ScrollingTreeMac.mm: Removed.
  • platform/graphics/TiledBacking.h: Add functions to set the indicator scrolling

mode, and to get the tiled scrolling indicator layer. This has to be parented by
the DrawingArea, to ensure that it's in front of all other layers.

  • platform/graphics/ca/mac/TileCache.h:

(WebCore::TileCache::scale): Exposed for the indicator drawing code to use.

  • platform/graphics/ca/mac/TileCache.mm:

(-[WebTileCacheMapLayer init]): The indicator has a sublayer which renders the
visible rect frame, owned by it.
(-[WebTileCacheMapLayer drawInContext:]):
(WebCore::TileCache::TileCache): The indicator mode has to be stored here,
since it can be pushed down before we have an indicator layer.
(WebCore::TileCache::~TileCache): Clear the TileCache on the indicator layer, which
may outlive us.
(WebCore::TileCache::revalidateTiles): Call updateTileCoverageMap().
(WebCore::TileCache::updateTileCoverageMap): Resize the indicator layer to fit
within the window, and update the indicator color.
(WebCore::TileCache::tiledScrollingIndicatorLayer): Create and initialize the layer.
(WebCore::TileCache::setScrollingModeIndication):
(WebCore::TileCache::drawTileMapContents): Draw small white rects for the tiles over
an translucent gray background.

Source/WebKit2:

Plumb through a preference that controls the visibility of a tiled
scrolling indicator, and parent that layer in the TiledCoreAnimationDrawingArea.

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetTiledScrollingIndicatorVisible):
(WKPreferencesGetTiledScrollingIndicatorVisible):

  • UIProcess/API/C/WKPreferencesPrivate.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:

(TiledCoreAnimationDrawingArea):

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
(WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):
(WebKit::TiledCoreAnimationDrawingArea::mainFrameTiledBacking):
(WebKit::TiledCoreAnimationDrawingArea::updateDebugInfoLayer):

4:43 PM Changeset in webkit [136593] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt: fix total number of tests computed in the result summary
https://bugs.webkit.org/show_bug.cgi?id=104061

Unreviewed, build fix.

One of the recent changes to the resultsummary refactoring caused
us to not include the number of skipped tests in the total number
of tests, throwing off the totals printed in print_one_line_summary().

Unfortunately, given the current state of the code it is difficult
to construct an accurate unit test for this. I have verified the
fix by hand, and will write a test once the remaining refactoring
patches land, at which point it will be trivial to test it.

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

(Manager._prepare_lists):

4:36 PM Changeset in webkit [136592] by dgrogan@chromium.org
  • 7 edits in trunk/Source

Source/WebCore: IndexedDB: Propagate more leveldb errors to IDBIndex and IDBObjectStore
https://bugs.webkit.org/show_bug.cgi?id=103782

Reviewed by Tony Chang.

index.get[Key]() and objectStore.get() will receive more error events.

  • Modules/indexeddb/IDBBackingStore.cpp:

(WebCore::IDBBackingStore::getRecord):
(WebCore::versionExists):
(WebCore::IDBBackingStore::findKeyInIndex):
(WebCore::IDBBackingStore::getPrimaryKeyViaIndex):
(WebCore::IDBBackingStore::keyExistsInIndex):

  • Modules/indexeddb/IDBBackingStore.h:

(IDBBackingStore):

  • Modules/indexeddb/IDBIndexBackendImpl.cpp:

(WebCore::IDBIndexBackendImpl::getInternal):
(WebCore::IDBIndexBackendImpl::getKeyInternal):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

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

Source/WebKit/chromium: Unreviewed. Rolled DEPS.

Patch by Stephen White <senorblanco@chromium.org> on 2012-12-04

  • DEPS:
4:32 PM Changeset in webkit [136591] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt is not returning the exit status properly
https://bugs.webkit.org/show_bug.cgi?id=103830

Unreviewed, build fix.

The fix in r136474 wasn't quite right either, and would return
the correct exceptional status, but not the correct failing status.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4:32 PM Changeset in webkit [136590] by haraken@chromium.org
  • 3 edits in trunk/Source/WebCore

[V8] Remove IntegerCache::m_initialized
https://bugs.webkit.org/show_bug.cgi?id=103978

Reviewed by Adam Barth.

Thanks to r136479, we can now initialize V8 integers in IntegerCache's
constructor. We can remove IntegerCache::m_initialized, which slightly
improves performance.

[Bindings/scroll-top.html in Chromium/Linux]
Before this patch: 285 runs/sec, 281 runs/sec, 281 runs/sec, 280 runs/sec
After this patch : 290 runs/sec, 291 runs/sec, 297 runs/sec, 291 runs/sec

No tests. No change in behavior.

  • bindings/v8/V8ValueCache.cpp:

(WebCore::IntegerCache::IntegerCache):
(WebCore::IntegerCache::~IntegerCache):

  • bindings/v8/V8ValueCache.h:

(IntegerCache):
(WebCore::IntegerCache::v8Integer):
(WebCore::IntegerCache::v8UnsignedInteger):
(WebCore):

4:27 PM Changeset in webkit [136589] by haraken@chromium.org
  • 5 edits in trunk/Source/WebCore

[V8] Replace String::New("symbol") with String::NewSymbol("symbol")
https://bugs.webkit.org/show_bug.cgi?id=103989

Reviewed by Adam Barth.

In V8, a symbol lookup is faster than a string lookup. We should use
String::NewSymbol("symbol") for symbols.

No tests. No change in behavior.

  • bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
  • bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:

(WebCore::V8HTMLCanvasElement::getContextCallback):

  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp:

(WebCore::V8InjectedScriptHost::typeCallback):
(WebCore::V8InjectedScriptHost::functionDetailsCallback):
(WebCore::getJSListenerFunctions):

  • bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:

(WebCore::populateContextMenuItems):

4:25 PM Changeset in webkit [136588] by jchaffraix@webkit.org
  • 15 edits in trunk

[CSS Grid Layout] Implement CSS parsing and handling for <track-minmax>
https://bugs.webkit.org/show_bug.cgi?id=103799

Reviewed by Tony Chang.

Source/WebCore:

This change adds support for:
<track-minmax> => minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth>
(note that we already supported auto | <track-breadth>).

The change is mostly mechanical, the only newness is that GridTrackSize was updated to
hold 2 Lengths internally and we map the single Length case to 2 by duplicating the value
as this matches the rendering algorithm in the spec.

Tests: fast/css-grid-layout/grid-columns-rows-get-set-multiple.html

fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::valueForGridTrackBreadth):
Changed the function to do the conversion of one track breadth (one Length).
This was forgotten in the preparatory change in bug 103703.

(WebCore::valueForGridTrackMinMax):
Convert the value back using valueForGridTrackBreadth.

  • css/CSSFunctionValue.cpp:

(WebCore::CSSFunctionValue::CSSFunctionValue):

  • css/CSSFunctionValue.h:

(WebCore::CSSFunctionValue::create):
(CSSFunctionValue):
Added a new constructor. This enables us to return minmax(..., ...) when queried
from JavaScript. I couldn't find a better way to serialize inside CSSComputedStyleDeclaration
so that it properly match the function output.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseGridTrackMinMax):
Added parsing for the new syntax. We convert the 2 values into a Pair if we manage to
parse both values correctly.

  • css/StyleResolver.cpp:

(WebCore::createGridTrackMinMax):
Updated to handle a Pair - for minmax - and set the 2 values on GridTrackSize.

  • rendering/RenderGrid.cpp:

(WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
Updated to check the style. For now, we don't handle minmax values.

  • rendering/style/GridTrackSize.h:

(WebCore::GridTrackSize::GridTrackSize):
(WebCore::GridTrackSize::length):
(WebCore::GridTrackSize::setLength):
(WebCore::GridTrackSize::minTrackBreadth):
(WebCore::GridTrackSize::maxTrackBreadth):
(WebCore::GridTrackSize::setMinMax):
(WebCore::GridTrackSize::operator==):
Updated the class to handle minmax values. This means that we now always store
2 values (the <length> case being a subset of minmax, however we kept the distinction
to be able to reconstruct a <length> for getComputedStyle).

LayoutTests:

  • fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
  • fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt:
  • fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
  • fast/css-grid-layout/grid-columns-rows-get-set.html:
  • fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js:
  • fast/css-grid-layout/resources/grid-columns-rows-get-set.js:

Extended the following tests to cover the new grammar.

4:24 PM ExportingSymbols edited by tony@chromium.org
(diff)
4:23 PM ExportingSymbols edited by tony@chromium.org
Fix links to inline annotation source files. (diff)
4:20 PM ExportingSymbols edited by wangxianzhu@chromium.org
Update the content about WebKit2.def.in. (diff)
4:06 PM Changeset in webkit [136587] by ojan@chromium.org
  • 4 edits in trunk/Websites/bugs.webkit.org

Use sticky positioning for the code review toolbar
https://bugs.webkit.org/show_bug.cgi?id=104056

Reviewed by Adam Barth.

This simplifies the code and gives a nicer user-experience.
Also, while here, I fixed up the CSS to not have toolbar items
overlap when you make the window too small.

  • PrettyPatch/PrettyPatch.rb:
  • code-review-test.html:
  • code-review.js:
3:49 PM Changeset in webkit [136586] by fmalita@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed gardening - add missing js-test-pre.js include to avoid use-href-update-crash.svg
failures on platforms that do not define gc().

  • svg/custom/use-href-update-crash.svg:
3:41 PM Changeset in webkit [136585] by dpranke@chromium.org
  • 4 edits in trunk/Tools

nrwt: make paths and test_names passed arguments in Manager._prepare_lists et al
https://bugs.webkit.org/show_bug.cgi?id=104047

Reviewed by Eric Seidel.

The code becomes cleaner if we are just passing values around rather
than hanging them off the manager object, helps move _prepare_lists()
to a pure function, and is needed to eventually make the
result_summary object something returned from runner.run_tests()
(note that two more patches are needed for that to happen).

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

(Manager.init):
(Manager._http_tests):
(Manager._prepare_lists):
(Manager.needs_servers):
(Manager._set_up_run):
(Manager.run):
(Manager._run_tests):
(Manager._upload_json_files):

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

(ManagerTest.test_needs_servers.get_manager):
(ManagerTest.test_needs_servers):
(ManagerTest.integration_test_needs_servers.get_manager):
(ManagerTest.integration_test_needs_servers):
(ManagerTest.test_look_for_new_crash_logs.get_manager):
(ManagerTest):
(ManagerTest.test_look_for_new_crash_logs):

  • Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:

(JSONLayoutResultsGenerator.init):
(JSONLayoutResultsGenerator._get_modifier_char):

3:04 PM Changeset in webkit [136584] by dpranke@chromium.org
  • 2 edits in trunk/Source/WebCore

parser* methods in ContainerNode should not support DocumentFragment
https://bugs.webkit.org/show_bug.cgi?id=103965

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Darin Adler.

Only parserInsertBefore ever supported DocumentFragment and this feature
is never used. It appears this code ended up in parserInsertBefore when
it was created as a copy of insertBefore that didn't fire events. This
patch removes that code and adds assertions that we never pass
DocumentFragments since doing so would cause a corrupted tree as we never
check checkAcceptChild or do other validation in the parser methods.

No new tests, just refactoring.

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::parserInsertBefore):
(WebCore::ContainerNode::parserRemoveChild):
(WebCore::ContainerNode::parserAppendChild):

3:01 PM Changeset in webkit [136583] by abarth@webkit.org
  • 4 edits in trunk/Tools

commit-queue can get stuck with a local commit
https://bugs.webkit.org/show_bug.cgi?id=104032

Reviewed by Dirk Pranke.

Previously the commit-queue would only clean down to HEAD. If the
commit-queue gets interrupted in the middle of a commit (e.g., after
the local commit but before the dcommit), then it can end up with a
patch locally committed. That patch will then prevent the commit-queue
from functioning.

This patch teaches the commit-queue to clean down to the merge base,
which will remove any local commits.

  • Scripts/webkitpy/common/checkout/scm/git.py:

(Git.working_directory_is_clean):
(Git.clean_working_directory):

  • Scripts/webkitpy/tool/commands/roll_unittest.py:
  • Scripts/webkitpy/tool/steps/commit.py:

(Commit._commit_warning):
(Commit.run):

2:55 PM Changeset in webkit [136582] by dpranke@chromium.org
  • 6 edits in trunk/Tools

nrwt: store only the total number of tests in the result summary
https://bugs.webkit.org/show_bug.cgi?id=103963

Reviewed by Ryosuke Niwa.

The result summary only needs the total number of tests that will
be run (including repetitions) in order to provide the correct stats;
it doesn't actually need to know how many unique tests there are, or
or how many repetitions there are.

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

(LayoutTestRunnerTests._result_summary):
(LayoutTestRunnerTests.test_update_summary_with_result):

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

(Manager._prepare_lists):
(Manager.run):

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

(ManagerTest.test_look_for_new_crash_logs):
(ResultSummaryTest.get_result_summary):

  • Scripts/webkitpy/layout_tests/models/result_summary.py:

(ResultSummary.init):

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(Testprinter.get_result_summary):

2:54 PM Changeset in webkit [136581] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt: do less work when ctrl-c'ed
https://bugs.webkit.org/show_bug.cgi?id=103961

Reviewed by Ryosuke Niwa.

Do less work when we are ctrl-c'ed, because the statistics aren't
that useful anyway. While we're at it, modify summarize_results
to be aware that we don't always retry results (instead of pretending
that the retry produced the same results the initial run did).

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

(summarize_results):
(Manager.run):

2:51 PM Changeset in webkit [136580] by dpranke@chromium.org
  • 7 edits in trunk/Tools

nrwt: result summaries should not require a list of tests to skip
https://bugs.webkit.org/show_bug.cgi?id=103951

Reviewed by Ryosuke Niwa.

We shouldn't really be passing a list of tests to skip to the
ResultSummary objects; they should be handled like any other
test result as much as possible.

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

(LayoutTestRunnerTests._result_summary):
(LayoutTestRunnerTests.test_update_summary_with_result):

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

(Manager._prepare_lists):
(Manager.run):

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

(ManagerTest.test_look_for_new_crash_logs):
(ResultSummaryTest.get_result_summary):

  • Scripts/webkitpy/layout_tests/models/result_summary.py:

(ResultSummary.init):

  • Scripts/webkitpy/layout_tests/models/test_expectations.py:

(TestExpectations):

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(Testprinter.get_result_summary):

2:50 PM Changeset in webkit [136579] by dpranke@chromium.org
  • 8 edits in trunk/Tools

nrwt: derive per-thread, per-worker stats from result summaries
https://bugs.webkit.org/show_bug.cgi?id=103943

Reviewed by Ojan Vafai.

This patch changes the manager and printing code to pull more
information from the ResultSummary object rather than tracking
additional statistics on the side. This allows us to consolidate
a bunch of logic and remove a bunch of free-floating lists and dicts of
of values. We add the shard_name and worker_name to each TestResult,
and then modify print_timing_statistics() and upload_json_files()
to just need the result summaries.

Note that this patch also changes the timing statistics slightly
so that the individual test times are the times to run just the
tests themselves (TestResult.test_run_time) and do not include the
times taken to run the ref tests, compute diffs, etc. The aggregated
per-worker and per-shard statistics still use the total time to
process each test (TestResult.total_run_time).

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

(LayoutTestRunner.init):
(LayoutTestRunner.run_tests):
(LayoutTestRunner._handle_finished_test_list):
(LayoutTestRunner._handle_finished_test):
(Worker.handle):
(Worker._run_test):

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

(summarize_results):
(Manager.run):
(Manager._upload_json_files):

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

(ResultSummaryTest.summarized_results):

  • Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:

(JSONLayoutResultsGenerator.init):
(JSONLayoutResultsGenerator._get_test_timing):

  • Scripts/webkitpy/layout_tests/models/test_results.py:

(TestResult.init):

  • Scripts/webkitpy/layout_tests/views/printing.py:

(Printer.print_results):
(Printer._print_timing_statistics):
(Printer):
(Printer._print_worker_statistics):
(Printer._print_aggregate_test_statistics):
(Printer._print_individual_test_times):
(Printer._print_directory_timings):

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(Testprinter.test_print_unexpected_results.get_unexpected_results):
(Testprinter):

2:47 PM Changeset in webkit [136578] by ojan@chromium.org
  • 3 edits in trunk/Websites/bugs.webkit.org

Properly create the header links in the code review tool
https://bugs.webkit.org/show_bug.cgi?id=104037

Reviewed by Adam Barth.

Right now, we just prepend "header" to the two existing links and change
the first link to point to the header. The problem is that jQuery's prepend
method just prepends to each item in the jQuery object instead of adding
the item to the beginning of the list as this code assumed.

  • code-review-test.html:
  • code-review.js:
2:44 PM Changeset in webkit [136577] by dpranke@chromium.org
  • 2 edits in trunk/Source/WebCore

Simplify ShadowRoot::cloneNode(bool,ExceptionCode)
https://bugs.webkit.org/show_bug.cgi?id=103928

Patch by Elliott Sprehn <Elliott Sprehn> on 2012-12-04
Reviewed by Dimitri Glazkov.

ShadowRoot can never be cloned and ShadowRoot::cloneNode(bool) always
returns null so there's no reason to have code in the cloneNode method
for script that acts as if it may not return null.

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::cloneNode):

2:43 PM Changeset in webkit [136576] by eae@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, mark css3/filters/effect-reference-hw.html as failing rather than crashing.

  • platform/chromium/TestExpectations:
2:43 PM Changeset in webkit [136575] by dpranke@chromium.org
  • 5 edits in trunk/Source/WebCore

setIsInTopLayer is not really a setter
https://bugs.webkit.org/show_bug.cgi?id=103912

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Eric Seidel.

Element::setInTopLayer isn't just a setter, it also adds the element
to the top layer vector in the document which changes it's display and
causes a reattach.

To make this more obvious make HTMLDialogElement use the methods on
Document and make those update the state boolean.

There also doesn't seem to be any reason for setInTopLayer
or isInTopLayer to be virtual, it appears it was a typo.

No new tests, just refactoring.

  • dom/Document.cpp:

(WebCore::Document::addToTopLayer):
(WebCore::Document::removeFromTopLayer):

  • dom/Element.cpp:

(WebCore::Element::setIsInTopLayer):

  • dom/Element.h:
  • html/HTMLDialogElement.cpp:

(WebCore::HTMLDialogElement::close):
(WebCore::HTMLDialogElement::showModal):

2:42 PM Changeset in webkit [136574] by dpranke@chromium.org
  • 7 edits in trunk/Source/WebCore

Automatically handle suspend and resume of post attach callbacks
https://bugs.webkit.org/show_bug.cgi?id=103910

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Eric Seidel.

Use RAII to handle suspend and resume of post attach callbacks since
they should always be called in pairs.

No new tests, just refactoring.

  • dom/ContainerNode.h:

(PostAttachCallbackDisabler):
(WebCore::PostAttachCallbackDisabler::PostAttachCallbackDisabler):
(WebCore::PostAttachCallbackDisabler::~PostAttachCallbackDisabler):
(ContainerNode):

  • dom/Document.cpp:

(WebCore::Document::recalcStyle):

  • dom/Element.cpp:

(WebCore::Element::attach):

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::attach):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::attach):

  • html/HTMLPlugInImageElement.cpp:

(WebCore::HTMLPlugInImageElement::attach):
(WebCore):

2:42 PM Changeset in webkit [136573] by dpranke@chromium.org
  • 5 edits in trunk/Source/WebCore

createRareData should return a PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=103851

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-04
Reviewed by Eric Seidel.

createRareData should return a PassOwnPtr, not an OwnPtr since it's
transfering ownership.

  • dom/Element.cpp:

(WebCore::Element::createRareData):

  • dom/Element.h:

(Element):

  • dom/Node.cpp:

(WebCore::Node::createRareData):

  • dom/Node.h:
2:30 PM Changeset in webkit [136572] by fpizlo@apple.com
  • 20 edits
    1 move
    2 adds
    2 deletes in trunk/Source

Rename Profiler to LegacyProfiler
https://bugs.webkit.org/show_bug.cgi?id=104031

Rubber stamped by Mark Hahnenberg

Source/JavaScriptCore:

Make room in the namespace for https://bugs.webkit.org/show_bug.cgi?id=102999.

  • API/JSProfilerPrivate.cpp:

(JSStartProfiling):
(JSEndProfiling):

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • Target.pri:
  • interpreter/Interpreter.cpp:

(JSC::Interpreter::throwException):
(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):

  • jit/JIT.h:
  • jit/JITCode.h:
  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):

  • jit/JITStubs.h:

(JSC):

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::LLINT_SLOW_PATH_DECL):

  • profiler/LegacyProfiler.cpp: Added.

(JSC):
(JSC::LegacyProfiler::profiler):
(JSC::LegacyProfiler::startProfiling):
(JSC::LegacyProfiler::stopProfiling):
(JSC::dispatchFunctionToProfiles):
(JSC::LegacyProfiler::willExecute):
(JSC::LegacyProfiler::didExecute):
(JSC::LegacyProfiler::exceptionUnwind):
(JSC::LegacyProfiler::createCallIdentifier):
(JSC::createCallIdentifierFromFunctionImp):

  • profiler/LegacyProfiler.h: Added.

(JSC):
(LegacyProfiler):
(JSC::LegacyProfiler::currentProfiles):

  • profiler/ProfileGenerator.cpp:

(JSC::ProfileGenerator::addParentForConsoleStart):

  • profiler/ProfileNode.cpp:
  • profiler/Profiler.cpp: Removed.
  • profiler/Profiler.h: Removed.
  • runtime/JSGlobalData.h:

(JSC):
(JSC::JSGlobalData::enabledProfiler):
(JSGlobalData):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::~JSGlobalObject):

Source/WebCore:

Just renaming, no new tests.

  • ForwardingHeaders/profiler/LegacyProfiler.h: Copied from Source/WebCore/ForwardingHeaders/profiler/Profiler.h.
  • ForwardingHeaders/profiler/Profiler.h: Removed.
  • bindings/js/ScriptProfiler.cpp:

(WebCore::ScriptProfiler::start):
(WebCore::ScriptProfiler::stop):

2:29 PM Changeset in webkit [136571] by yurys@chromium.org
  • 6 edits in trunk/LayoutTests

[chromium] Layout test inspector-protocol/debugger-pause-dedicated-worker.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=101229

Reviewed by Vsevolod Vlasov.

Removed unnecessary logging that introduced flakiness to the tests.

  • inspector-protocol/debugger-pause-dedicated-worker-expected.txt:
  • inspector-protocol/debugger-pause-dedicated-worker.html:
  • inspector-protocol/debugger-terminate-dedicated-worker-while-paused-expected.txt:
  • inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html:
  • platform/chromium/TestExpectations:
2:19 PM Changeset in webkit [136570] by cevans@google.com
  • 2 edits
    2 copies in branches/chromium/1312

Merge 136250
BUG=162620
Review URL: https://codereview.chromium.org/11421227

2:17 PM Changeset in webkit [136569] by eae@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed chromium rebaselines.

  • platform/chromium-mac-snowleopard/fast/parser/document-write-ignores-later-network-bytes-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/parser/document-write-ignores-later-network-bytes-expected.txt: Added.
2:16 PM Changeset in webkit [136568] by andersca@apple.com
  • 12 edits in trunk/Source/WebKit2

Set the visible process name before entering the sandbox
https://bugs.webkit.org/show_bug.cgi?id=104030
<rdar://problem/12800317>

Reviewed by Sam Weinig.

Pass the UI process name along as a process initialization parameter so we can set it
before entering the sandbox. Remove the UI process name from WebProcessCreationParameters.

  • Shared/WebProcessCreationParameters.cpp:

(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):

  • Shared/WebProcessCreationParameters.h:

(WebProcessCreationParameters):

  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:

(WebKit::connectToWebProcessServiceForWebKitDevelopment):
(WebKit::createWebProcessService):
(WebKit::createProcess):

  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::platformInitializeWebProcess):

  • WebProcess/mac/WebProcessInitialization.h:

(WebProcessInitializationParameters):

  • WebProcess/mac/WebProcessInitialization.mm:

(WebKit::initializeWebProcess):

  • WebProcess/mac/WebProcessMac.mm:

(WebKit::WebProcess::platformInitializeWebProcess):

  • WebProcess/mac/WebProcessMainMac.mm:

(WebKit::WebProcessMain):

  • WebProcess/mac/WebProcessServiceEntryPoints.h:
  • WebProcess/mac/WebProcessServiceEntryPoints.mm:

(WebKit::WebProcessServiceEventHandler):
(initializeWebProcessForWebProcessServiceForWebKitDevelopment):

  • WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm:

(WebProcessServiceForWebKitDevelopmentEventHandler):

2:11 PM Changeset in webkit [136567] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 136253
BUG=153592
Review URL: https://codereview.chromium.org/11428168

2:05 PM Changeset in webkit [136566] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 136074
BUG=153566
Review URL: https://codereview.chromium.org/11280303

2:04 PM Changeset in webkit [136565] by simonjam@chromium.org
  • 3 edits in trunk/Source/WebCore

[User Timing] Fix clang build by removing need for exit time destructor
https://bugs.webkit.org/show_bug.cgi?id=104036

Reviewed by Tony Gentilcore.

Modeled after r99588.

No new tests. No change in functionality.

  • page/PerformanceUserTiming.cpp:

(WebCore::UserTiming::UserTiming):
(WebCore::UserTiming::mark):
(WebCore::UserTiming::findExistingMarkStartTime):

  • page/PerformanceUserTiming.h:

(UserTiming):

2:04 PM Changeset in webkit [136564] by eae@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed chromium expectations update.

  • platform/chromium/TestExpectations:
2:02 PM Changeset in webkit [136563] by yurys@chromium.org
  • 7 edits in trunk

Web Inspector: NMI introduce heap graph recording API
https://bugs.webkit.org/show_bug.cgi?id=103232

Reviewed by Vsevolod Vlasov.

MemoryInstrumentationClient is extended with several methods for reporting
heap graph vertices and edges. Edge source is always idenfied by heap object
address. Target node might be either a destination object address(either real
or adjusted if the edge was retrieved from a pointer to a base class) or a
MemoryObjectInfo in case of internal buffers.

  • wtf/MemoryInstrumentation.cpp:

(WTF::MemoryInstrumentation::reportEdge):
(WTF):
(WTF::MemoryInstrumentation::reportLinkToBuffer): report edge between the object
and a buffer which it owns.
(WTF::MemoryInstrumentation::InstrumentedPointerBase::process):
(WTF::MemoryClassInfo::addRawBuffer):
(WTF::MemoryClassInfo::addPrivateBuffer):

  • wtf/MemoryInstrumentation.h:

(MemoryInstrumentationClient):
(WTF::MemoryInstrumentationClient::reportNode):
(WTF::MemoryInstrumentationClient::reportEdge):
(WTF::MemoryInstrumentationClient::reportLeaf):
(WTF::MemoryInstrumentationClient::reportBaseAddress): if we found an object by a pointer
to base class it may have different value than real object address. Report both real and
adjusted addresses so that they both can be used for identifying corresponding heap graph
node.
(WTF::MemoryInstrumentation::addRootObject):
(MemoryInstrumentation):
(WTF::MemoryInstrumentation::addObject):
(WTF::MemoryInstrumentation::addRawBuffer):
(WTF::MemoryInstrumentation::OwningTraits::addObject):
(WTF::MemoryClassInfo::addMember):
(MemoryClassInfo):
(WTF::MemoryInstrumentation::addObjectImpl):

  • wtf/MemoryObjectInfo.h: added methods for repoting class name and some name string.

(WTF::MemoryObjectInfo::setClassName):
(WTF::MemoryObjectInfo::setName):
(MemoryObjectInfo):

2:01 PM Changeset in webkit [136562] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

  • DEPS:
2:00 PM Changeset in webkit [136561] by simonjam@chromium.org
  • 3 edits in trunk/Source/WebCore

[User Timing] Fix negative durations
https://bugs.webkit.org/show_bug.cgi?id=104038

Reviewed by Tony Gentilcore.

At some point, we went from passing in a duration to passing in the end time. User Timing
wasn't updated.

Tests: http/tests/w3c/webperf/submission/Intel/user-timing

  • page/PerformanceMark.h:

(WebCore::PerformanceMark::PerformanceMark):

  • page/PerformanceUserTiming.cpp:

(WebCore::UserTiming::measure):

1:50 PM Changeset in webkit [136560] by inferno@chromium.org
  • 4 edits
    2 adds in trunk

Heap-use-after-free in WebCore::StyleCachedImageSet::cssValue
https://bugs.webkit.org/show_bug.cgi?id=100621

Reviewed by Eric Seidel.

Source/WebCore:

r115639 fixed a memory leak caused by reference cycle between StyleCachedImageSet
and its owner CSSImageSetValue. The fix caused StyleCachedImageSet to maintain
a weak pointer to CSSImageSetValue. This patch makes sure that the weak pointer
is cleared when CSSImageSetValue is going away.

Test: fast/css/image-set-value-not-removed-crash.html

  • css/CSSImageSetValue.cpp:

(WebCore::CSSImageSetValue::~CSSImageSetValue):

  • rendering/style/StyleCachedImageSet.h:

(WebCore::StyleCachedImageSet::clearImageSetValue):
(StyleCachedImageSet):

LayoutTests:

  • fast/css/image-set-value-not-removed-crash-expected.txt: Added.
  • fast/css/image-set-value-not-removed-crash.html: Added.
1:46 PM Changeset in webkit [136559] by abarth@webkit.org
  • 5 edits in trunk/Source/WebCore

NodeFilter leaks memory in V8
https://bugs.webkit.org/show_bug.cgi?id=104027

Reviewed by Eric Seidel.

NodeFilter holds a RefPtr to NodeFilterCondition, which holds a
ScopedPersistent to its callback function. If the callback function can
see the NodeFilter wrapper, we have a cycle and a leak.

This patch makes the NodeFilterCondition hold a weak pointer to the
callback function and ties the lifetime of that callback function to
the NodeFilter wrapper (so they live and die together).

  • bindings/v8/V8GCController.cpp:
  • bindings/v8/V8NodeFilterCondition.cpp:

(WebCore::V8NodeFilterCondition::V8NodeFilterCondition):
(WebCore::V8NodeFilterCondition::weakCallback):
(WebCore):
(WebCore::V8NodeFilterCondition::acceptNode):

  • bindings/v8/V8NodeFilterCondition.h:

(WebCore::V8NodeFilterCondition::create):
(V8NodeFilterCondition):
(WebCore::V8NodeFilterCondition::callback):

  • dom/NodeFilter.h:

(WebCore::NodeFilter::condition):

1:29 PM Changeset in webkit [136558] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

Crash in CachedResource::checkNotify due to -webkit-crossfade.
https://bugs.webkit.org/show_bug.cgi?id=98068

Reviewed by Nate Chapin.

Source/WebCore:

Make sure to not re-add the same client again for |m_cachedFromImage|
and |m_cachedToImage|. This would otherwise cause the CSSCrossfadeValue
client to not get removed from its cached image resource (when it is
going away).

Test: fast/images/crossfade-client-not-removed-crash.html

  • css/CSSCrossfadeValue.cpp:

(WebCore::CSSCrossfadeValue::loadSubimages):

LayoutTests:

  • fast/images/crossfade-client-not-removed-crash-expected.txt: Added.
  • fast/images/crossfade-client-not-removed-crash.html: Added.
1:19 PM Changeset in webkit [136557] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed. Skip flaky "fake mouse move tests" on Windows port.
https://bugs.webkit.org/show_bug.cgi?id=103043.

  • platform/win/TestExpectations:
1:11 PM Changeset in webkit [136556] by ojan@chromium.org
  • 3 edits in trunk/Websites/bugs.webkit.org

Can't add followup comment to a previous comment
https://bugs.webkit.org/show_bug.cgi?id=104025

Reviewed by Adam Barth.

If we side-by-sidify a shared diff line, and then apply
a previous comment, we would incorrectly put the comment
on the Line instead of the LineContainer.

Also, get rid of global next_line_id to simplify testing.

  • code-review-test.html:
  • code-review.js:
1:10 PM Changeset in webkit [136555] by abarth@webkit.org
  • 4 edits in trunk/Tools

Remove obsolete code from webkitpy
https://bugs.webkit.org/show_bug.cgi?id=104029

Reviewed by Eric Seidel.

  • Scripts/webkitpy/tool/bot/commitqueuetask.py:

(CommitQueueTask.run):

  • Scripts/webkitpy/tool/steps/commit.py:

(Commit.options):

  • Scripts/webkitpy/tool/steps/options.py:

(Options):

1:10 PM Changeset in webkit [136554] by jchaffraix@webkit.org
  • 3 edits
    2 adds in trunk

Heap-use-after-free in WebCore::RenderLayer::paintList [MathML]
https://bugs.webkit.org/show_bug.cgi?id=100764

Reviewed by Eric Seidel.

Source/WebCore:

Test: mathml/mfenced-root-layer.html

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::stackingContext):
Fixed this function to ensure that it always returns a stacking context, the bug
was that the document element's layer wasn't guaranteed to be a stacking context.

LayoutTests:

  • mathml/mfenced-root-layer-expected.txt: Added.
  • mathml/mfenced-root-layer.html: Added.
1:07 PM Changeset in webkit [136553] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed gardening. Skip fast/loader/non-deferred-substitute-load.html on Windows port.
https://bugs.webkit.org/show_bug.cgi?id=103968

  • platform/win/TestExpectations:
1:00 PM Changeset in webkit [136552] by jochen@chromium.org
  • 10 edits
    2 moves in trunk/Tools

[chromium] move WebPreferences and methods for modifying them to the TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=103841

Reviewed by Darin Fisher.

  • DumpRenderTree/DumpRenderTree.gypi:
  • DumpRenderTree/chromium/DRTTestRunner.cpp:

(DRTTestRunner::DRTTestRunner):
(DRTTestRunner::reset):

  • DumpRenderTree/chromium/DRTTestRunner.h:

(DRTTestRunner):

  • DumpRenderTree/chromium/TestRunner/public/WebPreferences.h: Renamed from Tools/DumpRenderTree/chromium/WebPreferences.h.

(WebKit):
(WebTestRunner):
(WebPreferences):
(WebTestRunner::WebPreferences::WebPreferences):

  • DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:

(WebTestRunner):
(WebTestDelegate):
(WebTestRunner::WebTestDelegate::localFileToDataURL):
(WebTestRunner::WebTestDelegate::rewriteLayoutTestsURL):
(WebTestRunner::WebTestDelegate::preferences):
(WebTestRunner::WebTestDelegate::applyPreferences):

  • DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:

(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::reset):
(WebTestRunner::TestRunner::setUserStyleSheetEnabled):
(WebTestRunner):
(WebTestRunner::TestRunner::setUserStyleSheetLocation):
(WebTestRunner::TestRunner::setAuthorAndUserStylesEnabled):
(WebTestRunner::TestRunner::setPopupBlockingEnabled):
(WebTestRunner::TestRunner::setJavaScriptCanAccessClipboard):
(WebTestRunner::TestRunner::setXSSAuditorEnabled):
(WebTestRunner::TestRunner::setAllowUniversalAccessFromFileURLs):
(WebTestRunner::TestRunner::setAllowFileAccessFromFileURLs):
(WebTestRunner::TestRunner::overridePreference):
(WebTestRunner::TestRunner::setPluginsEnabled):

  • DumpRenderTree/chromium/TestRunner/src/TestRunner.h:

(TestRunner):

  • DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp: Renamed from Tools/DumpRenderTree/chromium/WebPreferences.cpp.

(WebTestRunner::WebPreferences::reset):
(WebTestRunner):
(WebTestRunner::WebPreferences::applyTo):

  • DumpRenderTree/chromium/TestShell.h:

(TestShell::preferences):
(TestShell):

  • DumpRenderTree/chromium/WebViewHost.cpp:

(WebViewHost::localFileToDataURL):
(WebViewHost::rewriteLayoutTestsURL):
(WebViewHost::preferences):
(WebViewHost::applyPreferences):

  • DumpRenderTree/chromium/WebViewHost.h:

(WebViewHost):

12:47 PM Changeset in webkit [136551] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

[V8] GetNativeType in CodeGeneratorV8.pm needs a bath
https://bugs.webkit.org/show_bug.cgi?id=104022

Reviewed by Eric Seidel.

This change shouldn't have any effect on the generated code.

  • bindings/scripts/CodeGeneratorV8.pm:

(GetNativeType):

  • DOMUserData was removed in 2005. There's no need for the code generator to still know about it.

(JSValueToNative):
(ConvertToV8StringResource):

12:47 PM Changeset in webkit [136550] by abarth@webkit.org
  • 8 edits
    1 add in trunk/Source/WebCore

[V8] EventTarget shouldn't be a special snowflake
https://bugs.webkit.org/show_bug.cgi?id=104018

Reviewed by Eric Seidel.

Previously we special-cased the toV8 operation for event targets.
There's no need for that. We can use IDL attribute to handle
EventTarget using the same general-purpose code that we use for other
interfaces.

  • WebCore.gypi:
  • bindings/scripts/CodeGeneratorV8.pm:

(NativeToJSValue):

  • bindings/v8/V8AbstractEventListener.cpp:

(WebCore::V8AbstractEventListener::getReceiverObject):

  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8DOMWrapper.h:

(V8DOMWrapper):

  • bindings/v8/V8WorkerContextEventListener.cpp:

(WebCore::V8WorkerContextEventListener::getReceiverObject):

  • bindings/v8/custom/V8EventTargetCustom.cpp: Added.

(WebCore):
(WebCore::toV8):

  • dom/EventTarget.idl:
12:37 PM Changeset in webkit [136549] by zandobersek@gmail.com
  • 2 edits in trunk/Tools/Scripts/webkitpy/layout_tests

Unreviewed followup to r136548, manually removing the unnecessary executable bit from the related files.

12:34 PM Changeset in webkit [136548] by zandobersek@gmail.com
  • 62 edits in trunk/Tools

Many webkitpy unit tests can be run standalone, are executable
https://bugs.webkit.org/show_bug.cgi?id=103900

Reviewed by Eric Seidel.

There's no need anymore to run unit tests in standalone mode as they
are now handled by test-webkitpy in a formidable fashion. This makes
it possible for this patch to remove the following unnecessary bits:

  • remove shebang lines from unit test files,
  • remove calls to unittest.main(),
  • make unit test files non-executable.
  • Scripts/webkitpy/common/checkout/diff_parser_unittest.py:

(DiffParserTest.test_git_mnemonicprefix):

  • Scripts/webkitpy/common/checkout/scm/scm_unittest.py:

(GitTestWithMock.test_push_local_commits_to_server_without_username_and_with_password):

  • Scripts/webkitpy/common/config/build_unittest.py:

(ShouldBuildTest.test_should_build):

  • Scripts/webkitpy/common/config/ports_unittest.py:

(DeprecatedPortTest.test_chromium_xvfb_port):

  • Scripts/webkitpy/common/find_files_unittest.py:

(TestWinNormalize.test_win):

  • Scripts/webkitpy/common/lru_cache_unittest.py:

(LRUCacheTest.test_set_again):

  • Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

(test_results_zip_url):

  • Scripts/webkitpy/common/net/credentials_unittest.py:

(test_keyring_without_git_repo_nor_keychain):

  • Scripts/webkitpy/common/net/omahaproxy_unittest.py:

(OmahaProxyTest.test_get_revisions):

  • Scripts/webkitpy/common/net/unittestresults_unittest.py:
  • Scripts/webkitpy/common/newstringio_unittest.py:

(NewStringIOTest.test_with):

  • Scripts/webkitpy/common/read_checksum_from_png_unittest.py:

(ReadChecksumFromPngTest.test_read_checksum):

  • Scripts/webkitpy/common/system/file_lock_integrationtest.py:
  • Scripts/webkitpy/common/system/filesystem_mock_unittest.py:

(MockFileSystemTest.test_normpath):

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

(RealFileSystemTest.test_sep):

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

(TestPlatformInfo.test_total_bytes_memory):

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

(ZipFileSetTest.test_namelist):

  • Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
  • Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
  • Scripts/webkitpy/layout_tests/controllers/test_result_writer_unittest.py:

(TestResultWriterTest.test_reftest_diff_image):

  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:

(JSONGeneratorTest.test_test_timings_trie):

  • Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:

(TestExpectationSerializationTests.test_string_whitespace_stripping):

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

(KeyCompareTest.test_test_key):

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

(BuildersTest.test_path_from_name):

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

(ChromiumAndroidTwoPortsTest.test_options_with_two_ports):

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

(ChromiumLinuxPortTest.test_path_to_image_diff):

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

(ChromiumMacPortTest.test_path_to_image_diff):

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

(ChromiumPortLoggingTest.test_check_sys_deps):

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

(ChromiumPortLoggingTest.test_check_sys_deps):

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

(ConfigTest.test_default_configurationscripterror):

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

(DriverTest.test_start_actually_starts):

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

(FactoryTest.test_get_from_builder_name):

  • Scripts/webkitpy/layout_tests/port/http_lock_unittest.py:
  • Scripts/webkitpy/layout_tests/port/image_diff_unittest.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
  • Scripts/webkitpy/layout_tests/reftests/extract_reference_link_unittest.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(PortTest.disabled_test_mac_lion):

  • Scripts/webkitpy/layout_tests/servers/http_server_integrationtest.py:
  • Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:

(VerboseTest.test_log_args):

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(test_details):

  • Scripts/webkitpy/performance_tests/perftest_unittest.py:

(TestPerfTestFactory.test_inspector_test):

  • Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:

(test_parse_args):

  • Scripts/webkitpy/style/checker_unittest.py:
  • Scripts/webkitpy/style/checkers/changelog_unittest.py:

(ChangeLogCheckerTest.test_no_error):

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

(TabCheckerTest.test_tab):

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

(CppCheckerTest.test_ne):

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

(PNGCheckerTest.test_check):

  • Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  • Scripts/webkitpy/style/checkers/text_unittest.py:

(TextCheckerTest.test_init):

  • Scripts/webkitpy/style/checkers/watchlist_unittest.py:
  • Scripts/webkitpy/style/checkers/xcodeproj_unittest.py:

(XcodeProjectFileCheckerTest.test_detect_development_region):

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

(XMLCheckerTest.test_no_error):

  • Scripts/webkitpy/style/patchreader_unittest.py:
  • Scripts/webkitpy/test/finder_unittest.py:

(FinderTest.test_paths):

  • Scripts/webkitpy/test/runner_unittest.py:

(RunnerTest.test_run):

  • Scripts/webkitpy/test/skip_unittest.py:

(SkipTest.test_skip_if_true):

  • Scripts/webkitpy/thirdparty/init_unittest.py:

(ThirdpartyTest.test_imports):

  • Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests_unittest.py:

(TestTranslation.test_include_rewriting):

  • Scripts/webkitpy/tool/bot/queueengine_unittest.py:

(QueueEngineTest.tearDown):

  • Scripts/webkitpy/tool/grammar_unittest.py:

(GrammarTest.test_join_with_separators):

  • Scripts/webkitpy/tool/mocktool_unittest.py:

(MockOptionsTest.test_kwargset):

  • Scripts/webkitpy/tool/multicommandtool_unittest.py:

(test_command_help):

12:31 PM Changeset in webkit [136547] by zandobersek@gmail.com
  • 4 edits in trunk/Tools/Scripts/webkitpy

Unreviewed followup to r136545, manually removing the unnecessary executable bit from the related files.

12:25 PM Changeset in webkit [136546] by fpizlo@apple.com
  • 5 edits in trunk/Source/JavaScriptCore

DFG should inline code blocks that use scoped variable access
https://bugs.webkit.org/show_bug.cgi?id=103974

Reviewed by Oliver Hunt.

This mostly just turns on something we could have done all along, but also adds a few key
necessities to make this right:

1) Constant folding of SkipScope, since if we inline with a known JSFunction* then the

scope is constant.


2) Interference analysis for GetLocal<->PutScopedVar and SetLocal<->GetScopedVar.

This is not meant to be a speed-up on major benchmarks since we don't yet inline most
closure calls for entirely unrelated reasons. But on toy programs it can be >2x faster.

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::getScope):
(JSC::DFG::ByteCodeParser::parseResolveOperations):

  • dfg/DFGCSEPhase.cpp:

(JSC::DFG::CSEPhase::scopedVarLoadElimination):
(JSC::DFG::CSEPhase::scopedVarStoreElimination):
(JSC::DFG::CSEPhase::getLocalLoadElimination):
(JSC::DFG::CSEPhase::setLocalStoreElimination):

  • dfg/DFGCapabilities.h:

(JSC::DFG::canInlineResolveOperations):

12:17 PM Changeset in webkit [136545] by zandobersek@gmail.com
  • 45 edits in trunk/Tools

Many webkitpy module files are executable, have shebang line
https://bugs.webkit.org/show_bug.cgi?id=103985

Reviewed by Dirk Pranke.

Remove the executable bit from webkitpy module files that are
unnecessarily executable. Remove the shebang line from webkitpy
module files, they are of no use. Only non-third-party files are
changed.

  • Scripts/webkitpy/bindings/main.py:
  • Scripts/webkitpy/common/config/watchlist:
  • Scripts/webkitpy/common/find_files.py:
  • Scripts/webkitpy/common/lru_cache.py:
  • Scripts/webkitpy/common/multiprocessing_bootstrap.py:
  • Scripts/webkitpy/common/net/file_uploader.py:
  • Scripts/webkitpy/common/newstringio.py:
  • Scripts/webkitpy/common/read_checksum_from_png.py:
  • Scripts/webkitpy/common/system/autoinstall.py:
  • Scripts/webkitpy/common/system/file_lock.py:
  • Scripts/webkitpy/common/system/file_lock_mock.py:
  • Scripts/webkitpy/common/version_check.py:
  • Scripts/webkitpy/layout_tests/controllers/manager.py:
  • Scripts/webkitpy/layout_tests/models/test_expectations.py:
  • Scripts/webkitpy/layout_tests/models/test_failures.py:
  • Scripts/webkitpy/layout_tests/models/test_input.py:
  • Scripts/webkitpy/layout_tests/port/init.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/builders.py:
  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_android.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  • Scripts/webkitpy/layout_tests/port/chromium_win.py:
  • Scripts/webkitpy/layout_tests/port/config.py:
  • Scripts/webkitpy/layout_tests/port/factory.py:
  • Scripts/webkitpy/layout_tests/port/http_lock.py:
  • Scripts/webkitpy/layout_tests/port/image_diff.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt.py:
  • Scripts/webkitpy/layout_tests/port/port_testcase.py:
  • Scripts/webkitpy/layout_tests/port/server_process.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
  • Scripts/webkitpy/layout_tests/servers/http_server.py:
  • Scripts/webkitpy/layout_tests/servers/http_server_base.py:
  • Scripts/webkitpy/layout_tests/servers/websocket_server.py:
  • Scripts/webkitpy/layout_tests/views/metered_stream.py:
  • Scripts/webkitpy/layout_tests/views/printing.py:
  • Scripts/webkitpy/performance_tests/perftest.py:
  • Scripts/webkitpy/performance_tests/perftestsrunner.py:
  • Scripts/webkitpy/style/checkers/changelog.py:
  • Scripts/webkitpy/style/checkers/cpp.py:
  • Scripts/webkitpy/style/checkers/xcodeproj.py:
  • Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:

(main): There's no need to run this module in standalone because
it's wrapped by the Tools/Scripts/update-webgl-conformance-tests script.

  • Scripts/webkitpy/tool/commands/upload.py:
  • Scripts/webkitpy/tool/comments.py:
  • Scripts/webkitpy/tool/main.py:
12:16 PM BuildingGtk edited by geoff@linux.intel.com
This question was answered for me on IRC and it was suggested that I … (diff)
11:47 AM Changeset in webkit [136544] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Rolled DEPS (w/Linux build fix). Unreviewed.

  • DEPS:
11:38 AM Changeset in webkit [136543] by eae@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, mark fast/dom/HTMLTemplateElement/inertContents.html as flaky on mac debug.

  • platform/chromium/TestExpectations:
11:35 AM Changeset in webkit [136542] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed, rolling out r136530.
http://trac.webkit.org/changeset/136530

Broke build.webkit.org linux build

  • DEPS:
11:35 AM Changeset in webkit [136541] by fmalita@chromium.org
  • 4 edits
    2 adds in trunk

Stale SVGUseElement reference in CachedResource::checkNotify()
https://bugs.webkit.org/show_bug.cgi?id=104004

Reviewed by Eric Seidel.

Source/WebCore:

SVGUseElement tracks one CachedSVGDocument at a time (for external references), but when
the href attribute is updated it fails to unregister with the current CachedSVGDocument
and only updates its CachedSVGDocument with the new instance. This leaves an untracked
reference with the original CachedSVGDocument.

The patch adds the missing removeClient() call on href change, and encapsulates the
CachedSVGDocument manipulation in a helper method which handles the necessary cleanup.

Test: svg/custom/use-href-update-crash.svg

  • svg/SVGUseElement.cpp:

(WebCore::SVGUseElement::~SVGUseElement):
(WebCore::SVGUseElement::svgAttributeChanged):
(WebCore::SVGUseElement::setCachedDocument):
(WebCore):

  • svg/SVGUseElement.h:

(SVGUseElement):

LayoutTests:

  • svg/custom/use-href-update-crash-expected.txt: Added.
  • svg/custom/use-href-update-crash.svg: Added.
11:29 AM Changeset in webkit [136540] by alexis@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Can't take a heap snapshot in chromium ("Uncaught ReferenceError")
https://bugs.webkit.org/show_bug.cgi?id=103997

Patch by Yury Semikhatsky <yurys@chromium.org> on 2012-12-04
Reviewed by Pavel Feldman.

utilities.js used in both page and worker contexts should not access window
object as there is no one in case of workers. NonLeakingMutationObserver implementation
has moved to DOMExtension.js

  • inspector/front-end/DOMExtension.js:

(NonLeakingMutationObserver.NonLeakingMutationObserver._unloadListener):
(NonLeakingMutationObserver):
(NonLeakingMutationObserver.prototype.observe):
(NonLeakingMutationObserver.prototype.disconnect):

  • inspector/front-end/utilities.js:
11:29 AM Changeset in webkit [136539] by fpizlo@apple.com
  • 15 edits in trunk/Source

Replace JSValue::description() with JSValue::dump(PrintStream&)
https://bugs.webkit.org/show_bug.cgi?id=103866

Reviewed by Darin Adler.

Source/JavaScriptCore:

JSValue now has a dump() method. Anywhere that you would have wanted to use
description(), you can either do toCString(value).data(), or if the callee
is a print()/dataLog() method then you just pass the value directly.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • bytecode/CodeBlock.cpp:

(JSC::valueToSourceString):
(JSC::CodeBlock::finalizeUnconditionally):

  • bytecode/ValueProfile.h:

(JSC::ValueProfileBase::dump):

  • bytecode/ValueRecovery.h:

(JSC::ValueRecovery::dump):

  • dfg/DFGAbstractValue.h:

(JSC::DFG::AbstractValue::dump):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dump):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::dumpRegisters):

  • jsc.cpp:

(functionDescribe):

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::llint_trace_value):

  • runtime/JSValue.cpp:

(JSC::JSValue::dump):

  • runtime/JSValue.h:

Source/WTF:

Make it easier to get a String from a StringPrintStream.

  • wtf/StringPrintStream.cpp:

(WTF::StringPrintStream::toString):

  • wtf/StringPrintStream.h:

(StringPrintStream):
(WTF::toString):

11:28 AM Changeset in webkit [136538] by Lucas Forschler
  • 2 edits in tags/Safari-537.20.2/Source/WebKit2

Merged r136302. <rdar://problem/12790268>

11:25 AM Changeset in webkit [136537] by Lucas Forschler
  • 4 edits in tags/Safari-537.20.2/Source

Versioning.

11:25 AM Changeset in webkit [136536] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

jsc command line tool's support for typed arrays should be robust against array buffer allocation errors
https://bugs.webkit.org/show_bug.cgi?id=104020
<rdar://problem/12802478>

Reviewed by Mark Hahnenberg.

Check for null buffers, since that's what typed array allocators are supposed to do. WebCore does it,
and that is indeed the contract of ArrayBuffer and TypedArrayBase.

  • JSCTypedArrayStubs.h:

(JSC):

11:21 AM Changeset in webkit [136535] by Lucas Forschler
  • 1 copy in tags/Safari-537.20.2

New Tag.

11:04 AM Changeset in webkit [136534] by yurys@chromium.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: Can't take a heap snapshot in chromium ("Uncaught ReferenceError")
https://bugs.webkit.org/show_bug.cgi?id=103997

Reviewed by Pavel Feldman.

utilities.js used in both page and worker contexts should not access window
object as there is no one in case of workers. NonLeakingMutationObserver implementation
has moved to DOMExtension.js

  • inspector/front-end/DOMExtension.js:

(NonLeakingMutationObserver.NonLeakingMutationObserver._unloadListener):
(NonLeakingMutationObserver):
(NonLeakingMutationObserver.prototype.observe):
(NonLeakingMutationObserver.prototype.disconnect):

  • inspector/front-end/utilities.js:
10:59 AM Changeset in webkit [136533] by ap@apple.com
  • 9 edits in trunk/Source/WebKit2

[WK2] Track private browsing session explicitly
<rdar://problem/12714532>
https://bugs.webkit.org/show_bug.cgi?id=103953

Reviewed by Jessie Berlin.

  • Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): Fixed a confusing ifdef - this code is inside PLATFORM(WIN), so PLATFORM(MAC) makes no sense.
  • UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetPrivateBrowsingEnabled): This is the only place in WK2 where we can learn that private browsing got disabled - no other functions are called when there are no pages open.
  • UIProcess/WebContext.h:
  • UIProcess/WebContext.cpp: (WebKit::WebContext::willStartUsingPrivateBrowsing): (WebKit::WebContext::willStopUsingPrivateBrowsing): Count the number of API calls. We only implement a single shared private browsing session, not one per page group as API implies. When private browsing gets disabled, we want to destroy its session.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Ensure a private browsing session if the current page needs it.
  • WebProcess/WebProcess.h:
  • WebProcess/WebProcess.messages.in:
  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::ensurePrivateBrowsingSession): (WebKit::WebProcess::destroyPrivateBrowsingSession): Call through to WebFrameNetworkingContext.
10:58 AM Changeset in webkit [136532] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

Missing -expected.txt files for new <track> tests
https://bugs.webkit.org/show_bug.cgi?id=104006

Patch by Antoine Quint <Antoine Quint> on 2012-12-04
Reviewed by Eric Carlson.

Add the missing -expected.txt files.

  • media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
10:52 AM Changeset in webkit [136531] by commit-queue@webkit.org
  • 4 edits in trunk

Unreviewed, rolling out r136509.
http://trac.webkit.org/changeset/136509
https://bugs.webkit.org/show_bug.cgi?id=104015

broke layout tests (Requested by eae on #webkit).

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

Source/WebCore:

  • platform/graphics/IntSize.h:

(WebCore::IntSize::scale):

LayoutTests:

  • platform/efl-wk2/TestExpectations:
10:49 AM Changeset in webkit [136530] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

  • DEPS:
10:47 AM Changeset in webkit [136529] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/chromium

[chromium] fix showFPScounter and showPaintRects not toggleable after page change
https://bugs.webkit.org/show_bug.cgi?id=103937

Patch by Eberhard Graether <egraether@google.com> on 2012-12-04
Reviewed by Pavel Feldman.

This change avoids updating the WebSettings and uses fields for showFPSCounter and
showPaintRects in WebViewImpl instead, which hold the values between InspectorPageAgent::restore()
and WebViewImpl::setIsAcceleratedCompositingActive().

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setShowFPSCounter):
(WebKit::WebViewImpl::setShowPaintRects):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):

  • src/WebViewImpl.h:
10:47 AM Changeset in webkit [136528] by dino@apple.com
  • 11 edits in trunk

INVALID_STATE_ERR error upon calling .addCue() for an already-in-use cue
https://bugs.webkit.org/show_bug.cgi?id=103264

Patch by Antoine Quint <Antoine Quint> on 2012-12-04
Reviewed by Eric Carlson.

Source/WebCore:

Adhere to the latest spec for TextTrack's .addCue() method. This also fixes
https://bugs.webkit.org/show_bug.cgi?id=103265 and we've removed
media/track/opera/interfaces/TextTrack/addCue.html from the Skipped list.

  • html/track/TextTrack.cpp:

(WebCore::TextTrack::addCue):

  • html/track/TextTrack.h:

(TextTrack):

  • html/track/TextTrack.idl:

LayoutTests:

Stop skipping media/track/opera/interfaces/TextTrack/addCue.html as it now mostly passes, the remaining issue
being tracked by https://bugs.webkit.org/show_bug.cgi?id=103258.

  • media/track/opera/interfaces/TextTrack/addCue-expected.txt: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
10:34 AM Changeset in webkit [136527] by mkwst@chromium.org
  • 10 edits in trunk

Log to console when forms and popups are blocked by 'sandbox'.
https://bugs.webkit.org/show_bug.cgi?id=103615

Reviewed by Adam Barth.

Source/WebCore:

Adds two console messages to cover form submissions blocked by a
sandboxed frame lacking the 'allow-forms' permission, and window
creation blocked by a sandboxed frame lacking the 'allow-popups'
permission.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::submitForm):

Log a warning when form submission is blocked by sandboxing flags.

(WebCore::createWindow):

Log a warning when window.open is blocked due to sandboxing flags.

LayoutTests:

  • fast/frames/sandboxed-iframe-attribute-parsing-expected.txt:
  • fast/frames/sandboxed-iframe-forms-dynamic-expected.txt:
  • fast/frames/sandboxed-iframe-forms-expected.txt:
  • fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt:
  • fast/frames/sandboxed-iframe-navigation-windowopen-expected.txt:
  • http/tests/security/no-popup-from-sandbox.html:
  • http/tests/security/popup-allowed-by-sandbox-is-sandboxed.html:

Updating effected tests with new console warnings.

10:28 AM Changeset in webkit [136526] by haraken@chromium.org
  • 8 edits in trunk/Source/WebCore

[V8] Make v8::Null(isolate) faster by caching the value in V8 bindings
https://bugs.webkit.org/show_bug.cgi?id=103862

Reviewed by Adam Barth.

Performance comparison between V8 and JSC revealed that DOM attributes
that return v8::Null(isolate) are much slower than JSC.
(https://docs.google.com/a/chromium.org/spreadsheet/ccc?key=0AlobCOyvTnPKdDg5S0dMdGRGRTRSaW53V1ppVzh6eXc#gid=2)

We can optimize v8::Null(isolate) by caching the value to V8PerIsolateData.
(Although I don't like the optimization, it looks difficult to optimize
v8::Null(isolate) more.)

[Bindings/undefined-first-child.html]
Before: 969 runs/sec, 970 runs/sec, 962 runs/sec
After: 1086 runs/sec, 1085 runs/sec, 1086 runs/sec

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):
(GenerateNormalAttrGetter):
(GenerateFunctionCallback):
(NativeToJSValue):

  • bindings/scripts/test/V8/V8TestNode.h:

(WebCore::toV8Fast):

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

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

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

(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetter):

  • bindings/v8/V8Binding.h:

(WebCore):
(WebCore::v8Null):
(WebCore::v8NullWithCheck):

  • bindings/v8/V8PerIsolateData.cpp:

(WebCore::V8PerIsolateData::V8PerIsolateData):

  • bindings/v8/V8PerIsolateData.h:

(WebCore::V8PerIsolateData::v8Null):
(V8PerIsolateData):

10:24 AM Changeset in webkit [136525] by alexis@webkit.org
  • 2 edits in trunk/Source/WebCore

Add an helper function in CSSParser to check for '/' character.
https://bugs.webkit.org/show_bug.cgi?id=104009

Reviewed by Ryosuke Niwa.

I'm about to add the same pattern in a following patch. Let's do an
helper function first. We also did that for the comma. The slash
character is pretty used in shorthands definitions.

No new tests : just a refactor, existing tests should cover.

  • css/CSSParser.cpp:

(WebCore::isForwardSlashOperator):
(WebCore):
(WebCore::CSSParser::parseFillShorthand):
(WebCore::CSSParser::parseFont):
(WebCore::CSSParser::parseBorderImage):
(WebCore::CSSParser::parseAspectRatio):

10:22 AM Changeset in webkit [136524] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Add a Chromium Android Release (Perf) to the list of perf. bots.

  • BuildSlaveSupport/build.webkit.org-config/templates/root.html:
10:13 AM Changeset in webkit [136523] by eae@chromium.org
  • 6 edits
    2 adds
    1 delete in trunk/LayoutTests

Unreviewed chromium rebaseline for r136508.

  • platform/chromium-linux/compositing/masks/masked-ancestor-expected.png:
  • platform/chromium-mac-lion/compositing/masks/masked-ancestor-expected.png:
  • platform/chromium-mac-snowleopard/compositing/masks/masked-ancestor-expected.png:
  • platform/chromium-mac/compositing/masks/masked-ancestor-expected.png:
  • platform/chromium-win/compositing/masks/masked-ancestor-expected.png:
  • platform/efl-wk1/compositing/masks: Added.
  • platform/efl-wk1/compositing/masks/masked-ancestor-expected.png: Added.
  • platform/efl/compositing/masks/masked-ancestor-expected.png: Removed.
10:12 AM Changeset in webkit [136522] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

[GTK] Insert the jhbuild wrapper command at the beginning of the command list
https://bugs.webkit.org/show_bug.cgi?id=103991

Reviewed by Martin Robinson.

Insert the Tools/gtk/run-with-jhbuild wrapper at the beginning of the
command that's being formed in multiprocessing bootstrap. The wrapper is
an executable Python script while the command being wrapped perhaps isn't
and therefore requires the Python interpreter to be listed at the beginning
of the command sublist that is then executed by the wrapper.

Specifically, the webkitpy/layout_tests/run_webkit_tests.py module file
is about to lose the executable bit and the Python-signaling shebang line.
The Jhbuild wrapper simply executes the command that's passed, but that errs
in this case unless the Python executable is executed and the module file
is passed to it as an argument.

  • Scripts/webkitpy/common/multiprocessing_bootstrap.py:

(run):

10:04 AM Changeset in webkit [136521] by commit-queue@webkit.org
  • 13 edits
    7 adds in trunk

Inspector: Introduce Input.dispatchKeyEvent and DOM.focus for typing simulation.
https://bugs.webkit.org/show_bug.cgi?id=103530

Patch by Ken Kania <kkania@chromium.org> on 2012-12-04
Reviewed by Yury Semikhatsky.

Input.dispatchKeyEvent simply calls EventHandler::keyEvent with the key event data
from the command parameters. The client will be responsible for providing proper
events to simulate desired typing behavior.
DOM.focus calls focus on a dom element.

Source/WebCore:

Tests: inspector-protocol/dom-focus.html

inspector-protocol/input-dispatchKeyEvent.html

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • inspector/Inspector.json:
  • inspector/InspectorAllInOne.cpp:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::focus):
(WebCore):
(WebCore::InspectorDOMAgent::resolveNode):

  • inspector/InspectorDOMAgent.h:

(InspectorDOMAgent):

  • inspector/InspectorInputAgent.cpp: Added.

(WebCore):
(WebCore::InspectorInputAgent::InspectorInputAgent):
(WebCore::InspectorInputAgent::~InspectorInputAgent):
(WebCore::InspectorInputAgent::dispatchKeyEvent):

  • inspector/InspectorInputAgent.h: Added.

(WebCore):
(InspectorInputAgent):
(WebCore::InspectorInputAgent::create):

LayoutTests:

  • inspector-protocol/dom-focus-expected.txt: Added.
  • inspector-protocol/dom-focus.html: Added.
  • inspector-protocol/input/dispatchKeyEvent-expected.txt: Added.
  • inspector-protocol/input/dispatchKeyEvent.html: Added.
9:58 AM Changeset in webkit [136520] by mitz@apple.com
  • 33 edits in trunk/Source/WebCore

FontPlatformData has unnecessary m_textOrientation member
https://bugs.webkit.org/show_bug.cgi?id=103971

Reviewed by Darin Adler.

Nothing in SimpleFontData depends on the FontPlatformData’s textOrientation, so we don’t
need separate data for vertical-right and upright. We simply choose between
verticalRightOrientationFontData() and uprightOrientationFontData() based on the
textOrientation in the FontDescription.

  • WebCore.exp.in: Updated FontPlatformData constructor exports.
  • css/CSSFontFaceSource.cpp:

(WebCore::CSSFontFaceSource::getFontData): Removed the text orientation bit from the hash key,
and updated for the removal of the TextOrientation parameter to
CachedFont::platformDataFromCustomData().

  • loader/cache/CachedFont.cpp:

(WebCore::CachedFont::platformDataFromCustomData): Removed the TextOrientation parameter.

  • loader/cache/CachedFont.h:
  • platform/graphics/FontCache.cpp:

(WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey): Removed the TextOrientation
parameter and initializer.
(WebCore::FontPlatformDataCacheKey::operator==): Updated for removal of m_textOrientation
member variable.
(FontPlatformDataCacheKey): Removed m_textOrientation member variable.
(WebCore::computeHash): Removed text orientation bit from the hash.
(WebCore::FontCache::getCachedFontPlatformData): Updated for FontPlatformDataCacheKey
change.

  • platform/graphics/FontPlatformData.cpp:

(WebCore::FontPlatformData::FontPlatformData): Removed TextOrientation parameters and
initializers.
(WebCore::FontPlatformData::operator=): Updated for removal of m_textOrientation
member variable.

  • platform/graphics/FontPlatformData.h:

(FontPlatformData): Removed m_textOrientation member variable, removed TextOrientation
parameters from constructors.
(WebCore::FontPlatformData::hash): Removed text orientation bit.
(WebCore::FontPlatformData::operator==): Updated for removed member variable.

  • platform/graphics/cairo/FontCustomPlatformData.h:

(FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/chromium/FontCacheAndroid.cpp:

(WebCore::FontCache::createFontPlatformData): Updated for FontPlatformData change.

  • platform/graphics/cocoa/FontPlatformDataCocoa.mm:

(WebCore::FontPlatformData::FontPlatformData): Removed TextOrientation parameter and
initializer.

  • platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:

(WebCore::FontPlatformData::FontPlatformData): Removed TextOrientation parameter and
initializers.
(WebCore::FontPlatformData::operator=): Updated for removed member variable.
(WebCore::FontPlatformData::operator==): Ditto.
(WebCore::FontPlatformData::hash): Removed text orientation bit.

  • platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:

(FontPlatformData): Removed TextOrientation parameter from the constructor declaration.

  • platform/graphics/mac/FontCacheMac.mm:

(WebCore::FontCache::createFontPlatformData): Updated for FontPlatformData change.

  • platform/graphics/mac/FontCustomPlatformData.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/mac/FontCustomPlatformData.h:

(FontCustomPlatformData): Removed TextOrientation parameter from declaration of
fontPlatformData().

  • platform/graphics/mac/SimpleFontDataMac.mm:

(WebCore::SimpleFontData::getCompositeFontReferenceFontData): Updated for FontPlatformData
change.

  • platform/graphics/pango/FontCustomPlatformDataPango.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/qt/FontCustomPlatformData.h:
  • platform/graphics/qt/FontCustomPlatformDataQt.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Ditto.

  • platform/graphics/skia/FontCacheSkia.cpp:

(WebCore::FontCache::createFontPlatformData): Updated for FontPlatformData change.

  • platform/graphics/skia/FontCustomPlatformData.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/skia/FontCustomPlatformData.h:
  • platform/graphics/win/FontCustomPlatformData.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/win/FontCustomPlatformData.h:
  • platform/graphics/win/FontCustomPlatformDataCairo.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/win/FontCustomPlatformDataCairo.h:
  • platform/graphics/win/FontPlatformDataCGWin.cpp:

(WebCore::FontPlatformData::FontPlatformData): Removed m_textOrientation initializer.

  • platform/graphics/win/FontPlatformDataCairoWin.cpp:

(WebCore::FontPlatformData::FontPlatformData): Ditto.

  • platform/graphics/win/FontPlatformDataWin.cpp:

(WebCore::FontPlatformData::FontPlatformData): Ditto.

  • platform/graphics/wince/FontCustomPlatformData.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Removed TextOrientation parameter.

  • platform/graphics/wince/FontCustomPlatformData.h:
9:54 AM Changeset in webkit [136519] by eae@chromium.org
  • 1 edit
    6 adds
    7 deletes in trunk/LayoutTests

Unreviewed mathml rebaseline.

  • platform/chromium-linux-x86/mathml/presentation/sub-expected.txt: Removed.
  • platform/chromium-mac-lion/mathml/presentation/sub-expected.txt: Removed.
  • platform/chromium/mathml/presentation/sub-expected.txt: Removed.
  • platform/efl-wk1/mathml: Added.
  • platform/efl-wk1/mathml/presentation: Added.
  • platform/efl-wk1/mathml/presentation/roots-expected.txt: Added.
  • platform/efl-wk1/mathml/presentation/row-alignment-expected.txt: Added.
  • platform/efl-wk1/mathml/presentation/sub-expected.txt: Added.
  • platform/efl-wk1/mathml/presentation/subsup-expected.txt: Added.
  • platform/efl/mathml/presentation/roots-expected.txt: Removed.
  • platform/efl/mathml/presentation/row-alignment-expected.txt: Removed.
  • platform/efl/mathml/presentation/sub-expected.txt: Removed.
  • platform/efl/mathml/presentation/subsup-expected.txt: Removed.
9:47 AM Changeset in webkit [136518] by eae@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, skip new broken tests in chromium.

  • platform/chromium/TestExpectations:
9:41 AM Changeset in webkit [136517] by eae@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed chromium expectations update, mark unskipped svg tests as slow.

  • platform/chromium/TestExpectations:
9:39 AM Changeset in webkit [136516] by creis@chromium.org
  • 7 edits in trunk/Source

Add FrameLoaderClient::didDisownOpener
https://bugs.webkit.org/show_bug.cgi?id=103789

Reviewed by Darin Fisher.

Source/WebCore:

Adds a didDisownOwner notification when a frame's opener is cleared,
so that FrameLoaderClients can react.

No new tests.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::setOpener): Calls didDisownOpener if opener is cleared.

  • loader/FrameLoaderClient.h:

(FrameLoaderClient):
(WebCore::FrameLoaderClient::didDisownOpener):

Source/WebKit/chromium:

Forwards the didDisownOpener notification to the WebFrameClient.

  • public/WebFrameClient.h:

(WebFrameClient):
(WebKit::WebFrameClient::didDisownOpener):

  • src/FrameLoaderClientImpl.cpp:

(WebKit::FrameLoaderClientImpl::didDisownOpener):
(WebKit):

  • src/FrameLoaderClientImpl.h:

(FrameLoaderClientImpl):

9:39 AM Changeset in webkit [136515] by peter@chromium.org
  • 3 edits in trunk/Tools

Add the Chromium Android Release (Perf) bot
https://bugs.webkit.org/show_bug.cgi?id=103891

Reviewed by Eric Seidel.

Add configuration for the bot itself. It will be triggered by the Chromium
Android Release builder. When running for Android, the DownloadAndPerfTest
factory will also add the OutputAndroidDeviceStatus step.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(DownloadAndPerfTestFactory.init):

9:32 AM Changeset in webkit [136514] by eae@chromium.org
  • 6 edits
    46 adds
    8 deletes in trunk/LayoutTests

Unreviewed chromium rebaseline for r136506 and 136502.

  • platform/chromium-linux/compositing/absolute-position-changed-with-composited-parent-layer-expected.png: Removed.
  • platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Removed.
  • platform/chromium-linux/media/track/opera: Added.
  • platform/chromium-linux/media/track/opera/interfaces: Added.
  • platform/chromium-linux/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-linux/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-linux/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-linux/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-linux/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/chromium-mac-lion/media/track/opera: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-mac-lion/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/chromium-mac-snowleopard/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Removed.
  • platform/chromium-mac-snowleopard/media/track/opera: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-mac-snowleopard/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/chromium-mac/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png:
  • platform/chromium-mac/compositing/repaint/newly-composited-on-scroll-expected.png:
  • platform/chromium-mac/media/track/opera: Added.
  • platform/chromium-mac/media/track/opera/interfaces: Added.
  • platform/chromium-mac/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-mac/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-mac/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-mac/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-mac/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Removed.
  • platform/chromium-win-xp/media/track/opera: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-win-xp/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/chromium-win/compositing/absolute-position-changed-with-composited-parent-layer-expected.png: Removed.
  • platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png:
  • platform/chromium-win/compositing/iframes/composited-iframe-alignment-expected.png:
  • platform/chromium-win/compositing/reflections/reflection-in-composited-expected.png:
  • platform/chromium-win/media/track/opera: Added.
  • platform/chromium-win/media/track/opera/interfaces: Added.
  • platform/chromium-win/media/track/opera/interfaces/HTMLElement: Added.
  • platform/chromium-win/media/track/opera/interfaces/HTMLElement/HTMLMediaElement: Added.
  • platform/chromium-win/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack-expected.txt: Added.
  • platform/chromium-win/media/track/opera/interfaces/TextTrack: Added.
  • platform/chromium-win/media/track/opera/interfaces/TextTrack/kind-expected.txt: Added.
  • platform/efl-wk1/compositing/iframes: Added.
  • platform/efl-wk1/compositing/iframes/composited-iframe-alignment-expected.png: Added.
  • platform/efl-wk1/compositing/reflections/reflection-in-composited-expected.png: Added.
  • platform/efl-wk1/compositing/repaint/newly-composited-on-scroll-expected.png: Added.
  • platform/efl/compositing/iframes/composited-iframe-alignment-expected.png: Removed.
  • platform/efl/compositing/reflections/reflection-in-composited-expected.png: Removed.
  • platform/efl/compositing/repaint/newly-composited-on-scroll-expected.png: Removed.
8:58 AM Changeset in webkit [136513] by robert@webkit.org
  • 3 edits
    2 adds in trunk

Redrawing issue with inserting new inline element between existing inline elements
https://bugs.webkit.org/show_bug.cgi?id=50315

Reviewed by Levi Weintraub.

Source/WebCore:

When inserting an element such as '<span>text<br></span>' between two lineboxes, the second of which has leading space
collapsed away after a line-break, dirtyLinesFromChangeChild() needs to ensure that the linebox the fragment is inserted into (the second
of the two lineboxes) gets dirtied.

Since the element has been inserted before the first element in the linebox, but after the collapsed leading
space, the search for the new element's linebox will go past the leading space to the previous linebox and select that
one by mistake.

So in order to ensure the element's linebox is dirtied make sure its previous sibling is not the line-break object of the
linebox we selected when searching for a linebox to dirty. If the previous sibling is the linebox's line-break object then
the element is in the one after the one we selected and we should dirty that linebox too.

Test: fast/inline/layout-after-inserting-nested-br.html

  • rendering/RenderLineBoxList.cpp:

(WebCore::RenderLineBoxList::dirtyLinesFromChangedChild):

LayoutTests:

  • fast/inline/layout-after-inserting-nested-br-expected.html: Added.
  • fast/inline/layout-after-inserting-nested-br.html: Added.
8:53 AM Changeset in webkit [136512] by mifenton@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Remove assert and fix conditional for out of bounds requests in InputHandler::spannableTextInRange
https://bugs.webkit.org/show_bug.cgi?id=104001

Reviewed by Rob Buis.

PR 257723.

Remove assert and update early return to allow out of bounds
request at end of field.

Reviewed Internally by Gen Mak.

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::spannableTextInRange):

8:52 AM Changeset in webkit [136511] by commit-queue@webkit.org
  • 2 edits in trunk/Source/Platform

Gut WebRenderingStats since we no longer use its member variables.
https://bugs.webkit.org/show_bug.cgi?id=103460

Patch by Glenn Hartmann <hartmanng@chromium.org> on 2012-12-04
Reviewed by Darin Fisher.

This was used as an intermediate location to move stats from
chromium's RenderStats. The chromium code has been updated to
remove this dependency (see https://codereview.chromium.org/11364221/).

  • chromium/public/WebRenderingStats.h:

(WebKit::WebRenderingStats::WebRenderingStats):

8:25 AM Changeset in webkit [136510] by peter@chromium.org
  • 2 edits in trunk/Tools

[Chromium] The ChromiumAndroidDriver constructor should not rely on adb being available
https://bugs.webkit.org/show_bug.cgi?id=103758

Reviewed by Eric Seidel.

Lazily initialize the adb command parameters rather than initializing it in the
constructor now that there is an assert if adb is not available on the system and
we're not in a Chromium Android checkout.

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

(ChromiumAndroidDriver.init):
(ChromiumAndroidDriver._push_file_if_needed):
(ChromiumAndroidDriver._run_adb_command):
(ChromiumAndroidDriver.cmd_line):
(ChromiumAndroidDriver._start_once):
(ChromiumAndroidDriver._read_prompt):
(ChromiumAndroidDriver):
(ChromiumAndroidDriver._adb_command):

7:41 AM Changeset in webkit [136509] by commit-queue@webkit.org
  • 4 edits in trunk

IntSize::scale() should return rounded value
https://bugs.webkit.org/show_bug.cgi?id=103984

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-12-04
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

IntSize::scale() is now rounding float value to the nearest integer instead of blind type casting.

Test: css3/device-adapt/viewport-width-not-affecting-next-page.html

  • platform/graphics/IntSize.h:

(WebCore::IntSize::scale):

LayoutTests:

Test css3/device-adapt/viewport-width-not-affecting-next-page.html is not flaky any more.

  • platform/efl-wk2/TestExpectations:
7:19 AM Changeset in webkit [136508] by schenney@chromium.org
  • 4 edits in trunk

[chromium] Turn on the new Skia mask blur algorithm.
https://bugs.webkit.org/show_bug.cgi?id=103906

Unreviewed roll out.

The previous patch was premature and is causing issues rolling skia deps and Chromium deps.

Source/WebKit/chromium:

  • skia_webkit.gyp:

LayoutTests:

  • platform/chromium/TestExpectations:
6:56 AM Changeset in webkit [136507] by adam.bergkvist@ericsson.com
  • 13 edits in trunk/Source/WebCore

Add support for generic types in arrays and sequences to the code generators
https://bugs.webkit.org/show_bug.cgi?id=103642

Reviewed by Kentaro Hara.

Updated the bindings generators to support arrays and sequences of host objects.

  • Arrays and sequences of host objects are mapped to Vector<RefPtr<%RefPtrType%> >.
  • Fixed issue where "sequence<String>" was used in IDL files instead of "sequence<DOMString>".

Updated existing test results.

  • Modules/indexeddb/IDBDatabase.idl:
  • Modules/indexeddb/IDBObjectStore.idl:
  • Modules/mediastream/RTCStatsElement.idl:
  • Modules/websockets/WebSocket.idl:
  • bindings/js/JSDOMBinding.h:

(WebCore::toRefPtrNativeArray):
(WebCore):

  • bindings/scripts/CodeGenerator.pm:

(IsRefPtrType):

  • bindings/scripts/CodeGeneratorJS.pm:

(AddIncludesForType):
(GetNativeType):
(GetNativeVectorInnerType):
(JSValueToNative):
(NativeToJSValue):

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateParametersCheckExpression):
(GenerateFunctionCallString):
(GetNativeType):
(JSValueToNative):
(CreateCustomSignature):
(NativeToJSValue):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):

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

(WebCore::TestObjV8Internal::longLongAttrAttrSetter):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetter):
(WebCore::TestObjV8Internal::methodWithSequenceArgCallback):
(WebCore::TestObjV8Internal::overloadedMethod10Callback):

  • bindings/v8/V8Binding.h:

(WebCore::toRefPtrNativeArray):

  • testing/Internals.idl:
5:38 AM Changeset in webkit [136506] by commit-queue@webkit.org
  • 10 edits in trunk

TextTrack's .kind property should return lower-case values
https://bugs.webkit.org/show_bug.cgi?id=103411

Patch by Antoine Quint <Antoine Quint> on 2012-12-04
Reviewed by Eric Carlson.

Source/WebCore:

While the HTML "kind" attribute on the <track> element allows upper-case values, the related APIs
on HTMLMediaElement and TextTrack expect only to deal with lower-case values. As such, we're updating
TextTrack::isValidKindKeyword() to be case-sensitive and ensure that values fed from the DOM (the values
read from HTML attributes) are lower-case'd.

Thanks to this fix, we're no longer skipping media/track/opera/interfaces/TextTrack/kind.html and
media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack.html

This patch also fixes https://bugs.webkit.org/show_bug.cgi?id=103256.

  • html/HTMLTrackElement.cpp:

(WebCore::HTMLTrackElement::parseAttribute):
(WebCore::HTMLTrackElement::ensureTrack):

  • html/track/TextTrack.cpp:

(WebCore::TextTrack::isValidKindKeyword):

LayoutTests:

Stop skipping passing tests.

  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
5:30 AM Changeset in webkit [136505] by commit-queue@webkit.org
  • 30 edits in trunk/Source/WebCore

Unreviewed, rolling out r136498.
http://trac.webkit.org/changeset/136498
https://bugs.webkit.org/show_bug.cgi?id=103992

Patch causes a lot of tests to crash in GTK+ bots (Requested
by KaL on #webkit).

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

  • bindings/scripts/CodeGeneratorGObject.pm:

(GenerateProperties):
(GenerateHeader):
(GenerateCFile):
(GenerateEventTargetIface):
(WriteData):

  • bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp:

(WebKit::core):
(WebKit::wrapFloat64Array):
(webkit_dom_float64array_finalize):
(webkit_dom_float64array_class_init):
(webkit_dom_float64array_init):

  • bindings/scripts/test/GObject/WebKitDOMFloat64Array.h:
  • bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp:

(WebKit::core):
(WebKit::wrapTestActiveDOMObject):
(webkit_dom_test_active_dom_object_finalize):
(webkit_dom_test_active_dom_object_class_init):
(webkit_dom_test_active_dom_object_init):

  • bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h:
  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:

(WebKit::core):
(WebKit::wrapTestCallback):
(webkit_dom_test_callback_finalize):
(webkit_dom_test_callback_class_init):
(webkit_dom_test_callback_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
  • bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp:

(WebKit::core):
(WebKit::wrapTestCustomNamedGetter):
(webkit_dom_test_custom_named_getter_finalize):
(webkit_dom_test_custom_named_getter_class_init):
(webkit_dom_test_custom_named_getter_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h:
  • bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp:

(WebKit::core):
(WebKit::wrapTestEventConstructor):
(webkit_dom_test_event_constructor_finalize):
(webkit_dom_test_event_constructor_class_init):
(webkit_dom_test_event_constructor_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h:
  • bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp:

(WebKit::core):
(WebKit::wrapTestEventTarget):
(webkit_dom_test_event_target_dispatch_event):
(webkit_dom_test_event_target_add_event_listener):
(webkit_dom_test_event_target_remove_event_listener):
(webkit_dom_test_event_target_finalize):
(webkit_dom_test_event_target_class_init):
(webkit_dom_test_event_target_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h:
  • bindings/scripts/test/GObject/WebKitDOMTestException.cpp:

(WebKit::core):
(WebKit::wrapTestException):
(webkit_dom_test_exception_finalize):
(webkit_dom_test_exception_class_init):
(webkit_dom_test_exception_init):

  • bindings/scripts/test/GObject/WebKitDOMTestException.h:
  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:

(WebKit::core):
(WebKit::wrapTestInterface):
(webkit_dom_test_interface_finalize):
(webkit_dom_test_interface_class_init):
(webkit_dom_test_interface_init):

  • bindings/scripts/test/GObject/WebKitDOMTestInterface.h:
  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:

(WebKit::core):
(WebKit::wrapTestMediaQueryListListener):
(webkit_dom_test_media_query_list_listener_finalize):
(webkit_dom_test_media_query_list_listener_class_init):
(webkit_dom_test_media_query_list_listener_init):

  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
  • bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp:

(WebKit::core):
(WebKit::wrapTestNamedConstructor):
(webkit_dom_test_named_constructor_finalize):
(webkit_dom_test_named_constructor_class_init):
(webkit_dom_test_named_constructor_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h:
  • bindings/scripts/test/GObject/WebKitDOMTestNode.cpp:

(WebKit::core):
(WebKit::wrapTestNode):
(webkit_dom_test_node_dispatch_event):
(webkit_dom_test_node_add_event_listener):
(webkit_dom_test_node_remove_event_listener):
(webkit_dom_test_node_finalize):
(webkit_dom_test_node_class_init):
(webkit_dom_test_node_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNode.h:
  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:

(WebKit::core):
(WebKit::wrapTestObj):
(webkit_dom_test_obj_finalize):
(webkit_dom_test_obj_class_init):
(webkit_dom_test_obj_init):

  • bindings/scripts/test/GObject/WebKitDOMTestObj.h:
  • bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.cpp:

(WebKit::core):
(WebKit::wrapTestOverloadedConstructors):
(webkit_dom_test_overloaded_constructors_finalize):
(webkit_dom_test_overloaded_constructors_class_init):
(webkit_dom_test_overloaded_constructors_init):

  • bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h:
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:

(WebKit::core):
(WebKit::wrapTestSerializedScriptValueInterface):
(webkit_dom_test_serialized_script_value_interface_finalize):
(webkit_dom_test_serialized_script_value_interface_class_init):
(webkit_dom_test_serialized_script_value_interface_init):

  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
5:15 AM Changeset in webkit [136504] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit2

[EFL][WK2] Add APIs to toggle plug-ins support.
https://bugs.webkit.org/show_bug.cgi?id=101920

Patch by Yuni Jeong <yhnet.jung@samsung.com> on 2012-12-04
Reviewed by Gyuyoung Kim.

Add setting APIs to toggle plug-ins support and add corresponding API tests.

  • UIProcess/API/efl/ewk_settings.cpp:

(ewk_settings_plugins_enabled_set):
(ewk_settings_plugins_enabled_get):

  • UIProcess/API/efl/ewk_settings.h:
  • UIProcess/API/efl/tests/test_ewk2_settings.cpp:

(TEST_F):

5:05 AM Changeset in webkit [136503] by jpetsovits@rim.com
  • 5 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Store rendered regions in pixel contents coordinates.
https://bugs.webkit.org/show_bug.cgi?id=103930
PR 253496

Reviewed by Rob Buis.
Internally reviewed by Adam Treat.

Previously, the rendered region of a tile used to be
stored in coordinates relative to the tile origin.
This brings no benefits whatsoever and causes a lot
of unnecessary transformations, together with the
potential of incorrectly transforming rendered regions.

By storing the rendered region as what it is,
everything is more compact, easier to understand
and easier to use with other existing functionality.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::isCurrentVisibleJob):
(BlackBerry::WebKit::BackingStorePrivate::render):
(BlackBerry::WebKit::BackingStorePrivate::renderVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::copyPreviousContentsToTileBuffer):
(BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::compositeContents):
(BlackBerry::WebKit::BackingStorePrivate::blitTileRect):
(BlackBerry::WebKit::BackingStorePrivate::isTileVisible):
(BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
(BlackBerry::WebKit::BackingStorePrivate::tileVisibleContentsRect):
(BlackBerry::WebKit::BackingStorePrivate::tileContentsRect):
(BlackBerry::WebKit::BackingStorePrivate::updateTiles):
(BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::mapFromPixelContentsToTiles):
(BlackBerry::WebKit::BackingStorePrivate::transformChanged):
(BlackBerry::WebKit::BackingStorePrivate::blitToWindow):

  • Api/BackingStore_p.h:

(BackingStorePrivate):

  • WebKitSupport/BackingStoreTile.cpp:

(BlackBerry::WebKit::TileBuffer::surfaceRect):
(BlackBerry::WebKit::TileBuffer::pixelContentsRect):
(WebKit):
(BlackBerry::WebKit::TileBuffer::isRendered):
(BlackBerry::WebKit::TileBuffer::notRenderedRegion):

  • WebKitSupport/BackingStoreTile.h:

(TileBuffer):

4:34 AM Changeset in webkit [136502] by commit-queue@webkit.org
  • 20 edits in trunk

Source/WebCore: Web Inspector: Viewport console warnings cleanup.
https://bugs.webkit.org/show_bug.cgi?id=102890

Patch by Markus Heintz <markusheintz@chromium.org> on 2012-12-04
Reviewed by Jochen Eisinger.

Improve the console message text for a viewport console warning and
change the log level to warning.

No new tests added, as this change is covered by updates to existing
test expectations.

  • dom/ViewportArguments.cpp:

(WebCore::viewportErrorMessageTemplate):

Improve the console message text for invalid values.

(WebCore::viewportErrorMessageLevel):

Upgraded the TruncatedViewportArgumentValueError and the
TargetDensityDpiUnsupported messages's MessageLeval to warning.

(WebCore::reportViewportWarning):

Adding only a comment for a FIXIT reminder.

LayoutTests: Web Inspector: Updating test expectations after viewport console warnings cleanup.
https://bugs.webkit.org/show_bug.cgi?id=102890

Patch by Markus Heintz <markusheintz@chromium.org> on 2012-12-04
Reviewed by Jochen Eisinger.

Updating test expectations after improving the console message text
for a viewport console warning and change the log level to warning.

  • fast/viewport/viewport-121-expected.txt:
  • fast/viewport/viewport-122-expected.txt:
  • fast/viewport/viewport-125-expected.txt:
  • fast/viewport/viewport-126-expected.txt:
  • fast/viewport/viewport-127-expected.txt:
  • fast/viewport/viewport-134-expected.txt:
  • fast/viewport/viewport-52-expected.txt:
  • fast/viewport/viewport-53-expected.txt:
  • fast/viewport/viewport-54-expected.txt:
  • fast/viewport/viewport-55-expected.txt:
  • fast/viewport/viewport-77-expected.txt:
  • fast/viewport/viewport-83-expected.txt:
  • fast/viewport/viewport-84-expected.txt:
  • fast/viewport/viewport-87-expected.txt:
  • fast/viewport/viewport-warnings-3-expected.txt:
  • fast/viewport/viewport-warnings-5-expected.txt:
  • fast/viewport/viewport-warnings-6-expected.txt:
3:59 AM Changeset in webkit [136501] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Update flaky tests' expectations.

3:40 AM Changeset in webkit [136500] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebKit2

[Qt][WK2] Do not override previously set flags of QQuickWebView when enabling drag&drop
https://bugs.webkit.org/show_bug.cgi?id=103901

Reviewed by Jocelyn Turcotte.

Setting the specific flag instead of resetting all the flags
when enabling QQuickItem::ItemAcceptsDrops.
This fixes clipping of the contents of QQuickWebView.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewPrivate::initialize):

3:36 AM Changeset in webkit [136499] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Mark css3/filters/effect-reference-hw.html and
css3/filters/effect-reference-ordering-hw.html as crash.

3:10 AM Changeset in webkit [136498] by Carlos Garcia Campos
  • 30 edits in trunk/Source/WebCore

[GTK] Use a private struct and placement new syntax in GObject DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=101074

Reviewed by Xan Lopez.

It allows to use RefPtr for the wrapped object and it simplifies
the code.

  • bindings/scripts/CodeGeneratorGObject.pm:

(GenerateProperties):
(GenerateHeader):
(GenerateCFile):
(GenerateEventTargetIface):
(WriteData):

  • bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp:

(_WebKitDOMFloat64ArrayPrivate):
(WebKit::core):
(WebKit::wrapFloat64Array):
(webkit_dom_float64array_finalize):
(webkit_dom_float64array_constructor):
(webkit_dom_float64array_class_init):
(webkit_dom_float64array_init):

  • bindings/scripts/test/GObject/WebKitDOMFloat64Array.h:

(_WebKitDOMFloat64Array):

  • bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp:

(_WebKitDOMTestActiveDOMObjectPrivate):
(WebKit::core):
(WebKit::wrapTestActiveDOMObject):
(webkit_dom_test_active_dom_object_finalize):
(webkit_dom_test_active_dom_object_constructor):
(webkit_dom_test_active_dom_object_class_init):
(webkit_dom_test_active_dom_object_init):

  • bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h:

(_WebKitDOMTestActiveDOMObject):

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:

(_WebKitDOMTestCallbackPrivate):
(WebKit::core):
(WebKit::wrapTestCallback):
(webkit_dom_test_callback_finalize):
(webkit_dom_test_callback_constructor):
(webkit_dom_test_callback_class_init):
(webkit_dom_test_callback_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.h:

(_WebKitDOMTestCallback):

  • bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp:

(_WebKitDOMTestCustomNamedGetterPrivate):
(WebKit::core):
(WebKit::wrapTestCustomNamedGetter):
(webkit_dom_test_custom_named_getter_finalize):
(webkit_dom_test_custom_named_getter_constructor):
(webkit_dom_test_custom_named_getter_class_init):
(webkit_dom_test_custom_named_getter_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h:

(_WebKitDOMTestCustomNamedGetter):

  • bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp:

(_WebKitDOMTestEventConstructorPrivate):
(WebKit::core):
(WebKit::wrapTestEventConstructor):
(webkit_dom_test_event_constructor_finalize):
(webkit_dom_test_event_constructor_constructor):
(webkit_dom_test_event_constructor_class_init):
(webkit_dom_test_event_constructor_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h:

(_WebKitDOMTestEventConstructor):

  • bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp:

(_WebKitDOMTestEventTargetPrivate):
(WebKit::core):
(WebKit::wrapTestEventTarget):
(webkit_dom_test_event_target_dispatch_event):
(webkit_dom_test_event_target_add_event_listener):
(webkit_dom_test_event_target_remove_event_listener):
(webkit_dom_test_event_target_finalize):
(webkit_dom_test_event_target_constructor):
(webkit_dom_test_event_target_class_init):
(webkit_dom_test_event_target_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h:

(_WebKitDOMTestEventTarget):

  • bindings/scripts/test/GObject/WebKitDOMTestException.cpp:

(_WebKitDOMTestExceptionPrivate):
(WebKit::core):
(WebKit::wrapTestException):
(webkit_dom_test_exception_finalize):
(webkit_dom_test_exception_constructor):
(webkit_dom_test_exception_class_init):
(webkit_dom_test_exception_init):

  • bindings/scripts/test/GObject/WebKitDOMTestException.h:

(_WebKitDOMTestException):

  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:

(_WebKitDOMTestInterfacePrivate):
(WebKit::core):
(WebKit::wrapTestInterface):
(webkit_dom_test_interface_finalize):
(webkit_dom_test_interface_constructor):
(webkit_dom_test_interface_class_init):
(webkit_dom_test_interface_init):

  • bindings/scripts/test/GObject/WebKitDOMTestInterface.h:

(_WebKitDOMTestInterface):

  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:

(_WebKitDOMTestMediaQueryListListenerPrivate):
(WebKit::core):
(WebKit::wrapTestMediaQueryListListener):
(webkit_dom_test_media_query_list_listener_finalize):
(webkit_dom_test_media_query_list_listener_constructor):
(webkit_dom_test_media_query_list_listener_class_init):
(webkit_dom_test_media_query_list_listener_init):

  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:

(_WebKitDOMTestMediaQueryListListener):

  • bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp:

(_WebKitDOMTestNamedConstructorPrivate):
(WebKit::core):
(WebKit::wrapTestNamedConstructor):
(webkit_dom_test_named_constructor_finalize):
(webkit_dom_test_named_constructor_constructor):
(webkit_dom_test_named_constructor_class_init):
(webkit_dom_test_named_constructor_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h:

(_WebKitDOMTestNamedConstructor):

  • bindings/scripts/test/GObject/WebKitDOMTestNode.cpp:

(_WebKitDOMTestNodePrivate):
(WebKit::core):
(WebKit::wrapTestNode):
(webkit_dom_test_node_dispatch_event):
(webkit_dom_test_node_add_event_listener):
(webkit_dom_test_node_remove_event_listener):
(webkit_dom_test_node_finalize):
(webkit_dom_test_node_constructor):
(webkit_dom_test_node_class_init):
(webkit_dom_test_node_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNode.h:

(_WebKitDOMTestNode):

  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:

(_WebKitDOMTestObjPrivate):
(WebKit::core):
(WebKit::wrapTestObj):
(webkit_dom_test_obj_finalize):
(webkit_dom_test_obj_constructor):
(webkit_dom_test_obj_class_init):
(webkit_dom_test_obj_init):

  • bindings/scripts/test/GObject/WebKitDOMTestObj.h:

(_WebKitDOMTestObj):

  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:

(_WebKitDOMTestSerializedScriptValueInterfacePrivate):
(WebKit::core):
(WebKit::wrapTestSerializedScriptValueInterface):
(webkit_dom_test_serialized_script_value_interface_finalize):
(webkit_dom_test_serialized_script_value_interface_constructor):
(webkit_dom_test_serialized_script_value_interface_class_init):
(webkit_dom_test_serialized_script_value_interface_init):

  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:

(_WebKitDOMTestSerializedScriptValueInterface):

3:04 AM Changeset in webkit [136497] by dgrogan@chromium.org
  • 2 edits in trunk/Source/WebCore

IndexedDB: Make leveldb histogram entries more fine-grained
https://bugs.webkit.org/show_bug.cgi?id=103688

Reviewed by Tony Chang.

Allow us better insight into which functions the IO errors originate
from.

  • Modules/indexeddb/IDBBackingStore.cpp:

(WebCore::setUpMetadata):
(WebCore::IDBBackingStore::getIDBDatabaseMetaData):
(WebCore::IDBBackingStore::getObjectStores):
(WebCore::IDBBackingStore::getRecord):
(WebCore::IDBBackingStore::getKeyGeneratorCurrentNumber):
(WebCore::IDBBackingStore::keyExistsInObjectStore):
(WebCore::IDBBackingStore::getIndexes):
(WebCore::IDBBackingStore::findKeyInIndex):
(WebCore::ObjectStoreKeyCursorImpl::loadCurrentRow):
(WebCore::ObjectStoreCursorImpl::loadCurrentRow):
(WebCore::IndexKeyCursorImpl::loadCurrentRow):
(WebCore::IndexCursorImpl::loadCurrentRow):

2:49 AM Changeset in webkit [136496] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening.

Adding failure expectations for the sixth and seventh SVG viewspec tests.

  • platform/gtk/TestExpectations:
2:33 AM Changeset in webkit [136495] by pierre.rossi@gmail.com
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Yet another unreviewed speculative windows build fix.

WebKit2 relies on the QWEBKIT_EXPORT macro from WebKit1 as well.

  • Api/qwebkitglobal.h:
2:32 AM Changeset in webkit [136494] by Carlos Garcia Campos
  • 7 edits in trunk/Source

[GTK] Avoid unnecessary heap allocations during drag and drop operations
https://bugs.webkit.org/show_bug.cgi?id=87938

Reviewed by Martin Robinson.

Source/WebCore:

  • platform/gtk/GtkDragAndDropHelper.cpp:

(WebCore::GtkDragAndDropHelper::handleDragMotion): Return a
pointer to the DataObjectGtk so that the caller can create the
DragData object in the stack.
(WebCore::GtkDragAndDropHelper::handleDragDataReceived): Ditto.
(WebCore::GtkDragAndDropHelper::handleDragDrop): Ditto.

  • platform/gtk/GtkDragAndDropHelper.h:

Source/WebKit/gtk:

  • webkit/webkitwebview.cpp:

(webkit_web_view_drag_motion): Create DragData for the given
DataObjectGtk in the stack.
(webkit_web_view_drag_data_received): Ditto.
(webkit_web_view_drag_drop): Ditto.

Source/WebKit2:

  • UIProcess/API/gtk/WebKitWebViewBase.cpp:

(webkitWebViewBaseDragDataReceived): Create DragData for the given
DataObjectGtk in the stack.
(webkitWebViewBaseDragMotion): Ditto.
(webkitWebViewBaseDragDrop): Ditto.

2:25 AM Changeset in webkit [136493] by apavlov@chromium.org
  • 12 edits
    2 adds in trunk

Web Inspector: [Overrides] Add ability to override the page CSS media type
https://bugs.webkit.org/show_bug.cgi?id=103752

Reviewed by Pavel Feldman.

Source/WebCore:

This change emulates the CSS media types through the instrumentation of FrameView::mediaType().
Even though it already checks the associated FrameLoaderClient::overrideMediaType(), instrumenting
every single platform FrameLoaderClient implementation out there seems wrong.

Test: inspector/styles/media-emulation.html

  • English.lproj/localizedStrings.js:
  • inspector/Inspector.json: Add Page.setEmulatedMedia().
  • inspector/InspectorInstrumentation.cpp:

(WebCore::InspectorInstrumentation::applyEmulatedMediaImpl): Added.

  • inspector/InspectorInstrumentation.h:

(WebCore::InspectorInstrumentation::applyEmulatedMedia): Added.

  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::restore): Restores the media emulation state.
(WebCore::InspectorPageAgent::disable): Resets the media emulation state.
(WebCore::InspectorPageAgent::setEmulatedMedia): Added.
(WebCore::InspectorPageAgent::applyEmulatedMedia): Applies the emulated CSS media if needed.

  • inspector/InspectorPageAgent.h:
  • inspector/front-end/CSSStyleModel.js: Add the list of media types.
  • inspector/front-end/OverridesView.js: Add the CSS media type override UI.

(WebInspector.OverridesView):
(WebInspector.OverridesView.prototype._createMediaEmulationElement): Builds the UI.
(WebInspector.OverridesView.prototype._emulateMediaChanged): Handles the control value changes.

  • inspector/front-end/Settings.js: Add the "emulatedCSSMedia" setting.
  • page/FrameView.cpp:

(WebCore::FrameView::mediaType):

Uses InspectorInstrumentation::applyEmulatedMedia() to provide the emulated value.

LayoutTests:

The test invokes PageAgent.setEmulatedMedia() and emits the WebInspector.cssModel.mediaQueryResultChanged() signal.

  • inspector/styles/media-emulation-expected.txt: Added.
  • inspector/styles/media-emulation.html: Added.
2:00 AM Changeset in webkit [136492] by rniwa@webkit.org
  • 11 edits in trunk

PerformanceTests: Dromaeo should report individual test result
https://bugs.webkit.org/show_bug.cgi?id=99800

Reviewed by Eric Seidel.

Made one small modification to Droameo's webrunner.js so that it reports individual runs/s values
for each subtest. This allows us to compute the aggregated run/s for each iteration like other
performance tests.

Also stop measuring memory usage in Dromaeo tests because some Dromaeo tests (e.g. jslib-modify-jquery)
have unrealistic memory usage, and measuring them at the time of teardown doesn't make much sense.

  • Animation/balls.html: Fixed typo: measureValueAync.
  • Dromaeo/resources/dromaeo/web/webrunner.js:
  • Dromaeo/resources/dromaeorunner.js:

(DRT.setup): Call prepareToMeasureValuesAsync so that DRT.teardown can use meausreValueAsync, and log
"Running 5 times". Since the log container will be inserted before iframe, we need to explicitly insert
the iframe as the first child of the body element to avoid logs from affecting the iframe's position.
Also specify the number of iterations by calling PerfTestRunner.iterationCount() so that we may adjust
the number of iterations in PerfTestRunner.

(DRT.progress): Log individual measurement for each subtest.
(DRT.teardown): Compute the aggregated result for each iteration, and log them using measureValueAsync.

  • resources/runner.js:

(PerfTestRunner.logStatistics): Merged printStatistics since it's no longer needed after r131638.
(PerfTestRunner): Removed getAndPrintMemoryStatistics since it was used only in Dromaeo tests but
we no longer measure memory usage in Dromaeo tests.

(start): Increment completedRuns from -1 to 0 for Dromaeo tests where we don't want to ignore the initial
measurement. Note that ignoreWarmUpAndLog ignores the measurements for which completedRuns is negative.

(ignoreWarmUpAndLog): We don't measure memory usage in Dromaeo tests. See above.
(PerfTestRunner.iterationCount): Added. This abstraction allows us to auto-adjust the number of iterations from
run-perf-tests in near future.
(PerfTestRunner.measureValueAsync): Renamed from measureValueAync.

Tools: Dromaeo should report individual test result
https://bugs.webkit.org/show_bug.cgi?id=99800

Reviewed by Eric Seidel.

Ignore subtest results spit out by Dromaeo tests.

  • Scripts/webkitpy/performance_tests/perftest.py:

(PerfTest): Added a line to ignore.

  • Scripts/webkitpy/performance_tests/perftest_unittest.py:

(MainTest.test_parse_output_with_subtests): Added.

LayoutTests: Fix a test and re-enable fast/harness/perftests on Chromium.

  • fast/harness/perftests/runs-per-second-log.html:
  • platform/chromium/TestExpectations:
1:42 AM Changeset in webkit [136491] by Carlos Garcia Campos
  • 16 edits in trunk/Source/WebCore

[GTK] Simplify GObject DOM bindings code for handling properties
https://bugs.webkit.org/show_bug.cgi?id=101072

Reviewed by Xan Lopez.

Do not override GObjectClass::set_property if the wrapped object
doesn't have writable properties, and don't override
GObjectClass::get_property if the wrapped object doesn't have
properties at all. It reduces some GObject boilerplate in
generated code for some objects.

  • bindings/scripts/CodeGeneratorGObject.pm:

(GenerateProperties):

  • bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp:

(webkit_dom_float64array_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp:

(webkit_dom_test_active_dom_object_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:

(webkit_dom_test_callback_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp:

(webkit_dom_test_custom_named_getter_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp:

(webkit_dom_test_event_constructor_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp:

(webkit_dom_test_event_target_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestException.cpp:

(webkit_dom_test_exception_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:

(webkit_dom_test_interface_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:

(webkit_dom_test_media_query_list_listener_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp:

(webkit_dom_test_named_constructor_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestNode.cpp:

(webkit_dom_test_node_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:

(webkit_dom_test_obj_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:

(webkit_dom_test_serialized_script_value_interface_class_init):

1:35 AM Changeset in webkit [136490] by haraken@chromium.org
  • 2 edits in trunk/Source/WebCore

Unreviewed. Rebaselined run-bindings-tests.

  • bindings/scripts/test/JS/JSTestNode.cpp:

(WebCore::JSTestNode::visitChildren):
(WebCore):

1:33 AM Changeset in webkit [136489] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Updated about 200 tests' expectations, because the tests were
reported as "expected to XXX, but YYY".

1:18 AM Changeset in webkit [136488] by apavlov@chromium.org
  • 6 edits in trunk

Web Inspector: [REGRESSION] [Styles] Rule disappears if edited selector does not affect selected node
https://bugs.webkit.org/show_bug.cgi?id=103059

Reviewed by Pavel Feldman.

Source/WebCore:

This change effectively turns WebInspector.cssModel.setRuleSelector() into a _userOperation
(in terms of StylesSidebarPane), which finishes upon the _finishOperationAndMoveEditor() invocation.

  • inspector/front-end/CSSStyleModel.js:

(WebInspector.CSSRule): Fix selectorText now that r136370 has landed.

  • inspector/front-end/StylesSidebarPane.js:

(WebInspector.StylePropertiesSection.prototype.update): Update the selector text from the model.
(WebInspector.StylePropertiesSection.prototype._markSelectorMatches): Set the "selector" className regardless of the matched selectors presence.
(WebInspector.StylePropertiesSection.prototype.successCallback): Make use of the _userOperation flag.
(WebInspector.StylePropertiesSection.prototype.finishOperationAndMoveEditor): Delete the _userOperation flag.
(WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted): Make use of the _userOperation flag.
(WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommitted): Mark selector matches.
(WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCancelled): Delete the _userOperation flag.

LayoutTests:

  • http/tests/inspector/elements-test.js:

(initialize_ElementTest.InspectorTest.dumpSelectedElementStyles):

Add dumping of the [no-affect] flag for rules not affecting the currently selected element.

  • inspector/styles/commit-selector-expected.txt: Rebaseline.
1:12 AM Changeset in webkit [136487] by commit-queue@webkit.org
  • 6 edits in trunk

[EFL][WK2][AC] USE_GRAPHICS_SURFACE should be enabled only if Xcomposite and Xrender extensions are found.
https://bugs.webkit.org/show_bug.cgi?id=103710.

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2012-12-04
Reviewed by Kenneth Rohde Christiansen.

When using GLX back-end we are dependent on GLX support, Xcomposite and Xrender extensions.
In this case, GraphicsSurface usage depends on Xcomposite and Xrender extensions.
USE_GRAPHICS_SURFACE should be enabled only if Xcomposite and Xrender extensions are found.

.:

  • Source/cmake/OptionsEfl.cmake:

Source/WebCore:

  • platform/graphics/opengl/GLPlatformSurface.cpp:

(WebCore::GLPlatformSurface::createTransportSurface):

  • platform/graphics/surfaces/glx/GLXSurface.cpp:

(WebCore):

  • platform/graphics/surfaces/glx/GLXSurface.h:

(WebCore::SharedX11Resources::createConfig):
(SharedX11Resources):

12:52 AM Changeset in webkit [136486] by commit-queue@webkit.org
  • 13 edits
    4 adds in trunk/LayoutTests

Make svg/dom/viewspec-parser-*.html non-flaky
https://bugs.webkit.org/show_bug.cgi?id=103744

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-04
Reviewed by Dirk Schulze.

Modified viewspec-parser-*.html in two ways:

  • remove duplicate testing: the five files were all running the exact same tests (only a few percent were unique).
  • move the test division out of viewspec-parser.js to make it more visible, divide the tests into logical sets.
  • platform/efl-wk2/TestExpectations:
  • svg/dom/resources/viewspec-parser.js:

(startViewspecTests):

  • svg/dom/viewspec-parser-1-expected.txt:
  • svg/dom/viewspec-parser-1.html:
  • svg/dom/viewspec-parser-2-expected.txt:
  • svg/dom/viewspec-parser-2.html:
  • svg/dom/viewspec-parser-3-expected.txt:
  • svg/dom/viewspec-parser-3.html:
  • svg/dom/viewspec-parser-4-expected.txt:
  • svg/dom/viewspec-parser-4.html:
  • svg/dom/viewspec-parser-5-expected.txt:
  • svg/dom/viewspec-parser-5.html:
  • svg/dom/viewspec-parser-6-expected.txt: Added.
  • svg/dom/viewspec-parser-6.html: Added.
  • svg/dom/viewspec-parser-7-expected.txt: Added.
  • svg/dom/viewspec-parser-7.html: Added.
12:33 AM Changeset in webkit [136485] by commit-queue@webkit.org
  • 14 edits in trunk/Source/WebKit2

[EFL][WK2] Use consistent class names inside Ewk classes
https://bugs.webkit.org/show_bug.cgi?id=103015

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2012-12-04
Reviewed by Gyuyoung Kim.

WebKit EFL doesn't use '_' in class names.
This patch removes the remaining uses of '_' inside Ewk classes.

  • UIProcess/API/efl/EwkViewImpl.cpp:

(EwkViewImpl::EwkViewImpl):
(EwkViewImpl::~EwkViewImpl):
(EwkViewImpl::informIconChange):
(EwkViewImpl::requestColorPicker):
(EwkViewImpl::requestPopupMenu):

  • UIProcess/API/efl/ewk_back_forward_list.cpp:

(EwkBackForwardList::nextItem):
(EwkBackForwardList::previousItem):
(EwkBackForwardList::currentItem):
(EwkBackForwardList::itemAt):
(EwkBackForwardList::getFromCacheOrCreate):
(EwkBackForwardList::createEinaList):

  • UIProcess/API/efl/ewk_back_forward_list_private.h:

(EwkBackForwardList):

  • UIProcess/API/efl/ewk_context.cpp:

(EwkContext::EwkContext):
(EwkContext::cookieManager):
(EwkContext::databaseManager):
(EwkContext::ensureFaviconDatabase):
(EwkContext::faviconDatabase):
(EwkContext::storageManager):

  • UIProcess/API/efl/ewk_context_private.h:

(EwkContext):

  • UIProcess/API/efl/ewk_cookie_manager.cpp:

(EwkCookieManager::cookiesDidChange):
(getAcceptPolicyCallback):
(getHostnamesWithCookiesCallback):

  • UIProcess/API/efl/ewk_cookie_manager_private.h:

(EwkCookieManager::create):

  • UIProcess/API/efl/ewk_database_manager.cpp:

(EwkDatabaseManager::createOriginList):
(getDatabaseOriginsCallback):

  • UIProcess/API/efl/ewk_database_manager_private.h:

(EwkDatabaseManager):

  • UIProcess/API/efl/ewk_favicon_database.cpp:

(EwkFaviconDatabase::didChangeIconForPageURL):
(EwkFaviconDatabase::iconDataReadyForPageURL):

  • UIProcess/API/efl/ewk_popup_menu.cpp:

(EwkPopupMenu::EwkPopupMenu):
(EwkPopupMenu::~EwkPopupMenu):

  • UIProcess/API/efl/ewk_storage_manager.cpp:

(EwkStorageManager::createOriginList):
(getStorageOriginsCallback):

  • UIProcess/API/efl/ewk_storage_manager_private.h:

(EwkStorageManager):

12:28 AM Changeset in webkit [136484] by jpetsovits@rim.com
  • 5 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Use updated API for backingstore tiles.
https://bugs.webkit.org/show_bug.cgi?id=103970
PR 212369

Reviewed by George Staikos.
Internally reviewed by Arvid Nilsson.

We now make use of Platform::Settings::tileSize() in the
backingstore and don't hardcode the number of back buffers
like we used to.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::bestDivisor):
(BlackBerry::WebKit::BackingStorePrivate::tileWidth):
(BlackBerry::WebKit::BackingStorePrivate::tileHeight):
(BlackBerry::WebKit::BackingStorePrivate::tileSize):

  • WebKitSupport/AboutData.cpp:

(BlackBerry::WebKit::configPage):

  • WebKitSupport/SurfacePool.cpp:

(BlackBerry::WebKit::SurfacePool::SurfacePool):
(BlackBerry::WebKit::SurfacePool::numberOfBackingStoreFrontBuffers):
(BlackBerry::WebKit::SurfacePool::initialize):

  • WebKitSupport/SurfacePool.h:

(SurfacePool):

12:08 AM Changeset in webkit [136483] by jpetsovits@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] On taking over a backingstore, reset the previous page's tiles.
https://bugs.webkit.org/show_bug.cgi?id=103969
RIM PR 253496

Reviewed by George Staikos.

With buffers being explicitly reclaimed from backingstore
geometries, we have to make sure that the previously
active backingstore releases its front buffers for use
in the newly active one.

Previously, this clearing of backingstore tiles occurred
after the dormant backingstore is reactivated,
the backingstore active in the meantime would just use
the back buffer anyway and leave the dormant one with
dangling pointers that would just not be shown.
Now that we have a counted list of back buffers,
we need to be explicit about this thing upfront.

Fixes a crash that would occur after switching ownership
of the backingstore to a different WebPage.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):

12:06 AM Changeset in webkit [136482] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[JSC] Generate visitChildren() for uncustomized EventTarget interfaces
https://bugs.webkit.org/show_bug.cgi?id=103908

Patch by Michael Pruett <michael@68k.org> on 2012-12-04
Reviewed by Geoffrey Garen.

CodeGeneratorJS.pm should automatically generate visitChildren()
for EventTarget interfaces without custom mark functions even if
those interfaces have no functions or cached attributes.

This change is needed for IDBOpenDBRequest and IDBVersionChangeRequest.

No new tests. Covered by existing tests.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):

12:04 AM Changeset in webkit [136481] by haraken@chromium.org
  • 2 edits in trunk/Source/WebCore

Change ChildNodeInsertionNotifier::m_postInsertionsNotificationTargets from a Vector to an OwnPtr
https://bugs.webkit.org/show_bug.cgi?id=103868

Reviewed by Darin Adler.

ChildNodeInsertionNotifier::m_postInsertionsNotificationTargets is
used for HTMLFrameElement and HTMLBodyElement only, which would be
a cold path. We can change it from a Vector to an OwnPtr<Vector>
so that ChildNodeInsertionNotifier can be allocated faster. This patch
optimizes Dromaeo/dom-modify by 1.4%.

[Dromaeo/dom-modify in Chromium/Linux]
Before: 4532 runs/sec, 4545 runs/sec, 4530 runs/sec, 4536 runs/sec
After: 4595 runs/sec, 4606 runs/sec, 4597 runs/sec, 4602 runs/sec

No tests. No change in behavior.

  • dom/ContainerNodeAlgorithms.h:

(ChildNodeInsertionNotifier):
(WebCore::ChildNodeInsertionNotifier::notifyNodeInsertedIntoDocument):
(WebCore::ChildNodeInsertionNotifier::notifyNodeInsertedIntoTree):
(WebCore::ChildNodeInsertionNotifier::notify):

Dec 3, 2012:

11:48 PM Changeset in webkit [136480] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Unreviewed build fix after r136467

The template element patch added asserts in parserAppendChild and parserInsertBefore which should be valid, but DOMImplementation::createDocument() calls parserAppendChild with docType without regard to its owner. This patch removes the assert and adds a FIXME.

Patch by Rafael Weinstein <rafaelw@chromium.org> on 2012-12-03

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::parserInsertBefore):
(WebCore::ContainerNode::parserAppendChild):

11:41 PM Changeset in webkit [136479] by haraken@chromium.org
  • 2 edits in trunk/Source/WebCore

[V8] Enter an Isolate before initializing PerIsolateData
https://bugs.webkit.org/show_bug.cgi?id=103949

Reviewed by Adam Barth.

Currently we initialize PerIsolateData before entering an Isolate,
which prevents us from using an Isolate in the PerIsolateData
constructor. We should enter an Isolate first and then initialize
PerIsolateData.

No tests. No change in behavior.

  • bindings/v8/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::WorkerScriptController):

11:37 PM Changeset in webkit [136478] by Nate Chapin
  • 2 edits in trunk/LayoutTests

svg/foreignObject/viewport-foreignObject-crash.html recurses infinitely sometimes
https://bugs.webkit.org/show_bug.cgi?id=103935.

Reviewed by Abhishek Arya.

  • svg/foreignObject/viewport-foreignobject-crash.html:
11:36 PM Changeset in webkit [136477] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

Coordinated Graphics: Reorder messages to LayerTreeCoordinatorProxy
https://bugs.webkit.org/show_bug.cgi?id=103843

Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-03
Reviewed by Noam Rosenthal.

Remove updateViewport() in LayerTreeCoordinatorProxy::setRootCompositingLayer()
because LayerTreeCoordinatorProxy::didRenderFrame() is always called after
setting the root layer. There is no behaviour changes because setting the root
layer isn't actually applied to TextureMapperLayer until DidRenderFrame message
is received.

This is in preparation for refactoring TextureMapper to work in an actor
model (http://webkit.org/b/103854).

  • UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:

(WebKit::LayerTreeCoordinatorProxy::setRootCompositingLayer):

  • WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:

(WebKit::LayerTreeCoordinator::flushPendingLayerChanges):

11:35 PM Changeset in webkit [136476] by sergio@webkit.org
  • 2 edits in trunk/Source/WebCore

[GTK] Add WebKitDOMShadowRoot.h to the list of public API headers after r135693
https://bugs.webkit.org/show_bug.cgi?id=103909

Reviewed by Martin Robinson.

WebKitDOMShadowRoot was added in r135693. As it is added to
webkitdom.h we have to export the include file, otherwise clients
will fail to build due to the missing file.

  • bindings/gobject/GNUmakefile.am:
11:17 PM Changeset in webkit [136475] by jsbell@chromium.org
  • 15 edits in trunk

IndexedDB: Correct database version after aborted upgrade
https://bugs.webkit.org/show_bug.cgi?id=103763

Reviewed by Tony Chang.

Source/WebCore:

After an aborted "versionchange" transaction, the IDBDatabase would fetch a fresh snapshot
of the metadata from the back end. If the back end had already started a new "versionchange"
transaction the snapshot would be bogus. Instead, save a copy of the IDBDatabase's metadata
and roll back to that, as is done for IDBObjectStore.

Tests: storage/indexeddb/intversion-abort-in-initial-upgradeneeded.html

storage/indexeddb/mozilla/versionchange-abort.html
storage/indexeddb/unblocked-version-changes.html

  • Modules/indexeddb/IDBDatabase.cpp:

(WebCore::IDBDatabase::IDBDatabase):
(WebCore::IDBDatabase::transactionCreated):

  • Modules/indexeddb/IDBDatabase.h:

(WebCore::IDBDatabase::setMetadata): Let IDBOpenDBRequest and IDBTransaction tinker.

  • Modules/indexeddb/IDBOpenDBRequest.cpp:

(WebCore::IDBOpenDBRequest::onUpgradeNeeded): Fetch new and compute old metadata.
(WebCore::IDBOpenDBRequest::onSuccess): Fetch new metadata, in case upgrade changed it.

  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::create): Stash the old metadata, in case of rollback.
(WebCore::IDBTransaction::IDBTransaction):
(WebCore::IDBTransaction::onAbort): Revert the database as well as the stores.

  • Modules/indexeddb/IDBTransaction.h:

(IDBTransaction):

Source/WebKit/chromium:

Pass previously created proxy along in an open onSuccess, rather than a useless wrapper.

  • src/WebIDBCallbacksImpl.cpp:

(WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
(WebKit::WebIDBCallbacksImpl::onSuccess):
(WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):

  • src/WebIDBCallbacksImpl.h:

(WebCore):
(WebIDBCallbacksImpl):

LayoutTests:

Update test expectations and tweak a test so it's testing what it claimed.

  • storage/indexeddb/intversion-abort-in-initial-upgradeneeded-expected.txt:
  • storage/indexeddb/mozilla/resources/versionchange-abort.js:

(postAbort):

  • storage/indexeddb/mozilla/versionchange-abort-expected.txt:
  • storage/indexeddb/resources/unblocked-version-changes.js:

(onUpgradeNeeded):

  • storage/indexeddb/unblocked-version-changes-expected.txt:
10:59 PM Changeset in webkit [136474] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

Unreviewed, functionality fix after r136437.

Calling sys.exit actually raises a SystemExit exception that
is then handled in the second block and causes the script to
return an 'exceptional' exit code rather than the code presenting
the number of failed tests.

This is just a temporary fix to get the faultless bots green while
they are unnecessarily red at the moment. The problem and a proper
fix will be properly addressed.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
8:41 PM Changeset in webkit [136473] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed. Gardening of Apple Windows port.
https://bugs.webkit.org/show_bug.cgi?id=102603.

  • platform/win/TestExpectations:
8:31 PM Changeset in webkit [136472] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed gardening of Apple Windows Port.
https://bugs.webkit.org/show_bug.cgi?id=97026

  • platform/win/TestExpectations:
8:25 PM Changeset in webkit [136471] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Marked the following tests as crash timeout for Android:
media/encrypted-media/encrypted-media-syntax.html,
media/encrypted-media/encrypted-media-events.html, and
media/encrypted-media/encrypted-media-not-loaded.html.

7:58 PM Changeset in webkit [136470] by roger_fong@apple.com
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed. Removing expected failing results for Windows port. Test now works.
https://bugs.webkit.org/show_bug.cgi?id=51469

  • platform/win/fast/js/large-expressions-expected.txt: Removed.
7:53 PM Changeset in webkit [136469] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed. Skip fast/js/kde/Array.html.
https://bugs.webkit.org/show_bug.cgi?id=103962.

  • platform/win/TestExpectations:
7:44 PM Changeset in webkit [136468] by roger_fong@apple.com
  • 3 edits in trunk/LayoutTests

Unreviewed. Line ending fix.

  • platform/win/css3/filters/effect-reference-expected.txt:
  • platform/win/css3/filters/effect-reference-hw-expected.txt:
7:19 PM EFLWebKitCodingStyle edited by halton.huo@gmail.com
(diff)
7:09 PM Changeset in webkit [136467] by rafaelw@chromium.org
  • 34 edits
    17 adds in trunk

Implement HTMLTemplateElement
https://bugs.webkit.org/show_bug.cgi?id=86031

Reviewed by Adam Barth.

Source/WebCore:

Initial implementation. This patch includes the parser changes, new IDL and element implementation for <template>.

Spec: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html

Tests: fast/dom/HTMLTemplateElement/cloneNode.html

fast/dom/HTMLTemplateElement/inertContents.html
fast/dom/HTMLTemplateElement/innerHTML.html
fast/dom/HTMLTemplateElement/ownerDocument.html
html5lib/run-template.html

  • WebCore.gypi:
  • css/html.css:

(template):

  • dom/Document.cpp:

(WebCore):
(WebCore::Document::templateContentsOwnerDocument):

  • dom/Document.h:

(Document):

  • editing/MarkupAccumulator.cpp:

(WebCore::MarkupAccumulator::serializeNodesWithNamespaces):

  • html/HTMLElement.h:

(HTMLElement):

  • html/HTMLElementsAllInOne.cpp:
  • html/HTMLTagNames.in:
  • html/HTMLTemplateElement.cpp: Added.

(WebCore):
(WebCore::HTMLTemplateElement::HTMLTemplateElement):
(WebCore::HTMLTemplateElement::setInnerHTML):
(WebCore::HTMLTemplateElement::~HTMLTemplateElement):
(WebCore::HTMLTemplateElement::create):
(WebCore::HTMLTemplateElement::content):
(WebCore::HTMLTemplateElement::setContent):
(WebCore::toHTMLTemplateElement):

  • html/HTMLTemplateElement.h: Added.

(WebCore):
(HTMLTemplateElement):
(WebCore::toHTMLTemplateElement):

  • html/HTMLTemplateElement.idl: Added.
  • html/parser/HTMLConstructionSite.cpp:

(WebCore::executeTask):
(WebCore::HTMLConstructionSite::insertComment):
(WebCore::HTMLConstructionSite::insertTextNode):
(WebCore::HTMLConstructionSite::createElement):
(WebCore::HTMLConstructionSite::ownerDocumentForCurrentNode):
(WebCore):
(WebCore::HTMLConstructionSite::createHTMLElement):
(WebCore::HTMLConstructionSite::findFosterSite):

  • html/parser/HTMLConstructionSite.h:

(HTMLConstructionSite):

  • html/parser/HTMLElementStack.cpp:

(WebCore):
(WebCore::HTMLElementStack::hasTemplateInHTMLScope):

  • html/parser/HTMLElementStack.h:

(HTMLElementStack):

  • html/parser/HTMLTreeBuilder.cpp:

(WebCore::HTMLTreeBuilder::constructTreeFromToken):
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore):
(WebCore::HTMLTreeBuilder::processTemplateEndTag):
(WebCore::HTMLTreeBuilder::processStartTagForInTable):
(WebCore::HTMLTreeBuilder::processStartTag):
(WebCore::HTMLTreeBuilder::processHtmlStartTagForInBody):
(WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
(WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
(WebCore::HTMLTreeBuilder::processEndTagForInRow):
(WebCore::HTMLTreeBuilder::processEndTagForInCell):
(WebCore::HTMLTreeBuilder::processEndTagForInBody):
(WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
(WebCore::HTMLTreeBuilder::processTableEndTagForInTable):
(WebCore::HTMLTreeBuilder::processEndTag):
(WebCore::HTMLTreeBuilder::processCharacterBuffer):
(WebCore::HTMLTreeBuilder::processEndOfFile):
(WebCore::HTMLTreeBuilder::processStartTagForInHead):

  • html/parser/HTMLTreeBuilder.h:

(HTMLTreeBuilder):
(WebCore::HTMLTreeBuilder::isParsingTemplateContents):
(WebCore::HTMLTreeBuilder::isParsingFragmentOrTemplateContents):

  • page/DOMWindow.idl:

Source/WebKit/chromium:

Turning on HTMLTemplateElement for chromium port.

  • features.gypi:

LayoutTests:

  • fast/dom/HTMLTemplateElement/cloneNode-expected.txt: Added.
  • fast/dom/HTMLTemplateElement/cloneNode.html: Added.
  • fast/dom/HTMLTemplateElement/inertContents-expected.txt: Added.
  • fast/dom/HTMLTemplateElement/inertContents.html: Added.
  • fast/dom/HTMLTemplateElement/innerHTML-expected.txt: Added.
  • fast/dom/HTMLTemplateElement/innerHTML.html: Added.
  • fast/dom/HTMLTemplateElement/ownerDocument-expected.txt: Added.
  • fast/dom/HTMLTemplateElement/ownerDocument.html: Added.
  • html5lib/resources/template.dat: Added.
  • html5lib/run-template-expected.txt: Added.
  • html5lib/run-template.html: Added.
  • resources/dump-as-markup.js:

(Markup._get):
(Markup._getSelectionFromNode):

6:37 PM Changeset in webkit [136466] by commit-queue@webkit.org
  • 12 edits
    9 adds in trunk

Unreviewed, rolling out r136460.
http://trac.webkit.org/changeset/136460
https://bugs.webkit.org/show_bug.cgi?id=103958

This patch caused compile error when building DumpRenderTree
(Requested by tasak on #webkit).

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

Source/Platform:

  • Platform.gypi:
  • chromium/public/linux/WebThemeEngine.h: Added.

(WebKit):
(WebThemeEngine):
(ScrollbarTrackExtraParams):
(ButtonExtraParams):
(TextFieldExtraParams):
(MenuListExtraParams):
(SliderExtraParams):
(InnerSpinButtonExtraParams):
(ProgressBarExtraParams):
(WebKit::WebThemeEngine::getSize):
(WebKit::WebThemeEngine::paint):

Source/WebCore:

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • platform/chromium/PlatformThemeChromiumLinux.cpp: Added.

(WebCore):
(WebCore::PlatformThemeChromiumLinux::setScrollbarColors):
(WebCore::clamp):
(WebCore::PlatformThemeChromiumLinux::saturateAndBrighten):
(WebCore::PlatformThemeChromiumLinux::outlineColor):
(WebCore::PlatformThemeChromiumLinux::paintArrowButton):

  • platform/chromium/PlatformThemeChromiumLinux.h: Added.

(WebCore):
(PlatformThemeChromiumLinux):
(WebCore::PlatformThemeChromiumLinux::thumbInactiveColor):
(WebCore::PlatformThemeChromiumLinux::thumbActiveColor):
(WebCore::PlatformThemeChromiumLinux::trackColor):
(WebCore::PlatformThemeChromiumLinux::PlatformThemeChromiumLinux):

  • platform/chromium/ScrollbarThemeChromiumLinux.cpp: Added.

(WebCore):
(WebCore::ScrollbarTheme::nativeTheme):
(WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness):
(WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
(WebCore::ScrollbarThemeChromiumLinux::paintButton):
(WebCore::ScrollbarThemeChromiumLinux::paintThumb):
(WebCore::ScrollbarThemeChromiumLinux::shouldCenterOnThumb):
(WebCore::ScrollbarThemeChromiumLinux::buttonSize):
(WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):

  • platform/chromium/ScrollbarThemeChromiumLinux.h: Added.

(ScrollbarThemeChromiumLinux):

  • rendering/RenderThemeChromiumAndroid.cpp:

(WebCore::RenderThemeChromiumAndroid::extraDefaultStyleSheet):

  • rendering/RenderThemeChromiumAndroid.h:
  • rendering/RenderThemeChromiumLinux.cpp: Added.

(WebCore):
(WebCore::getWebThemeState):
(WebCore::RenderThemeChromiumLinux::create):
(WebCore::RenderTheme::themeForPage):
(WebCore::RenderThemeChromiumLinux::RenderThemeChromiumLinux):
(WebCore::RenderThemeChromiumLinux::~RenderThemeChromiumLinux):
(WebCore::RenderThemeChromiumLinux::systemColor):
(WebCore::RenderThemeChromiumLinux::extraDefaultStyleSheet):
(WebCore::RenderThemeChromiumLinux::controlSupportsTints):
(WebCore::RenderThemeChromiumLinux::activeListBoxSelectionBackgroundColor):
(WebCore::RenderThemeChromiumLinux::activeListBoxSelectionForegroundColor):
(WebCore::RenderThemeChromiumLinux::inactiveListBoxSelectionBackgroundColor):
(WebCore::RenderThemeChromiumLinux::inactiveListBoxSelectionForegroundColor):
(WebCore::RenderThemeChromiumLinux::platformActiveSelectionBackgroundColor):
(WebCore::RenderThemeChromiumLinux::platformInactiveSelectionBackgroundColor):
(WebCore::RenderThemeChromiumLinux::platformActiveSelectionForegroundColor):
(WebCore::RenderThemeChromiumLinux::platformInactiveSelectionForegroundColor):
(WebCore::RenderThemeChromiumLinux::sliderTickSize):
(WebCore::RenderThemeChromiumLinux::sliderTickOffsetFromTrackCenter):
(WebCore::RenderThemeChromiumLinux::adjustSliderThumbSize):
(WebCore::RenderThemeChromiumLinux::supportsControlTints):
(WebCore::RenderThemeChromiumLinux::setCaretBlinkInterval):
(WebCore::RenderThemeChromiumLinux::caretBlinkIntervalInternal):
(WebCore::RenderThemeChromiumLinux::setSelectionColors):
(WebCore::RenderThemeChromiumLinux::paintCheckbox):
(WebCore::RenderThemeChromiumLinux::setCheckboxSize):
(WebCore::RenderThemeChromiumLinux::paintRadio):
(WebCore::RenderThemeChromiumLinux::setRadioSize):
(WebCore::RenderThemeChromiumLinux::paintButton):
(WebCore::RenderThemeChromiumLinux::paintTextField):
(WebCore::RenderThemeChromiumLinux::paintMenuList):
(WebCore::RenderThemeChromiumLinux::paintSliderTrack):
(WebCore::RenderThemeChromiumLinux::paintSliderThumb):
(WebCore::RenderThemeChromiumLinux::adjustInnerSpinButtonStyle):
(WebCore::RenderThemeChromiumLinux::paintInnerSpinButton):
(WebCore::RenderThemeChromiumLinux::paintProgressBar):
(WebCore::RenderThemeChromiumLinux::shouldOpenPickerWithF4Key):

  • rendering/RenderThemeChromiumLinux.h: Added.

(WebCore):
(RenderThemeChromiumLinux):

Source/WebKit/chromium:

  • WebKit.gyp:
  • public/linux/WebRenderTheme.h: Added.

(WebKit):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::setScrollbarColors):
(WebKit::WebViewImpl::setSelectionColors):

  • src/linux/WebRenderTheme.cpp: Added.

(WebKit):
(WebKit::setCaretBlinkInterval):

Tools:

  • Scripts/webkitpy/common/config/build_unittest.py:

(ShouldBuildTest):

6:24 PM Changeset in webkit [136465] by jchaffraix@webkit.org
  • 7 edits
    2 adds in trunk

Source/WebCore: [CSS Grid Layout] Support paddings and margins on grid items
https://bugs.webkit.org/show_bug.cgi?id=103677

Reviewed by Tony Chang.

After bug 102968, we properly resolve grid items' width and height against the
grid areas' sizes. However we didn't check for paddings and margins, which is
what this change fixes..

Test: fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::computeLogicalWidthInRegion):
Don't stretch the end margin to match the containing block's extent.
The fix is similar to what was done for flex-box in bug 65887.

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::computeStickyPositionConstraints):
Added a comment about not using containingBlockLogicalWidthForContent.

(WebCore::RenderBoxModelObject::computedCSSPaddingTop):
(WebCore::RenderBoxModelObject::computedCSSPaddingBottom):
(WebCore::RenderBoxModelObject::computedCSSPaddingLeft):
(WebCore::RenderBoxModelObject::computedCSSPaddingRight):
(WebCore::RenderBoxModelObject::computedCSSPaddingBefore):
(WebCore::RenderBoxModelObject::computedCSSPaddingAfter):
(WebCore::RenderBoxModelObject::computedCSSPaddingStart):
(WebCore::RenderBoxModelObject::computedCSSPaddingEnd):
Updated these functions to use containingBlockLogicalWidthForContent.

  • rendering/RenderGrid.h:
  • rendering/RenderObject.h:

(WebCore::RenderObject::isRenderGrid):
Added isRenderGrid.

LayoutTests: [CSS Grid Layout] Support percentage paddings and margins on grid items
https://bugs.webkit.org/show_bug.cgi?id=103677

Reviewed by Tony Chang.

  • resources/check-layout.js:

Extended check-layout to be able to query paddings and margins. Note that in order to compare,
the attribute with the returned value from getComputedStyle, we need to trim the unit ("px")
from the actual values. This trick also works in FireFox and Opera.

  • fast/css-grid-layout/percent-padding-margin-resolution-grid-item-expected.txt: Added.
  • fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html: Added.
6:22 PM Changeset in webkit [136464] by andersca@apple.com
  • 8 edits in trunk/Source/WebKit2

Make it easier to add more web process initialization parameters
https://bugs.webkit.org/show_bug.cgi?id=103942

Reviewed by Andreas Kling.

Add a WebProcessInitializationParameters struct to make it easier to add more initialization
parameters in the future. Also, fix naming and spelling errors.

  • WebProcess/mac/WebProcessInitialization.h:

(WebProcessInitializationParameters):
(WebKit):

  • WebProcess/mac/WebProcessInitialization.mm:

(WebKit::initializeWebProcess):

  • WebProcess/mac/WebProcessMainMac.mm:

(WebKit::WebProcessMain):

  • WebProcess/mac/WebProcessServiceEntryPoints.h:
  • WebProcess/mac/WebProcessServiceEntryPoints.mm:

(WebKit::WebProcessServiceEventHandler):
(webProcessServiceMain):
(initializeWebProcessForWebProcessServiceForWebKitDevelopment):

  • WebProcessService/WebProcessServiceMain.mm:

(main):

  • WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm:

(WebProcessServiceForWebKitDevelopmentEventHandler):

6:19 PM Changeset in webkit [136463] by roger_fong@apple.com
  • 1 edit
    3 adds in trunk/LayoutTests

Unreviewed. Expected failing results on Windows.

  • platform/win/css3/filters: Added.
  • platform/win/css3/filters/effect-reference-expected.txt: Added.
  • platform/win/css3/filters/effect-reference-hw-expected.txt: Added.
5:57 PM Changeset in webkit [136462] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:

Removed duplicate entries for compositing/masks/masked-ancestor.html.
Fixed overriding: compositing/masks/simple-composited-mask.html.

5:38 PM Changeset in webkit [136461] by pierre.rossi@gmail.com
  • 4 edits in trunk

[Qt] another stab at fixing the windows build

It seems the QT_BUILD_{TARGET}_LIB are not set as they should by qt_module.prf.
Define them by hand to be on the safe side.

.:

  • Source/widgetsapi.pri:

Source/WebKit:

  • WebKit1.pro:
5:20 PM Changeset in webkit [136460] by commit-queue@webkit.org
  • 12 edits
    9 deletes in trunk

[chromium] Remove linux theme related files and switch to default
https://bugs.webkit.org/show_bug.cgi?id=103897

Patch by Scott Violet <sky@chromium.org> on 2012-12-03
Reviewed by Darin Fisher.

Source/Platform:

  • Platform.gypi: remove WebThemeEngine.h
  • chromium/public/linux/WebThemeEngine.h: Removed.

Source/WebCore:

linux theme related files are now named default. This removes
linux theme files, updates build files and removes ifdefs.

Code cleanup, no new tests.

  • WebCore.gyp/WebCore.gyp: Update build rules
  • WebCore.gypi: Update build rules
  • platform/chromium/PlatformThemeChromiumLinux.cpp: Removed.
  • platform/chromium/PlatformThemeChromiumLinux.h: Removed.
  • platform/chromium/ScrollbarThemeChromiumLinux.cpp: Removed.
  • platform/chromium/ScrollbarThemeChromiumLinux.h: Removed.
  • rendering/RenderThemeChromiumAndroid.h: Change superclass
  • rendering/RenderThemeChromiumAndroid.cpp: Change call to superclass
  • rendering/RenderThemeChromiumLinux.cpp: Removed.
  • rendering/RenderThemeChromiumLinux.h: Removed.

Source/WebKit/chromium:

linux theme related files are now named default. This removes
linux files updates build files and removes ifdefs.

  • WebKit.gyp: update rules.
  • public/linux/WebRenderTheme.h: Removed.
  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::setScrollbarColors): Update ifdefs
(WebKit::WebViewImpl::setSelectionColors): Update ifdefs

  • src/linux/WebRenderTheme.cpp: Removed.

Tools:

  • Scripts/webkitpy/common/config/build_unittest.py:

(ShouldBuildTest): linux->default

5:05 PM Changeset in webkit [136459] by dino@apple.com
  • 7 edits
    681 adds in trunk/LayoutTests

Add Opera-submitted W3C <track> tests to LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=103887

Patch by Antoine Quint <Antoine Quint> on 2012-12-03
Reviewed by Eric Carlson.

Adding the Opera-submitted W3C <track> testsuite and test results for passing tests. Failing tests are skipped
on all platforms.

  • media/track/opera/idl/media-idl-tests.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLMediaElement/addTextTrack.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLMediaElement/textTracks-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLMediaElement/textTracks.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/default-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/default.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/label-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/label.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/readyState-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/readyState.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/src.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/srclang-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/srclang.html: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/track-expected.txt: Added.
  • media/track/opera/interfaces/HTMLElement/HTMLTrackElement/track.html: Added.
  • media/track/opera/interfaces/TextTrack/activeCues.html: Added.
  • media/track/opera/interfaces/TextTrack/addCue.html: Added.
  • media/track/opera/interfaces/TextTrack/constants-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/constants.html: Added.
  • media/track/opera/interfaces/TextTrack/cues.html: Added.
  • media/track/opera/interfaces/TextTrack/kind.html: Added.
  • media/track/opera/interfaces/TextTrack/label-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/label.html: Added.
  • media/track/opera/interfaces/TextTrack/language-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/language.html: Added.
  • media/track/opera/interfaces/TextTrack/mode-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/mode.html: Added.
  • media/track/opera/interfaces/TextTrack/oncuechange-expected.txt: Added.
  • media/track/opera/interfaces/TextTrack/oncuechange.html: Added.
  • media/track/opera/interfaces/TextTrack/removeCue.html: Added.
  • media/track/opera/interfaces/TextTrackCue/align.html: Added.
  • media/track/opera/interfaces/TextTrackCue/endTime.html: Added.
  • media/track/opera/interfaces/TextTrackCue/getCueAsHTML.html: Added.
  • media/track/opera/interfaces/TextTrackCue/id.html: Added.
  • media/track/opera/interfaces/TextTrackCue/line.html: Added.
  • media/track/opera/interfaces/TextTrackCue/onenter.html: Added.
  • media/track/opera/interfaces/TextTrackCue/onexit.html: Added.
  • media/track/opera/interfaces/TextTrackCue/pauseOnExit.html: Added.
  • media/track/opera/interfaces/TextTrackCue/snapToLines.html: Added.
  • media/track/opera/interfaces/TextTrackCue/startTime.html: Added.
  • media/track/opera/interfaces/TextTrackCue/text.html: Added.
  • media/track/opera/interfaces/TextTrackCue/track.html: Added.
  • media/track/opera/interfaces/TextTrackCue/vertical.html: Added.
  • media/track/opera/interfaces/TextTrackCueList/getCueById-expected.txt: Added.
  • media/track/opera/interfaces/TextTrackCueList/getCueById.html: Added.
  • media/track/opera/interfaces/TextTrackCueList/getter.html: Added.
  • media/track/opera/interfaces/TextTrackCueList/length-expected.txt: Added.
  • media/track/opera/interfaces/TextTrackCueList/length.html: Added.
  • media/track/opera/interfaces/TextTrackList/getter.html: Added.
  • media/track/opera/interfaces/TextTrackList/length-expected.txt: Added.
  • media/track/opera/interfaces/TextTrackList/length.html: Added.
  • media/track/opera/interfaces/TextTrackList/onaddtrack-expected.txt: Added.
  • media/track/opera/interfaces/TextTrackList/onaddtrack.html: Added.
  • media/track/opera/interfaces/TextTrackList/onremovetrack.html: Added.
  • media/track/opera/interfaces/TrackEvent/constructor.html: Added.
  • media/track/opera/interfaces/TrackEvent/createEvent.html: Added.
  • media/track/opera/resources/WebIDLParser.js: Added.

(window.WebIDLParser):
(window.WebIDLParser.):

  • media/track/opera/resources/idlharness.js: Added.

(.):

  • media/track/opera/resources/media/sunflower.mp4: Added.
  • media/track/opera/resources/media/sunflower.webm: Added.
  • media/track/opera/track/track-element/cloneNode.html: Added.
  • media/track/opera/track/track-element/src-clear-cues.html: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/buildtests.py: Added.

(appendtest):

  • media/track/opera/track/webvtt/parsing-cue-data/common.js: Added.

(format):
(test_serializer):
(.if):
(print_diffs):
(runTests.tests.forEach):
(runTests):
(trackError):
(removeElm):

  • media/track/opera/track/webvtt/parsing-cue-data/dat/entities.dat: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/dat/tags.dat: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/dat/timestamps.dat: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/dat/tree-building.dat: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/tests/entities.html: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/tests/tags.html: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/tests/timestamps.html: Added.
  • media/track/opera/track/webvtt/parsing-cue-data/tests/tree-building.html: Added.
  • media/track/opera/track/webvtt/parsing/001.html: Added.
  • media/track/opera/track/webvtt/parsing/support/.htaccess: Added.
  • media/track/opera/track/webvtt/parsing/support/arrows.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/cue-counts.json: Added.
  • media/track/opera/track/webvtt/parsing/support/header-garbage.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/header-space.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/header-tab.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/header-timings.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/ids.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/newlines.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/no-signature.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/nulls.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/omitted-hours.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-align.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-line.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-multiple.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-position.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-size.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/settings-vertical.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-bom.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-formfeed.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-lowercase.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-no-newline.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-null.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-space-no-newline.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-space.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-tab-no-newline.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-tab.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-timings.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-too-short.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-two-boms.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/signature-websrt.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/space-chars.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/timings-60.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/timings-garbage.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/timings-negative.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/timings-too-long.vtt: Added.
  • media/track/opera/track/webvtt/parsing/support/timings-too-short.vtt: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/12345_timestamps.html: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/cue_font_size_transition.html: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/support/12345_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/support/class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/support/voice_with_evil_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/adhoc/voice_with_evil_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_completely_move_up-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_completely_move_up.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_partially_move_down-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_partially_move_down.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_partially_move_up-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_cues_overlapping_partially_move_up.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_tracks-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/2_tracks.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/3_tracks-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/3_tracks.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_end-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_end.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_end_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_end_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_50-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_50.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_gt_50-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_gt_50.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_lt_50-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_lt_50.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_lt_50_size_gt_maximum_size-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_position_lt_50_size_gt_maximum_size.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_middle_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_start-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_start.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_start_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/align_start_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/audio_has_no_subtitles-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/audio_has_no_subtitles.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/basic-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/basic.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/bidi_ruby-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/bidi_ruby.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_LF_u05D0-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_LF_u05D0.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_u2028_u05D0-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_u2028_u05D0.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_u2029_u05D0-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u002E_u2029_u05D0.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u0041_first-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u0041_first.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u05D0_first-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u05D0_first.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u0628_first-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u0628_first.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u06E9_no_strong_dir-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/bidi/u06E9_no_strong_dir.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/build-manifest.py: Added.
  • media/track/opera/track/webvtt/rendering/reftest/cue_too_long-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/cue_too_long.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/decode_escaped_entities-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/decode_escaped_entities.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/disable_controls_reposition-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/disable_controls_reposition.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_align_position_line_size-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_align_position_line_size.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_align_position_line_size_while_paused-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_align_position_line_size_while_paused.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_line-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_line.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_text-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_text.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_text_while_paused-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_cue_text_while_paused.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_remove_cue_while_paused-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/dom_override_remove_cue_while_paused.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/enable_controls_reposition-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/enable_controls_reposition.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/9_cues_overlapping_completely-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/9_cues_overlapping_completely.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/9_cues_overlapping_completely_all_cues_have_same_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/9_cues_overlapping_completely_all_cues_have_same_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/media_404_omit_subtitles-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/media_404_omit_subtitles.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/media_height_19-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/media_height_19.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/single_quote-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/single_quote.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/size_90-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/size_90.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/size_99-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/size_99.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/9_cues_overlapping_completely.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/9_cues_overlapping_completely_all_cues_have_same_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/single_quote.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/size_90.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/size_99.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/evil/support/test.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_-2_wrapped_cue_grow_upwards-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_-2_wrapped_cue_grow_upwards.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_0_is_top-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_0_is_top.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_1_wrapped_cue_grow_downwards-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_1_wrapped_cue_grow_downwards.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_50_percent-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_50_percent.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_integer_and_percent_mixed_overlap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_integer_and_percent_mixed_overlap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_integer_and_percent_mixed_overlap_move_up-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_integer_and_percent_mixed_overlap_move_up.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_percent_and_integer_mixed_overlap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_percent_and_integer_mixed_overlap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_percent_and_integer_mixed_overlap_move_up-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/line_percent_and_integer_mixed_overlap_move_up.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media/background.gif: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media/white.mp4: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media/white.webm: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media_height400_with_controls-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media_height400_with_controls.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media_with_controls-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/media_with_controls.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/navigate_cue_position-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/navigate_cue_position.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/one_line_cue_plus_wrapped_cue-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/one_line_cue_plus_wrapped_cue.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/reftest.list: Added.
  • media/track/opera/track/webvtt/rendering/reftest/repaint-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/repaint.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_shorthand_css_relative_url-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/background_shorthand_css_relative_url.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_hex-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_hex.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_hsla-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_hsla.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_rgba-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_rgba.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/cue_selector_single_colon-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/cue_selector_single_colon.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/inherit_values_from_media_element-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/inherit_values_from_media_element.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_overline-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_overline.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_overline_underline_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_overline_underline_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_underline-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-decoration_underline.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_nowrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_nowrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue/white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_box-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_box.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_shorthand_css_relative_url-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/background_shorthand_css_relative_url.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_animation_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_animation_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_timestamp_future-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_timestamp_future.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_timestamp_past-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_timestamp_past.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_transition_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_transition_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_nowrap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_nowrap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_with_class-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_with_class.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_with_class_object_specific_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/bold_object/bold_with_class_object_specific_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_animation_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_animation_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_timestamp_future-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_timestamp_future.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_timestamp_past-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_timestamp_past.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_transition_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_transition_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_nowrap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_nowrap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_with_class-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_with_class.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_with_class_object_specific_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/class_object/class_with_class_object_specific_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_hex-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_hex.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_hsla-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_hsla.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_rgba-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/color_rgba.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/cue_func_selector_single_colon-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/cue_func_selector_single_colon.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/id_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/id_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/inherit_values_from_media_element-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/inherit_values_from_media_element.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_animation_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_animation_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_timestamp_future-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_timestamp_future.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_timestamp_past-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_timestamp_past.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_transition_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_transition_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_nowrap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_nowrap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_with_class-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_with_class.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_with_class_object_specific_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/italic_object/italic_with_class_object_specific_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/not_allowed_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/not_allowed_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/not_root_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/not_root_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/root_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/root_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/root_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/root_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_overline-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_overline.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_overline_underline_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_overline_underline_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_underline-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-decoration_underline.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/type_selector_root-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/type_selector_root.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_animation_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_animation_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_timestamp_future-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_timestamp_future.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_timestamp_past-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_timestamp_past.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_transition_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_transition_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_nowrap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_nowrap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_with_class-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_with_class.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_with_class_object_specific_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/underline_object/underline_with_class_object_specific_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_animation_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_animation_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_background_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_background_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_background_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_background_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_color-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_color.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_font_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_font_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_font_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_font_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_namespace-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_namespace.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_outline_properties-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_outline_properties.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_outline_shorthand-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_outline_shorthand.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_text-decoration_line-through-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_text-decoration_line-through.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_text-shadow-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_text-shadow.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_timestamp_future-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_timestamp_future.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_timestamp_past-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_timestamp_past.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_transition_with_timestamp-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_transition_with_timestamp.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_voice_attribute-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_voice_attribute.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_nowrap-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_nowrap.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_with_class-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_with_class.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_with_class_object_specific_selector-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/voice_object/voice_with_class_object_specific_selector.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_normal_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_normal_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_nowrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_nowrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre-line_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre-line_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre-wrap_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre-wrap_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/cue_function/white-space_pre_wrapped.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/bold_object_default_font-style-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/bold_object_default_font-style.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/inherit_as_default_value_inherits_values_from_media_element-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/inherit_as_default_value_inherits_values_from_media_element.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/italic_object_default_font-style-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/italic_object_default_font-style.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/underline_object_default_font-style-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/selectors/default_styles/underline_object_default_font-style.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/size_50-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/size_50.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/2_cues_overlapping_completely_move_up.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/2_cues_overlapping_partially_move_down.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/2_cues_overlapping_partially_move_up.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_end.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_end_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle_position_50.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle_position_gt_50.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle_position_lt_50.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_middle_position_lt_50_size_gt_maximum_size.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_start.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/align_start_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/bidi_ruby.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/bold_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/bold_with_2_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/bold_with_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/class_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/class_with_2_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/class_with_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/cue_with_id.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/decode_escaped_entities.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/foo.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/foo_c_bar.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/foo_space_space_bar_LF_baz.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/italic_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/italic_with_2_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/italic_with_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_-2_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_0.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_1_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_50_percent.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_integer_and_percent_overlap.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_integer_and_percent_overlap_move_up.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_percent_and_integer_overlap.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/line_percent_and_integer_overlap_move_up.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/one_line_cue_plus_wrapped_cue.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/refTestWait.js: Added.

(takeScreenshot):
(takeScreenshoDelayed):

  • media/track/opera/track/webvtt/rendering/reftest/support/size_50.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_bold.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_bold_with_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_class_with_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_italic.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_italic_with_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_two_voices.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_underline.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_underline_with_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_voice.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/test_voice_with_class.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/too_many_cues.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/too_many_cues_wrapped.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u002E_LF_u05D0.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u002E_u2028_u05D0.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u002E_u2029_u05D0.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u0041_first.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u05D0_first.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u0628_first.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/u06E9_no_strong_dir.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/underline_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/underline_with_2_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/underline_with_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/very_long_cue.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/voice_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/voice_with_2_timestamps.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/voice_with_timestamp.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/white-spaces.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/white-spaces_long.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/support/white-spaces_long_size_20.vtt: Added.
  • media/track/opera/track/webvtt/rendering/reftest/too_many_cues-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/too_many_cues.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/too_many_cues_wrapped-ref.html: Added.
  • media/track/opera/track/webvtt/rendering/reftest/too_many_cues_wrapped.html: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
5:02 PM Changeset in webkit [136458] by tony@chromium.org
  • 8 edits in trunk/LayoutTests

Unreviewed, add Chromium GTK+ baselines after r136409 (mathml sup/sub box changes).

  • platform/gtk/TestExpectations:
  • platform/gtk/mathml/presentation/roots-expected.txt:
  • platform/gtk/mathml/presentation/row-alignment-expected.txt:
  • platform/gtk/mathml/presentation/sub-expected.txt:
  • platform/gtk/mathml/presentation/subsup-expected.txt:
  • platform/gtk/mathml/presentation/sup-expected.txt:
  • platform/gtk/mathml/presentation/tables-expected.txt:
4:58 PM Changeset in webkit [136457] by tony@chromium.org
  • 27 edits
    2 copies
    1 move
    2 adds
    7 deletes in trunk/LayoutTests

Unreviewed, add Chromium Win/Mac baselines after r136409 (mathml sup/sub box changes).

  • platform/chromium-mac-lion/mathml/presentation/row-alignment-expected.txt: Removed.
  • platform/chromium-mac-lion/mathml/presentation/sub-expected.txt: Added.
  • platform/chromium-mac-lion/mathml/presentation/subsup-expected.txt: Removed.
  • platform/chromium-mac-lion/mathml/presentation/sup-expected.txt: Copied from LayoutTests/platform/chromium-mac-snowleopard/mathml/presentation/sup-expected.txt.
  • platform/chromium-mac-lion/mathml/presentation/tables-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/roots-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/row-alignment-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/sub-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/subsup-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/sup-expected.txt:
  • platform/chromium-mac-snowleopard/mathml/presentation/tables-expected.txt:
  • platform/chromium-mac/mathml/presentation/roots-expected.txt: Renamed from LayoutTests/platform/chromium/mathml/presentation/roots-expected.txt.
  • platform/chromium-mac/mathml/presentation/row-alignment-expected.txt:
  • platform/chromium-mac/mathml/presentation/sub-expected.txt: Added.
  • platform/chromium-mac/mathml/presentation/subsup-expected.txt:
  • platform/chromium-mac/mathml/presentation/sup-expected.txt: Copied from LayoutTests/platform/chromium-mac-snowleopard/mathml/presentation/sup-expected.txt.
  • platform/chromium-mac/mathml/presentation/tables-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/roots-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/row-alignment-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/sub-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/subsup-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/sup-expected.txt:
  • platform/chromium-win-xp/mathml/presentation/tables-expected.txt:
  • platform/chromium-win/mathml/presentation/roots-expected.txt:
  • platform/chromium-win/mathml/presentation/row-alignment-expected.txt:
  • platform/chromium-win/mathml/presentation/sub-expected.txt:
  • platform/chromium-win/mathml/presentation/subsup-expected.txt:
  • platform/chromium-win/mathml/presentation/sup-expected.txt:
  • platform/chromium-win/mathml/presentation/tables-expected.txt:
  • platform/chromium/TestExpectations:
  • platform/chromium/mathml/presentation/row-alignment-expected.txt: Removed.
  • platform/chromium/mathml/presentation/subsup-expected.txt: Removed.
4:42 PM Changeset in webkit [136456] by roger_fong@apple.com
  • 2 edits in trunk/Tools

Disable WebKit2 API tests on Apple Windows port.
https://bugs.webkit.org/show_bug.cgi?id=103929.

Reviewed by Timothy Horton.

  • Scripts/run-api-tests:

(runTestsBySuite):

4:34 PM Changeset in webkit [136455] by yurys@chromium.org
  • 2 edits in trunk/Source/WebKit/mac

Unreviewed. Fix Mac compilation after r136448.

  • WebCoreSupport/WebChromeClient.mm:

(stringForMessageType):

4:22 PM Changeset in webkit [136454] by Lucas Forschler
  • 7 edits in tags/Safari-537.20.1/Source/WebCore

Merged r136449. <rdar://problem/12792802>

4:11 PM Changeset in webkit [136453] by pierre.rossi@gmail.com
  • 3 edits in trunk/Source/WebCore

[Qt] Unreviewed build fix after r136410

When building without libjpeg, take JPEGImageDecoder's header out, since it now includes libjpeg.h.

  • Target.pri: conditionally add JPEGImageDecoder.h to HEADERS
  • platform/image-decoders/ImageDecoder.cpp: guard JPEGImageDecoder.h's include
4:04 PM Changeset in webkit [136452] by kenneth@webkit.org
  • 2 edits in trunk/Source/WebCore

[EFL][Qt][WK2] Fixed position elements are not always fixed
https://bugs.webkit.org/show_bug.cgi?id=103452

Reviewed by Simon Fraser.

The code figuring out whether fixed position layers are inside
the visible viewport, assumes that the visible viewport is always
the size of the layout viewport. This assumption doesn't hold with
how the Qt and EFL tiled backing store and coordinated graphics
works, so instead using the visibleContentsRect(), which provides
the right values in all cases.

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForPosition):

Use visibleContentsRect instead of scrollOffsetForFixedPosition().

scrollOffsetForFixedPosition() is needed sometimes in the Mac code
because visibleContentRect() will return negative offsets when you
are in the rubber-band phase of a scroll on the Mac.

However that is not an issue here.

4:04 PM Changeset in webkit [136451] by Lucas Forschler
  • 4 edits in tags/Safari-537.20.1/Source

Versioning.

4:00 PM Changeset in webkit [136450] by Lucas Forschler
  • 1 copy in tags/Safari-537.20.1

New Tag.

3:51 PM Changeset in webkit [136449] by commit-queue@webkit.org
  • 7 edits in trunk/Source/WebCore

Unreviewed, rolling out r135271.
http://trac.webkit.org/changeset/135271
https://bugs.webkit.org/show_bug.cgi?id=103940

Some user stylesheet API clients broken (Requested by anttik
on #webkit).

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

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::StyleResolver):
(WebCore::StyleResolver::collectRulesFromUserStyleSheets):
(WebCore::collectCSSOMWrappers):

  • css/StyleResolver.h:

(StyleResolver):

  • dom/Document.cpp:

(WebCore::Document::setCompatibilityMode):

  • dom/DocumentStyleSheetCollection.cpp:

(WebCore::DocumentStyleSheetCollection::~DocumentStyleSheetCollection):
(WebCore::DocumentStyleSheetCollection::pageUserSheet):
(WebCore::DocumentStyleSheetCollection::clearPageUserSheet):
(WebCore::DocumentStyleSheetCollection::updatePageUserSheet):
(WebCore::collectActiveCSSStyleSheetsFromSeamlessParents):
(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
(WebCore::DocumentStyleSheetCollection::reportMemoryUsage):

  • dom/DocumentStyleSheetCollection.h:

(DocumentStyleSheetCollection):
(WebCore::DocumentStyleSheetCollection::documentUserStyleSheets):

  • page/Page.cpp:

(WebCore::Page::userStyleSheetLocationChanged):

3:43 PM Changeset in webkit [136448] by caseq@chromium.org
  • 8 edits in trunk/Source/WebCore

Web Inspector: make it possible to fliter out messages from console.{time,timeEnd}()
https://bugs.webkit.org/show_bug.cgi?id=103781

Reviewed by Yury Semikhatsky.

  • make console messages produced by console.timeEnd() TimingMessageType & DebugMessageLevel;
  • add console filter for Debug messages;
  • inspector/ConsoleMessage.cpp:

(WebCore::messageTypeValue):

  • inspector/Inspector.json:
  • inspector/InspectorConsoleAgent.cpp:

(WebCore::InspectorConsoleAgent::stopTiming):

  • inspector/front-end/ConsoleMessage.js:

(WebInspector.ConsoleMessageImpl.prototype.toMessageElement):

  • inspector/front-end/ConsoleView.js:

(WebInspector.ConsoleView.prototype.):
(WebInspector.ConsoleView.prototype.filter):

  • inspector/front-end/inspector.css:

(.console-warning-level, .console-error-level, .console-log-level, .console-debug-level):
(.filter-all .console-debug-level, .filter-debug .console-debug-level):
(.filter-all .console-debug-level.repeated-message, .filter-debug .console-debug-level.repeated-message):

  • page/ConsoleTypes.h:
3:42 PM Changeset in webkit [136447] by fsamuel@chromium.org
  • 3 edits in trunk/Source/WebKit/chromium

[Chromium] Expose removeAttribute in WebElement
https://bugs.webkit.org/show_bug.cgi?id=103780

Reviewed by Darin Fisher.

  • public/WebElement.h:

(WebElement):

  • src/WebElement.cpp:

(WebKit::WebElement::removeAttribute):
(WebKit):

3:33 PM Changeset in webkit [136446] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Unreviewed, rolling out r136444.
http://trac.webkit.org/changeset/136444
https://bugs.webkit.org/show_bug.cgi?id=103938

broke chromium build (Requested by zhenyao_wfh on #webkit).

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

  • Target.pri:
  • platform/image-decoders/ImageDecoder.cpp:
3:11 PM Changeset in webkit [136445] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed gardening on Apple Windows port.

  • platform/win/TestExpectations:
3:11 PM Changeset in webkit [136444] by pierre.rossi@gmail.com
  • 3 edits in trunk/Source/WebCore

[Qt] Unreviewed build fix after r136410

When building without libjpeg, take JPEGImageDecoder's header out, since it now includes libjpeg.h.

  • Target.pri: conditionally add JPEGImageDecoder.h to HEADERS
  • platform/image-decoders/ImageDecoder.cpp: guard JPEGImageDecoder.h's include
3:08 PM Changeset in webkit [136443] by dpranke@chromium.org
  • 5 edits in trunk/Tools

webkitpy's run_webkit_tests should initialize the printer earlier on
https://bugs.webkit.org/show_bug.cgi?id=103661

Reviewed by Eric Seidel.

Initialize the printer before computing the derived options
from the command line arguments, so that we can safely log from
port methods.

Also clean up a few miscellaneous lint warnings.

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

(ChromiumAndroidPort.path_to_adb):

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

(MacPort.default_child_processes):
(MacPort.sample_process):
(MacPort.start_helper):
(MacPort.stop_helper):
(MacPort.nm_command):

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

(test_default_child_processes):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(run):
(_set_up_derived_options):

3:07 PM Changeset in webkit [136442] by jpetsovits@rim.com
  • 9 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Refactor the backingstore to swap full geometries.
https://bugs.webkit.org/show_bug.cgi?id=103924
RIM PR 253496

Reviewed by Yong Li.
Internally reviewed by Adam Treat and Arvid Nilsson.

The backingstore had a working split between front and
back state, but it was multilayered and hard to grasp.
This commit cleanly divides the responsibilities of
BackingStoreGeometry and TileBuffer, with the latter
now being able to function on its own without the help
of its geometry. The BackingStoreTile class was an
unnecessary middleman and can be removed wholesale.

A BackingStoreGeometry can now function with null tiles
being assigned to its indices, which enables us to reclaim
tile buffers outside of the visible contents area as back
buffers. This reduces the need to swap and block when the
backingstore size exceeds the contents size, and also lets
us use more tiles for initial rendering after a call to
resetTiles() which is now implemented as swapping in a
geometry with only null buffers.

setBackingStoreRect() was the only function that had to
get a change of behavior. Because we're now constructing
new BackingStoreGeometry objects every time the front
geometry is being exchanged for a new one, it is only
safe to call other functions reliant on the new geometry
after it has been finalized and put in place. Therefore,
updateTilesForScrollOrNotRenderedRegion() takes on the
render queue maintenance tasks that setBackingStoreRect()
had performed previously. It was already doing something
very similar so only few changes to the function were
necessary.

This commit will make subsequent changes to the
backingstore geometry and tile logic a lot easier.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStoreGeometry::isTileCorrespondingToBuffer):
(WebKit):
(BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate):
(BlackBerry::WebKit::BackingStorePrivate::~BackingStorePrivate):
(BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
(BlackBerry::WebKit::BackingStorePrivate::updateTilesAfterBackingStoreRectChange):
(BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::clearRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::isCurrentVisibleJob):
(BlackBerry::WebKit::BackingStorePrivate::render):
(BlackBerry::WebKit::BackingStorePrivate::copyPreviousContentsToTileBuffer):
(BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::compositeContents):
(BlackBerry::WebKit::BackingStorePrivate::blitTileRect):
(BlackBerry::WebKit::BackingStorePrivate::tileVisibleContentsRect):
(BlackBerry::WebKit::BackingStorePrivate::resetTiles):
(BlackBerry::WebKit::BackingStorePrivate::updateTiles):
(BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::mapFromTilesToTransformedContents):
(BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
(BlackBerry::WebKit::BackingStorePrivate::transformChanged):
(BlackBerry::WebKit::BackingStorePrivate::createSurfaces):
(BlackBerry::WebKit::BackingStoreGeometry::originOfTile):
(BlackBerry::WebKit::BackingStorePrivate::adoptAsFrontState):

  • Api/BackingStore_p.h:

(WebKit):
(BackingStoreGeometry):
(BlackBerry::WebKit::BackingStoreGeometry::tileBufferAt):
(BackingStorePrivate):

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::setLoadState):
(BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):
(BlackBerry::WebKit::WebPagePrivate::setViewportSize):

  • Api/WebPage_p.h:

(WebKit):

  • WebKitSupport/BackingStoreTile.cpp:

(BlackBerry::WebKit::TileBuffer::TileBuffer):
(BlackBerry::WebKit::TileBuffer::~TileBuffer):
(BlackBerry::WebKit::TileBuffer::isRendered):
(BlackBerry::WebKit::TileBuffer::nativeBuffer):
(BlackBerry::WebKit::TileBuffer::wasNativeBufferCreated):
(BlackBerry::WebKit::TileBuffer::paintBackground):

  • WebKitSupport/BackingStoreTile.h:

(BlackBerry::WebKit::TileBuffer::lastRenderOrigin):
(BlackBerry::WebKit::TileBuffer::setLastRenderOrigin):
(BlackBerry::WebKit::TileBuffer::lastRenderScale):
(BlackBerry::WebKit::TileBuffer::setLastRenderScale):
(TileBuffer):
(BlackBerry::WebKit::TileBuffer::backgroundPainted):

  • WebKitSupport/SurfacePool.cpp:

(BlackBerry::WebKit::SurfacePool::SurfacePool):
(BlackBerry::WebKit::SurfacePool::size):
(WebKit):
(BlackBerry::WebKit::SurfacePool::initialize):
(BlackBerry::WebKit::SurfacePool::initializeVisibleTileBuffer):
(BlackBerry::WebKit::SurfacePool::hasBackBuffer):
(BlackBerry::WebKit::SurfacePool::takeBackBuffer):
(BlackBerry::WebKit::SurfacePool::addBackBuffer):
(BlackBerry::WebKit::SurfacePool::createBuffers):
(BlackBerry::WebKit::SurfacePool::releaseBuffers):
(BlackBerry::WebKit::SurfacePool::notifyBuffersComposited):

  • WebKitSupport/SurfacePool.h:

(BlackBerry::WebKit::SurfacePool::isActive):
(BlackBerry::WebKit::SurfacePool::isEmpty):
(SurfacePool):
(BlackBerry::WebKit::SurfacePool::visibleTileBuffer):

2:49 PM Changeset in webkit [136441] by dpranke@chromium.org
  • 3 edits in trunk/Tools

webkitpy: autoinstaller is failing on windows
https://bugs.webkit.org/show_bug.cgi?id=103699

Reviewed by Tony Chang.

Attempt to fix the python autoinstaller to work for pylint on win32
again ... it turns out one of the dependent packages contains
a write-protected test file and windows will choke when it tries to move
it into place. Fortunately we can just delete the file prior to
installing it in the final location, but we have to jump through
a couple of hoops to do so.

Also, make sure that we're flattening nested module names like
"logilab/common" into either safe basenames (logilab_common) or
host-specific subdirs (logilab\common) as needed.

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

(AutoInstaller._url_downloaded_path):
(AutoInstaller._install):
(AutoInstaller.install):

  • Scripts/webkitpy/thirdparty/init.py:

(AutoinstallImportHook._install_pylint):

2:48 PM Changeset in webkit [136440] by xan@webkit.org
  • 3 edits in trunk/LayoutTests

2012-12-03 Xan Lopez <xlopez@igalia.com>

Unreviewed gardening.

Update grid layout tests with proper expected results for cosmetic
debug() changes I did in the previous patch.

  • fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
  • fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
2:20 PM Changeset in webkit [136439] by simonjam@chromium.org
  • 6 edits in trunk/Source/WebCore

[Resource Timing] Record and report initiator
https://bugs.webkit.org/show_bug.cgi?id=103777

Reviewed by Nate Chapin.

This will start populating the Resource Timing buffer with entries. The initiator will be
recorded for each CachedResourceLoader. This should match the next update of the spec.

Tests: http/tests/w3c/webperf/submission/resource-timing

  • css/CSSFontSelector.cpp:

(WebCore::CSSFontSelector::beginLoadTimerFired):

  • loader/ResourceLoadNotifier.cpp: Always record timing information if ENABLE(RESOURCE_TIMING).

(WebCore::ResourceLoadNotifier::dispatchWillSendRequest):

  • loader/SubresourceLoader.cpp:

(WebCore::SubresourceLoader::releaseResources): Report the actual resource that called loadDone().

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::loadResource): Record the initiator.
(WebCore::CachedResourceLoader::loadDone): Record the entry in Resource Timing.

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):
(InitiatorInfo):

2:03 PM Changeset in webkit [136438] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening.

  • platform/chromium/TestExpectations:
1:59 PM Changeset in webkit [136437] by dpranke@chromium.org
  • 9 edits in trunk/Tools

nrwt: clean up exception propagation / handling for interrupts and early exits
https://bugs.webkit.org/show_bug.cgi?id=103830

Reviewed by Ojan Vafai.

The code for propagating early exits out of the test run was
convoluted and hard to follow. By adjusting the WorkerException to
derive from BaseException rather than Exception (which is a fair
way of representing an error that was really unexpected/unrecoverable
anyway) and pushing the TestRunInterruptedException into the
ResultSummary (which is also fair since it was more of a result
than an exception) this allows us to consolidate and clean up
a bunch of the try/catch logic and pass fewer state flags around.

There are no real functional changes to this patch; there's an
API change in that we stop exporting TestRunInterruptedException
and WorkerException out of the Manager, and the existence of the
MessagePool is now completely hidden.

  • Scripts/webkitpy/common/message_pool.py:

(WorkerException):

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

(LayoutTestRunner.run_tests):

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

(summarize_results):
(Manager.run):

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

(ResultSummaryTest.summarized_results):

  • Scripts/webkitpy/layout_tests/models/result_summary.py:

(ResultSummary.init):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(run):
(main):

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_exception_raised.of):
(MainTest.test_exception_raised):
(MainTest.test_run_force):

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(Testprinter.test_print_unexpected_results.get_unexpected_results):
(Testprinter):

1:48 PM Changeset in webkit [136436] by pierre.rossi@gmail.com
  • 4 edits in trunk/Source/WebKit/qt

[Qt] Unreviewed speculative Windows buildfix.

Somehow it seems messing around with the export macros made some old issues resurface.

  • Api/qwebsettings.cpp:

(qt_networkAccessAllowed):

  • Api/qwebsettings.h:
  • Api/qwebkitglobal.h: fix an obvious blunder from r136394.
1:42 PM Changeset in webkit [136435] by fmalita@chromium.org
  • 4 edits in trunk/Source/WebCore

[Skia] Deferred SkCanvas save()
https://bugs.webkit.org/show_bug.cgi?id=102272

Reviewed by Stephen White.

Implement a lazy save() strategy: instead of delegating to the canvas upfront, defer and
only commit when a clip/matrix mutation is observed.

The patch yields a 1-20% SkCanvas save/restore reduction for heavy pages, with much larger
gains observed for deeply nested SVG content.

No new tests: no behaviour changes, coverage provided by existing tests.

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::canvasClip):

  • platform/graphics/skia/PlatformContextSkia.cpp:

(WebCore):
(WebCore::PlatformContextSkia::DeferredSaveState::DeferredSaveState):
(PlatformContextSkia::DeferredSaveState):
(WebCore::PlatformContextSkia::PlatformContextSkia):
(WebCore::PlatformContextSkia::save):
(WebCore::PlatformContextSkia::saveLayer):
(WebCore::PlatformContextSkia::beginLayerClippedToImage):
(WebCore::PlatformContextSkia::restore):
(WebCore::PlatformContextSkia::applyClipFromImage):

  • platform/graphics/skia/PlatformContextSkia.h:

(PlatformContextSkia):
(WebCore::PlatformContextSkia::realizeSave):
(WebCore):
(WebCore::PlatformContextSkia::canvas):
(WebCore::PlatformContextSkia::clipPath):
(WebCore::PlatformContextSkia::clipRect):
(WebCore::PlatformContextSkia::setMatrix):
(WebCore::PlatformContextSkia::concat):
(WebCore::PlatformContextSkia::rotate):
(WebCore::PlatformContextSkia::scale):
(WebCore::PlatformContextSkia::translate):

1:22 PM Changeset in webkit [136434] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Add Qt/SH4 build slave to build.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=103384

Patch by Julien BRIANCEAU <jbrianceau@nds.com> on 2012-12-03
Reviewed by Csaba Osztrogonác.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
1:19 PM Changeset in webkit [136433] by Simon Fraser
  • 6 edits
    2 adds in trunk

When animating mask-postion on a composited layer, element renders incorrectly
https://bugs.webkit.org/show_bug.cgi?id=103700

Reviewed by Tim Horton.

Source/WebCore:

When a composited layer has a mask, we clipped the layer bounds to the
size of the mask. This caused problems when animating the mask origin,
which is considered a 'repaint' style change and so should not require
layout or compositing geometry changes.

Fix by ignoring the mask when computing the bounds of the compositing
layer.

Test: compositing/masks/mask-layer-size.html

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::localBoundingBox):
(WebCore::RenderLayer::calculateLayerBounds):

  • rendering/RenderLayer.h:

(RenderLayer):

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::calculateCompositedBounds):

LayoutTests:

Test that dumps the layer tree for a composited layer with a mask.

  • compositing/masks/mask-layer-size-expected.txt: Added.
  • compositing/masks/mask-layer-size.html: Added.
1:07 PM Changeset in webkit [136432] by xan@webkit.org
  • 12 edits
    2 adds in trunk

2012-12-03 Xan Lopez <Xan Lopez>

[CSS Grid Layout] Support <percentage> and viewport-relative breadth sizes
https://bugs.webkit.org/show_bug.cgi?id=103335

Reviewed by Julien Chaffraix.

Test: fast/css-grid-layout/breadth-size-resolution-grid.html

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::valueForGridTrackBreadth): Support the new types. (WebCore::valueForGridTrackMinMax): Modify the call to previous method, since the signature has changed. (WebCore::valueForGridTrackGroup): Ditto. (WebCore::valueForGridTrackList): Ditto. (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Ditto.
  • rendering/RenderGrid.cpp: (WebCore::RenderGrid::computedUsedBreadthOfGridTracks): Suport percent and viewport relative types, calc() will be supported in a follow up (see bug #103761)

2012-12-03 Xan Lopez <Xan Lopez>

[CSS Grid Layout] Support <percentage> and viewport-relative breadth sizes
https://bugs.webkit.org/show_bug.cgi?id=103335

Reviewed by Julien Chaffraix.

  • fast/css-grid-layout/breadth-size-resolution-grid-expected.txt: Added.
  • fast/css-grid-layout/breadth-size-resolution-grid.html: Added.
  • fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
  • fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt:
  • fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
  • fast/css-grid-layout/grid-columns-rows-get-set.html:
  • fast/css-grid-layout/percent-grid-item-in-percent-grid-track-expected.txt:
  • fast/css-grid-layout/percent-grid-item-in-percent-grid-track-in-percent-grid-expected.txt:
  • fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js:
  • fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
1:05 PM Changeset in webkit [136431] by commit-queue@webkit.org
  • 4 edits in trunk/Source

Web Inspector: make ASSERTION FAILED: foundPropertiesCount == object->size() more useful
https://bugs.webkit.org/show_bug.cgi?id=103254

Patch by Peter Rybin <prybin@chromium.org> on 2012-12-03
Reviewed by Pavel Feldman.

Source/JavaScriptCore:

Missing symbol WTFReportFatalError is added to the linker list.

Source/WebCore:

Assert code generation is slightly changed so that it dumped JSON object text before crashing.

  • inspector/CodeGeneratorInspector.py:
12:56 PM Changeset in webkit [136430] by mvujovic@adobe.com
  • 5 edits
    3 adds in trunk

[CSS Shaders] Do not clamp indirect array indices during CSS Shaders ANGLE validation pass
https://bugs.webkit.org/show_bug.cgi?id=102731

Reviewed by Dean Jackson.

Source/WebCore:

Before this patch, we validated all shaders with the compile flag
SH_CLAMP_INDIRECT_ARRAY_BOUNDS in ANGLEWebKitBridge. This would insert a GLSL function
"webgl_int_clamp" in validated CSS shaders. However, when validated CSS shaders would pass
through ANGLE again at the GC3D level, ANGLE would reject them because they would contain
the "webgl_" restricted prefix.

Now, we only pass the compile flag SH_CLAMP_INDIRECT_ARRAY_BOUNDS at the GC3D level.

Test: css3/filters/custom/custom-filter-array-uniform-indirect-index.html

  • platform/graphics/ANGLEWebKitBridge.cpp:

(WebCore::ANGLEWebKitBridge::compileShaderSource):

Remove the SH_CLAMP_INDIRECT_ARRAY_BOUNDS compile flag.

  • platform/graphics/filters/CustomFilterValidatedProgram.cpp:

(WebCore::CustomFilterValidatedProgram::compiledProgram):

Add an assert that validated programs compile at the GC3D or platform level to help us
catch validation and rewriting issues.

  • platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:

(WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):

Pass the SH_CLAMP_INDIRECT_ARRAY_BOUNDS to compileShaderSource.

LayoutTests:

Add a vertex shader which indirectly indexes a uniform array. This shader should validate,
compile, and execute properly.

The GLSL ES 1.0 spec [1], Appendix A, Section 5 "Uniforms (excluding samplers)" says:
"In the vertex shader, support for all forms of array indexing is mandated."

[1]: http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf

  • css3/filters/custom/custom-filter-array-uniform-indirect-index-expected.html: Added.
  • css3/filters/custom/custom-filter-array-uniform-indirect-index.html: Added.
  • css3/filters/resources/array-indirect-index.vs: Added.
12:45 PM Changeset in webkit [136429] by alexis@webkit.org
  • 2 edits in trunk/Tools

Enable CSS3 background-position offset by default
https://bugs.webkit.org/show_bug.cgi?id=103917

Reviewed by Benjamin Poulain.

Even though each port may enable or not the feature we still need
to pass it at configure time otherwise it will be disabled.

  • Scripts/webkitperl/FeatureList.pm:
12:41 PM Changeset in webkit [136428] by tony@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

Performance degradation while rendering MathML content, freezes the tab.
https://bugs.webkit.org/show_bug.cgi?id=102585

Reviewed by Eric Seidel.

Add a regression test for nested fractions. The O(2n) layout time should
be fixed by r136324.

  • mathml/presentation/mfrac-nested-expected.txt: Added.
  • mathml/presentation/mfrac-nested.html: Added.
12:04 PM Changeset in webkit [136427] by alexis@webkit.org
  • 4 edits in trunk

[EFL] Enable CSS3 background-position offsets by default.
https://bugs.webkit.org/show_bug.cgi?id=103879

Reviewed by Laszlo Gombos.

.:

Enable the feature for EFL only.

  • Source/cmake/OptionsEfl.cmake:

LayoutTests:

Enable by default the new CSS3 background position offsets therefore we
can unskip the tests.

  • platform/efl/TestExpectations:
12:04 PM Changeset in webkit [136426] by caseq@chromium.org
  • 12 edits in trunk/Source

Web Inspector: Make main-thread monitoring go through InspectorController
https://bugs.webkit.org/show_bug.cgi?id=103550

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2012-12-03
Reviewed by Pavel Feldman.

InspectorInstrumentation was a wrong path.

Source/WebCore:

  • inspector/InspectorClient.h: Remove start/stop methods.
  • inspector/InspectorController.cpp:

Dispatch main thread activity notifications.

  • inspector/InspectorController.h: Ditto.
  • inspector/InspectorInstrumentation.cpp: Remove dispatchng.
  • inspector/InspectorInstrumentation.h: Ditto.
  • inspector/InspectorTimelineAgent.cpp:

Do not subscribe for notifications explicitly.

Source/WebKit/chromium:

  • src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and

listen/unlisten methods.

  • src/InspectorClientImpl.h: Ditto.
  • src/WebDevToolsAgentImpl.cpp:

(WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
Unsubscribe for main thread activity events.
(WebKit::WebDevToolsAgentImpl::detach): Ditto.
(WebKit::WebDevToolsAgentImpl::attach):
Subscribe for main thread activity events.
(WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TasObserver
interface. Froward to InspectorController.
(WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.

  • src/WebDevToolsAgentImpl.h: Implement TasObserver interface.
11:55 AM Changeset in webkit [136425] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening.
Fix duplicate test expectations.

  • platform/chromium/TestExpectations:
11:44 AM Changeset in webkit [136424] by pdr@google.com
  • 3 edits
    2 adds in trunk

Source/WebCore: Invalidate SVG width on width attribute changes.
https://bugs.webkit.org/show_bug.cgi?id=103304

Reviewed by Dirk Schulze.

An inline SVG element's replaced width can depend on both attributes and style properties.
After r105513, we invalidated this width on style changes but not attribute changes. With
this patch we invalidate the replaced width on width attribute changes too. Note that height
is handled differently for replaced elements so only the width attribute needs this handling
(the added test covers this too).

Test: svg/custom/root-size-attribute-changes.html

  • svg/SVGSVGElement.cpp:

(WebCore::SVGSVGElement::svgAttributeChanged):

LayoutTests: Invalidate SVG width on width attribute change.
https://bugs.webkit.org/show_bug.cgi?id=103304

Reviewed by Dirk Schulze.

  • svg/custom/root-size-attribute-changes-expected.html: Added.
  • svg/custom/root-size-attribute-changes.html: Added.
11:36 AM Changeset in webkit [136423] by alecflett@chromium.org
  • 11 edits in trunk/Source

IndexedDB: remove IDBDatabaseBackendInterface::transaction()
https://bugs.webkit.org/show_bug.cgi?id=102733

Reviewed by Darin Fisher.

Source/WebCore:

Part 3 of a refactor, remove the old transaction() method.

No new tests as this is just post-refactor cleanup.

  • Modules/indexeddb/IDBDatabaseBackendInterface.h:

(IDBDatabaseBackendInterface):

Source/WebKit/chromium:

Part 3 of a refactor - just remove the proxy code for the now
defunct transaction method.

  • public/WebIDBDatabase.h:
  • src/IDBDatabaseBackendProxy.cpp:
  • src/IDBDatabaseBackendProxy.h:

(IDBDatabaseBackendProxy):

  • src/WebIDBDatabaseImpl.cpp:
  • src/WebIDBDatabaseImpl.h:

(WebIDBDatabaseImpl):

  • tests/IDBDatabaseBackendTest.cpp:
11:17 AM Changeset in webkit [136422] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

PDFPlugin: <embed> and <object> PDFs affect their parent frame's page scale
https://bugs.webkit.org/show_bug.cgi?id=103286
<rdar://problem/12752315>

Reviewed by Dan Bernstein.

Style fixes after http://trac.webkit.org/changeset/136316.

  • WebProcess/Plugins/PDF/PDFPlugin.mm:

(WebKit::PDFPlugin::isFullFramePlugin):

11:15 AM Changeset in webkit [136421] by commit-queue@webkit.org
  • 5 edits in trunk/Source

[chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
https://bugs.webkit.org/show_bug.cgi?id=103648

Patch by Sami Kyostila <skyostil@chromium.org> on 2012-12-03
Reviewed by James Robinson.

Let the WebInputHandlerClient know when we've received the final input event
for the current vsync period.

Test: WebCompositorInputHandlerImplTest.lastInputEventForVSync

Source/Platform:

  • chromium/public/WebInputHandlerClient.h:

(WebKit::WebInputHandlerClient::didReceiveLastInputEventForVSync):
(WebInputHandlerClient):

Source/WebKit/chromium:

  • src/WebCompositorInputHandlerImpl.cpp:

(WebKit::WebCompositorInputHandlerImpl::handleInputEvent):

11:13 AM Changeset in webkit [136420] by senorblanco@chromium.org
  • 4 edits in trunk

[chromium] Turn on the new Skia mask blur algorithm.
https://bugs.webkit.org/show_bug.cgi?id=103906

Reviewed by Adrienne Walker.

Source/WebKit/chromium:

  • skia_webkit.gyp:

LayoutTests:

  • platform/chromium/TestExpectations:
11:07 AM Changeset in webkit [136419] by arv@chromium.org
  • 3 edits in trunk/Source/WebKit/chromium

[Chromium] Fix issue with hard coded error codes in quota error
https://bugs.webkit.org/show_bug.cgi?id=103892

Reviewed by Darin Fisher.

Chromium currently hard codes the enum values for QuotaStatusCode. To fix
this we need to do a few iteration of changes. This is the first step and
it exposes the enums that Chromium depends on.

  • public/WebStorageQuotaError.h:
10:59 AM Changeset in webkit [136418] by aandrey@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [Canvas] show replay screenshot of the last call's canvas
https://bugs.webkit.org/show_bug.cgi?id=103739

Reviewed by Pavel Feldman.

When many canvases are being instrumented we'll want to show replay screenshots for each canvas.
Meanwhile, show the screenshot of the last-touched canvas during the current replay.

  • inspector/InjectedScriptCanvasModuleSource.js:

(.):

10:58 AM WebKit Team edited by sudarsana.nagineni@linux.intel.com
Added myself to the committers list. (diff)
10:54 AM Changeset in webkit [136417] by jsbell@chromium.org
  • 23 edits in trunk/Source

IndexedDB: Rename exception enum members from UGLY_ERR to PrettyError
https://bugs.webkit.org/show_bug.cgi?id=103759

Reviewed by Darin Fisher.

Source/WebCore:

Now that IDBDatabaseException isn't exposed to script with constants, the exception types
can be renamed to match the much friendlier names used in newer iterations of the spec. Also
remove the legacy/unused types.

No new tests, just constant renames.

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::update):
(WebCore::IDBCursor::advance):
(WebCore::IDBCursor::continueFunction):
(WebCore::IDBCursor::deleteFunction):

  • Modules/indexeddb/IDBCursorBackendImpl.cpp:

(WebCore::IDBCursorBackendImpl::continueFunction):
(WebCore::IDBCursorBackendImpl::advance):
(WebCore::IDBCursorBackendImpl::prefetchContinue):

  • Modules/indexeddb/IDBDatabase.cpp:

(WebCore::IDBDatabase::createObjectStore):
(WebCore::IDBDatabase::deleteObjectStore):
(WebCore::IDBDatabase::transaction):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
(WebCore::IDBDatabaseBackendImpl::VersionChangeOperation::perform):
(WebCore::IDBDatabaseBackendImpl::transactionFinishedAndAbortFired):
(WebCore::IDBDatabaseBackendImpl::openConnection):
(WebCore::IDBDatabaseBackendImpl::openConnectionWithVersion):
(WebCore::IDBDatabaseBackendImpl::deleteDatabase):
(WebCore::IDBDatabaseBackendImpl::close):

  • Modules/indexeddb/IDBDatabaseException.cpp: Tidying and renaming.

(WebCore):
(WebCore::getErrorEntry):

  • Modules/indexeddb/IDBDatabaseException.h:
  • Modules/indexeddb/IDBFactory.cpp:

(WebCore::IDBFactory::cmp):

  • Modules/indexeddb/IDBFactoryBackendImpl.cpp:

(WebCore::IDBFactoryBackendImpl::getDatabaseNames):
(WebCore::IDBFactoryBackendImpl::deleteDatabase):
(WebCore::IDBFactoryBackendImpl::open):

  • Modules/indexeddb/IDBIndex.cpp:

(WebCore::IDBIndex::openCursor):
(WebCore::IDBIndex::count):
(WebCore::IDBIndex::openKeyCursor):
(WebCore::IDBIndex::get):
(WebCore::IDBIndex::getKey):

  • Modules/indexeddb/IDBIndexBackendImpl.cpp:

(WebCore::IDBIndexBackendImpl::openCursor):
(WebCore::IDBIndexBackendImpl::openKeyCursor):
(WebCore::IDBIndexBackendImpl::count):
(WebCore::IDBIndexBackendImpl::get):
(WebCore::IDBIndexBackendImpl::getKey):

  • Modules/indexeddb/IDBKeyRange.cpp:

(WebCore::IDBKeyRange::only):
(WebCore::IDBKeyRange::lowerBound):
(WebCore::IDBKeyRange::upperBound):
(WebCore::IDBKeyRange::bound):

  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore::IDBObjectStore::get):
(WebCore::IDBObjectStore::put):
(WebCore::IDBObjectStore::deleteFunction):
(WebCore::IDBObjectStore::clear):
(WebCore):
(WebCore::IDBObjectStore::createIndex):
(WebCore::IDBObjectStore::index):
(WebCore::IDBObjectStore::deleteIndex):
(WebCore::IDBObjectStore::openCursor):
(WebCore::IDBObjectStore::count):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

(WebCore::IDBObjectStoreBackendImpl::get):
(WebCore::IDBObjectStoreBackendImpl::put):
(WebCore):
(WebCore::IDBObjectStoreBackendImpl::setIndexKeys):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreStorageOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::deleteFunction):
(WebCore::IDBObjectStoreBackendImpl::clear):
(WebCore::IDBObjectStoreBackendImpl::createIndex):
(WebCore::IDBObjectStoreBackendImpl::deleteIndex):
(WebCore::IDBObjectStoreBackendImpl::openCursor):
(WebCore::IDBObjectStoreBackendImpl::count):

  • Modules/indexeddb/IDBOpenDBRequest.cpp:

(WebCore::IDBOpenDBRequest::dispatchEvent):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::result):
(WebCore::IDBRequest::error):
(WebCore::IDBRequest::errorCode):
(WebCore::IDBRequest::webkitErrorMessage):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::dispatchEvent):
(WebCore::IDBRequest::uncaughtExceptionInEventHandler):

  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::objectStore):
(WebCore::IDBTransaction::abort):

  • Modules/indexeddb/IDBTransactionBackendImpl.cpp:

(WebCore::IDBTransactionBackendImpl::objectStore):
(WebCore::IDBTransactionBackendImpl::abort):
(WebCore::IDBTransactionBackendImpl::commit):

Source/WebKit/chromium:

Update IDBDatabaseException enum names/values to match WebCore.

  • public/WebIDBDatabaseException.h:
  • src/AssertMatchingEnums.cpp:
  • src/IDBFactoryBackendProxy.cpp:

(WebKit::IDBFactoryBackendProxy::allowIndexedDB):

  • tests/IDBRequestTest.cpp:
10:50 AM Changeset in webkit [136416] by tony@chromium.org
  • 6 edits in branches/chromium/1312

Merge 135178

[Chromium] Flash cannot receive scroll events when threaded compositing is in use
https://bugs.webkit.org/show_bug.cgi?id=101423

Patch by Yusuke Sato <yusukes@chromium.org> on 2012-11-19
Reviewed by James Robinson.

Source/WebKit/chromium:

Add setWantsWheelEvents() to Chromium's WebPluginContainer interface so that a plugin can tell the
container that the plugin always wants to handle wheel events even when a scroll bar is not shown.

  • public/WebPluginContainer.h:

(WebPluginContainer):

  • src/WebPluginContainerImpl.cpp:

(WebKit::WebPluginContainerImpl::setWantsWheelEvents):
(WebKit):
(WebKit::WebPluginContainerImpl::wantsWheelEvents):
(WebKit::WebPluginContainerImpl::WebPluginContainerImpl):

  • src/WebPluginContainerImpl.h:

(WebPluginContainerImpl):

Tools:

Call setWantsWheelEvents(true) in initialize() so that gesture-events and transformed-events tests in
LayoutTests/platform/chromium/plugins/ will not fail even if a buildbot introduces threaded compositing
in the future.

  • DumpRenderTree/chromium/TestWebPlugin.cpp:

(TestWebPlugin::initialize):

TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11411321

10:46 AM Changeset in webkit [136415] by alexis@webkit.org
  • 11 edits in trunk

[Mac] Enable CSS3 background-position offset by default.
https://bugs.webkit.org/show_bug.cgi?id=103905

Reviewed by Simon Fraser.

Source/JavaScriptCore:

Turn the flag on by default.

  • Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Turn the flag on by default.

No new tests : covered by tests landed previously.

  • Configurations/FeatureDefines.xcconfig:
  • css/CSSToStyleMap.cpp:

(WebCore::CSSToStyleMap::mapFillXPosition): Build fix in release on Mac with unused variable.
(WebCore::CSSToStyleMap::mapFillYPosition): Ditto.

Source/WebKit/mac:

Turn the flag on by default.

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

Turn the flag on by default.

  • Configurations/FeatureDefines.xcconfig:

LayoutTests:

Enable by default the new CSS3 background position offsets therefore we
can unskip the tests.

  • platform/mac/TestExpectations:
10:44 AM Changeset in webkit [136414] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Implement context menus in CodeMirrorTextEditor
https://bugs.webkit.org/show_bug.cgi?id=94062

Patch by Jan Keromnes <janx@linux.com> on 2012-12-03
Reviewed by Pavel Feldman.

Listen for contextmenu events in the editor and handle them differently
if triggered on gutter line number or in text body. This adds controls
for breakpoints (including disabled / conditional), debugger navigation
and text input methods.

  • inspector/front-end/CodeMirrorTextEditor.js:

(WebInspector.CodeMirrorTextEditor):
(WebInspector.CodeMirrorTextEditor.prototype._contextMenu):

10:42 AM Changeset in webkit [136413] by tasak@google.com
  • 1 edit
    2 adds in trunk/LayoutTests

[style scoped]: style scoped needs more tests.
https://bugs.webkit.org/show_bug.cgi?id=99821

Reviewed by Dimitri Glazkov.

Test cases in this patch validate dynamically creating, moving and
removing a scoped style works well.

  • fast/css/style-scoped/style-scoped-with-dom-operation-expected.txt: Added.
  • fast/css/style-scoped/style-scoped-with-dom-operation.html: Added.
10:23 AM Changeset in webkit [136412] by Nate Chapin
  • 4 edits in trunk/Source/WebCore

Make MainResourceLoader not use m_frame directly.
https://bugs.webkit.org/show_bug.cgi?id=103907

Reviewed by Darin Adler.

MainResourceLoader will soon cease to be a ResourceLoader subclass. It currently
makes extensively use of both m_documentLoader and m_frame from ResourceLoader.
By moving everything over to going through m_documentLoader, we reduce the number
of members we have to add to MainResourceLoader in https://bugs.webkit.org/show_bug.cgi?id=49246.

No new tests, refactor only.

  • loader/DocumentLoader.cpp:

(WebCore::DocumentLoader::startLoadingMainResource):

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::MainResourceLoader):
(WebCore::MainResourceLoader::create):
(WebCore::MainResourceLoader::receivedError):
(WebCore::MainResourceLoader::willSendRequest):
(WebCore::MainResourceLoader::continueAfterContentPolicy):
(WebCore::MainResourceLoader::didReceiveResponse):
(WebCore::MainResourceLoader::didReceiveData):
(WebCore::MainResourceLoader::startDataLoadTimer):

  • loader/MainResourceLoader.h:

(MainResourceLoader):

10:21 AM Changeset in webkit [136411] by commit-queue@webkit.org
  • 3 edits
    2 moves in trunk

Text Autosizing: don't autosize horizontal menu items implemented via floating list items
https://bugs.webkit.org/show_bug.cgi?id=103840

Patch by Anton Vayvod <avayvod@chromium.org> on 2012-12-03
Reviewed by Kenneth Rohde Christiansen.

Floating list items are often used to implement horizontal menus. Currently, text autosizing
disregards such elements as autosizing containers. List items are often then autosized as part
of a bigger cluster (usually the whole page) and look too big.
This change turns floating list items into autosizing clusters so they are autosized separately
resulting in no font size multiplication for menu items implemented in this manner.

Source/WebCore:

Test: fast/text-autosizing/cluster-list-item.html

  • rendering/TextAutosizer.cpp:

(WebCore::TextAutosizer::isAutosizingContainer): Returns true for floating list items; split the
condition logically.

LayoutTests:

  • fast/text-autosizing/cluster-list-item-expected.html: Renamed from LayoutTests/fast/text-autosizing/list-item-out-of-flow-expected.html.
  • fast/text-autosizing/cluster-list-item.html: Renamed from LayoutTests/fast/text-autosizing/list-item-out-of-flow.html; added case for a floating list item.
10:18 AM Changeset in webkit [136410] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Optimization in image decoding
https://bugs.webkit.org/show_bug.cgi?id=88424

Patch by Viatcheslav Ostapenko <v.ostapenko@samsung.com> on 2012-12-03
Reviewed by Brent Fulgham.

Replace int with J_COLOR_SPACE in parameters of templates setPixel and
outputScanlines to avoid casting from int to enum. It required move
inclusion of jpeglib.h and related #if to JPEGImageDecoder.h .

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp:

(WebCore):
(WebCore::setPixel):
(WebCore::JPEGImageDecoder::outputScanlines):

  • platform/image-decoders/jpeg/JPEGImageDecoder.h:

(JPEGImageDecoder):

10:12 AM Changeset in webkit [136409] by tony@chromium.org
  • 14 edits
    2 adds in trunk

[mathml] Improve performance of nested sup or sub elements
https://bugs.webkit.org/show_bug.cgi?id=103665

Reviewed by Darin Adler.

Source/WebCore:

Reduce the number of extra layouts. Since RenderMathMLSubSup calls
layout twice, this can lead to an exponential number of layouts. Avoid
extra layouts.

Test: mathml/presentation/sup-nested.html - Should not time out.

  • css/mathml.css:

(msup): Stretching children also causes extra layouts. Avoid this by aligning to the top.
(msub): Same as msup, but align to the bottom.

  • rendering/mathml/RenderMathMLSubSup.cpp:

(WebCore::RenderMathMLSubSup::layout): Only do the second layout if the padding changed.
Also fix up the calls to setNeedsLayout (since we're calling it on this) and
setChildNeedsLayout (since we're calling it on a child).

LayoutTests:

Update Chromium Linux baselines and mark tests as failing on other platforms.
The mathml.css change causes these pixel results changes. This doesn't change
the pixel results, it is only a change to the render tree. The render boxes
should more tightly wrap the superscripts and subscripts but be positioned
in the same place.

  • mathml/presentation/sup-nested-expected.txt: Added.
  • mathml/presentation/sup-nested.html: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/chromium-linux/mathml/presentation/roots-expected.txt:
  • platform/chromium-linux/mathml/presentation/row-alignment-expected.txt:
  • platform/chromium-linux/mathml/presentation/sub-expected.txt:
  • platform/chromium-linux/mathml/presentation/subsup-expected.txt:
  • platform/chromium-linux/mathml/presentation/sup-expected.txt:
  • platform/chromium-linux/mathml/presentation/tables-expected.txt:
9:54 AM Changeset in webkit [136408] by kpiascik@rim.com
  • 4 edits in trunk/Source/WebCore

Web Inspector: free Page resources on inspector disconnect
https://bugs.webkit.org/show_bug.cgi?id=103888

Reviewed by Yury Semikhatsky.

We don't need to keep the page around and can free up memory when disconnecting web inspector.

Not testable.

  • inspector/InspectorController.cpp:

(WebCore::InspectorController::disconnectFrontend):

  • inspector/InspectorOverlay.cpp:

(WebCore::InspectorOverlay::freePage):
(WebCore):

  • inspector/InspectorOverlay.h:

(InspectorOverlay):

9:48 AM Changeset in webkit [136407] by alexis@webkit.org
  • 6 edits in trunk

[GTK] Enable CSS3 background-background position offset by default.
https://bugs.webkit.org/show_bug.cgi?id=103903

Reviewed by Philippe Normand.

.:

Turn on the flag by default.

  • configure.ac:

Source/WebCore:

Turn the feature on by default.

No new tests : covered by tests already landed.

  • GNUmakefile.features.am:

LayoutTests:

Enable by default the new CSS3 background position offsets therefore we
can unskip the tests.

  • platform/gtk/TestExpectations:
9:37 AM Changeset in webkit [136406] by sudarsana.nagineni@linux.intel.com
  • 2 edits in trunk/Tools

Unreviewed. Adding myself to committers.py.

  • Scripts/webkitpy/common/config/committers.py:
9:06 AM Changeset in webkit [136405] by morrita@google.com
  • 3 edits
    4 adds in trunk

Corrupted DOM tree during appendChild/insertBefore
https://bugs.webkit.org/show_bug.cgi?id=103601

Reviewed by Abhishek Arya.

Source/WebCore:

There are some missing protection in appendChild() and insertBefore().
This change added these.

Dromaeo dom-modify shows no speed regression (5445run/s before vs 5351run/s after)

Tests: fast/events/mutation-during-append-child.html

fast/events/mutation-during-insert-before.html

  • dom/ContainerNode.cpp:

(WebCore::checkAcceptChildGuaranteedNodeTypes):
(WebCore):
(WebCore::ContainerNode::insertBefore):
(WebCore::ContainerNode::appendChild):

LayoutTests:

  • fast/events/mutation-during-append-child-expected.txt: Added.
  • fast/events/mutation-during-append-child.html: Added.
  • fast/events/mutation-during-insert-before-expected.txt: Added.
  • fast/events/mutation-during-insert-before.html: Added.
9:01 AM Changeset in webkit [136404] by jocelyn.turcotte@digia.com
  • 5 edits in trunk/Source

Document::initSecurityContext() fails to call securityOrigin().grantLoadLocalResources()
https://bugs.webkit.org/show_bug.cgi?id=68711

Reviewed by Adam Barth.

Source/WebCore:

It currently fails since Document::loader() will return 0 until
Frame::setDocument is called and we are doing this check before it happens.

Delay the check and let the FrameLoader take care of doing grantLoadLocalResources()
on the Document along with other header checks in FrameLoader::didBeginDocument.

  • dom/Document.cpp:

(WebCore::Document::initSecurityContext):

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::didBeginDocument):

Source/WebKit/qt:

  • tests/qwebpage/tst_qwebpage.cpp:

(tst_QWebPage::testStopScheduledPageRefresh): Unmark the expected failure.

8:25 AM Changeset in webkit [136403] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[GTK][EFL] Gardening for media/video-volume.html
https://bugs.webkit.org/show_bug.cgi?id=103894

Unreviewed gardening: media/video-volume.html fails with
gstreamer.

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-03

  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
7:49 AM Changeset in webkit [136402] by ryuan.choi@samsung.com
  • 9 edits in trunk/Source/WebKit2

[EFL][WK2] Add contents,size,changed signal to the ewk_view API
https://bugs.webkit.org/show_bug.cgi?id=103094

Reviewed by Kenneth Rohde Christiansen.

This patch emits signal to let applications know contents size.
Applications can use this signal to give some additional behavior such as
minimap, external scroll for quick movement.

  • UIProcess/API/efl/EwkViewCallbacks.h: Added contents,size,changed signal.
  • UIProcess/API/efl/EwkViewImpl.cpp: Removed dead code.
  • UIProcess/API/efl/EwkViewImpl.h: Ditto.

(EwkViewImpl):

  • UIProcess/API/efl/ewk_view.h: Added test case.
  • UIProcess/API/efl/tests/test_ewk2_view.cpp:

(onContentsSizeChanged):
(TEST_F):

  • UIProcess/efl/PageClientDefaultImpl.cpp: Emitted contents,size,changed signal.

(WebKit::PageClientDefaultImpl::didChangeContentsSize):

  • UIProcess/efl/PageClientLegacyImpl.cpp: Ditto.

(WebKit::PageClientLegacyImpl::didChangeContentsSize):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::contentsSizeChanged):
Sended DidChangeContentsSize message although TILED_BACKINGSTORE is disabled.

7:48 AM Changeset in webkit [136401] by yoli@rim.com
  • 2 edits in trunk/Source/WebCore

ENABLE(IMAGE_DECODER_DOWN_SAMPLING): Should use TURBO_JPEG_RGB_SWIZZLE fast path for non-scaled images
https://bugs.webkit.org/show_bug.cgi?id=103749

Reviewed by Rob Buis.

Replace !ENABLE(IMAGE_DECODER_DOWN_SAMPLING) with !m_scaled.

No new tests as existing jpegs are good with IMAGE_DECODER_DOWN_SAMPLING set up.

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp:

(WebCore::JPEGImageDecoder::outputScanlines):

7:42 AM Changeset in webkit [136400] by commit-queue@webkit.org
  • 4 edits in trunk

[BlackBerry] Enable HIDDEN_PAGE_DOM_TIMER_THROTTLING
https://bugs.webkit.org/show_bug.cgi?id=103842

Patch by Cosmin Truta <ctruta@rim.com> on 2012-12-03
Reviewed by Yong Li.

.:

Set ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING to ON.

  • Source/cmake/OptionsBlackBerry.cmake:

Source/WebKit/blackberry:

Add HIDDEN_PAGE_DOM_TIMER_THROTTLING.

  • WebCoreSupport/AboutDataEnableFeatures.in:
7:36 AM EFLWebKit edited by laszlo.gombos@gmail.com
Document the possibility of building WebKit2-only - see … (diff)
7:25 AM Changeset in webkit [136399] by Csaba Osztrogonác
  • 11 edits in trunk/Source/WebKit2

Unreviewed fix after r136292 to make GIT-SVN repositories happy.

  • win/WebKit2ExportGenerator.vcproj: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorCommon.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorDebug.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorDebugAll.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorDebugCairoCFLite.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorPostBuild.cmd: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorPreBuild.cmd: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorProduction.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorRelease.vsprops: Added property svn:eol-style.
  • win/WebKit2ExportGeneratorReleaseCairoCFLite.vsprops: Added property svn:eol-style.
7:20 AM Changeset in webkit [136398] by commit-queue@webkit.org
  • 5 edits in trunk

[CMake] Enable building WebKit2-only build for the EFL port
https://bugs.webkit.org/show_bug.cgi?id=103820

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2012-12-03
Reviewed by Gyuyoung Kim.

.:

To create a WebKit2-only build for EFL use the following command:
build-webkit --efl --cmakeargs="-DENABLE_WEBKIT=OFF".

  • CMakeLists.txt: Turn on WebKit1 support if it is not explicitly set (enabled or disabled) for

all CMake based ports.

  • Source/cmake/OptionsEfl.cmake: Enable WebKit2

for the EFL port if it is not explicitly set (enabled or disabled).

Tools:

Set ENABLE_WEBKIT2 to OFF if build-webkit was run with --no-webkit2.
Never set ENABLE_WEBKIT in build-webkit. This will simplyfy invoking
cmake directly. Initialize $cmakeArgs to avoid potential
warnings when running the script.

  • Scripts/build-webkit:
7:18 AM Changeset in webkit [136397] by kbalazs@webkit.org
  • 2 edits in trunk/LayoutTests

Unreviewed Qt gardening.

Remove image expectation for tests that now pass.

  • platform/qt-5.0-wk2/TestExpectations:
7:04 AM Changeset in webkit [136396] by schenney@chromium.org
  • 2 edits
    2 adds
    1 delete in trunk/LayoutTests

[Chromium] Expectations fix up

Unreviewed expectations.

Two tests appear to have been out-of-date when they were last rebaselined.

  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/shadows: Added.
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png: Added.
  • platform/chromium-win-xp/svg/carto.net: Removed.
  • platform/chromium-win-xp/svg/carto.net/colourpicker-expected.png: Removed.
  • platform/chromium-win/svg/carto.net/colourpicker-expected.png:
7:00 AM Changeset in webkit [136395] by kbalazs@webkit.org
  • 2 edits
    1 add
    10 deletes in trunk/LayoutTests

svg/custom/baseval-animval-equality.svg should use dumpAsText
https://bugs.webkit.org/show_bug.cgi?id=103873

Reviewed by Dirk Schulze.

Turn it to a dumpAsText test.

  • platform/chromium-mac-lion/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/chromium-mac-snowleopard/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/chromium-mac/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/chromium/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/gtk/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/mac-lion/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/mac-wk2/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/mac/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • platform/qt/svg/custom/baseval-animval-equality-expected.txt: Removed.
  • svg/custom/baseval-animval-equality-expected.txt: Added.
  • svg/custom/baseval-animval-equality.svg:
6:52 AM Changeset in webkit [136394] by pierre.rossi@gmail.com
  • 9 edits in trunk/Source/WebKit/qt

[Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
https://bugs.webkit.org/show_bug.cgi?id=103844

Patch by Pierre Rossi <pierre.rossi@digia.com> on 2012-12-03
Reviewed by Simon Hausmann.

Let's follow the common practice and have one export macro per library.
We can't rely on BUILDING_WEBKIT anymore in that case, so we use the
qmake defines instead.

  • Api/qwebkitglobal.h: Updated the import/export logic.
  • WidgetApi/qgraphicswebview.h: s/QWEBKIT/QWEBKITWIDGETS/
  • WidgetApi/qwebframe.h: Ditto.
  • WidgetApi/qwebinspector.h: Ditto.
  • WidgetApi/qwebpage.h: Ditto.
  • WidgetApi/qwebview.h: Ditto.
  • WidgetSupport/InitWebKitQt.cpp:

(WebKit::initializeWebKitWidgets): use QWEBKITWIDGETS_EXPORT.

  • WidgetSupport/InitWebKitQt.h:

(WebKit): Ditto.

6:28 AM Changeset in webkit [136393] by arv@chromium.org
  • 3 edits in trunk/LayoutTests

Update Acid3 test to the latest version
https://bugs.webkit.org/show_bug.cgi?id=102943

Reviewed by Ojan Vafai.

The Acid3 test has been updated to not break when browsers starts to implement new
standards. This updates our copy of the Acid3 test.

  • fast/dom/Range/acid3-surround-contents.html:
  • http/tests/misc/acid3.html:
6:27 AM Changeset in webkit [136392] by tommyw@google.com
  • 23 edits
    3 deletes in trunk

Speech Recognition API: Update SpeechRecognitionEvent to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Kentaro Hara.

Source/WebCore:

Specification for the Speech Recognition API:
http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html

This patch does the following:
o Adds results, and removing result, on SpeechRecognitionEvent
o Renaming SpeechRecognitionResult::final to isFinal
o Removing emma from SpeechRecognitionResult

The emma attribute is supposed to move from SpeechRecognitionResult to the SpeechRecognitionEvent,
but that caused GC issues for unrelated code so it will be added later when properly fixed.

Existing tests updated to test the new API.

  • Modules/speech/SpeechRecognition.cpp:

(WebCore::SpeechRecognition::start):
(WebCore::SpeechRecognition::didReceiveResults):
(WebCore):

  • Modules/speech/SpeechRecognition.h:

(SpeechRecognition):

  • Modules/speech/SpeechRecognitionEvent.cpp:

(WebCore::SpeechRecognitionEvent::createResult):
(WebCore):
(WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::~SpeechRecognitionEvent):

  • Modules/speech/SpeechRecognitionEvent.h:

(SpeechRecognitionEventInit):
(SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::resultIndex):
(WebCore::SpeechRecognitionEvent::results):

  • Modules/speech/SpeechRecognitionEvent.idl:
  • Modules/speech/SpeechRecognitionResult.cpp:
  • Modules/speech/SpeechRecognitionResult.h:

(WebCore::SpeechRecognitionResult::isFinal):
(SpeechRecognitionResult):

  • Modules/speech/SpeechRecognitionResult.idl:
  • WebCore.gypi:
  • bindings/js/JSDictionary.cpp:

(WebCore::JSDictionary::convertValue):
(WebCore):

  • bindings/js/JSDictionary.h:
  • bindings/v8/Dictionary.cpp:

(WebCore::Dictionary::get):
(WebCore):

  • bindings/v8/Dictionary.h:

(Dictionary):

  • bindings/v8/custom/V8SpeechRecognitionResultCustom.cpp: Removed.

Source/WebKit/chromium:

Adding the new didReceiveResults method.

  • public/WebSpeechRecognizerClient.h:
  • src/SpeechRecognitionClientProxy.cpp:

(WebKit::SpeechRecognitionClientProxy::didReceiveResults):
(WebKit):

  • src/SpeechRecognitionClientProxy.h:

(SpeechRecognitionClientProxy):

Tools:

Changing the mock to use the new results delivery API.

  • DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:

LayoutTests:

Updating basic tests and removing emma tests temporarily.

  • fast/speech/scripted/emma-expected.txt: Removed.
  • fast/speech/scripted/emma.html: Removed.
  • fast/speech/scripted/speechrecognition-basics-expected.txt:
  • fast/speech/scripted/speechrecognition-basics.html:
6:26 AM Changeset in webkit [136391] by michael.bruning@digia.com
  • 2 edits in trunk/Source/WebKit2

[Qt][WK2] New resize tests fail
https://bugs.webkit.org/show_bug.cgi?id=103875

Reviewed by Jocelyn Turcotte.

Removes reference to unused viewportSpy, adds clearing the sizeSpy to the init method instead.

  • UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml:
6:15 AM Changeset in webkit [136390] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[EFL] Gardening, mark tests flaky
https://bugs.webkit.org/show_bug.cgi?id=103884

Unreviewed gardening to mark tests flaky based on flakiness dashboard.

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-03

  • platform/efl-wk2/TestExpectations:
  • platform/efl/TestExpectations:
6:10 AM Changeset in webkit [136389] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebKit2

[GTK] Custom URI schemes stop working on Epiphany using WebKit2 after killing the web process
https://bugs.webkit.org/show_bug.cgi?id=103729

Patch by Joaquim Rocha <jrocha@igalia.com> on 2012-12-03
Reviewed by Carlos Garcia Campos.

When a URI scheme is registered and the WebProcess is killed,
those schemes would not work anymore after the process is relaunched.

This was observed in Epiphany and possibly affects any port that
uses libsoup.

  • Shared/WebProcessCreationParameters.cpp:

(WebKit::WebProcessCreationParameters::encode): Encode the registered URI schemes.
(WebKit::WebProcessCreationParameters::decode): Decode the registered URI schemes.

  • Shared/WebProcessCreationParameters.h: Add the urlSchemesRegistered Vector to hold the registered URI schemes.

(WebProcessCreationParameters):

  • UIProcess/efl/WebContextEfl.cpp:

(WebKit::WebContext::platformInitializeWebProcess): Assign the parameters.urlSchemesRegistered from the URI schemes
registered in the WebSoupRequestManagerProxy and removed the notImplemented() call.

  • UIProcess/gtk/WebContextGtk.cpp:

(WebKit::WebContext::platformInitializeWebProcess): Assign the parameters.urlSchemesRegistered from the URI schemes
registered in the WebSoupRequestManagerProxy.

  • UIProcess/soup/WebSoupRequestManagerProxy.cpp:

(WebKit::WebSoupRequestManagerProxy::registerURIScheme): Add the given scheme to the m_registeredURISchemes Vector.

  • UIProcess/soup/WebSoupRequestManagerProxy.h:

(WebKit::WebSoupRequestManagerProxy::registeredURISchemes): Return the m_registeredURISchemes.
(WebSoupRequestManagerProxy): Define the m_registeredURISchemes to hold the schemes that are registered.

  • WebProcess/soup/WebProcessSoup.cpp:

(WebKit::WebProcess::platformInitializeWebProcess): Call m_soupRequestManager.registerURIScheme for each URI scheme
found in the parameters.

  • WebProcess/soup/WebSoupRequestManager.h: Make registerURIScheme public.

(WebSoupRequestManager):

5:30 AM Changeset in webkit [136388] by kov@webkit.org
  • 3 edits in releases/WebKitGTK/webkit-1.10/Source/JavaScriptCore

Merge 129577 - We shouldn't use the optimized versions of shift/unshift if the user is doing crazy things to the array
https://bugs.webkit.org/show_bug.cgi?id=97603
<rdar://problem/12370864>

Reviewed by Gavin Barraclough.

You changed the length behind our backs? No optimizations for you then!

  • runtime/ArrayPrototype.cpp:

(JSC::shift):
(JSC::unshift):

  • runtime/JSArray.cpp:

(JSC::JSArray::shiftCount):

Conflicts:

Source/JavaScriptCore/runtime/JSArray.cpp

5:23 AM Changeset in webkit [136387] by alexis@webkit.org
  • 4 edits in trunk

[Qt] Enable CSS3 background-position offsets by default.
https://bugs.webkit.org/show_bug.cgi?id=103877

Reviewed by Tor Arne Vestbø.

Tools:

Enable by default CSS3 background-position offsets.

  • qmake/mkspecs/features/features.pri:

LayoutTests:

Enable by default the new CSS3 background position offsets therefore we
can unskip the tests.

  • platform/qt/TestExpectations:
5:20 AM Changeset in webkit [136386] by commit-queue@webkit.org
  • 198 edits in trunk

Unreviewed, rolling out r136377.
http://trac.webkit.org/changeset/136377
https://bugs.webkit.org/show_bug.cgi?id=103881

Causes crashes on debug builds that use JSC. (Requested by
mkwst on #webkit).

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

Source/WebCore:

  • Modules/websockets/WebSocket.cpp:

(WebCore::WebSocket::connect):

  • Modules/websockets/WebSocketChannel.cpp:

(WebCore::WebSocketChannel::didFailSocketStream):

  • css/MediaList.cpp:

(WebCore::addResolutionWarningMessageToConsole):

  • dom/Document.cpp:

(WebCore::Document::logExceptionToConsole):
(WebCore::Document::processHttpEquiv):

  • dom/Document.h:

(Document):

  • dom/ScriptExecutionContext.h:

(ScriptExecutionContext):

  • dom/ViewportArguments.cpp:

(WebCore):
(WebCore::parserLineNumber):
(WebCore::reportViewportWarning):

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::validateInteractively):

  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::parseAttribute):

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::printWarningToConsole):

  • inspector/ConsoleMessage.cpp:

(WebCore::ConsoleMessage::ConsoleMessage):

  • inspector/ConsoleMessage.h:

(ConsoleMessage):

  • inspector/InspectorConsoleAgent.cpp:

(WebCore::InspectorConsoleAgent::enable):
(WebCore::InspectorConsoleAgent::addMessageToConsole):
(WebCore::InspectorConsoleAgent::count):

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::didReceiveResponse):

  • page/Console.cpp:
  • page/Console.h:

(Console):

  • page/DOMWindow.cpp:

(WebCore::DOMWindow::printErrorMessage):

  • svg/SVGDocumentExtensions.cpp:

(WebCore):
(WebCore::parserLineNumber):
(WebCore::reportMessage):

  • workers/WorkerContext.cpp:
  • workers/WorkerContext.h:

(WorkerContext):

LayoutTests:

  • fast/frames/sandboxed-iframe-autofocus-denied-expected.txt:
  • fast/frames/sandboxed-iframe-parsing-space-characters-expected.txt:
  • fast/frames/xss-auditor-handles-file-urls-expected.txt:
  • html5lib/run-test11-expected.txt:
  • http/tests/inspector/console-xhr-logging-expected.txt:
  • http/tests/misc/bubble-drag-events-expected.txt:
  • http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
  • http/tests/misc/iframe-invalid-source-crash-expected.txt:
  • http/tests/misc/image-blocked-src-change-expected.txt:
  • http/tests/misc/image-blocked-src-no-change-expected.txt:
  • http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • http/tests/security/frame-loading-via-document-write-expected.txt:
  • http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt:
  • http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
  • http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
  • http/tests/security/xssAuditor/base-href-control-char-expected.txt:
  • http/tests/security/xssAuditor/base-href-expected.txt:
  • http/tests/security/xssAuditor/base-href-null-char-expected.txt:
  • http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
  • http/tests/security/xssAuditor/cookie-injection-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-code-attribute-2-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-code-attribute-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/form-action-expected.txt:
  • http/tests/security/xssAuditor/full-block-base-href-expected.txt:
  • http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt:
  • http/tests/security/xssAuditor/full-block-javascript-link-expected.txt:
  • http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
  • http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
  • http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/full-block-script-tag-expected.txt:
  • http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
  • http/tests/security/xssAuditor/get-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/iframe-injection-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode2-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode3-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-url-encoded-expected.txt:
  • http/tests/security/xssAuditor/iframe-onload-GBK-char-expected.txt:
  • http/tests/security/xssAuditor/iframe-onload-in-svg-tag-expected.txt:
  • http/tests/security/xssAuditor/iframe-srcdoc-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-GBK-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt:
  • http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-ampersand-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-control-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-null-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-url-encoded-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
  • http/tests/security/xssAuditor/link-opens-new-window-expected.txt:
  • http/tests/security/xssAuditor/malformed-HTML-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-1-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-2-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-3-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-4-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-5-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-6-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-7-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-8-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-9-expected.txt:
  • http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/object-tag-expected.txt:
  • http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/open-attribute-body-expected.txt:
  • http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt:
  • http/tests/security/xssAuditor/open-iframe-src-expected.txt:
  • http/tests/security/xssAuditor/open-script-src-expected.txt:
  • http/tests/security/xssAuditor/post-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/property-escape-comment-expected.txt:
  • http/tests/security/xssAuditor/property-escape-entity-expected.txt:
  • http/tests/security/xssAuditor/property-escape-expected.txt:
  • http/tests/security/xssAuditor/property-escape-long-expected.txt:
  • http/tests/security/xssAuditor/property-escape-quote-expected.txt:
  • http/tests/security/xssAuditor/report-script-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-backslash-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-double-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-single-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-convoluted-expected.txt:
  • http/tests/security/xssAuditor/script-tag-entities-expected.txt:
  • http/tests/security/xssAuditor/script-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-open-redirect-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-redirect-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-actual-comma-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-comma-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-invalid-closing-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-unterminated-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment-U2028-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment4-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-02-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-03-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-04-expected.txt:
  • platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:
  • platform/chromium/http/tests/misc/bubble-drag-events-expected.txt:
  • platform/chromium/http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
  • platform/chromium/http/tests/misc/iframe-invalid-source-crash-expected.txt:
  • platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed-expected.txt:
  • platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked-expected.txt:
  • platform/chromium/http/tests/security/xssAuditor/javascript-link-control-char2-expected.txt:
  • platform/chromium/svg/custom/polyline-setattribute-points-null-expected.txt:
  • platform/mac/svg/custom/clip-path-referencing-use2-expected.txt:
  • platform/mac/svg/custom/polyline-setattribute-points-null-expected.txt:
  • svg/custom/invalid-length-units-expected.txt:
  • svg/custom/poly-parsing-error-expected.txt:
  • svg/dom/fuzz-path-parser-expected.txt:
  • svg/dom/path-parser-expected.txt:
  • svg/dom/points-parser-expected.txt:
4:48 AM Changeset in webkit [136385] by kihong.kwon@samsung.com
  • 10 edits
    4 moves
    1 add in trunk

Remove useless included header and change position of Proximity Events test cases
https://bugs.webkit.org/show_bug.cgi?id=103871

Reviewed by Antonio Gomes.

Source/WebCore:

Remove useless included header from DeviceProximityEvent.cpp.

No new tests, It is just code refactoring.

  • Modules/proximity/DeviceProximityEvent.cpp:

LayoutTests:

Change the path of Proximity Events test cases from LayoutTests/fast/dom/Proximity to LayoutTests/proximity.

  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:
  • proximity/check-event-deviceproximity-expected.txt: Renamed from LayoutTests/fast/dom/Proximity/check-event-deviceproximity-expected.txt.
  • proximity/check-event-deviceproximity.html: Renamed from LayoutTests/fast/dom/Proximity/check-event-deviceproximity.html.
  • proximity/create-event-deviceproximity-expected.txt: Renamed from LayoutTests/fast/dom/Proximity/create-event-deviceproximity-expected.txt.
  • proximity/create-event-deviceproximity.html: Renamed from LayoutTests/fast/dom/Proximity/create-event-deviceproximity.html.
4:40 AM Changeset in webkit [136384] by zeno.albisser@digia.com
  • 2 edits in trunk

[Qt][Mac] QtWebKitWidgets has wrong install_name.

This part got lost during the library split.
It was done for QtWebKit before, but it also
needs to be applied to QtWebKitWidgets.

Reviewed by Tor Arne Vestbø.

  • Source/widgetsapi.pri:
4:39 AM Changeset in webkit [136383] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

[chromium] Mark last input event for current vsync interval
https://bugs.webkit.org/show_bug.cgi?id=103647

Patch by Sami Kyostila <skyostil@chromium.org> on 2012-12-03
Reviewed by James Robinson.

On Android all input events are triggered at the start of a vsync to maximize
the amount of time an application has for painting. Add a field to
WebInputEvent to indicate when the input event is the final one for the
current vsync interval. This information will be used for more efficient
render scheduling.

  • public/WebInputEvent.h:

(WebKit::WebInputEvent::WebInputEvent):

4:37 AM Changeset in webkit [136382] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[GStreamer] initial volume events on media elements should happen earlier
https://bugs.webkit.org/show_bug.cgi?id=96912

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-03
Reviewed by Philippe Normand.

Update mediaelement volume and mute properties to whatever values
playbin has as soon as possible (when the playbin reaches PAUSED state).
This will improve user experience as the volume visuals won't suddenly
change when user clicks play.

No new tests: media/event-attributes.html already tests media events.
Unfortunately this test is flaky on EFL and GTK (more specifically
it is flaky on pulseaudio-using gstreamer platforms: http://webkit.org/b/83704).

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::load):

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

(MediaPlayerPrivateGStreamer):

4:37 AM Changeset in webkit [136381] by kkristof@inf.u-szeged.hu
  • 6 edits
    1 add in trunk/LayoutTests

[Qt] Gardening after r136280, r136323, r136164 and r136031.
https://bugs.webkit.org/show_bug.cgi?id=103876

Patch by János Badics <János Badics> on 2012-12-03
Reviewed by Csaba Osztrogonác.

r136280: Added Qt baseline for fast/events/stopPropagation-submit.html.
r136323: Skipped storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html
r136164: Skipped fast/dom/Geolocation/cached-position-iframe.html on Qt-WK2
r136031: Updated Qt-WK2 baselines for http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag* tests.

  • platform/qt-5.0-wk2/TestExpectations:
  • platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
  • platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
  • platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
  • platform/qt/TestExpectations:
  • platform/qt/fast/events/stopPropagation-submit-expected.txt: Added.
4:26 AM Changeset in webkit [136380] by alexis@webkit.org
  • 2 edits in trunk/Source/WebCore

Unreviewed build fix after r136378.

  • css/CSSPrimitiveValueMappings.h:

(WebCore):
(WebCore::CSSPrimitiveValue::operator BackgroundEdgeOrigin):

3:56 AM Changeset in webkit [136379] by kov@webkit.org
  • 2 edits in releases/WebKitGTK/webkit-1.10/Source/WebCore

Merge 130855 - Recursively detach SVGElementInstances
https://bugs.webkit.org/show_bug.cgi?id=98851

Reviewed by Ryosuke Niwa and Abhishek Arya

Before this patch, SVGElementInstance child nodes were not being detached. This
patch makes detach() recursively detach SVGElementInstances.

  • svg/SVGElementInstance.cpp:

(WebCore::SVGElementInstance::detach):

3:55 AM Changeset in webkit [136378] by alexis@webkit.org
  • 18 edits
    2 adds in trunk

[CSS3 Backgrounds and Borders] Implement CSS3 background-position offsets rendering.
https://bugs.webkit.org/show_bug.cgi?id=103440

Reviewed by Julien Chaffraix.

Source/WebCore:

Add the rendering bits of the new background-position offsets. It adds
new bits in FillLayer to store the edges used to position the
background. The old x and y members are used the same way as before, to
store the value of the offset.

Test: fast/backgrounds/background-position-rendering.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::createPositionListForLayer): Refactor into a function the
code duplicated in getPropertyCSSValue to avoid more code
duplication.
(WebCore):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

  • css/CSSPrimitiveValueMappings.h:

(WebCore):
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
Add implicit conversion from the enums used in the rendering code to
CSS values.
(WebCore::CSSPrimitiveValue::operator BackgroundEdgeOrigin):

  • css/CSSToStyleMap.cpp:

(WebCore::CSSToStyleMap::mapFillXPosition):
(WebCore::CSSToStyleMap::mapFillYPosition):

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry): Add
support for the new positioning and refactor a little naming of the
variables for better readability.

  • rendering/style/FillLayer.cpp:

(SameSizeAsFillLayer):
(WebCore::FillLayer::FillLayer):
(WebCore::FillLayer::operator=):
(WebCore::FillLayer::operator==):
(WebCore::FillLayer::fillUnsetProperties):
(WebCore::FillLayer::fillUnsetProperties): When filling the layer with
unset properties make sure we also set the x and y origins of the
background in case they were set.

  • rendering/style/FillLayer.h:

(WebCore::FillLayer::backgroundXOrigin):
(WebCore::FillLayer::backgroundYOrigin):
(WebCore::FillLayer::isBackgroundOriginSet):
(FillLayer):
(WebCore::FillLayer::setBackgroundXOrigin):
(WebCore::FillLayer::setBackgroundYOrigin):
(WebCore::FillLayer::clearPositionX):
(WebCore::FillLayer::clearPositionY):

  • rendering/style/RenderStyleConstants.h:

LayoutTests:

Uncomment the computed style tests from background-position-parsing-2
and add the expected output. Add a new
background-position-rendering test to verify that the background has a
correct position with the new <position> value. I also covered some old
CSS 2.1 values for verification.

  • fast/backgrounds/background-position-parsing-2-expected.txt:
  • fast/backgrounds/background-position-parsing-2.html:
  • fast/backgrounds/background-position-rendering-expected.html: Added.
  • fast/backgrounds/background-position-rendering.html: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:
3:07 AM Changeset in webkit [136377] by mkwst@chromium.org
  • 198 edits in trunk

Web Inspector: Autogenerate stack traces and line numbers when possible.
https://bugs.webkit.org/show_bug.cgi?id=100650

Reviewed by Yury Semikhatsky.

Source/WebCore:

Console messages generated in WebCore generally are asked to do a bit of
work in order to provide a developer with a detailed report. We ask the
caller to either generate stack traces, or pass in a url/line number
pair, which can be a bit of work. Predictably, most callers don't pass
in what we'd like to see.

This patch creates a new, simpler console message generation API that we
expect most call sites to use. Source, type, level, and message are
required, and an optional request ID can be passed in. Everything else
will be autogenerated inside ConsoleMessage when appropriate.

In a subsequent patch, we expect to be able to trim down more of the
external call sites (ContentSecurityPolicy springs to mind) in order to
further consolidate the external interface. Simple is good.

  • Modules/websockets/WebSocket.cpp:

(WebCore::WebSocket::connect):

  • Modules/websockets/WebSocketChannel.cpp:

(WebCore::WebSocketChannel::didFailSocketStream):

Drop the now-redundant URL parameter from various WebSocket errors.

  • css/MediaList.cpp:

(WebCore::addResolutionWarningMessageToConsole):

Switch to Document::addConsoleMessage, which means that we can move
line-number generation out of MediaList.

  • dom/Document.cpp:

(WebCore::Document::logExceptionToConsole):

Use the long-form 'addMessage()' rather than the public interface.

(WebCore::Document::processHttpEquiv):

Drop the URL parameter, as it's now autogenerated.

(WebCore::Document::addConsoleMessage):
(WebCore):

  • dom/Document.h:

(Document):

Override the pure virtual method on ScriptExecutionContext, and pass
the call through to the new Console::addMessage, which accepts a
pointer to the Document in order to do line-number generation.

  • dom/ScriptExecutionContext.h:

(ScriptExecutionContext):

Add a pure virtual variant of addConsoleMessage which accepts only
bare minimum data, and expects autogeneration of the rest.
Additionally, ensure that the other variants always have either a
URL/line number, or a stack trace.

  • dom/ViewportArguments.cpp:

(WebCore::reportViewportWarning):

Drop line numbers and URLs from Viewport warnings. We can generate
these now.

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::validateInteractively):

Drop the URL from form autofocus warnings

  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::parseAttribute):

Drop the URL and line from sandbox attribute warnings.

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::printWarningToConsole):

Drop the URL from WebGL warnings.

  • inspector/ConsoleMessage.cpp:

(WebCore::ConsoleMessage::ConsoleMessage):

Call 'autogenerateMetadata' to ensure that a stack trace is
generated if one isn't provided. Create a new constructor that
accepts a ScriptState/ScriptArguments pair, and use it for console
API calls.

(WebCore):
(WebCore::ConsoleMessage::autogenerateMetadata):

Generate a stack trace given whatever information we've got.

  • inspector/ConsoleMessage.h:

(ConsoleMessage):

Create a new constructor that accepts a ScriptState/ScriptArguments
pair, and use it for console API calls.

  • inspector/InspectorConsoleAgent.cpp:

(WebCore::InspectorConsoleAgent::enable):

Use the short-form ConsoleMessage constructor.

(WebCore::InspectorConsoleAgent::addMessageToConsole):

Use the stack-only constructor, or the ScriptState
constructor, as appropriate.

(WebCore::InspectorConsoleAgent::count):

We generated a stack, pass it in.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::didReceiveResponse):

Drop the URL parameter from the console message for X-Frame-Options
parsing errors.

  • page/Console.cpp:

(WebCore::Console::addMessage):

When given a Document*, generate a line number if: 1) the document
is still being parsed, 2) the document is not in document.write(),
3) the parser isn't waiting for script, and 4) the parser isn't
executing script. Many callsites didn't check all of these, which
is why the SVG rebaseline (for example) drops lots and lots of line
numbers which point at a closing '</script>' tag.

(WebCore):

  • page/Console.h:

(WebCore):
(Console):

Update the public API to accept a Document* and little else.

  • page/DOMWindow.cpp:

(WebCore::DOMWindow::printErrorMessage):

Don't generate a stack here. We can do it later.

  • svg/SVGDocumentExtensions.cpp:

(WebCore::reportMessage):

Drop the URL and line number. We'll generate them. It'll be sweet.

  • workers/WorkerContext.cpp:

(WebCore::WorkerContext::addConsoleMessage):

Generate a stack here, as we likely won't have the context to do
so later. Pass it through.

(WebCore):

  • workers/WorkerContext.h:

(WorkerContext):

Implement the new addConsoleMessage variant.

LayoutTests:

New line numbers! Huzzah! (Also, removing some that shouldn't be there).

  • http/tests/inspector/console-xhr-logging-expected.txt:
  • platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:

One new stack trace! OMG!

  • fast/frames/sandboxed-iframe-autofocus-denied-expected.txt:
  • fast/frames/sandboxed-iframe-parsing-space-characters-expected.txt:
  • fast/frames/xss-auditor-handles-file-urls-expected.txt:
  • html5lib/run-test11-expected.txt:
  • http/tests/misc/bubble-drag-events-expected.txt:
  • http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
  • http/tests/misc/iframe-invalid-source-crash-expected.txt:
  • http/tests/misc/image-blocked-src-change-expected.txt:
  • http/tests/misc/image-blocked-src-no-change-expected.txt:
  • http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • http/tests/security/frame-loading-via-document-write-expected.txt:
  • http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt:
  • http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
  • http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
  • http/tests/security/xssAuditor/base-href-control-char-expected.txt:
  • http/tests/security/xssAuditor/base-href-expected.txt:
  • http/tests/security/xssAuditor/base-href-null-char-expected.txt:
  • http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
  • http/tests/security/xssAuditor/cookie-injection-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-code-attribute-2-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-code-attribute-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/form-action-expected.txt:
  • http/tests/security/xssAuditor/full-block-base-href-expected.txt:
  • http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt:
  • http/tests/security/xssAuditor/full-block-javascript-link-expected.txt:
  • http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
  • http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
  • http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/full-block-script-tag-expected.txt:
  • http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
  • http/tests/security/xssAuditor/get-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/iframe-injection-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode2-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode3-expected.txt:
  • http/tests/security/xssAuditor/iframe-javascript-url-url-encoded-expected.txt:
  • http/tests/security/xssAuditor/iframe-onload-GBK-char-expected.txt:
  • http/tests/security/xssAuditor/iframe-onload-in-svg-tag-expected.txt:
  • http/tests/security/xssAuditor/iframe-srcdoc-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-GBK-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt:
  • http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt:
  • http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-ampersand-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-control-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-null-char-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt:
  • http/tests/security/xssAuditor/javascript-link-url-encoded-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-expected.txt:
  • http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
  • http/tests/security/xssAuditor/link-opens-new-window-expected.txt:
  • http/tests/security/xssAuditor/malformed-HTML-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-1-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-2-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-3-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-4-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-5-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-6-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-7-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-8-expected.txt:
  • http/tests/security/xssAuditor/malformed-xss-protection-header-9-expected.txt:
  • http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-expected.txt:
  • http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/object-tag-expected.txt:
  • http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
  • http/tests/security/xssAuditor/open-attribute-body-expected.txt:
  • http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt:
  • http/tests/security/xssAuditor/open-iframe-src-expected.txt:
  • http/tests/security/xssAuditor/open-script-src-expected.txt:
  • http/tests/security/xssAuditor/post-from-iframe-expected.txt:
  • http/tests/security/xssAuditor/property-escape-comment-expected.txt:
  • http/tests/security/xssAuditor/property-escape-entity-expected.txt:
  • http/tests/security/xssAuditor/property-escape-expected.txt:
  • http/tests/security/xssAuditor/property-escape-long-expected.txt:
  • http/tests/security/xssAuditor/property-escape-quote-expected.txt:
  • http/tests/security/xssAuditor/report-script-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-Big5-char2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-backslash-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-double-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-addslashes-single-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-convoluted-expected.txt:
  • http/tests/security/xssAuditor/script-tag-entities-expected.txt:
  • http/tests/security/xssAuditor/script-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-inside-svg-tag3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-open-redirect-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-expected.txt:
  • http/tests/security/xssAuditor/script-tag-post-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-redirect-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-actual-comma-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-comma-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-invalid-closing-tag-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-data-url3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-source-unterminated-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment-U2028-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment2-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment3-expected.txt:
  • http/tests/security/xssAuditor/script-tag-with-trailing-comment4-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt:
  • http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-02-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-03-expected.txt:
  • http/tests/security/xssAuditor/xss-protection-parsing-04-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • platform/chromium/http/tests/misc/bubble-drag-events-expected.txt:
  • platform/chromium/http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
  • platform/chromium/http/tests/misc/iframe-invalid-source-crash-expected.txt:
  • platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed-expected.txt:
  • platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked-expected.txt:
  • platform/chromium/http/tests/security/xssAuditor/javascript-link-control-char2-expected.txt:
  • platform/chromium/svg/custom/polyline-setattribute-points-null-expected.txt:
  • platform/mac/svg/custom/clip-path-referencing-use2-expected.txt:
  • platform/mac/svg/custom/polyline-setattribute-points-null-expected.txt:
  • svg/custom/invalid-length-units-expected.txt:
  • svg/custom/poly-parsing-error-expected.txt:
  • svg/dom/SVGScriptElement/script-onerror-bubbling-expected.txt:
  • svg/dom/fuzz-path-parser-expected.txt:
  • svg/dom/path-parser-expected.txt:
  • svg/dom/points-parser-expected.txt:
2:21 AM Changeset in webkit [136376] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening.

Adding a failure expectation for editing/selection/caret-alignment-for-vertical-text.html.

  • platform/gtk/TestExpectations:
2:15 AM Changeset in webkit [136375] by rgabor@webkit.org
  • 2 edits in trunk/Source/WebCore

[Qt] Remove an unnecessary masking from swapBgrToRgb()
https://bugs.webkit.org/show_bug.cgi?id=103630

Reviewed by Zoltan Herczeg.

Get rid of a masking command in swapBgrToRgb() to speed up a little bit.

  • platform/graphics/qt/GraphicsContext3DQt.cpp:

(WebCore::swapBgrToRgb):

2:01 AM Changeset in webkit [136374] by commit-queue@webkit.org
  • 4 edits in trunk/LayoutTests

[EFL] Accessibility gardening
https://bugs.webkit.org/show_bug.cgi?id=103735

Unreviewed, EFL accessibility gardening.

Unskipping accessibility tests. Skipping failing ones.

Patch by Mateusz Leszko <m.leszko@samsung.com> on 2012-12-03

  • platform/efl-wk1/TestExpectations:
  • platform/efl-wk2/TestExpectations:
  • platform/efl/TestExpectations:
1:22 AM Changeset in webkit [136373] by commit-queue@webkit.org
  • 9 edits
    3 adds in trunk

CSS Device Adaptation: window.innerWidth returns wrong value if CSS viewport descriptors are applied
https://bugs.webkit.org/show_bug.cgi?id=103737

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-12-03
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

ViewportStyleResolver used frame view visibleContentRect size as initial viewport size.
This however caused a problem when page enabled/disabled CSS stylesheets, having viewport
descriptors. Viewport descriptors from new stylesheet were applied to the visibleContentRect
affected already by the viewport descriptors from the previous stylesheet.

New 'initialViewportSize' property (http://dev.w3.org/csswg/css-device-adapt/#initial-viewport)
was added to frame view so that viewport descriptors can always be applied to the reliable
viewport size.

Test: css3/device-adapt/viewport-width-check-window-innerwidth-correct.html

  • css/ViewportStyleResolver.cpp:

(WebCore::ViewportStyleResolver::ViewportStyleResolver):
(WebCore::ViewportStyleResolver::getViewportArgumentValue):

  • css/ViewportStyleResolver.h:

(ViewportStyleResolver):

  • dom/Document.cpp:

(WebCore):
(WebCore::Document::initialViewportSize):

  • dom/Document.h:

(Document):

  • page/FrameView.h:

(FrameView):
(WebCore::FrameView::initialViewportSize):
(WebCore::FrameView::setInitialViewportSize):

Source/WebKit2:

ViewportStyleResolver used frame view visibleContentRect size as initial viewport size.
This however caused a problem when page enabled/disabled CSS stylesheets, having viewport
descriptors. Viewport descriptors from new stylesheet were applied to the visibleContentRect
affected already by the viewport descriptors from the previous stylesheet.

New 'initialViewportSize' property (http://dev.w3.org/csswg/css-device-adapt/#initial-viewport)
was added to frame view so that viewport descriptors can always be applied to the reliable
viewport size.

Both newly added 'initialViewportSize' property and 'fixedVisibleContentRect' property
are assigned appropriately now in WebPage::sendViewportAttributesChanged().

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::sendViewportAttributesChanged):

LayoutTests:

Added new test css3/device-adapt/viewport-width-check-window-innerwidth-correct.html.

  • css3/device-adapt/viewport-width-check-window-innerwidth-correct-expected.txt: Added.
  • css3/device-adapt/viewport-width-check-window-innerwidth-correct.html: Added.
1:21 AM Changeset in webkit [136372] by fpizlo@apple.com
  • 14 edits in trunk/Source/JavaScriptCore

DFG should trigger rage conversion from double to contiguous if it sees a GetByVal on Double being used in an integer context
https://bugs.webkit.org/show_bug.cgi?id=103858

Reviewed by Gavin Barraclough.

A rage conversion from double to contiguous is one where you try to convert each
double to an int32.

This is probably not the last we'll hear of rage conversion from double to contiguous.
It may be better to do this right during parsing, which will result in fewer cases of
Arrayification. But even so, this looks like a straight win already - 1% speed-up on
Kraken, no major regression anywhere else.

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGArrayMode.cpp:

(JSC::DFG::ArrayMode::refine):
(JSC::DFG::arrayConversionToString):
(JSC::DFG::ArrayMode::dump):
(WTF):
(WTF::printInternal):

  • dfg/DFGArrayMode.h:

(JSC::DFG::ArrayMode::withConversion):
(ArrayMode):
(JSC::DFG::ArrayMode::doesConversion):
(WTF):

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupBlock):
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::checkArray):
(FixupPhase):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dump):

  • dfg/DFGNodeFlags.h:

(DFG):

  • dfg/DFGOperations.cpp:
  • dfg/DFGOperations.h:
  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::arrayify):

  • dfg/DFGStructureCheckHoistingPhase.cpp:

(JSC::DFG::StructureCheckHoistingPhase::run):

  • runtime/JSObject.cpp:

(JSC):
(JSC::JSObject::genericConvertDoubleToContiguous):
(JSC::JSObject::convertDoubleToContiguous):
(JSC::JSObject::rageConvertDoubleToContiguous):
(JSC::JSObject::ensureContiguousSlow):
(JSC::JSObject::rageEnsureContiguousSlow):

  • runtime/JSObject.h:

(JSObject):
(JSC::JSObject::rageEnsureContiguous):

12:56 AM Changeset in webkit [136371] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL][WK2] Use float variable for zoom levels for MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=103863

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-03
Reviewed by Gyuyoung Kim.

Use float instead of int for zoomLevels variables for a clearer expression

  • MiniBrowser/efl/main.c:

(on_key_down):

12:51 AM Changeset in webkit [136370] by apavlov@chromium.org
  • 12 edits
    2 adds in trunk

Web Inspector: [Styles] Retain selector case as written in the source code
https://bugs.webkit.org/show_bug.cgi?id=103118

Reviewed by Antti Koivisto.

Source/WebCore:

This change:

  • adds parsing of selector group components in the CSSParser;
  • builds the SelectorList.selectors based on the source code whenever possible. Strips [multiline] comments and whitespace;
  • adds the MultilineMode to RegularExpression.

Test: inspector/styles/selector-list.html

  • WebCore.exp.in: Update the exported symbol.
  • css/CSSGrammar.y.in: Add invocations for CSSParser::markSelector[Start|End]() as required.
  • css/CSSParser.cpp:

(WebCore::CSSParser::markSelectorStart): Gets invoked to mark a selector group item start offset.
(WebCore::CSSParser::markSelectorEnd): Ditto for the end offset.

  • css/CSSParser.h: Add new methods and a SourceRange tracking field.
  • css/CSSPropertySourceData.h: Add SelectorRangeList to the CSSRuleSourceData.
  • inspector/InspectorStyleSheet.cpp:

(WebCore::selectorsFromSource): Builds the SelectorList based on the underlying source data.
Strips comments and whitespace from selectors.
(WebCore::InspectorStyleSheet::buildObjectForSelectorList):
Builds SelectorList based on the availability of the source code.

  • inspector/front-end/StylesSidebarPane.js:

(WebInspector.StylePropertiesSection.prototype._markSelectorMatches):
Update selectors in all cases to make use of the source-based information whenever possible.

  • platform/text/RegularExpression.cpp:

Add the MultilineMode parameter into the constructor/factory method and ultimately pass it into YarrPattern.
(WebCore::RegularExpression::Private::create): See above.
(WebCore::RegularExpression::Private::Private): See above.
(WebCore::RegularExpression::Private::compile): See above.
(WebCore::RegularExpression::RegularExpression): See above.

  • platform/text/RegularExpression.h:

Add enum MultilineMode, modify constructor and factory method signatures accordingly.

LayoutTests:

  • inspector/styles/selector-list-expected.txt: Added.
  • inspector/styles/selector-list.html: Added.
  • inspector/styles/styles-add-new-rule-expected.txt: Rebaselined.

Dec 2, 2012:

11:58 PM Changeset in webkit [136369] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL][WK2] Add support for a zoom level setting to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=99285

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-02
Reviewed by Gyuyoung Kim.

Add support for a zoom level setting to MiniBrowser.
Shortcuts for setting operations are same as common browsers:
Ctrl + '+' to zoom in, Ctrl + '-' to zoom out and Ctrl + '0' to zoom to default.

  • MiniBrowser/efl/main.c:

(on_key_down):

11:47 PM Changeset in webkit [136368] by Christophe Dumez
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit2 gardening.

Skip storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html
on WebKit2 since testRunner.closeIdleLocalStorageDatabases() is not implemented yet.

  • platform/wk2/TestExpectations:
11:27 PM Changeset in webkit [136367] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Coordinated Graphics: Reorder messages to LayerTreeCoordinatorProxy
https://bugs.webkit.org/show_bug.cgi?id=103843

Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-02
Reviewed by Noam Rosenthal.

Send messages to the UI process by the tree order.
This is in preparation for refactoring TextureMapper to work in an actor
model (http://webkit.org/b/103854).

  • WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:

(WebKit::LayerTreeCoordinator::flushPendingLayerChanges):

10:54 PM Changeset in webkit [136366] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[EFL] Unskip fast/js/array-sort-modifying-tostring.html in release mode
https://bugs.webkit.org/show_bug.cgi?id=103850

Unreviewed, EFL gardening.

This case has been passed in release mode, whereas crashed occasionally in debug mode.

Patch by Kangil Han <kangil.han@samsung.com> on 2012-12-02

  • platform/efl-wk2/TestExpectations:
  • platform/efl/TestExpectations:
10:24 PM Changeset in webkit [136365] by noel.gordon@gmail.com
  • 2 edits in trunk/Source/WebCore

ImageOrientation::transformFromDefault() case labels should be in numerical order
https://bugs.webkit.org/show_bug.cgi?id=101596

Reviewed by Simon Fraser.

Place the orientation case labels in numerical order to better match the EXIF2.2 spec
definitions of orientation values and their ImageOrientation.h enumeration.

No change in behavior. Covered by existing tests:

fast/images/exif-orientation-css.html
fast/images/exif-orientation-image-document.html
fast/images/exif-orientation.html

  • platform/graphics/ImageOrientation.cpp:

(WebCore::ImageOrientation::transformFromDefault): Numerically order the orientation
case statement labels.

10:13 PM Changeset in webkit [136364] by tasak@google.com
  • 1 edit
    3 adds in trunk/LayoutTests

Unreviewed, webkit gardening. Rebaseline of fast/css/font-weight-1.

  • platform/chromium-mac-snowleopard/fast/css/font-weight-1-expected.png: Added.
  • platform/chromium-mac/fast/css/font-weight-1-expected.png: Added.
  • platform/chromium-mac/fast/css/font-weight-1-expected.txt: Added.
9:23 PM Changeset in webkit [136363] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[chromium] platform/chromium/fast/forms/calendar-picker/calendar-picker-datetime-with-step.html is failing on all platforms.
https://bugs.webkit.org/show_bug.cgi?id=103817

Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2012-12-02
Reviewed by Kent Tamura.

Adding initial value to the datetime input. Without it, the test fails
because calendar picker opens current month.

  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/calendar-picker/calendar-picker-datetime-with-step.html:
9:04 PM Changeset in webkit [136362] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, webkit gardening.

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

  • platform/chromium/TestExpectations:

Mark month-multiple-fields-keyboard-events.html as FAIL for WinXP.

7:30 PM Changeset in webkit [136361] by mary.wu@torchmobile.com.cn
  • 2 edits in trunk/Source/WebCore

should sniff it if mimetype don't contain a slash.
https://bugs.webkit.org/show_bug.cgi?id=102778

Reviewed by George Staikos.

Based on http://mimesniff.spec.whatwg.org/, a valid media type
is the string represented by concatenating type, the string "/",
and subtype. So if the mimetype don't contain slash, we should
possible get sniffed type from the content like Firefox/chrome/safari.

RIM Bug# 219590, internally reviewed by Liam Quinn.

No new tests, the patch only impact qt/blackberry porting to be consistent
with chrome, other portings have their own behavior.

  • platform/network/MIMESniffing.cpp:

(std::isUnknownType):

7:12 PM Changeset in webkit [136360] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

DFG CSE should not keep alive things that aren't relevant to OSR
https://bugs.webkit.org/show_bug.cgi?id=103849

Reviewed by Oliver Hunt.

Most Phantom nodes are inserted by CSE, and by default have the same children as the
node that CSE had eliminated. This change makes CSE inspect all Phantom nodes (both
those it creates and those that were created by other phases) to see if they have
children that are redundant - i.e. children that are not interesting to OSR, which
is the only reason why Phantoms exist in the first place. Being relevant to OSR is
defined as one of: (1) you're a Phi, (2) you're a SetLocal, (3) somewhere between
your definition and the Phantom there was a SetLocal that referred to you.

This is a slight speed-up in a few places.

  • dfg/DFGCSEPhase.cpp:

(JSC::DFG::CSEPhase::CSEPhase):
(JSC::DFG::CSEPhase::run):
(JSC::DFG::CSEPhase::performSubstitution):
(CSEPhase):
(JSC::DFG::CSEPhase::eliminateIrrelevantPhantomChildren):
(JSC::DFG::CSEPhase::setReplacement):
(JSC::DFG::CSEPhase::eliminate):
(JSC::DFG::CSEPhase::performNodeCSE):
(JSC::DFG::CSEPhase::performBlockCSE):

6:30 PM Changeset in webkit [136359] by ryuan.choi@samsung.com
  • 4 edits in trunk/Source/WebKit2

[EFL][WK2] Update comments of header files which mentions deprecated API
https://bugs.webkit.org/show_bug.cgi?id=103718

Patch by Ryuan Choi <ryuan.choi@gmail.com> on 2012-12-02
Reviewed by Gyuyoung Kim.

Updated comments which mentions XXX_unref() which was replaced to ewk_object_unref()

  • UIProcess/API/efl/ewk_context.h:
  • UIProcess/API/efl/ewk_database_manager.h:
  • UIProcess/API/efl/ewk_storage_manager.h:
6:08 PM Changeset in webkit [136358] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL][WK1] Change AC bug url appropriately
https://bugs.webkit.org/show_bug.cgi?id=103808

Unreviewed, EFL gardening.

From https://bugs.webkit.org/show_bug.cgi?id=103488 to https://bugs.webkit.org/show_bug.cgi?id=103847

Patch by Kangil Han <kangil.han@samsung.com> on 2012-12-02

  • platform/efl-wk1/TestExpectations:
5:59 PM Changeset in webkit [136357] by fpizlo@apple.com
  • 9 edits in trunk/Source

It should be possible to build and run with DFG_ENABLE(PROPAGATION_VERBOSE)
https://bugs.webkit.org/show_bug.cgi?id=103848

Reviewed by Sam Weinig.

Source/JavaScriptCore:

Fix random dataLog() and print() statements.

  • dfg/DFGArgumentsSimplificationPhase.cpp:

(JSC::DFG::ArgumentsSimplificationPhase::run):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parseCodeBlock):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dumpBlockHeader):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

  • dfg/DFGStructureCheckHoistingPhase.cpp:

(JSC::DFG::StructureCheckHoistingPhase::run):

Source/WTF:

Increase the variadicity of dataLog() and print(), and add a pointerDump()
which allows passing a pointer to something that has a printInternal(). If
the pointer is null, it'll print "(null)"; otherwise it'll invoke the
printInternal() function.

  • wtf/DataLog.h:

(WTF):
(WTF::dataLog):

  • wtf/PrintStream.h:

(PrintStream):
(WTF::PrintStream::print):
(WTF):
(PointerDump):
(WTF::PointerDump::PointerDump):
(WTF::PointerDump::dump):
(WTF::pointerDump):

5:46 PM Changeset in webkit [136356] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, webkit gardening, fix webkit lint.

  • platform/chromium/TestExpectations:
4:45 PM Changeset in webkit [136355] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

REGRESSION(r134376): ASSERT(!m_mainBackingStore) hits in CoordinatedGraphicsLayer::syncImageBacking().
https://bugs.webkit.org/show_bug.cgi?id=103845

Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-02
Reviewed by Noam Rosenthal.

flushCompositingStateForThisLayerOnly() calls syncImageBacking() before calling
updateContentBuffers(). It means there can be the moment that
CoordinatedGraphicsLayer has m_mainBackingStore although
shouldHaveBackingStore() return false.
This patch changes syncImageBacking() to check shouldHaveBackingStore() instead
of m_mainBackingStore.

  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:

(WebCore::CoordinatedGraphicsLayer::syncImageBacking):
(WebCore::CoordinatedGraphicsLayer::adjustContentsScale):
(WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
(WebCore::CoordinatedGraphicsLayer::shouldHaveBackingStore):
(WebCore):

  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:

(CoordinatedGraphicsLayer):

4:21 PM Changeset in webkit [136354] by commit-queue@webkit.org
  • 2 edits
    1 move
    1 add in trunk/Source/WebKit2

Rename WebSocketServerGtk.cpp as WebSocketServerSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=103743

Patch by Seokju Kwon <Seokju Kwon> on 2012-12-02
Reviewed by Gustavo Noronha Silva.

EFL port is using a GSocket based implementation as well.
WebSocketServerSoup can be used together.

  • GNUmakefile.list.am:
  • UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp: Renamed from Source/WebKit2/UIProcess/InspectorServer/gtk/WebSocketServerGtk.cpp.

(WebKit):
(WebKit::connectionCallback):
(WebKit::WebSocketServer::platformInitialize):
(WebKit::WebSocketServer::platformListen):
(WebKit::WebSocketServer::platformClose):

3:43 PM Changeset in webkit [136353] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL][WK2] ECORE_GETOPT_VALUE_BOOL need to be used for Eina_Bool
https://bugs.webkit.org/show_bug.cgi?id=103835

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-02
Reviewed by Kentaro Hara.

Because legacy_behavior_enabled is Eina_Bool, ECORE_GETOPT_VALUE_BOOL need to be used

  • MiniBrowser/efl/main.c:

(elm_main):

1:18 PM Changeset in webkit [136352] by mkwst@chromium.org
  • 3 edits in trunk/Tools

Garden-o-matic shouldn't die when blank JSON results are received.
https://bugs.webkit.org/show_bug.cgi?id=103838

Reviewed by Adam Barth.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:

If the JSONP string doesn't contain '(' or ')', return an empty object.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:

Check that this behavior stays in place.

12:48 PM Changeset in webkit [136351] by eric@webkit.org
  • 2 edits in trunk/Tools

run-perf-tests --profile should use iprofiler instead of instruments on Mac
https://bugs.webkit.org/show_bug.cgi?id=103765

Unreviewed. Updating the unittests after my previous change.

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

(ProfilerFactoryTest.test_basic):

12:29 PM Changeset in webkit [136350] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] Adding checks for null when checking cookie status in CookieJarBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=103748

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-12-02
Reviewed by Rob Buis.

The logic is flipped in the previous patch.

  • loader/blackberry/CookieJarBlackBerry.cpp:

(WebCore::cookiesEnabled):

11:56 AM Changeset in webkit [136349] by commit-queue@webkit.org
  • 5 edits in trunk

[chromium] Correct the location of synthetic mouse events when page is zoomed
https://bugs.webkit.org/show_bug.cgi?id=103823

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-12-02
Reviewed by Adam Barth.

Source/WebKit/chromium:

The event-location conversion function expects absolute locations. Change the
function name to reflect that, and use the absolute location of the touch-points
when converting from touch events.

  • src/WebInputEventConversion.cpp:

(WebKit::convertAbsoluteLocationForRenderObject):
(WebKit::updateWebMouseEventFromWebCoreMouseEvent):
(WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
(WebKit::addTouchPoints):
(WebKit::WebGestureEventBuilder::WebGestureEventBuilder):

LayoutTests:

  • platform/chromium/plugins/touch-events-synthesized-expected.txt:
  • platform/chromium/plugins/touch-events-synthesized.html:
10:49 AM Changeset in webkit [136348] by jparent@chromium.org
  • 2 edits in trunk/Tools

Remove dead code in flakiness dashboard for obsolete buildDir option
https://bugs.webkit.org/show_bug.cgi?id=103792

Reviewed by Dirk Pranke.

  • TestResultServer/static-dashboards/dashboard_base.js:

(initBuilders):

9:25 AM Changeset in webkit [136347] by robert@webkit.org
  • 3 edits
    4 adds in trunk

Bad rendering of web page because of image's height is set to 100%
https://bugs.webkit.org/show_bug.cgi?id=28035

Reviewed by Eric Seidel.

Source/WebCore:

Call computeReplacedLogicalHeight() to get the correct logical height of a replaced element
for calculating the element's width. RenderBox::computeLogicalHeightUsing() is a helper function designed for finding
the min and max height values and is not the way to find the actual used height of a replaced element.

WebKit's quirks-mode behaviour for the test case is unaffected by this change.

Tests: fast/css/computed-image-width-with-percent-height-quirksmode.html

fast/css/computed-image-width-with-percent-height.html

  • rendering/RenderReplaced.cpp:

(WebCore::RenderReplaced::computeReplacedLogicalWidth):

LayoutTests:

  • fast/css/computed-image-width-with-percent-height-expected.html: Added.
  • fast/css/computed-image-width-with-percent-height-quirksmode-expected.html: Added.
  • fast/css/computed-image-width-with-percent-height-quirksmode.html: Added.
  • fast/css/computed-image-width-with-percent-height.html: Added.
7:35 AM Changeset in webkit [136346] by mihnea@adobe.com
  • 5 edits
    2 adds in trunk

[CSS Regions] regionlayoutupdate event fires continuously
https://bugs.webkit.org/show_bug.cgi?id=102101

Reviewed by David Hyatt.

Source/WebCore:

According to the CSSRegions spec, http://dev.w3.org/csswg/css3-regions/#region-flow-layout-events, the regionlayoutupdate event
should be dispatched when there is a possible layout change in the region chain.
In the current implementation, regionlayoutupdate is dispatched when:

  1. a region from region chain changed its regionOverset value
  2. a region from region chain has regionOverset = fit| overset

In the case of a named flow having an auto-height region with regionOverset = fit, the second step of layout was done
also when there was not required, therefore the regionlayoutuodate was unnecessary triggered.

We should proceed with the 2-pass layout only if the flow-thread having auto-height regions in region chain needs layout.

Test: fast/regions/autoheight-regionlayoutupdate-multipletimes.html

  • rendering/FlowThreadController.cpp:

(WebCore::FlowThreadController::hasRenderNamedFlowThreadsNeedingLayout):

  • rendering/FlowThreadController.h:
  • rendering/RenderView.cpp:

(WebCore::RenderView::layout):

LayoutTests:

Add a test to make sure that for a flow thread with auto-height region, the regionlayoutupdate event is not unnecessary triggered.

  • fast/regions/autoheight-regionlayoutupdate-multipletimes-expected.txt: Added.
  • fast/regions/autoheight-regionlayoutupdate-multipletimes.html: Added.
7:14 AM WebInspector edited by mousewiki@yahoo.com
(diff)
7:13 AM WebInspector edited by zandobersek@gmail.com
Remove spam content. (diff)
7:12 AM BadContent edited by zandobersek@gmail.com
Relist a tireless spam bot. (diff)
5:22 AM Changeset in webkit [136345] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt: clean up logic for retrying failed tests a bit
https://bugs.webkit.org/show_bug.cgi?id=103829

Reviewed by Ojan Vafai.

The code for determining when to retry test failures and
show the results.html file was awkward and could stand some
cleaning up. This patch should have no functional changes.

The routine called _get_failures() returned a dict of test names
to failure types, but we only ever used the names, so I've converted
it to return a list (and renamed it); also, the show_results_html()
file was calling that routine to figure out if anything failed, when
the information was already in the result_summary (as either
unexpected_results or total_failures), so we were doing unnecessary work.

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

(Manager.init):
(Manager.run):
(Manager._run_tests):
(Manager._failed_test_names):
(Manager._copy_results_html_file):

5:12 AM Changeset in webkit [136344] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt: remove unused methods in manager.py
https://bugs.webkit.org/show_bug.cgi?id=103828

Reviewed by Eric Seidel.

These two methods weren't being called by anything and were no
longer needed.

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

(Manager._get_failures):
(Manager._upload_json_files):

5:09 AM Changeset in webkit [136343] by commit-queue@webkit.org
  • 6 edits
    1 copy in trunk/Source/WebKit/chromium

[Chromium] Create an enum for the kind of date input and use that on WebDateTimeChooserParams instead of a bare WebString
https://bugs.webkit.org/show_bug.cgi?id=103746

Patch by Miguel Garcia <miguelg@chromium.org> on 2012-12-02
Reviewed by Kent Tamura.

Using an enum makes the chromium part much simpler and prevents makes sure that new items are added explicitly.

  • WebKit.gyp:
  • public/WebDateTimeChooserParams.h:

(WebDateTimeChooserParams):

  • public/WebDateTimeInputType.h: Copied from Source/WebKit/chromium/public/WebTextInputType.h.

(WebKit):

  • public/WebTextInputType.h:
  • public/WebViewClient.h:

(WebViewClient):

  • src/ExternalDateTimeChooser.cpp:

(WebKit::ExternalDateTimeChooser::openDateTimeChooser):
(WebKit::ExternalDateTimeChooser::webType):
(WebKit):

  • src/ExternalDateTimeChooser.h:

(ExternalDateTimeChooser):

5:00 AM Changeset in webkit [136342] by Christophe Dumez
  • 2 edits in trunk/Source/WebKit2

[CoordinatedGraphics] LayerTreeRenderer::removeImageBacking() calls HashMap::find() twice
https://bugs.webkit.org/show_bug.cgi?id=103815

Reviewed by Noam Rosenthal.

Call HashMap::take() in LayerTreeRenderer::removeImageBacking()
to avoid calling HashMap::find() twice. find() was called once
explicitly to get an iterator and a second time to remove the
value from the value from the HashMap. We could have used
remove(iterator) instead of remove(key) but using take() results
in simpler code.

  • UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:

(WebKit::LayerTreeRenderer::removeImageBacking):

4:49 AM Changeset in webkit [136341] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

Coordinated Graphics: Images disappear randomly
https://bugs.webkit.org/show_bug.cgi?id=103522

Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-02
Reviewed by Kenneth Rohde Christiansen.

Currently, we delete layers before synchronizing layer states of layers. It
causes flash. This patch deletes layers after the synchronization.

In addiation, this patch removes updateViewport() in
LayerTreeCoordinatorProxy::deleteCompositingLayer() because
LayerTreeCoordinatorProxy::didRenderFrame() is always called after
deleting layers.

  • UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:

(WebKit::LayerTreeCoordinatorProxy::deleteCompositingLayer):

  • WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:

(WebKit::LayerTreeCoordinator::flushPendingLayerChanges):

4:43 AM Changeset in webkit [136340] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Correct the spelling of the cmakeargs argument
https://bugs.webkit.org/show_bug.cgi?id=103814

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2012-12-02
Reviewed by Darin Adler.

The script expects cmakeargs (plural), so lets get the
documentation of the script report the same.

  • Scripts/build-webkit:
4:40 AM Changeset in webkit [136339] by mkwst@chromium.org
  • 7 edits in trunk

[gtk] Enable the CSP_NEXT runtime flag.
https://bugs.webkit.org/show_bug.cgi?id=103810

Reviewed by Adam Barth.

Source/WebKit/gtk:

This patch adds methods to DumpRenderTreeSupport in order to ensure that
CSP 1.1 features are enabled when running DRT tests in the GTK port.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:

(DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):

  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

(DumpRenderTreeSupportGtk):

Tools:

  • DumpRenderTree/gtk/DumpRenderTree.cpp:

(resetDefaultsToConsistentValues):

Turn on the CSP_NEXT runtime flag when running tests under GTK.

LayoutTests:

  • platform/gtk/TestExpectations:

Unskipping CSP 1.1 tests for GTK.

4:38 AM Changeset in webkit [136338] by mkwst@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening.

Skipping failing tests on mac.

  • platform/chromium/TestExpectations:

Mark fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html
and widening fast/css/font-weight-1.html to include 'Mac'.

4:22 AM Changeset in webkit [136337] by commit-queue@webkit.org
  • 7 edits
    2 adds in trunk

Extend JavaScript support for blending in canvas
https://bugs.webkit.org/show_bug.cgi?id=101804

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-12-02
Reviewed by Dirk Schulze.

Source/WebCore:

Added parsing code and variables to support additional canvas blend modes
see spec: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#canvascompositingandblending

Test: canvas/philip/tests/2d.composite.globalComposite.html

  • html/HTMLImageElement.cpp:

(WebCore::HTMLImageElement::parseAttribute):

  • html/canvas/CanvasRenderingContext2D.cpp:

(WebCore::CanvasRenderingContext2D::State::State):
(WebCore::CanvasRenderingContext2D::State::operator=):
(WebCore::CanvasRenderingContext2D::globalCompositeOperation):
(WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):
(WebCore::CanvasRenderingContext2D::drawImageFromRect):

  • html/canvas/CanvasRenderingContext2D.h:

(State):

  • platform/graphics/GraphicsTypes.cpp:

(WebCore):
(WebCore::parseCompositeAndBlendOperator):
(WebCore::compositeOperatorName):

  • platform/graphics/GraphicsTypes.h:

LayoutTests:

Added a test that checks that all blendingmodes are supported

  • canvas/philip/tests/2d.composite.globalComposite-expected.txt: Added.
  • canvas/philip/tests/2d.composite.globalComposite.html: Added.
4:11 AM Changeset in webkit [136336] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebKit2

[Windows, WinCairo] Revise export definitions to match mac.
https://bugs.webkit.org/show_bug.cgi?id=103687

Reviewed by Tim Horton.

Update export definition files to use the same feature exclusion
macros as other generated ports.

  • win/WebKit2.def.in: Added additional build macro guards.
4:09 AM Changeset in webkit [136335] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[EFL] Fix build warning in GraphicsContext3DEfl.cpp
https://bugs.webkit.org/show_bug.cgi?id=103807

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-02
Reviewed by Laszlo Gombos.

Because GraphicsContext3D::ImageExtractor::extractImage is not implemented yet,
comment out the parameter names for removing -Wunused-parameter warnings.

  • platform/graphics/efl/GraphicsContext3DEfl.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

4:03 AM Changeset in webkit [136334] by akling@apple.com
  • 11 edits
    2 adds in trunk/Source/WebCore

Keep ElementAttributeData sharing cache open for a while after document parsing finishes.
<http://webkit.org/b/103720>

Reviewed by Antti Koivisto.

Allow web pages that generate content dynamically to benefit more from the ElementAttributeData sharing
cache by keeping it open for 10 seconds after document parsing finishes. This enables elements constructed
from HTML fragments to share attribute data with other identical elements.

Elements created via Document.createElement are still unsupported since we don't know the list of attributes
at the time of construction.

401kB progression on Membuster3.

Document now holds on to a DocumentSharedObjectPool, accessible via Document::sharedObjectPool().
It is non-null during parsing and for some time afterwards, and can be used to implement additional
caches that are not worth holding on to permanently.

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

Add new class DocumentSharedObjectPool.

  • dom/Document.cpp:

(WebCore::Document::Document):
(WebCore::Document::setParsing):
(WebCore::Document::finishedParsing):
(WebCore::Document::sharedObjectPoolClearTimerFired):

  • dom/Document.h:

(WebCore::Document::sharedObjectPool):

Create DocumentSharedObjectPool when parsing starts, kill it on a 10s timer after parsing finishes.

  • dom/DocumentSharedObjectPool.cpp: Added.

(ImmutableElementAttributeDataCacheKey):
(WebCore::ImmutableElementAttributeDataCacheKey::ImmutableElementAttributeDataCacheKey):
(WebCore::ImmutableElementAttributeDataCacheKey::operator!=):
(WebCore::ImmutableElementAttributeDataCacheKey::hash):
(ImmutableElementAttributeDataCacheEntry):
(WebCore::ImmutableElementAttributeDataCacheEntry::ImmutableElementAttributeDataCacheEntry):
(WebCore::DocumentSharedObjectPool::cachedImmutableElementAttributeData):
(WebCore::DocumentSharedObjectPool::DocumentSharedObjectPool):
(WebCore::DocumentSharedObjectPool::~DocumentSharedObjectPool):

  • dom/DocumentSharedObjectPool.h: Added.

(DocumentSharedObjectPool):
(WebCore::DocumentSharedObjectPool::create):

  • dom/Element.cpp:

(WebCore::Element::parserSetAttributes):

Moved the ElementAttributeData cache to DocumentSharedObjectPool.

3:56 AM Changeset in webkit [136333] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] fast/forms/*-multiple-fields/*-multiple-fields-preserve-value-after-history-back.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=96720

  • platform/chromium/TestExpectations: Mark them Slow
3:54 AM Changeset in webkit [136332] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[chromium] Let Pepper Flash use integrated GPU
https://bugs.webkit.org/show_bug.cgi?id=103800

Patch by John Bauman <jbauman@chromium.org> on 2012-12-02
Reviewed by Kenneth Russell.

Pepper Flash uses the SharedGraphicsContext3D as a parent, so don't
require that to use the discrete GPU. This means that accelerated
canvas will use the integrated GPU, but that will save battery life
and seems acceptable.

  • platform/graphics/gpu/SharedGraphicsContext3D.cpp:

(WebCore::SharedGraphicsContext3DImpl::createContext):

3:38 AM Changeset in webkit [136331] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

documentElement should not always get a renderer
https://bugs.webkit.org/show_bug.cgi?id=103475

Patch by Elliott Sprehn <Elliott Sprehn> on 2012-12-02
Reviewed by Ojan Vafai.

Source/WebCore:

Only SVG documents need a renderer on the documentElement when it's
display: none. This behavior is wrong, but there's assumptions in
FrameView and SVGImage that depend on a RenderSVGRoot existing for all
loaded SVG document and images.

The current code has logic that makes it appear as if we always create
a renderer for the documentElement even when it's display: none, but
because HTMLElement::createRenderer doesn't call super we end up with
HTMLElement::rendererIsNeeded returning true for display: none, but
HTMLElement::createRenderer returning null.

Instead of this generic documentElement logic only special case SVG
until someone can fix Bug 103493 so we don't need it.

Test: fast/css/display-none-documentElement.html

  • dom/Element.cpp:

(WebCore::Element::rendererIsNeeded):
(WebCore::Element::createRenderer):

  • svg/SVGSVGElement.cpp:

(WebCore::SVGSVGElement::rendererIsNeeded):

  • svg/SVGSVGElement.h:

(SVGSVGElement):

LayoutTests:

Test that using display: none on the documentElement hides the document.

  • fast/css/display-none-documentElement-expected.html: Added.
  • fast/css/display-none-documentElement.html: Added.
3:30 AM Changeset in webkit [136330] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit/blackberry

[BlackBerry]Tap highlight
https://bugs.webkit.org/show_bug.cgi?id=103787

Patch by Tiancheng Jiang <tijiang@rim.com> on 2012-12-02
Reviewed by Rob Buis.

RIM PR 248626
Internally Reviewed by Genevieve Mak.

Draw tap highlight as soon as tap on element.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::touchEvent):

  • WebKitSupport/TouchEventHandler.cpp:

(BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):

  • WebKitSupport/TouchEventHandler.h:

(TouchEventHandler):

3:23 AM Changeset in webkit [136329] by commit-queue@webkit.org
  • 4 edits
    5 adds in trunk

Source/WebCore: [Resource Timing] implementation of cross origin resouce timing restrictions.
https://bugs.webkit.org/show_bug.cgi?id=84886.

Patch by Pan Deng <pan.deng@intel.com> on 2012-12-02
Reviewed by Tony Gentilcore.

This patch implemented resource timing behaviors of cross origin. By default, detailed timing info is hided in cross origin resource timing, only startTime, duration, fetchStart and responseEnd can be observed. Exceptions are, server side allow its origin can be timing by another through a header with "timing-allow-origin" field.

Tests: http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request.html

http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request.html

  • page/Performance.cpp:

(WebCore::passesTimingAllowCheck):
(WebCore):
(WebCore::Performance::addResourceTiming):

  • page/Performance.h:

(WebCore):
(Performance):

  • page/PerformanceResourceTiming.cpp:

(WebCore):

  • page/PerformanceResourceTiming.h:

(WebCore::PerformanceResourceTiming::create):
(PerformanceResourceTiming):

LayoutTests: [Resource Timing]Test cases of cross origin resource timing.
https://bugs.webkit.org/show_bug.cgi?id=84886.

Patch by Pan Deng <pan.deng@intel.com> on 2012-12-02
Reviewed by Tony Gentilcore.

Test cases in this patch validate resource timing behavior when cross origin request with/without "allow-timing-origin" response header.

  • http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php: Added.
  • http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request-expected.txt: Added.
  • http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request.html: Added.
  • http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request-expected.txt: Added.
  • http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request.html: Added.
3:16 AM Changeset in webkit [136328] by commit-queue@webkit.org
  • 10 edits in trunk/Source/WebCore

Simplify treeScope and setTreeScope
https://bugs.webkit.org/show_bug.cgi?id=103708

Patch by Elliott Sprehn <Elliott Sprehn> on 2012-12-02
Reviewed by Hajime Morita.

By making the default treeScope in NodeRareData the document and then
moving the m_treeScope field to NodeRareDataBase we can make treeScope
inline and make setTreeScope much simpler.

There's also no reason to save calls to rareData() now that the map has
been eliminated by r133372 so we can eliminate the return value from
setTreeScope.

No new tests, just refactoring.

  • WebCore.exp.in:
  • dom/Document.h:

(WebCore::Node::treeScope):
(WebCore):

  • dom/Element.cpp:

(WebCore::Element::createRareData):

  • dom/ElementRareData.h:

(ElementRareData):
(WebCore::ElementRareData::ElementRareData):

  • dom/Node.cpp:

(WebCore::Node::setTreeScope):
(WebCore::Node::createRareData):

  • dom/Node.h:

(NodeRareDataBase):
(WebCore::NodeRareDataBase::treeScope):
(WebCore::NodeRareDataBase::setTreeScope):
(WebCore::NodeRareDataBase::NodeRareDataBase):
(Node):

  • dom/NodeRareData.cpp:

(WebCore::NodeRareData::reportMemoryUsage):

  • dom/NodeRareData.h:

(WebCore::NodeRareData::NodeRareData):
(NodeRareData):

  • dom/TreeScopeAdopter.cpp:

(WebCore::TreeScopeAdopter::moveTreeToNewScope):

3:00 AM Changeset in webkit [136327] by eric@webkit.org
  • 2 edits in trunk/Tools

run-perf-tests --profile should use iprofiler instead of instruments on Mac
https://bugs.webkit.org/show_bug.cgi?id=103765

Reviewed by Ryosuke Niwa.

Stephanie pointed out that iprofiler is the newer command-line interface
to replace /usr/bin/instruments in Instruments 4 (which according to the
interblags is supported on everything since 10.6.6), so I've moved --profile
to use iprofiler on Mac.

I also made the IProfiler class wait for iprofiler to complete so that
iprofiler won't continue running after run-perf-tests is complete (and
spam over the top of your shell output).

There are a couple of "got-chas" to this approach:

  1. iprofiler will ask for your password the first time you run it, which may

cause your first test to fail. /usr/bin/instruments doesn't seem to do that.

  1. iprofiler has nice (but kinda awkward for our purposes) support for separate

directory and basename arguments, making IProfiler a somewhat awkward
baseclass of SingleFileOutputProfiler

I suspect we'll iterate from here. It does seem slightly faster than
/usr/bin/instruments was.

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

(ProfilerFactory.create_profiler):
(IProfiler):
(IProfiler.init):
(IProfiler.attach_to_pid):

2:55 AM Changeset in webkit [136326] by junov@google.com
  • 5 edits
    2 adds in trunk

Fix occlusion culling logic to handle css background layer clipping
https://bugs.webkit.org/show_bug.cgi?id=103276

Reviewed by Simon Fraser.

Source/WebCore:

Bug was introduced by r135629
This patch fixes it by verifying layer clip. A fill layer must
not be treated as if it occludes the layers under it unless it has
a larger or equal clip setting than the layers under it.

Test: fast/backgrounds/background-opaque-clipped-gradients.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::paintFillLayers):

  • rendering/style/FillLayer.cpp:

(WebCore::clipMax):
(WebCore::FillLayer::computeClipMax):
(WebCore::FillLayer::clipOccludesNextLayers):

  • rendering/style/FillLayer.h:

(FillLayer):

LayoutTests:

New ref test that verifies the superposition of background layers with
the layers having smaller clip regions than the layers beneath them.
This test ensures the bottom layers are not removed by culling
optimizations.

  • fast/backgrounds/background-opaque-clipped-gradients-expected.html: Added.
  • fast/backgrounds/background-opaque-clipped-gradients.html: Added.
2:42 AM Changeset in webkit [136325] by rjkroege@chromium.org
  • 3 edits in trunk/Source/WebKit/chromium

[chromium] make sourceDevice available to more WebGestureEvent subtypes
https://bugs.webkit.org/show_bug.cgi?id=103551

Reviewed by James Robinson.

Added an additional data payload to WebGestureEvent that can
contain the source device (touchpad or touchscreen).

  • public/WebInputEvent.h:
  • src/WebInputEvent.cpp:

(SameSizeAsWebGestureEvent):

2:39 AM Changeset in webkit [136324] by tony@chromium.org
  • 5 edits
    2 adds in trunk

Avoid a second layout of flex items in layoutAndPlaceChildren()
https://bugs.webkit.org/show_bug.cgi?id=102352

Reviewed by Ojan Vafai.

Source/WebCore:

Avoid doing a second layout if we're going to get the same size as before.
This prevents us from doing an exponential number of layouts in some
common cases.

Test: css3/flexbox/stretch-after-sibling-size-change.html

  • html/shadow/SliderThumbElement.cpp:

(WebCore::RenderSliderContainer::layout): Force a layout of the track, which positions the thumb.

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::needToStretchChild): Determine if a child is going to stretch.
(WebCore::RenderFlexibleBox::resetAutoMarginsAndLogicalTopInCrossAxis): Makes sure we're in a consistent state before
we apply auto margins.
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):

  • rendering/RenderFlexibleBox.h: Add needToStretchChild.

LayoutTests:

Add a test case to make sure we relayout when a sibling is stretching.

  • css3/flexbox/stretch-after-sibling-size-change-expected.txt: Added.
  • css3/flexbox/stretch-after-sibling-size-change.html: Added.
2:31 AM Changeset in webkit [136323] by commit-queue@webkit.org
  • 24 edits
    3 adds in trunk

Need a method to close all idle localstorage databases immediately.
https://bugs.webkit.org/show_bug.cgi?id=103469

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2012-12-02
Reviewed by David Kilzer.

Source/WebCore:

Add a new PageGroup method closeIdleLocalStorageDatabases, which walks through
all local storage areas that don't have document referencing to them and closes
their underlying databases.

Test: storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html

  • WebCore.exp.in:
  • page/PageGroup.cpp:

(WebCore::PageGroup::clearLocalStorageForOrigin):
(WebCore):
(WebCore::PageGroup::closeIdleLocalStorageDatabases): walking through all idle local storages and

closing their databases.

  • page/PageGroup.h:

(PageGroup):

  • storage/StorageArea.h:

(WebCore::StorageArea::closeDatabaseIfIdle):

  • storage/StorageAreaImpl.cpp:

(WebCore::StorageAreaImpl::closeDatabaseIfIdle): close the database if it is idle.
(WebCore):

  • storage/StorageAreaImpl.h:

(StorageAreaImpl):

  • storage/StorageNamespace.h:

(StorageNamespace):

  • storage/StorageNamespaceImpl.cpp:

(WebCore::StorageNamespaceImpl::closeIdleLocalStorageDatabases):
(WebCore):

  • storage/StorageNamespaceImpl.h:

(StorageNamespaceImpl):

Source/WebKit/mac:

Add a new method to WebStorageManager that we can call to close all
idle local storage databases.

  • Storage/WebStorageManager.mm:

(+[WebStorageManager closeIdleLocalStorageDatabases]):

  • Storage/WebStorageManagerPrivate.h:

Tools:

Add an JS method to TestRunner, to enable testing closing idle local storage databases in
DumpRenderTree layout tests.

  • DumpRenderTree/TestRunner.cpp:

(closeIdleLocalStorageDatabasesCallback):
(TestRunner::staticFunctions):

  • DumpRenderTree/TestRunner.h:

(TestRunner):

  • DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:

(TestRunner::closeIdleLocalStorageDatabases):

  • DumpRenderTree/efl/TestRunnerEfl.cpp:

(TestRunner::closeIdleLocalStorageDatabases):

  • DumpRenderTree/gtk/TestRunnerGtk.cpp:

(TestRunner::closeIdleLocalStorageDatabases):

  • DumpRenderTree/mac/TestRunnerMac.mm:

(TestRunner::closeIdleLocalStorageDatabases):

  • DumpRenderTree/win/TestRunnerWin.cpp:

(TestRunner::closeIdleLocalStorageDatabases):

  • DumpRenderTree/wx/TestRunnerWx.cpp:

(TestRunner::closeIdleLocalStorageDatabases):

LayoutTests:

  • storage/domstorage/localstorage/close-idle-localstorage-databases-immediately-expected.txt: Added.
  • storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html: Added.
  • storage/resources/storage-close-idle-localstorage-databases-immediately.html: Added.
2:29 AM Changeset in webkit [136322] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[CoordinatedGraphics] Crash in TextureMapperLayer::setBackingStore()
https://bugs.webkit.org/show_bug.cgi?id=103714

Patch by No'am Rosenthal <Noam Rosenthal> on 2012-12-02
Reviewed by Kenneth Rohde Christiansen.

Remove a layer from the m_pendingSyncBackingStores map when it is deleted.

  • UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:

(WebKit::LayerTreeRenderer::deleteLayer):

2:27 AM Changeset in webkit [136321] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] Adding checks for null when checking cookie status in CookieJarBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=103748

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-12-02
Reviewed by Rob Buis.

Updating CookieJarBlackBerry::cookieEnabled and have other methods in the class call that
method. Also, adding null checks for document->settings().

No change in behaviour.

  • loader/blackberry/CookieJarBlackBerry.cpp:

(WebCore::cookies):
(WebCore::setCookies):
(WebCore::cookiesEnabled):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
(WebCore::cookieRequestHeaderFieldValue):

2:27 AM WebInspector edited by mousewiki@yahoo.com
(diff)
2:27 AM WebInspector edited by zandobersek@gmail.com
Removing spam. (diff)
2:12 AM Changeset in webkit [136320] by commit-queue@webkit.org
  • 4 edits in trunk

[EFL][WK2] MiniBrowser should have a legacy mode
https://bugs.webkit.org/show_bug.cgi?id=103679

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-12-02
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

We need a way to create a web view in legacy mode, while still using the default context.
WKViewCreate creates a legacy view, so change it to create a default context if a context
was not passed.

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_base_add):

Tools:

Add an option to start MiniBrowser in legacy mode.

  • MiniBrowser/efl/main.c:

(window_create):
(elm_main):

1:45 AM Changeset in webkit [136319] by mkwst@chromium.org
  • 21 edits
    1 move in trunk

Unreviewed, rolling out r136236.
http://trac.webkit.org/changeset/136236
https://bugs.webkit.org/show_bug.cgi?id=103833

[chromium] Flakey crashes in SpeechRecognitionEvent::emma
during GC. (Requested by mkwst on #webkit).

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

Source/WebCore:

  • Modules/speech/SpeechRecognition.cpp:

(WebCore::SpeechRecognition::start):

  • Modules/speech/SpeechRecognition.h:

(SpeechRecognition):

  • Modules/speech/SpeechRecognitionEvent.cpp:

(WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent):

  • Modules/speech/SpeechRecognitionEvent.h:

(SpeechRecognitionEventInit):
(SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::resultIndex):

  • Modules/speech/SpeechRecognitionEvent.idl:
  • Modules/speech/SpeechRecognitionResult.cpp:

(WebCore::emmaQualifiedName):
(WebCore):
(WebCore::SpeechRecognitionResult::emma):

  • Modules/speech/SpeechRecognitionResult.h:

(WebCore):
(WebCore::SpeechRecognitionResult::final):
(SpeechRecognitionResult):

  • Modules/speech/SpeechRecognitionResult.idl:
  • WebCore.gypi:
  • bindings/v8/custom/V8SpeechRecognitionResultCustom.cpp: Renamed from Source/WebCore/bindings/v8/custom/V8SpeechRecognitionEventCustom.cpp.

(WebCore):
(WebCore::V8SpeechRecognitionResult::opaqueRootForGC):

Source/WebKit/chromium:

  • public/WebSpeechRecognizerClient.h:
  • src/SpeechRecognitionClientProxy.cpp:
  • src/SpeechRecognitionClientProxy.h:

(SpeechRecognitionClientProxy):

Tools:

  • DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:

LayoutTests:

  • fast/speech/scripted/emma-expected.txt:
  • fast/speech/scripted/emma.html:
  • fast/speech/scripted/speechrecognition-basics-expected.txt:
  • fast/speech/scripted/speechrecognition-basics.html:
12:00 AM Changeset in webkit [136318] by fpizlo@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

CodeBlock should be able to dump bytecode to something other than WTF::dataFile()
https://bugs.webkit.org/show_bug.cgi?id=103832

Reviewed by Oliver Hunt.

Add a PrintStream& argument to all of the CodeBlock bytecode dumping methods.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dumpBytecodeCommentAndNewLine):
(JSC::CodeBlock::printUnaryOp):
(JSC::CodeBlock::printBinaryOp):
(JSC::CodeBlock::printConditionalJump):
(JSC::CodeBlock::printGetByIdOp):
(JSC::dumpStructure):
(JSC::dumpChain):
(JSC::CodeBlock::printGetByIdCacheStatus):
(JSC::CodeBlock::printCallOp):
(JSC::CodeBlock::printPutByIdOp):
(JSC::CodeBlock::printStructure):
(JSC::CodeBlock::printStructures):
(JSC::CodeBlock::dumpBytecode):

  • bytecode/CodeBlock.h:

(CodeBlock):

  • jit/JITDisassembler.cpp:

(JSC::JITDisassembler::dumpForInstructions):

Dec 1, 2012:

11:55 PM Changeset in webkit [136317] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

PDFPlugin: Support PDF form editing in <iframe>s
https://bugs.webkit.org/show_bug.cgi?id=103287
<rdar://problem/10326917>

Reviewed by Dan Bernstein.

PDFPlugin form editing depends on having a Document that has the same
size and position as the plugin; this is true not only in the full-main-frame
case, but also in the <iframe> case. Therefore, we can enable form editing
for <iframe> PDFPlugins.

  • WebProcess/Plugins/PDF/PDFPlugin.mm:

(WebKit::PDFPlugin::supportsForms): Support form editing whenever
our Document's widget is our PluginView (which will only be true in the
full-main-frame or <iframe> case).

11:51 PM Changeset in webkit [136316] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

PDFPlugin: <embed> and <object> PDFs affect their parent frame's page scale
https://bugs.webkit.org/show_bug.cgi?id=103286
<rdar://problem/12752315>

Reviewed by Dan Bernstein.

Detecting whether or not a PDFPlugin is a full-page plugin or not is not
as simple as checking isMainFrame(), because <embed> and <object> will
cause PDFPlugin to live in the main frame, while still not being full-page.
We also have to check that the main frame's document is a PluginDocument,
and whether that PluginDocument's PluginWidget is our PDFPlugin's PluginView.

  • WebProcess/Plugins/PDF/PDFPlugin.h:

(PDFPlugin): Add isFullFramePlugin.

  • WebProcess/Plugins/PDF/PDFPlugin.mm:

(WebKit::PDFPlugin::isFullFramePlugin): Check whether the main frame is
backed by a PluginDocument, and that that PluginDocument corresponds
to this PDFPlugin.
(WebKit::PDFPlugin::handlesPageScaleFactor): Use isFullFramePlugin.
(WebKit::PDFPlugin::supportsForms): Use isFullFramePlugin.

11:44 PM Changeset in webkit [136315] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

[wk2] Use spoolRect instead of snapshots for print preview
https://bugs.webkit.org/show_bug.cgi?id=103798
<rdar://problem/12686749>

Reviewed by Sam Weinig.

Revert to using spoolRect instead of snapshotting for printing; this was a bogus
change I made in http://trac.webkit.org/changeset/133935 which was irrelevant to
the core of that change, and incorrectly disregards the Frame parameter passed to
beginPrinting, instead using the WebPage's current Frame.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::drawRectToImage):

11:06 PM Changeset in webkit [136314] by zandobersek@gmail.com
  • 4 edits in trunk/Tools

[XvfbDriver] XvfbDriverTest.test_next_free_display is flaky on builders using XvfbDriver
https://bugs.webkit.org/show_bug.cgi?id=103806

Reviewed by Dirk Pranke.

There are occasional mishaps on builders where XvfbDriver doesn't properly
clean up the Xvfb instance it was managing so the related guard lock files
are still existing when the webkitpy unit tests are run. This can cause failures
in XvfbDriverTest.test_next_free_display as the test tries to acquire displays
with a specific number but is unable to due to the stale locks.

The solution to this is to use MockFileLock when inside unit test. This is achievable
by creating a file lock through the SystemHost instance connected to the Port object,
the latter available to the Driver.

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

(MockFileLock.acquire_lock): Return True to signal lock acquiring succeeded.
(MockFileLock.release_lock): Return True to signal lock releasing succeeded.

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

(XvfbDriver._next_free_display): Create the file lock through a mockable way.

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

(XvfbDriverTest.test_next_free_display): Enable back the unit test.

10:35 PM WebInspector edited by mousewiki@yahoo.com
(diff)
4:31 PM Changeset in webkit [136313] by abarth@webkit.org
  • 3 edits in trunk/Source/WebCore

Unreviewed, rolling out r136015.
http://trac.webkit.org/changeset/136015
https://bugs.webkit.org/show_bug.cgi?id=103821

Did not heal performance bot and caused other performance
regressions (Requested by abarth on #webkit).

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

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):

2:34 PM EFLWebKit edited by laszlo.gombos@gmail.com
fix the spelling for cmakeargs - see … (diff)
1:33 PM Changeset in webkit [136312] by mkwst@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. Skipping crashing tests.

The DEPS roll containing r170422 is causing three crashes cross-platform
in the Chromium port. Skipping them here, filed crbug.com/163785 to fix.

  • platform/chromium/TestExpectations:

Marked media/encrypted-media/encrypted-media-events.html,
media/encrypted-media/encrypted-media-not-loaded.html, and
media/encrypted-media/encrypted-media-syntax.html as crashing.

12:00 PM Changeset in webkit [136311] by mkwst@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. Skipping calendar-picker-datetime-with-step.html.

It looks like platform/chromium/fast/forms/calendar-picker/calendar-picker-datetime-with-step.html
started failing at midnight PST, December 1st. I don't think it handled
the month change correctly. Filed https://bugs.webkit.org/show_bug.cgi?id=103817
to cover the fix.

  • platform/chromium/TestExpectations:
10:43 AM Changeset in webkit [136310] by kov@webkit.org
  • 4 edits in releases/WebKitGTK/webkit-1.10/Source

Merge 133059 - Enable webkit2 introspection
https://bugs.webkit.org/show_bug.cgi?id=94313

Patch by Jesse van den Kieboom <jessevdk@gnome.org> on 2012-10-31
Reviewed by Martin Robinson.

This patch enables generation of introspection information for webkit2
in the same was as it is done for webkit. The resulting gir and
typelib file are named WebKit2-3.0.{gir,typelib}.

  • GNUmakefile.am:
  • UIProcess/API/gtk/WebKitBackForwardList.cpp:
4:39 AM Changeset in webkit [136309] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

DRT - crashed in WebCore::SearchFieldCancelButtonElement::defaultEventHandler
https://bugs.webkit.org/show_bug.cgi?id=103592

Patch by Xiaobo Wang <xiaobo.wang@torchmobile.com.cn> on 2012-12-01
Reviewed by Kent Tamura.

The crash happened when the search field cancel button handles mouseout
event after the search input was detached. When it happens the input
element returned from shadowHost() is null, need to check the pointer
before dereferencing.
InputFieldSpeechButton and SearchFieldResultsButtonElement have the
similar issue.

No new tests. The patch fixes the following test on BlackBerry platform.
Test: fast/forms/search-delete-while-cancel-button-clicked.html

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldResultsButtonElement::defaultEventHandler):
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult):

3:09 AM Changeset in webkit [136308] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

[GTK] A11y tests in WK2 report badly-formatted AX roles
https://bugs.webkit.org/show_bug.cgi?id=102947

Reviewed by Xan Lopez.

As in DRT, convert the ATK accessibility roles to corresponding AXRoles.
These are expected in both tests and their baselines.

  • WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:

(WTR::roleToString):
(WTR):
(WTR::AccessibilityUIElement::role):

12:33 AM Changeset in webkit [136307] by mkwst@chromium.org
  • 2 edits in trunk/LayoutTests

[gtk] Unreviewed gardening. Skipping CSP 1.1 tests.

The CSP 1.1 tests are failing under GTK after r136305 made the CSP_NEXT
flag runtime enabled. Will fix in webkit.org/b/103810, skipping for now.

  • platform/gtk/TestExpectations:

Skipping CSP 1.1 tests.

Nov 30, 2012:

11:09 PM Changeset in webkit [136306] by rniwa@webkit.org
  • 2 edits
    1 move in trunk/LayoutTests

Shorten a file name as the test renamed in r136122 is still hosing Chromium Win perf. bot.

  • http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php: Renamed.
  • http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php: Removed.
  • http/tests/inspector/network/script-as-text-loading-long-url.html:
10:53 PM Changeset in webkit [136305] by mkwst@chromium.org
  • 11 edits in trunk

CSP 1.1: Make the CSP_NEXT flag runtime enabled.
https://bugs.webkit.org/show_bug.cgi?id=103652

Reviewed by Adam Barth.

Source/WebCore:

Content Security Policy 1.1 continues to live behind the CSP_NEXT flag,
this patch adds another layer on top of that in order to enable runtime
decisions about whether it should be active.

  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore):

  • bindings/generic/RuntimeEnabledFeatures.h:

(RuntimeEnabledFeatures):
(WebCore::RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnabled):
(WebCore::RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled):

Adds methods in order to correctly handle enabling and disabling
CSP 1.1 features.

  • dom/Document.idl:

Gate the 'document.securityPolicy' object on the runtime flag.

  • page/ContentSecurityPolicy.cpp:

(WebCore::CSPDirectiveList::addDirective):

Check that experimental features are runtime enabled before
processing 1.1 directives.

(WebCore::ContentSecurityPolicy::experimentalFeaturesEnabled):
(WebCore):

  • page/ContentSecurityPolicy.h:

Adds a new method which checks against the runtime flag to determine
whether CSP 1.1 features are enabled.

Source/WebKit/chromium:

The CSP_NEXT flag continues to be enabled on the Chromium port, but this
patch now locks the features away behind the securityPolicy runtime
flag.

  • public/WebRuntimeFeatures.h:

(WebRuntimeFeatures):

  • src/WebRuntimeFeatures.cpp:

(WebKit::WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures):
(WebKit):
(WebKit::WebRuntimeFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled):

Adds the feature to WebRuntimeFeatures so it can be toggled from
inside Chromium.

Tools:

Ensures that the new SecurityPolicy runtime flag is enabled for Chromium's tests.

  • DumpRenderTree/chromium/TestShell.cpp:

(TestShell::TestShell):

10:18 PM Changeset in webkit [136304] by ryuan.choi@samsung.com
  • 2 edits in trunk/LayoutTests

[EFL][WK1] Gardening test cases which are not crashed after r135662
https://bugs.webkit.org/show_bug.cgi?id=103803

Unreviewed, EFL gardening.

Patch by Sujin Park <sujjin.park@gmail.com> on 2012-11-30

  • platform/efl-wk1/TestExpectations:
10:12 PM Changeset in webkit [136303] by Simon Fraser
  • 2 edits in trunk/Source/WebCore

Avoid calling into NSUserDefaults every time we start a scroll
https://bugs.webkit.org/show_bug.cgi?id=103804

Reviewed by Dan Bernstein.

Cache the NSScrollAnimationEnabled preference to avoid
hitting NSUserDefaults every time we start scrolling.

  • platform/mac/ScrollAnimatorMac.mm:

(WebCore::scrollAnimationEnabledForSystem):

6:24 PM Changeset in webkit [136302] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

Always listen for the DidFirstLayout layout milestone
https://bugs.webkit.org/show_bug.cgi?id=103795
<rdar://problem/12790268>

Reviewed by Dan Bernstein.

The DidFirstLayout layout milestone is used to determine when to unfreeze the layer tree, so we always want to listen for it.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):

5:40 PM Changeset in webkit [136301] by roger_fong@apple.com
  • 2 edits in trunk/Tools

Unreviewed. Removed temporary debugging change from DRT (r136300).

  • DumpRenderTree/win/DumpRenderTree.cpp:

(dump):

5:23 PM Changeset in webkit [136300] by roger_fong@apple.com
  • 2 edits in trunk/Tools

Unreviewed. Temporary change to DRT for debugging purposes.

  • DumpRenderTree/win/DumpRenderTree.cpp:

(dump):

5:19 PM Changeset in webkit [136299] by pierre.rossi@gmail.com
  • 4 edits in trunk/Source

[Qt] Unreviewed speculative Mac build fix after r136232

Source/JavaScriptCore:

Update the include path so that LLIntAssembly.h is picked up.
The bot didn't break until later when a clean build was triggered.

Source/WebKit2:

cleanup an oversight from r136235

  • PluginProcess.pro: s/webkit/webkitwidgets/
4:53 PM Changeset in webkit [136298] by Beth Dakin
  • 2 edits in trunk/Source/WebCore

https://bugs.webkit.org/show_bug.cgi?id=103790
The LayerPool m_pruneTimer should have a longer delay

Reviewed by Simon Fraser.

A 1 second delay is more appropriate here.

  • platform/graphics/ca/mac/LayerPool.mm:

(WebCore::LayerPool::schedulePrune):

4:50 PM Changeset in webkit [136297] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Optimise more cases of op_typeof
https://bugs.webkit.org/show_bug.cgi?id=103783

Reviewed by Mark Hahnenberg.

Increase our coverage of typeof based typechecks by
making sure that the codegenerators always uses
consistent operand ordering when feeding typeof operations
into equality operations.

  • bytecompiler/NodesCodegen.cpp:

(JSC::BinaryOpNode::emitBytecode):
(JSC::EqualNode::emitBytecode):
(JSC::StrictEqualNode::emitBytecode):

4:43 PM Changeset in webkit [136296] by jer.noble@apple.com
  • 2 edits in trunk/Source/WebCore

Unreviewed Windows build fix.

Add a default: entry to an case statement to fix a build error when compiled in VS2005.

  • html/MediaController.cpp:

(MediaController::playbackState):

4:13 PM Changeset in webkit [136295] by jer.noble@apple.com
  • 7 edits
    1 copy
    1 add in trunk

Add support for the 'unpause()' method on MediaController.
https://bugs.webkit.org/show_bug.cgi?id=103751

Reviewed by Eric Carlson.

Source/WebCore:

The MediaController spec has been updated to add an unpause() method
which is functionally identical to the old play() method, and changes
the semantics of play() to call play() on the underlying slaved media
elements. The spec also added a playbackState() method, returning a
string representing the last calculated playback state.

Test: media/media-controller-unpause.html

  • html/MediaController.cpp:

(MediaController::unpause): Renamed from play().
(MediaController::play): Added. Same as unpause(), but also call

play() on slaved media elements.

(playbackStateWaiting): Static string accessor.
(playbackStatePlaying): Ditto.
(playbackStateEnded): Ditto.
(MediaController::playbackState): Added. Returns string value of

m_playbackState.

  • html/MediaController.h:
  • html/MediaController.idl:

LayoutTests:

Add new test for unpause() and playbackState() methods.

  • media/media-controller-unpause.html:
  • media/media-controller-unpause-expected.txt:
  • media/media-controller-playback.html:
  • media/media-controller-playback-expected.txt:
3:59 PM Changeset in webkit [136294] by jchaffraix@webkit.org
  • 5 edits in trunk/Source/WebCore

[CSS Grid Layout] Align the grid track code with the specification's production rules
https://bugs.webkit.org/show_bug.cgi?id=103703

Reviewed by Alexis Menard.

In order to support more of the syntax and make the code more readable, this change
splits following the grammar's production rules (see
http://dev.w3.org/csswg/css3-grid-layout/#grid-definition-columns-and-grid-definit).

Refactoring covered by existing tests.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::valueForGridTrackMinMax):
(WebCore::valueForGridTrackGroup):
(WebCore::valueForGridTrackList):

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseGridTrackList):
(WebCore::CSSParser::parseGridTrackGroup):
(WebCore::CSSParser::parseGridTrackMinMax):

  • css/CSSParser.h:
  • css/StyleResolver.cpp:

(WebCore::createGridTrackMinMax):
(WebCore::createGridTrackGroup):
(WebCore::createGridTrackList):
Mechanical split of the parsing, resolving and computed style code into
<track-list>, <track-group>, <track-minmax> and <track-breadth> parts.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseGridBreadth):
Changed this function to just parse a single value (without any extra logic).

  • css/StyleResolver.cpp:

(WebCore::createGridTrackBreadth):
Changed this function to take a Length as it is used to parse a <track-breadth>.
The goal is for it to be the low-level function createGridTrackMinmax will call on
each function parameter.

3:56 PM Changeset in webkit [136293] by Simon Fraser
  • 2 edits in trunk/Source/WebCore

Fix potential crash when canceling animations on renderers with no node
https://bugs.webkit.org/show_bug.cgi?id=103784

Reviewed by Dan Bernstein.

We could crash when tearing down RenderScrollbars because we hit
AnimationController::cancelAnimations() for a renderer with no node.
The assertion already check for a null node, but the line after
does not, so fix that.

I tried to make a test with animations/transitions on a custom scrollbar, but was not able
to get it to crash.

  • page/animation/AnimationController.cpp:

(WebCore::AnimationController::cancelAnimations):

3:36 PM Changeset in webkit [136292] by bfulgham@webkit.org
  • 6 edits
    1 move
    10 adds
    1 delete in trunk/Source

Source/WebKit/win: [Windows, WinCairo] Generate library export definition file.
https://bugs.webkit.org/show_bug.cgi?id=103687

Reviewed by Tim Horton.

Update project solutions to use the new generated *.def files.

  • WebKit.vcproj/WebKit.sln: Update for new project and file

locations.

Source/WebKit2: [Windows, WinCairo] Generate library export symbol file.
https://bugs.webkit.org/show_bug.cgi?id=103687

Reviewed by Tim Horton.

Generate the export definition file based on the compile options
and port settings. Get rid of the old hand-written file, and use
a revised master input file that allows using conditional
settings to generate the output, much like the Mac and other
ports do.

  • win/WebKit2.def: Removed.
  • win/WebKit2.def.in: Added.
  • win/WebKit2Apple.vsprops:
  • win/WebKit2CFLite.def: Removed.
  • win/WebKit2CFLite.vsprops:
  • win/WebKit2Common.vsprops:
  • win/WebKit2ExportGenerator.vcproj: Added.
  • win/WebKit2ExportGeneratorCommon.vsprops: Added.
  • win/WebKit2ExportGeneratorDebug.vsprops: Added.
  • win/WebKit2ExportGeneratorDebugAll.vsprops: Added.
  • win/WebKit2ExportGeneratorDebugCairoCFLite.vsprops: Added.
  • win/WebKit2ExportGeneratorPostBuild.cmd: Added.
  • win/WebKit2ExportGeneratorPreBuild.cmd: Added.
  • win/WebKit2ExportGeneratorProduction.vsprops: Added.
  • win/WebKit2ExportGeneratorRelease.vsprops: Added.
  • win/WebKit2ExportGeneratorReleaseCairoCFLite.vsprops: Added.
3:33 PM Changeset in webkit [136291] by cevans@google.com
  • 1 edit in branches/chromium/1312/Source/WebCore/platform/graphics/chromium/FontPlatformDataChromiumWin.h

Merge 134902
BUG=157875
Review URL: https://codereview.chromium.org/11419266

3:33 PM Changeset in webkit [136290] by cevans@google.com
  • 9 edits in branches/chromium/1312/Source/WebCore/platform/graphics

Merge 134871
BUG=157875
Review URL: https://codereview.chromium.org/11348334

3:30 PM Changeset in webkit [136289] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebCore

PluginDocument fires didFinishDocumentLoadForFrame upon receiving initial bytes instead of when load completes
https://bugs.webkit.org/show_bug.cgi?id=103702
<rdar://problem/12762534>

Reviewed by Alexey Proskuryakov.

Remove the call to finish() from PluginDocumentParser::appendBytes().

This was introduced in http://trac.webkit.org/changeset/14838, when finish() wouldn't get
called for PluginDocuments any other way. In the time since, DocumentWriter::end() was made
to call finish() anyway, at the correct time (the call from appendBytes makes a PluginDocument
appear to be finished loading after the first bytes are received).

No new tests, because there doesn't seem to be any state in a PluginDocument that can be accessed
from JavaScript to determine whether or not it has finished loading.

  • html/PluginDocument.cpp:

(WebCore::PluginDocumentParser::appendBytes):

3:21 PM Changeset in webkit [136288] by loislo@chromium.org
  • 3 edits in trunk/Source/WebCore

RenderBlock minor clean-up: replace raw pointers with OwnPtrs.
https://bugs.webkit.org/show_bug.cgi?id=103690

Reviewed by Eric Seidel.

raw pointers were replaced with OwnPtrs.
Probably we also gain a small performance improvements because
I replaced get && remove pair with take.

  • rendering/RenderBlock.cpp:

(WebCore):
(WebCore::removeBlockFromDescendantAndContainerMaps):
(WebCore::RenderBlock::~RenderBlock):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::addContinuationWithOutline):
(WebCore::RenderBlock::paintContinuationOutlines):
(WebCore::RenderBlock::insertIntoTrackedRendererMaps):
(WebCore::RenderBlock::removeFromTrackedRendererMaps):
(WebCore::RenderBlock::setDesiredColumnCountAndWidth):

  • rendering/RenderBlock.h:

(WebCore):

3:21 PM Changeset in webkit [136287] by zmo@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, webkit gardening, fix webkit lint.

  • platform/chromium/TestExpectations:
3:17 PM Changeset in webkit [136286] by cevans@google.com
  • 3 edits
    2 copies in branches/chromium/1312

Merge 136060
BUG=158693
Review URL: https://codereview.chromium.org/11416300

3:12 PM Changeset in webkit [136285] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135914
BUG=158695
Review URL: https://codereview.chromium.org/11415245

3:12 PM Changeset in webkit [136284] by Simon Fraser
  • 2 edits in trunk/LayoutTests

Use the correct path to a test in TestExpectations.

  • platform/chromium/TestExpectations:
3:07 PM Changeset in webkit [136283] by cevans@google.com
  • 1 edit in branches/chromium/1312/Source/WebCore/page/EventHandler.cpp

Merge 136062
BUG=159219
Review URL: https://codereview.chromium.org/11415242

3:04 PM Changeset in webkit [136282] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebCore

WebGL: Add a class to abstract the status of the Image in texImage2D() and texSubImage2D()
https://bugs.webkit.org/show_bug.cgi?id=103606

Patch by Jun Jiang <jun.a.jiang@intel.com> on 2012-11-30
Reviewed by Kenneth Russell.

In texImage2D() and texSubImage2D() for WebGL, the status of the Image is extracted and kept in the function GraphicsContext3D::getImageData() but provides no interface or guaranteed way to use the status of the Image outside GraphicsContext3D::getImageData() safely. For example, you can not get the address of the raw Image data and operate it outside the scope of the GraphicsContext3D::getImageData() and there is at least one memory copy existed from the Image to the intermediate vector.

This patch refactors the code by adding a ImageExtractor class to abstract and keep the status of the Image. The lifetime and validity of Image status are determined by the lifetime of the object instead of the scope of getImageData(). It provides flexibility on future optimizations.

No new tests. It is a code refactoring patch.

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::texImage2DImpl):
(WebCore::WebGLRenderingContext::texSubImage2DImpl):

  • platform/graphics/GraphicsContext3D.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::packImageData):

  • platform/graphics/GraphicsContext3D.h:

(WebCore):
(GraphicsContext3D):
(ImageExtractor):
(WebCore::GraphicsContext3D::ImageExtractor::extractSucceeded):
(WebCore::GraphicsContext3D::ImageExtractor::imagePixelData):
(WebCore::GraphicsContext3D::ImageExtractor::imageWidth):
(WebCore::GraphicsContext3D::ImageExtractor::imageHeight):
(WebCore::GraphicsContext3D::ImageExtractor::imageSourceFormat):
(WebCore::GraphicsContext3D::ImageExtractor::imageAlphaOp):
(WebCore::GraphicsContext3D::ImageExtractor::imageSourceUnpackAlignment):

  • platform/graphics/NativeImagePtr.h:
  • platform/graphics/cairo/GraphicsContext3DCairo.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

  • platform/graphics/cg/GraphicsContext3DCG.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

  • platform/graphics/clutter/GraphicsContext3DClutter.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

  • platform/graphics/efl/GraphicsContext3DEfl.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

  • platform/graphics/qt/GraphicsContext3DQt.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

  • platform/graphics/skia/GraphicsContext3DSkia.cpp:

(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

3:01 PM Changeset in webkit [136281] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 136034
BUG=146882
Review URL: https://codereview.chromium.org/11299286

3:00 PM Changeset in webkit [136280] by Simon Fraser
  • 6 edits in trunk

Make RenderLayer::updateLayerPosition() private
https://bugs.webkit.org/show_bug.cgi?id=102624

Reviewed by Ryosuke Niwa.

Source/WebCore:

Made updateLayerPosition() private. The only external caller was
MouseRelatedEvent::computeRelativePosition(), which has no business updating
layer positions. In fact it had positively dangerous behavior; doing just
a style update without layout, and then calling absoluteToLocal() and walking
layers. Fixed by having it call updateLayoutIgnorePendingStylesheets().

This revealed a bug where event.offsetX/offsetY could be wrong in some cases.
fast/events/stopPropagation-submit.html does a simulated click (which has
client coordinates at 0,0), so the image submit coordinates were incorrectly
0,0. Now that we do layout before computing them, they are correctly reported
as being relative to the element.

  • dom/MouseRelatedEvent.cpp:

(WebCore::MouseRelatedEvent::computeRelativePosition):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::updateLayerPositionsAfterScroll):

  • rendering/RenderLayer.h:

(RenderLayer):

LayoutTests:

New results with correctly computed event offsets.

  • fast/events/stopPropagation-submit-expected.txt:
2:45 PM Changeset in webkit [136279] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135719
BUG=161690
Review URL: https://codereview.chromium.org/11316291

2:43 PM Changeset in webkit [136278] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1271

Merge 135719
BUG=161690
Review URL: https://codereview.chromium.org/11434065

2:30 PM Changeset in webkit [136277] by Simon Fraser
  • 7 edits in trunk/Source/WebCore

Late-loading stylesheets can cause composited layers to be blank
https://bugs.webkit.org/show_bug.cgi?id=103773

Reviewed by Tim Horton.

Early painting can be short-circuited in RenderBlock::paintContents() if we know a stylesheet
is pending, which is done to avoid a flash of unstyled content (FOUC). When the stylesheet
finally loaded, Document::styleResolverChanged() would try to repaint everything by calling
repaint() on the RenderView(). In a composited world, however, this repaint() doesn't repaint
composited layers.

This was particularly prevalent on this specific URL because it failed to load
a CSS file from typekit.com, so Document::styleResolverChanged()
just did the repaint and returned (rather than doing a recalc style as would
happen for correctly loaded stylesheets).

Fix by making a way to repaint all compositing layers, and calling it
from Document::styleResolverChanged().

No tests because this is timing-dependant.

  • dom/Document.cpp:

(WebCore::Document::styleResolverChanged): Call repaintViewAndCompositedLayers().

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::paintContents): Fix the comment.

  • rendering/RenderLayerCompositor.cpp: Convert repaintCompositedLayersAbsoluteRect()

and associated recursiveRepaintLayerRect() to allow the rect to be null, which indicates
that we should just repaint the entire layer, and improve their names.
(WebCore::RenderLayerCompositor::repaintCompositedLayers):
(WebCore::RenderLayerCompositor::recursiveRepaintLayer):

  • rendering/RenderLayerCompositor.h:
  • rendering/RenderView.cpp:

(WebCore::RenderView::repaintRectangleInViewAndCompositedLayers): repaintCompositedLayersAbsoluteRect()
was renamed to repaintCompositedLayers().
(WebCore::RenderView::repaintViewAndCompositedLayers):

  • rendering/RenderView.h:

(RenderView): repaintViewRectangle() and repaintRectangleInViewAndCompositedLayers() should not
be virtual. Add repaintViewAndCompositedLayers().

1:56 PM Changeset in webkit [136276] by fpizlo@apple.com
  • 15 edits in trunk/Source/JavaScriptCore

Rationalize and clean up DFG handling of scoped accesses
https://bugs.webkit.org/show_bug.cgi?id=103715

Reviewed by Oliver Hunt.

Previously, we had a GetScope node that specified the depth to which you wanted
to travel to get a JSScope, and the backend implementation of the node would
perform all of the necessary footwork, including potentially skipping the top
scope if necessary, and doing however many loads were needed. But there were
strange things. First, if you had accesses at different scope depths, then the
loads to get to the common depth could not be CSE'd - CSE would match only
GetScope's that had identical depth. Second, GetScope would be emitted even if
we already had the scope, for example in put_to_base. And finally, even though
the ResolveOperations could tell us whether or not we had to skip the top scope,
the backend would recompute this information itself, often pessimistically.

This eliminates GetScope and replaces it with the following:

GetMyScope: just get the JSScope from the call frame header. This will forever
mean getting the JSScope associated with the machine call frame; it will not
mean getting the scope of an inlined function. Or at least that's the intent.

SkipTopScope: check if there is an activation, and if so, skip a scope. This
takes a scope as a child and returns a scope.

SkipScope: skip one scope level.

The bytecode parser now emits the right combination of the above, and
potentially emits multiple SkipScope's, based on the ResolveOperations.

This change also includes some fixups to debug logging. We now always print
the ExecutableBase* in addition to the CodeBlock* in the CodeBlock's dump,
and we are now more verbose when dumping CodeOrigins and InlineCallFrames.

This is performance-neutral. It's just meant to be a clean-up.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dumpAssumingJITType):

  • bytecode/CodeOrigin.cpp:

(JSC::CodeOrigin::inlineStack):
(JSC::CodeOrigin::dump):
(JSC):
(JSC::InlineCallFrame::dump):

  • bytecode/CodeOrigin.h:

(CodeOrigin):
(InlineCallFrame):

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGByteCodeParser.cpp:

(ByteCodeParser):
(JSC::DFG::ByteCodeParser::getScope):
(DFG):
(JSC::DFG::ByteCodeParser::parseResolveOperations):
(JSC::DFG::ByteCodeParser::parseBlock):

  • dfg/DFGCSEPhase.cpp:

(JSC::DFG::CSEPhase::scopedVarLoadElimination):
(JSC::DFG::CSEPhase::scopedVarStoreElimination):
(JSC::DFG::CSEPhase::getMyScopeLoadElimination):
(JSC::DFG::CSEPhase::setLocalStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):

  • dfg/DFGDisassembler.cpp:

(JSC::DFG::Disassembler::dump):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dumpCodeOrigin):
(JSC::DFG::Graph::dumpBlockHeader):

  • dfg/DFGNode.h:

(Node):

  • dfg/DFGNodeType.h:

(DFG):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

  • dfg/DFGSpeculativeJIT32_64.cpp:

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

  • dfg/DFGSpeculativeJIT64.cpp:

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

  • jit/JITDisassembler.cpp:

(JSC::JITDisassembler::dump):

1:54 PM Changeset in webkit [136275] by commit-queue@webkit.org
  • 17 edits
    3 deletes in trunk

Unreviewed, rolling out r136142.
http://trac.webkit.org/changeset/136142
https://bugs.webkit.org/show_bug.cgi?id=103768

break a bunch of interactive_ui_tests in chromium win
(Requested by zhenyao_home on #webkit).

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

Source/WebCore:

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

  • css/CSSParser.cpp:

(WebCore::isValidKeywordPropertyAndValue):
(WebCore::isKeywordPropertyID):
(WebCore::CSSParser::parseValue):

  • css/CSSPrimitiveValueMappings.h:
  • css/CSSProperty.cpp:

(WebCore::CSSProperty::isInheritedProperty):

  • css/CSSPropertyNames.in:
  • css/CSSValueKeywords.in:
  • css/StyleBuilder.cpp:

(WebCore::StyleBuilder::StyleBuilder):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::applyProperty):

  • rendering/InlineFlowBox.cpp:

(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
(WebCore::InlineFlowBox::computeOverAnnotationAdjustment):
(WebCore::InlineFlowBox::computeUnderAnnotationAdjustment):

  • rendering/RenderRubyRun.cpp:

(WebCore::RenderRubyRun::layout):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::diff):

  • rendering/style/RenderStyle.h:
  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):

  • rendering/style/StyleRareInheritedData.h:

(StyleRareInheritedData):

LayoutTests:

  • fast/ruby/position-after.html: Removed.
  • platform/mac/fast/ruby/position-after-expected.png: Removed.
  • platform/mac/fast/ruby/position-after-expected.txt: Removed.
1:53 PM Changeset in webkit [136274] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135740
BUG=158204
Review URL: https://codereview.chromium.org/11348330

1:52 PM Changeset in webkit [136273] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1271

Merge 135740
BUG=158204
Review URL: https://codereview.chromium.org/11418272

1:48 PM Changeset in webkit [136272] by jsbell@chromium.org
  • 9 edits in trunk/Source/WebCore

IndexedDB: Replace use of ScriptExecutionContext::Task (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=101483

Reviewed by Tony Chang.

The IDB back end (which runs on a single thread) makes use of ScriptExecutionContext's
Task and facilities for cross-task posting with callbacks, and requires decorating various
IDB classes with "ThreadSafe" when they are not. Move towards encapsulating the tasks
in "Operation" classes which are IDB-operation specific.

Part 1 (this patch) retains the use of ScriptExecutionContext::Task but wraps the creation
and the callback function in an Operation class which will be fleshed out in later patches.
As an aside, a little bit of RefPtr churn is eliminated, and IDB_TRACE sprinkled in.

No new tests - just a refactor.

  • Modules/indexeddb/IDBCursorBackendImpl.cpp:

(IDBCursorBackendImpl::CursorIterationOperation):
(WebCore::IDBCursorBackendImpl::CursorIterationOperation::create):
(WebCore):
(IDBCursorBackendImpl::CursorAdvanceOperation):
(WebCore::IDBCursorBackendImpl::CursorAdvanceOperation::create):
(IDBCursorBackendImpl::CursorPrefetchIterationOperation):
(WebCore::IDBCursorBackendImpl::CursorPrefetchIterationOperation::create):
(WebCore::IDBCursorBackendImpl::continueFunction):
(WebCore::IDBCursorBackendImpl::advance):
(WebCore::IDBCursorBackendImpl::CursorAdvanceOperation::perform):
(WebCore::IDBCursorBackendImpl::CursorIterationOperation::perform):
(WebCore::IDBCursorBackendImpl::prefetchContinue):
(WebCore::IDBCursorBackendImpl::CursorPrefetchIterationOperation::perform):

  • Modules/indexeddb/IDBCursorBackendImpl.h:

(IDBCursorBackendImpl):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(IDBDatabaseBackendImpl::CreateObjectStoreOperation):
(WebCore::IDBDatabaseBackendImpl::CreateObjectStoreOperation::create):
(WebCore):
(IDBDatabaseBackendImpl::DeleteObjectStoreOperation):
(WebCore::IDBDatabaseBackendImpl::DeleteObjectStoreOperation::create):
(IDBDatabaseBackendImpl::VersionChangeOperation):
(WebCore::IDBDatabaseBackendImpl::VersionChangeOperation::create):
(IDBDatabaseBackendImpl::CreateObjectStoreAbortOperation):
(WebCore::IDBDatabaseBackendImpl::CreateObjectStoreAbortOperation::create):
(IDBDatabaseBackendImpl::DeleteObjectStoreAbortOperation):
(WebCore::IDBDatabaseBackendImpl::DeleteObjectStoreAbortOperation::create):
(IDBDatabaseBackendImpl::VersionChangeAbortOperation):
(WebCore::IDBDatabaseBackendImpl::VersionChangeAbortOperation::create):
(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::IDBDatabaseBackendImpl::CreateObjectStoreOperation::perform):
(WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
(WebCore::IDBDatabaseBackendImpl::DeleteObjectStoreOperation::perform):
(WebCore::IDBDatabaseBackendImpl::VersionChangeOperation::perform):
(WebCore::IDBDatabaseBackendImpl::runIntVersionChangeTransaction):
(WebCore::IDBDatabaseBackendImpl::CreateObjectStoreAbortOperation::perform):
(WebCore::IDBDatabaseBackendImpl::DeleteObjectStoreAbortOperation::perform):
(WebCore::IDBDatabaseBackendImpl::VersionChangeAbortOperation::perform):

  • Modules/indexeddb/IDBDatabaseBackendImpl.h:

(IDBDatabaseBackendImpl):

  • Modules/indexeddb/IDBIndexBackendImpl.cpp:

(IDBIndexBackendImpl::OpenIndexCursorOperation):
(WebCore::IDBIndexBackendImpl::OpenIndexCursorOperation::create):
(WebCore):
(IDBIndexBackendImpl::IndexCountOperation):
(WebCore::IDBIndexBackendImpl::IndexCountOperation::create):
(IDBIndexBackendImpl::IndexReferencedValueRetrievalOperation):
(WebCore::IDBIndexBackendImpl::IndexReferencedValueRetrievalOperation::create):
(IDBIndexBackendImpl::IndexValueRetrievalOperation):
(WebCore::IDBIndexBackendImpl::IndexValueRetrievalOperation::create):
(WebCore::IDBIndexBackendImpl::OpenIndexCursorOperation::perform):
(WebCore::IDBIndexBackendImpl::openCursor):
(WebCore::IDBIndexBackendImpl::openKeyCursor):
(WebCore::IDBIndexBackendImpl::IndexCountOperation::perform):
(WebCore::IDBIndexBackendImpl::count):
(WebCore::IDBIndexBackendImpl::IndexReferencedValueRetrievalOperation::perform):
(WebCore::IDBIndexBackendImpl::IndexValueRetrievalOperation::perform):
(WebCore::IDBIndexBackendImpl::get):
(WebCore::IDBIndexBackendImpl::getKey):

  • Modules/indexeddb/IDBIndexBackendImpl.h:

(WebCore::IDBIndexBackendImpl::metadata):
(IDBIndexBackendImpl):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

(IDBObjectStoreBackendImpl::ObjectStoreRetrievalOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreRetrievalOperation::create):
(WebCore):
(IDBObjectStoreBackendImpl::ObjectStoreStorageOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreStorageOperation::create):
(IDBObjectStoreBackendImpl::ObjectStoreIndexesReadyOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreIndexesReadyOperation::create):
(IDBObjectStoreBackendImpl::ObjectStoreDeletionOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreDeletionOperation::create):
(IDBObjectStoreBackendImpl::ObjectStoreClearOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreClearOperation::create):
(IDBObjectStoreBackendImpl::CreateIndexOperation):
(WebCore::IDBObjectStoreBackendImpl::CreateIndexOperation::create):
(IDBObjectStoreBackendImpl::DeleteIndexOperation):
(WebCore::IDBObjectStoreBackendImpl::DeleteIndexOperation::create):
(IDBObjectStoreBackendImpl::OpenObjectStoreCursorOperation):
(WebCore::IDBObjectStoreBackendImpl::OpenObjectStoreCursorOperation::create):
(IDBObjectStoreBackendImpl::ObjectStoreCountOperation):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreCountOperation::create):
(IDBObjectStoreBackendImpl::CreateIndexAbortOperation):
(WebCore::IDBObjectStoreBackendImpl::CreateIndexAbortOperation::create):
(IDBObjectStoreBackendImpl::DeleteIndexAbortOperation):
(WebCore::IDBObjectStoreBackendImpl::DeleteIndexAbortOperation::create):
(WebCore::IDBObjectStoreBackendImpl::get):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreRetrievalOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::put):
(WebCore::IDBObjectStoreBackendImpl::setIndexesReady):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreIndexesReadyOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreStorageOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::deleteFunction):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreDeletionOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::clear):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreClearOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::createIndex):
(WebCore::IDBObjectStoreBackendImpl::CreateIndexOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::deleteIndex):
(WebCore::IDBObjectStoreBackendImpl::DeleteIndexOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::openCursor):
(WebCore::IDBObjectStoreBackendImpl::OpenObjectStoreCursorOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::count):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreCountOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::CreateIndexAbortOperation::perform):
(WebCore::IDBObjectStoreBackendImpl::DeleteIndexAbortOperation::perform):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.h:

(IDBObjectStoreBackendImpl):

1:31 PM Changeset in webkit [136271] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

[Chromium] Suppress the new separable mask blurs in skia until the tests can be rebaselined.
https://bugs.webkit.org/show_bug.cgi?id=103766

Unreviewed.

  • skia_webkit.gyp:
1:29 PM Changeset in webkit [136270] by Lucas Forschler
  • 4 edits in branches/safari-536.28-branch/Source

Versioning.

1:27 PM Changeset in webkit [136269] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135193
BUG=156619
Review URL: https://codereview.chromium.org/11411295

1:26 PM Changeset in webkit [136268] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1271

Merge 135193
BUG=156619
Review URL: https://codereview.chromium.org/11418269

1:25 PM Changeset in webkit [136267] by Lucas Forschler
  • 1 copy in tags/Safari-536.28.5

New Tag.

1:25 PM Changeset in webkit [136266] by senorblanco@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

  • DEPS:
1:24 PM Changeset in webkit [136265] by timothy_horton@apple.com
  • 9 edits in trunk/Source

(Simple)PDFPlugin: Support conversion of PostScript documents
https://bugs.webkit.org/show_bug.cgi?id=103289
<rdar://problem/10235708>

Reviewed by Dan Bernstein.

SimplePDFPlugin (and PDFPlugin) should support converting PostScript files
to PDF before handing them off to their respective backends.

As PDFPlugin inherits from SimplePDFPlugin, it gets the new functionality automatically.

  • WebProcess/Plugins/PDF/SimplePDFPlugin.h: Add convertPostScriptDataIfNeeded(), and m_isPostScript.
  • WebProcess/Plugins/PDF/SimplePDFPlugin.mm:

(WebKit::SimplePDFPlugin::pluginInfo): SimplePDFPlugin should claim to support PDF and PostScript.
(WebKit::convertPostScriptDataSourceToPDF): PS->PDF conversion code, copied from PDFViewController (which I intend to remove).
(WebKit::SimplePDFPlugin::convertPostScriptDataIfNeeded): Check if the loaded data represents a PS file; if so, convert it.
(WebKit::SimplePDFPlugin::streamDidReceiveResponse): Check if the loaded data is of MIME type application/postscript, and store that in m_isPostScript.
(WebKit::SimplePDFPlugin::streamDidFinishLoading): Call convertPostScriptDataIfNeeded when we finish loading.
(WebKit::SimplePDFPlugin::manualStreamDidReceiveResponse): Ditto from streamDidReceiveResponse.
(WebKit::SimplePDFPlugin::manualStreamDidFinishLoading): Ditto from streamDidFinishLoading.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::createPlugin): Use (Simple)PDFPlugin for PostScript files too.

  • English.lproj/Localizable.strings:
  • WebCore.exp.in:
  • platform/LocalizedStrings.cpp:

(WebCore::postScriptDocumentTypeDescription):

  • platform/LocalizedStrings.h:

Add and export postScriptDocumentTypeDescription, for PostScript files.

1:21 PM Changeset in webkit [136264] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135303
BUG=154488
Review URL: https://codereview.chromium.org/11421183

1:20 PM Changeset in webkit [136263] by cevans@google.com
  • 1 edit
    2 copies in branches/chromium/1271

Merge 135303
BUG=154488
Review URL: https://codereview.chromium.org/11418268

1:11 PM Changeset in webkit [136262] by junov@google.com
  • 5 edits
    1 add in trunk

[Chromium] Animation updates fail when using a canvas as a CSS backround-image style with -webkit-canvas
https://bugs.webkit.org/show_bug.cgi?id=103643

Reviewed by Stephen White.

.:

New test to verify that elements using a canvas as a style image
source are redrawn when the canvas is animated. Added as a manual test
because the bug was not reproducible in DumpRenderTree.

  • ManualTests/animated-canvas-as-background.html: Added.

Source/WebCore:

CanvasRenderingContext2D::didDraw was not propagating the change
notification to observers in the accelerated compositing case.
Problem fixed by adding observer notifications.

New manual test: animated-canvas-as-background.html

  • html/HTMLCanvasElement.cpp:

(WebCore::HTMLCanvasElement::didDraw):
The observer notification was factored out into a separate method
so that it can be invoked directly for accelerated compositing.
(WebCore):
(WebCore::HTMLCanvasElement::notifyObserversCanvasChanged):

  • html/HTMLCanvasElement.h:

(HTMLCanvasElement):

  • html/canvas/CanvasRenderingContext2D.cpp:

(WebCore::CanvasRenderingContext2D::didDraw):
Added observer notification call to trigger repainting of elements that
use this canvas for their style.

1:09 PM Changeset in webkit [136261] by oliver@apple.com
  • 11 edits in trunk/Source/JavaScriptCore

Add direct string->function code cache
https://bugs.webkit.org/show_bug.cgi?id=103764

Reviewed by Michael Saboff.

A fairly logically simple patch. We now track the start of the
unique portion of a functions body, and use that as our key for
unlinked function code. This allows us to cache identical code
in different contexts, leading to a small but consistent improvement
on the benchmarks we track.

  • bytecode/UnlinkedCodeBlock.cpp:

(JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):

  • bytecode/UnlinkedCodeBlock.h:

(JSC::UnlinkedFunctionExecutable::functionStartOffset):
(UnlinkedFunctionExecutable):

  • parser/ASTBuilder.h:

(ASTBuilder):
(JSC::ASTBuilder::setFunctionStart):

  • parser/Nodes.cpp:
  • parser/Nodes.h:

(JSC::FunctionBodyNode::setFunctionStart):
(JSC::FunctionBodyNode::functionStart):
(FunctionBodyNode):

  • parser/Parser.cpp:

(JSC::::parseFunctionInfo):

  • parser/Parser.h:

(JSC::Parser::findCachedFunctionInfo):

  • parser/SyntaxChecker.h:

(JSC::SyntaxChecker::setFunctionStart):

  • runtime/CodeCache.cpp:

(JSC::CodeCache::generateFunctionCodeBlock):
(JSC::CodeCache::getFunctionCodeBlock):
(JSC::CodeCache::usedFunctionCode):

  • runtime/CodeCache.h:
12:49 PM Changeset in webkit [136260] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

PDFPlugin: "Show Definition" context menu item should be implemented
https://bugs.webkit.org/show_bug.cgi?id=103389
<rdar://problem/12710751>

Reviewed by Dan Bernstein.

Call existing dictionary popup code when the context menu "Show Definition" item is selected.

  • WebProcess/Plugins/PDF/PDFPlugin.h:

(PDFPlugin): Add showDefinitionForAttributedString and convertFromPDFViewToRootView.

  • WebProcess/Plugins/PDF/PDFPlugin.mm:

(-[WKPDFLayerControllerDelegate showDefinitionForAttributedString:atPoint:]): Forward this call to PDFPlugin.
(WebKit::PDFPlugin::showDefinitionForAttributedString): Create a DictionaryPopupInfo with the necessary information.
Ask WebPageProxy to show the dictionary popup.
(WebKit::PDFPlugin::convertFromPDFViewToRootView): Convert a point from PDFLayerController space to the root view space.

12:39 PM Changeset in webkit [136259] by yoli@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Set the minimal DOM timer interval to 4 milliseconds
https://bugs.webkit.org/show_bug.cgi?id=103534

Patch by Cosmin Truta (ctruta@rim.com)

Reviewed by Yong Li.

We align this behavior with other platforms.

  • Api/BlackBerryGlobal.cpp:

(BlackBerry::WebKit::globalInitialize):

12:20 PM Changeset in webkit [136258] by schenney@chromium.org
  • 135 edits
    1 move
    3 adds
    8 deletes in trunk/LayoutTests

[Chromium] Rebaselining tests affected by recent Skia changes

Unreviewed test expectations updates.

Due to the Win7 builders being so far behind, some Win7 expectations may be wrong.
Also fixes https://bugs.webkit.org/show_bug.cgi?id=103722

  • platform/chromium-linux-x86/svg/transforms: Added.
  • platform/chromium-linux-x86/svg/transforms/text-with-mask-with-svg-transform-expected.png: Added.
  • platform/chromium-linux/fast/canvas/canvas-incremental-repaint-expected.png:
  • platform/chromium-linux/fast/text/line-initial-and-final-swashes-expected.png: Removed.
  • platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-mac-lion/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac-lion/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-mac-lion/fast/box-shadow/box-shadow-transformed-expected.png:
  • platform/chromium-mac-lion/fast/box-shadow/inset-expected.png:
  • platform/chromium-mac-lion/fast/canvas/canvas-incremental-repaint-expected.png:
  • platform/chromium-mac-lion/fast/repaint/shadow-multiple-horizontal-expected.png:
  • platform/chromium-mac-lion/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
  • platform/chromium-mac-lion/fast/repaint/shadow-multiple-strict-vertical-expected.png:
  • platform/chromium-mac-lion/fast/repaint/shadow-multiple-vertical-expected.png:
  • platform/chromium-mac-lion/fast/transforms/shadows-expected.png:
  • platform/chromium-mac-lion/fast/transforms/transformed-focused-text-input-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-step-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-step-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac-lion/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
  • platform/chromium-mac-lion/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
  • platform/chromium-mac-lion/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.png:
  • platform/chromium-mac-lion/svg/css/group-with-shadow-expected.png:
  • platform/chromium-mac-lion/svg/custom/linking-a-03-b-transform-expected.png:
  • platform/chromium-mac-lion/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
  • platform/chromium-mac-lion/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-mac-lion/svg/custom/stroke-width-large-expected.png:
  • platform/chromium-mac-lion/svg/custom/use-transform-expected.png:
  • platform/chromium-mac-lion/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-mac-snowleopard/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac-snowleopard/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-mac-snowleopard/fast/box-shadow/box-shadow-transformed-expected.png:
  • platform/chromium-mac-snowleopard/fast/repaint/shadow-multiple-horizontal-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/repaint/shadow-multiple-strict-vertical-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/repaint/shadow-multiple-vertical-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/transforms/transformed-focused-text-input-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-step-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-step-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
  • platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
  • platform/chromium-mac-snowleopard/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-mac-snowleopard/svg/custom/stroke-width-large-expected.png:
  • platform/chromium-mac/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-mac/fast/box-shadow/box-shadow-clipped-slices-expected.png:
  • platform/chromium-mac/fast/box-shadow/box-shadow-radius-expected.png:
  • platform/chromium-mac/fast/box-shadow/box-shadow-transformed-expected.png:
  • platform/chromium-mac/fast/box-shadow/inset-box-shadow-radius-expected.png:
  • platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:
  • platform/chromium-mac/fast/box-shadow/inset-expected.png:
  • platform/chromium-mac/fast/box-shadow/scaled-box-shadow-expected.png:
  • platform/chromium-mac/fast/box-shadow/single-pixel-shadow-expected.png:
  • platform/chromium-mac/fast/canvas/canvas-incremental-repaint-expected.png:
  • platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.png:
  • platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
  • platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:
  • platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.png:
  • platform/chromium-mac/fast/repaint/transform-replaced-shadows-expected.png:
  • platform/chromium-mac/fast/transforms/shadows-expected.png:
  • platform/chromium-mac/fast/transforms/transformed-focused-text-input-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-step-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-step-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
  • platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
  • platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.png:
  • platform/chromium-mac/svg/css/group-with-shadow-expected.png:
  • platform/chromium-mac/svg/custom/linking-a-03-b-transform-expected.png:
  • platform/chromium-mac/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
  • platform/chromium-mac/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-mac/svg/custom/stroke-width-large-expected.png:
  • platform/chromium-mac/svg/custom/use-transform-expected.png:
  • platform/chromium-mac/svg/filters/shadow-on-rect-with-filter-expected.png:
  • platform/chromium-mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-win-xp/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-win-xp/fast/repaint/shadow-multiple-horizontal-expected.png: Removed.
  • platform/chromium-win-xp/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Removed.
  • platform/chromium-win-xp/fast/repaint/shadow-multiple-strict-vertical-expected.png: Removed.
  • platform/chromium-win-xp/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
  • platform/chromium-win-xp/platform/chromium/fast/forms/color: Removed.
  • platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-win-xp/svg/css/group-with-shadow-expected.png:
  • platform/chromium-win/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-win/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-win/fast/box-shadow/box-shadow-clipped-slices-expected.png:
  • platform/chromium-win/fast/box-shadow/box-shadow-transformed-expected.png:
  • platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
  • platform/chromium-win/fast/box-shadow/inset-expected.png:
  • platform/chromium-win/fast/canvas/canvas-incremental-repaint-expected.png:
  • platform/chromium-win/fast/repaint/shadow-multiple-horizontal-expected.png:
  • platform/chromium-win/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
  • platform/chromium-win/fast/repaint/shadow-multiple-strict-vertical-expected.png:
  • platform/chromium-win/fast/repaint/shadow-multiple-vertical-expected.png:
  • platform/chromium-win/fast/text/line-initial-and-final-swashes-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/text/line-initial-and-final-swashes-expected.png.
  • platform/chromium-win/fast/transforms/shadows-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/month-picker-appearance-step-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/calendar-picker/week-picker-appearance-step-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
  • platform/chromium-win/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
  • platform/chromium-win/platform/chromium/virtual/softwarecompositing/shadows/shadow-drawing-expected.png: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
  • platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.png:
  • platform/chromium-win/svg/css/group-with-shadow-expected.png:
  • platform/chromium-win/svg/custom/linking-a-03-b-transform-expected.png:
  • platform/chromium-win/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
  • platform/chromium-win/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-win/svg/custom/stroke-width-large-expected.png:
  • platform/chromium-win/svg/custom/use-transform-expected.png:
  • platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium/TestExpectations:
11:28 AM Changeset in webkit [136257] by Lucas Forschler
  • 1 edit in branches/safari-536.28-branch/Source/WebCore/English.lproj/Localizable.strings

Update localized strings.

11:19 AM Changeset in webkit [136256] by simonjam@chromium.org
  • 8 edits in trunk

Report CSS as initiator instead of elements, except body
https://bugs.webkit.org/show_bug.cgi?id=103546

Reviewed by Tony Gentilcore.

Source/WebCore:

The Resource Timing spec says the initiator should be "css" when the the load comes from a
url() rule in a stylesheet. Separately, WebKit reports <body background> as a CSS load, we
need to override that to match the spec.

Tests: http/tests/w3c/webperf/submission/resource-timing

  • css/CSSCursorImageValue.cpp:

(WebCore::CSSCursorImageValue::cachedImage):

  • css/CSSImageValue.cpp:

(WebCore::CSSImageValue::cachedImage): By default, the initiator is "css".

  • css/CSSImageValue.h:

(CSSImageValue):
(WebCore::CSSImageValue::setInitiator): Allow users to manually override it (see body).

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::loadPendingImage):

  • html/HTMLBodyElement.cpp:

(WebCore::HTMLBodyElement::collectStyleForPresentationAttribute): Record "body" as the initiator.

LayoutTests:

  • platform/chromium/fast/loader/resource-request-callbacks-expected.txt: Rebaseline to match new behavior.
11:17 AM Changeset in webkit [136255] by simonjam@chromium.org
  • 3 edits in trunk/Source/WebCore

Remember the CachedResourceRequest for preloads
https://bugs.webkit.org/show_bug.cgi?id=102995

Reviewed by Tony Gentilcore.

Without this, the initiator is lost.

Tests: http/tests/w3c/webperf/submission/resource-timing

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::loadResource):
(WebCore::CachedResourceLoader::preload):
(WebCore::CachedResourceLoader::checkForPendingPreloads):
(WebCore::CachedResourceLoader::requestPreload):
(WebCore::CachedResourceLoader::isPreloaded):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):
(PendingPreload):

10:47 AM Changeset in webkit [136254] by Michelangelo De Simone
  • 3 edits
    6 adds in trunk

[CSS Shaders] Clamp input colors before blending
https://bugs.webkit.org/show_bug.cgi?id=98962

Reviewed by Dean Jackson.

Source/WebCore:

The result of css_ColorMatrix multiplication is now clamped in [0.0, 1.0]
before the blending step.

Relevant spec section is:
http://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#shader-processing-model

Tests: css3/filters/custom/custom-filter-color-clamping-negative.html

css3/filters/custom/custom-filter-color-clamping.html

  • platform/graphics/filters/CustomFilterValidatedProgram.cpp:

(WebCore::CustomFilterValidatedProgram::rewriteMixFragmentShader): Added clamping
code.

LayoutTests:

Test to check the correct clamping of color values.

  • css3/filters/custom/custom-filter-color-clamping-expected.html: Added.
  • css3/filters/custom/custom-filter-color-clamping-negative-expected.html: Added.
  • css3/filters/custom/custom-filter-color-clamping-negative.html: Added.
  • css3/filters/custom/custom-filter-color-clamping.html: Added.
  • css3/filters/resources/custom-filter-color-clamping-negative.fs: Added.
  • css3/filters/resources/custom-filter-color-clamping.fs: Added.
10:19 AM FeatureFlags edited by rafaelw@chromium.org
(diff)
10:18 AM FeatureFlags edited by rafaelw@chromium.org
(diff)
10:14 AM Changeset in webkit [136253] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

Crash due to intruding float not removed after writing mode changed.
https://bugs.webkit.org/show_bug.cgi?id=100149

Reviewed by Levi Weintraub.

Source/WebCore:

When RenderView writing mode changes, make sure to mark all descendants
with floats for layout.

Test: fast/block/float/intruding-float-not-removed-writing-mode.xhtml

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::styleDidChange):

LayoutTests:

  • fast/block/float/intruding-float-not-removed-writing-mode-expected.txt: Added.
  • fast/block/float/intruding-float-not-removed-writing-mode.xhtml: Added.
9:57 AM Changeset in webkit [136252] by pierre.rossi@gmail.com
  • 4 edits in trunk/Source/WebKit/qt

[Qt] Introduce setTextSizeMultiplier in the page adapter as well.

Rubber-stamped by Simon Hausmann.

As it turns out it the bots didn't like the previous attempt.

  • WebCoreSupport/QWebFrameAdapter.cpp:

(QWebFrameAdapter::setTextSizeMultiplier):

  • WebCoreSupport/QWebFrameAdapter.h:
  • WidgetApi/qwebframe.cpp:

(QWebFrame::setTextSizeMultiplier):

9:57 AM Changeset in webkit [136251] by pierre.rossi@gmail.com
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Unreviewed build fix.

In the same vein as r136245. Include PlatformExportMacros proper.

  • WebCoreSupport/QtPrintContext.h:
9:49 AM Changeset in webkit [136250] by fmalita@chromium.org
  • 4 edits
    2 adds in trunk

SVG pattern data deleted while in use
https://bugs.webkit.org/show_bug.cgi?id=103415

Reviewed by Dirk Schulze.

Source/WebCore:

Various calls in RenderSVGResourcePattern::applyResource() can trigger invalidations,
which may end up deleting our current pattern data (via removeAllClientsFromCache).
To avoid this, we should add the pattern data to the cache only after it is fully built.
For clarity, the patch also refactors the pattern setup code into a separate method.

Test: svg/custom/large-image-pattern-crash.html

  • rendering/svg/RenderSVGResourcePattern.cpp:

(WebCore::RenderSVGResourcePattern::buildPattern):
(WebCore::RenderSVGResourcePattern::applyResource):

  • rendering/svg/RenderSVGResourcePattern.h:

(RenderSVGResourcePattern):

LayoutTests:

  • svg/custom/large-image-pattern-crash-expected.txt: Added.
  • svg/custom/large-image-pattern-crash.html: Added.
9:20 AM Changeset in webkit [136249] by apavlov@chromium.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: It's Sass, not SASS
https://bugs.webkit.org/show_bug.cgi?id=103626

Reviewed by Yury Semikhatsky.

Change "SASS" to "Sass" in UI strings.

  • English.lproj/localizedStrings.js:
  • inspector/front-end/Settings.js:

(WebInspector.ExperimentsSettings):

  • inspector/front-end/SettingsScreen.js:
9:17 AM Changeset in webkit [136248] by schenney@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Fixing TestExpectations

Unreviewed fix to pass lint

  • platform/chromium/TestExpectations:
9:06 AM Changeset in webkit [136247] by Simon Hausmann
  • 2 edits in trunk/Source/WebKit2

Unreviewed trivial Qt build fix:

Always link against WebProcess against QT += webkit and use webkitwidgets only if available.

  • WebProcess.pro:
8:59 AM Changeset in webkit [136246] by allan.jensen@digia.com
  • 2 edits in trunk/Source/JavaScriptCore

Crash in conversion of empty OpaqueJSString to Identifier
https://bugs.webkit.org/show_bug.cgi?id=101867

Reviewed by Michael Saboff.

The constructor call used for both null and empty OpaqueJSStrings results
in an assertion voilation and crash. This patch instead uses the Identifier
constructors which are specifically for null and empty Identifier.

  • API/OpaqueJSString.cpp:

(OpaqueJSString::identifier):

8:24 AM Changeset in webkit [136245] by Simon Hausmann
  • 2 edits in trunk/Source/WebKit/qt

Unreviewed prospective MIPS build fix:

Explicitly include PlatformExportMacros for the correct export macro to be find.
Not really MIPS specific but rather to a minimal build configuration with less implicit
includes.

  • WebCoreSupport/UndoStepQt.h:
8:20 AM Changeset in webkit [136244] by pierre.rossi@gmail.com
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Unreviewed build un-break

Revert r136243 and hope it served its purpose.

  • WidgetApi/qwebpage.cpp:

(QWebPagePrivate::QWebPagePrivate):

8:10 AM Changeset in webkit [136243] by pierre.rossi@gmail.com
  • 4 edits in trunk

[Qt] Unreviewed build break

Rubber-stamped by Simon Hausmann.

Poor man's way to trigger a clean build on a bot.

.:

  • WebKit.pro:

Source/WebKit/qt:

  • WidgetApi/qwebpage.cpp:

(QWebPagePrivate::QWebPagePrivate):

7:48 AM Changeset in webkit [136242] by Simon Hausmann
  • 3 edits in trunk/Source/WebKit/qt

[Qt] Fix QML import installation with newer Qt

Reviewed by Tor Arne Vestbø.

The import path has been separated between QML1 and QML2. Use
QT_INSTALL_QML if it's available.

  • declarative/experimental/experimental.pri:
  • declarative/public.pri:
7:32 AM Changeset in webkit [136241] by jochen@chromium.org
  • 1 edit
    2 copies in branches/chromium/1312

Merge 135578 - REGRESSION (r128633): td changes size during re-layout of table although it shouldn't
https://bugs.webkit.org/show_bug.cgi?id=102802

Patch by Julian Pastarmov <pastarmovj@chromium.org> on 2012-11-23
Reviewed by Ojan Vafai.

Source/WebCore:

The bug was caused by incorrectly rewriting a nested condition which caused the else
clause to trigger in wrong cases.

Test: fast/table/nested-tables-with-div-offset.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::computePercentageLogicalHeight):
Reverted wrong combination of nested if statements.

LayoutTests:

This test checks that table layout of some nested tables in quirks mode is computed correctly.

  • fast/table/nested-tables-with-div-offset-expected.txt: Added.
  • fast/table/nested-tables-with-div-offset.html: Added.

TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11414259

7:25 AM Changeset in webkit [136240] by Simon Hausmann
  • 2 edits in trunk/Source/WebKit/qt

Prospective build fix for --minimal build.

  • WebCoreSupport/QWebPageAdapter.cpp:

(QWebPageAdapter::triggerAction):
(QWebPageAdapter::contextMenuItemTagForAction):

7:22 AM Changeset in webkit [136239] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL] Skip failing test editing/selection/caret-alignment-for-vertical-text.html
https://bugs.webkit.org/show_bug.cgi?id=103741

Unreviewed, EFL gardening.

Skip failing test editing/selection/caret-alignment-for-vertical-text.html
until bug 103740 is fixed.

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-11-30

  • platform/efl/TestExpectations:
7:22 AM Changeset in webkit [136238] by Simon Hausmann
  • 2 edits in trunk

[Qt] Unreviewed doc fix

Add additional search paths for API folders.

  • Source/qtwebkit.qdocconf:
7:17 AM Changeset in webkit [136237] by pierre.rossi@gmail.com
  • 3 edits in trunk/Source/WebKit/qt

[Qt] Fix zoomIn/zoomOut related regression.

Reviewed by Simon Hausmann.

Following r136235, fix a case of refactoring gone wrong.
Implementing setTextSizeMultiplier in terms of
setZoomFactor, and not the other way around.

  • WebCoreSupport/QWebFrameAdapter.cpp:

(QWebFrameAdapter::setZoomFactor):

  • WidgetApi/qwebframe.cpp:

(QWebFrame::setTextSizeMultiplier):

7:09 AM Changeset in webkit [136236] by tommyw@google.com
  • 21 edits
    1 move in trunk

Source/WebCore: Speech Recognition API: Update SpeechRecognitionEvent/Result to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Adam Barth.

This patch does the following:
o Adds results, and removing result on SpeechRecognitionEvent
o Renaming SpeechRecognitionResult::final to isFinal
o Moving emma to SpeechRecognitionEvent from SpeechRecognitionResult

Existing tests updated to test the new API.

  • Modules/speech/SpeechRecognition.cpp:

(WebCore::SpeechRecognition::start):
(WebCore::SpeechRecognition::didReceiveResults):
(WebCore):

  • Modules/speech/SpeechRecognition.h:

(SpeechRecognition):

  • Modules/speech/SpeechRecognitionEvent.cpp:

(WebCore::SpeechRecognitionEvent::createResult):
(WebCore):
(WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::~SpeechRecognitionEvent):
(WebCore::emmaQualifiedName):
(WebCore::SpeechRecognitionEvent::emma):

  • Modules/speech/SpeechRecognitionEvent.h:

(WebCore):
(SpeechRecognitionEventInit):
(SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::resultIndex):
(WebCore::SpeechRecognitionEvent::results):

  • Modules/speech/SpeechRecognitionEvent.idl:
  • Modules/speech/SpeechRecognitionResult.cpp:
  • Modules/speech/SpeechRecognitionResult.h:

(WebCore::SpeechRecognitionResult::isFinal):
(SpeechRecognitionResult):

  • Modules/speech/SpeechRecognitionResult.idl:
  • WebCore.gypi:
  • bindings/v8/custom/V8SpeechRecognitionEventCustom.cpp: Renamed from Source/WebCore/bindings/v8/custom/V8SpeechRecognitionResultCustom.cpp.

(WebCore):
(WebCore::V8SpeechRecognitionEvent::opaqueRootForGC):

Source/WebKit/chromium: Speech Recognition API: Update SpeechRecognitionEvent to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Adam Barth.

Adding the new didReceiveResults method.

  • public/WebSpeechRecognizerClient.h:
  • src/SpeechRecognitionClientProxy.cpp:

(WebKit::SpeechRecognitionClientProxy::didReceiveResults):
(WebKit):

  • src/SpeechRecognitionClientProxy.h:

(SpeechRecognitionClientProxy):

Tools: Speech Recognition API: Update SpeechRecognitionEvent to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Adam Barth.

Changing the mock to use the new results delivery API.

  • DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:

LayoutTests: Speech Recognition API: Update SpeechRecognitionEvent to match the specification
https://bugs.webkit.org/show_bug.cgi?id=103407

Reviewed by Adam Barth.

Updating tests.

  • fast/speech/scripted/emma-expected.txt:
  • fast/speech/scripted/emma.html:
  • fast/speech/scripted/speechrecognition-basics-expected.txt:
  • fast/speech/scripted/speechrecognition-basics.html:
7:00 AM Changeset in webkit [136235] by Simon Hausmann
  • 51 edits
    1 copy
    38 moves
    7 adds
    5 deletes in trunk

2012-11-30 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com>

[Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
https://bugs.webkit.org/show_bug.cgi?id=99314

Reviewed by Tor Arne Vestbø.

This big change separates QtWebKit into QtWebKit and QtWebKitWidgets as
shared libraries.

It's a big refactoring that mostly involves moving WebCore dependent
code into QtWebKit and accessing it through exported QWebFrameAdapter
and QWebPageAdapter classes.

6:20 AM Changeset in webkit [136234] by joone.hur@intel.com
  • 4 edits in trunk/Source/WebKit2

[EFL]Drawing artifacts while resizing the view
https://bugs.webkit.org/show_bug.cgi?id=101288

Reviewed by Kenneth Rohde Christiansen.

An Evas GL surface is recreated when the window is resized, but the update of the surface is
asynchronously done, which gives Evas a chance of painting the empty surface on the screen.
As a result, the flickering problem happens while resizing the view.
So this patch allows to create an Evas GL surface synchronously with the update of the surface.

  • UIProcess/API/efl/EwkViewImpl.cpp:

(EwkViewImpl::EwkViewImpl): Set m_pendingSurfaceResize to false.
(EwkViewImpl::displayTimerFired): Create an Evas GL surface.

  • UIProcess/API/efl/EwkViewImpl.h:

(EwkViewImpl::setNeedsSurfaceResize): Added.
(EwkViewImpl):

  • UIProcess/API/efl/ewk_view.cpp:

(_ewk_view_smart_calculate): Set m_pendingSurfaceResize to true.

6:16 AM Changeset in webkit [136233] by vestbo@webkit.org
  • 2 edits in trunk

[Qt] Build as a regular Qt module when production_build is enabled

Instead of always setting CONFIG+=force_independent. This means the
libs, headers, and documentation will end up in qtbase for developer
builds of Qt, instead of always in the QtWebKit build directory.

Reviewed by Simon Hausmann.

  • Source/api.pri:
6:16 AM Changeset in webkit [136232] by vestbo@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

[Qt] Place the LLIntOffsetsExtractor binaries in debug/release subdirs on Mac

Otherwise we'll end up using the same LLIntAssembly.h for both build
configs of JavaScriptCore -- one of them which will be for the wrong
config.

Reviewed by Simon Hausmann.

5:58 AM WebKitEFLLayoutTest edited by ryuan.choi@samsung.com
(diff)
5:56 AM Changeset in webkit [136231] by commit-queue@webkit.org
  • 5 edits in trunk

[WK2] TiledBackingStore: Frame view re-layouts with wrong Fixed Visible Content Rect.
https://bugs.webkit.org/show_bug.cgi?id=103428

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-11-30
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

Set now appropriate fixed visible content rect before layout when viewport
attributes change.

  • UIProcess/PageViewportController.cpp:

(WebKit::PageViewportController::syncVisibleContents):
(WebKit::PageViewportController::didChangeViewportAttributes):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::sendViewportAttributesChanged):

LayoutTests:

Unskipped corresponding test cases for EFL WK2.

  • platform/efl-wk2/TestExpectations:
5:44 AM Changeset in webkit [136230] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

[EFL] Gardening after r136031 and r136142
https://bugs.webkit.org/show_bug.cgi?id=103734

Source/WebKit2:

Unreviewed, API test EWK2UnitTestBase.ewk_view_setting_encoding_custom
is asserting after r136031. So, disabling the test until bug 103732 is
fixed.

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-11-30

  • UIProcess/API/efl/tests/test_ewk2_view.cpp:

(TEST_F):

LayoutTests:

Unreviewed, EFL gardening.

Add baselines for new test fast/ruby/position-after.html. Also
unskip passing tests.

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-11-30

  • platform/efl/TestExpectations:
  • platform/efl/fast/ruby/position-after-expected.png: Added.
  • platform/efl/fast/ruby/position-after-expected.txt: Added.
5:03 AM Changeset in webkit [136229] by zeno.albisser@digia.com
  • 4 edits in trunk/Source

[Qt] Enable WebGL by default.
https://bugs.webkit.org/show_bug.cgi?id=103731

Reviewed by Simon Hausmann.

Source/WebKit/qt:

  • Api/qwebsettings.cpp:

(QWebSettings::QWebSettings):

Source/WebKit2:

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewPrivate::initialize):

4:59 AM Changeset in webkit [136228] by Simon Hausmann
  • 2 edits in trunk/Source/WebCore

Unreviewed, rolling out r136227.
http://trac.webkit.org/changeset/136227

Broke the Qt bots due to version mismatch

  • platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:

(FullScreenVideoWindow::FullScreenVideoWindow):
(PlatformVideoWindow::PlatformVideoWindow):

4:50 AM Changeset in webkit [136227] by Simon Hausmann
  • 2 edits in trunk/Source/WebCore

[Qt] Fixed use of to-be-removed compatibility functions in QWindow.

Patch by Samuel Rødal <samuel.rodal@digia.com> on 2012-11-30
Reviewed by Simon Hausmann.

  • platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:

(FullScreenVideoWindow::FullScreenVideoWindow):
(PlatformVideoWindow::PlatformVideoWindow):

4:47 AM Changeset in webkit [136226] by Csaba Osztrogonác
  • 1 edit
    1 add in trunk/Tools

[Qt] Unreviewed trivial fix.

Add empty.cpp back, it was removed accidentally by r129092.

  • qmake/config.tests/gccdepends/empty.cpp: Added.
4:32 AM Changeset in webkit [136225] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

Caret is painted horizontally in vertical writing mode when there are no visible text
https://bugs.webkit.org/show_bug.cgi?id=102359

Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-11-30
Reviewed by Ryosuke Niwa.

Source/WebCore:

In the vertical writing mode the caret rect on an empty editable box or
an empty line is rendered as per the horizontal writing mode.

This changes though when any text is added; the caret is then displayed
in accordance with the vertical writing mode.

Test: editing/selection/caret-alignment-for-vertical-text.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::localCaretRect):

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::localCaretRectForEmptyElement):
The caret rect should be transposed for the vertical writing mode. Its
width and height values need to be interchanged for it to be oriented
as per the vertical text.

LayoutTests:

  • editing/selection/caret-alignment-for-vertical-text-expected.txt: Added.
  • editing/selection/caret-alignment-for-vertical-text.html: Added.

Test to verify that the orientation of the caret on an empty vertical text
line or container is same as that for a non-empty container.

4:01 AM Changeset in webkit [136224] by vestbo@webkit.org
  • 2 edits in trunk/Tools

[Qt] Add support for prepare_docs and generate_docs

Follow-up to changes in Qt in how documentation is built.

Reviewed by Simon Hausmann.

  • qmake/mkspecs/features/default_post.prf:
3:26 AM Changeset in webkit [136223] by kkristof@inf.u-szeged.hu
  • 1 edit
    2 adds in trunk/LayoutTests

[Qt] Unreviewed gardening.

Add expected results for a new test.

Patch by Nandor Huszka <hnandor@inf.u-szeged.hu> on 2012-11-30

  • platform/qt/fast/ruby/position-after-expected.png: Added.
  • platform/qt/fast/ruby/position-after-expected.txt: Added.
3:21 AM Changeset in webkit [136222] by keishi@webkit.org
  • 3 edits in trunk/Source/WebKit/chromium

[Chromium] Page popup doesn't change mouse cursor
https://bugs.webkit.org/show_bug.cgi?id=97454

Reviewed by Kent Tamura.

The mouse cursor should change based on the page popup content and not the main window content.
On Mac the mousemove event propagates to both the page popup and main window causing the cursor to flicker.
The change to ChromeClientImpl stops that.

  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::setCursor): On Mac, don't update the mouse cursor if a popup is open.

  • src/WebPagePopupImpl.cpp: Implement setCursor so the mouse cursor gets set based on the page popup content.
2:56 AM Changeset in webkit [136221] by zandobersek@gmail.com
  • 4 edits
    2 adds
    2 deletes in trunk/Tools

Finally remove webkitpy.common.system.deprecated_logging
https://bugs.webkit.org/show_bug.cgi?id=103624

Reviewed by Adam Barth.

Remove the deprecated logging module and its unit tests now that such logging is not
used anymore in webkitpy.

The tee and OutputTee classes are moved into a new module, webkitpy.common.system.outputtee.
The tee class is renamed to Tee to conform with the usual guidelines.

Only unit test for the Tee class is currently provided as the OutputTee is not currently
using the webkitpy Filesystem abstraction that would make its functionality testable.

  • Scripts/webkitpy/common/system/executive.py: tee (now Tee) is now in a new module.

(Executive.run_and_throw_if_fail):

  • Scripts/webkitpy/common/system/outputtee.py: Renamed from Tools/Scripts/webkitpy/common/system/deprecated_logging.py.

(Tee):
(Tee.init):
(Tee.write):
(OutputTee):
(OutputTee.init):
(OutputTee.add_log):
(OutputTee.remove_log):
(OutputTee._open_log_file):
(OutputTee._tee_outputs_to_files):

  • Scripts/webkitpy/common/system/outputtee_unittest.py: Renamed from Tools/Scripts/webkitpy/common/system/deprecated_logging_unittest.py.

(SimpleTeeTest):
(SimpleTeeTest.test_simple_tee):

  • Scripts/webkitpy/tool/bot/queueengine.py: OutputTee is now in a new module.
  • Scripts/webkitpy/webkitpy.pyproj: Remove the deprecated_logging module and related unit test file.
2:52 AM Changeset in webkit [136220] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [Timeline] JS error when clicking in Memory Statistics view
https://bugs.webkit.org/show_bug.cgi?id=103486

Patch by Sankeerth V S <sankeerth.vs@samsung.com> on 2012-11-30
Reviewed by Alexander Pavlov.

The counter value can be null/undefined. Hence a check is needed
before we access the "time" property on this counter object.

No new tests required as UI related change.

  • inspector/front-end/MemoryStatistics.js:

(WebInspector.MemoryStatistics.prototype._onClick):

2:32 AM Changeset in webkit [136219] by tkent@chromium.org
  • 6 edits in trunk/LayoutTests

[Chromium] Layout Test fast/forms/*-multiple-fields/*-multiple-fields-preserve-value-after-history-back.html is failing
https://bugs.webkit.org/show_bug.cgi?id=96720

Reviewed by Kentaro Hara.

We should start tests after js-test-post.js loading to avoid missing
testRunner.waitUntilDone calls.

  • fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html:

Make the outer switch a function to be called window.onload, and stop to
remove the iframe because the script in the iframe calls notifyDone.

  • fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html:

Ditto.

  • fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html:

Ditto.

  • fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html:

Ditto.

  • platform/chromium/TestExpectations:

Move the line for
week-multiple-fields-preserve-value-after-history-back.html near to
others. We don't remove these expectations yet just in case.

2:19 AM Changeset in webkit [136218] by commit-queue@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

[sh4] Fix compilation warnings in JavaScriptCore JIT for sh4 arch
https://bugs.webkit.org/show_bug.cgi?id=103378

Patch by Julien BRIANCEAU <jbrianceau@nds.com> on 2012-11-30
Reviewed by Filip Pizlo.

  • assembler/MacroAssemblerSH4.h:

(JSC::MacroAssemblerSH4::branchTest32):
(JSC::MacroAssemblerSH4::branchAdd32):
(JSC::MacroAssemblerSH4::branchMul32):
(JSC::MacroAssemblerSH4::branchSub32):
(JSC::MacroAssemblerSH4::branchOr32):

1:45 AM Changeset in webkit [136217] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

[EFL][WK2] Add support for PlatformWebView::simulateRightClick() in TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=103634

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-11-30
Reviewed by Gyuyoung Kim.

Add support for PlatformWebView::simulateRightClick() and enable
WebKit2 API test HitTestResultNodeHandle.

  • TestWebKitAPI/PlatformEfl.cmake:
  • TestWebKitAPI/efl/PlatformWebView.cpp:

(TestWebKitAPI::PlatformWebView::simulateRightClick):
(TestWebKitAPI):

1:13 AM Changeset in webkit [136216] by apavlov@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed, fast/text/line-initial-and-final-swashes.html missing expectations on XP after r136153.

  • platform/chromium/TestExpectations:
1:02 AM Changeset in webkit [136215] by tkent@chromium.org
  • 3 edits in trunk/Source/WebCore

Fix typos in DateTimeNumericFieldElement.cpp and DateTimeSymbolicFieldElement.cpp
https://bugs.webkit.org/show_bug.cgi?id=103717

Reviewed by Hajime Morita.

  • html/shadow/DateTimeNumericFieldElement.cpp:

(WebCore::DateTimeNumericFieldElement::customStyleForRenderer):
maximum, not maxium.

  • html/shadow/DateTimeSymbolicFieldElement.cpp:

(WebCore::DateTimeSymbolicFieldElement::customStyleForRenderer): Ditto.

1:01 AM Changeset in webkit [136214] by tasak@google.com
  • 2 edits in trunk/LayoutTests

Unreviewed, WebKit gardening.

  • platform/chromium/TestExpectations:
12:58 AM Changeset in webkit [136213] by Lucas Forschler
  • 4 edits in trunk/Source

Versioning.

12:54 AM Changeset in webkit [136212] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[EFL] libwebcore_efl.a fail to link when enable webgl
https://bugs.webkit.org/show_bug.cgi?id=103610

Patch by Halton Huo <halton.huo@intel.com> on 2012-11-30
Reviewed by Gyuyoung Kim.

libwebcore_efl.a should link to X11, Xcomposite and Xrender libraries when ENABLE_WEBGL is ON

No new tests, no behavior change for layout tests.

  • PlatformEfl.cmake: Append ${X11_X11_LIB}, ${X11_Xcomposite_LIB} and ${X11_Xrender_LIB} to WebCore_LIBRARIES
12:52 AM Changeset in webkit [136211] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebCore

Unreviewed, fix the PDFPlugin build after http://trac.webkit.org/changeset/136205.

  • WebCore.xcodeproj/project.pbxproj:
12:48 AM Changeset in webkit [136210] by commit-queue@webkit.org
  • 32 edits in trunk

[CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
https://bugs.webkit.org/show_bug.cgi?id=101192

Patch by Mihai Maerean <Mihai Maerean> on 2012-11-30
Reviewed by Hajime Morita.

Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.

Tests: No new tests because there is no functional change.

Source/WebCore:

  • WebCore.exp.in:
  • WebCore.vcproj/copyForwardingHeaders.cmd:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore):

  • bindings/generic/RuntimeEnabledFeatures.h:

(RuntimeEnabledFeatures):
(WebCore::RuntimeEnabledFeatures::setCSSRegionsEnabled):
(WebCore::RuntimeEnabledFeatures::cssRegionsEnabled):

  • dom/Document.cpp:

(WebCore::Document::cssRegionsEnabled):

  • page/Settings.cpp:

(WebCore::Settings::Settings):

  • page/Settings.h:

(Settings):

Source/WebKit/chromium:

  • public/WebRuntimeFeatures.h:

(WebRuntimeFeatures):

  • public/WebSettings.h: moved setExperimentalCSSRegionsEnabled to the bottom of the interface and made it a

no-op. After this patch lands and Chromium's webkit_rev is increased, we'll remove any callers in Chromium. Once
the Chromium callers are gone and WebKit's chromium_rev is increased, we'll remove the deprecated API.

  • src/WebRuntimeFeatures.cpp:

(WebKit::WebRuntimeFeatures::enableCSSRegions):
(WebKit):
(WebKit::WebRuntimeFeatures::isCSSRegionsEnabled):

  • src/WebSettingsImpl.cpp:
  • src/WebSettingsImpl.h:

(WebSettingsImpl):

Source/WebKit/efl:

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:

(DumpRenderTreeSupportEfl::setCSSRegionsEnabled):

  • ewk/ewk_view.cpp:

(_ewk_view_priv_new):

Source/WebKit/gtk:

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:

(DumpRenderTreeSupportGtk::setCSSRegionsEnabled):

Source/WebKit/mac:

  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]):

Source/WebKit/qt:

  • Api/qwebsettings.cpp:

(QWebSettingsPrivate::apply):

Source/WebKit/win:

  • WebView.cpp:

(WebView::notifyPreferencesChanged):

Source/WebKit2:

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
(WebKit::InjectedBundle::setCSSRegionsEnabled):
(WebKit):

  • WebProcess/InjectedBundle/InjectedBundle.h:

(InjectedBundle):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):

Tools:

  • DumpRenderTree/chromium/WebPreferences.cpp:

(WebPreferences::applyTo):

12:08 AM Changeset in webkit [136209] by keishi@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

Layout Test fast/forms/month-multiple-fields/month-multiple-fields-preserve-value-after-history-back.html is failing
https://bugs.webkit.org/show_bug.cgi?id=103713

Unreviewed.

Rebaselining month-multiple-fields-preserve-value-after-history-back.html for Windows.

  • platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-preserve-value-after-history-back-expected.txt: Added.
  • platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-preserve-value-after-history-back-expected.txt: Added.
Note: See TracTimeline for information about the timeline view.