WebKit-https.git
8 years agoDFG should inline code blocks that use scoped variable access
fpizlo@apple.com [Tue, 4 Dec 2012 20:25:24 +0000 (20:25 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136546 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoMany webkitpy module files are executable, have shebang line
zandobersek@gmail.com [Tue, 4 Dec 2012 20:17:55 +0000 (20:17 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136545 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoRolled DEPS (w/Linux build fix). Unreviewed.
senorblanco@chromium.org [Tue, 4 Dec 2012 19:47:55 +0000 (19:47 +0000)]
Rolled DEPS (w/Linux build fix).  Unreviewed.

* DEPS:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, mark fast/dom/HTMLTemplateElement/inertContents.html as flaky on mac...
eae@chromium.org [Tue, 4 Dec 2012 19:38:55 +0000 (19:38 +0000)]
Unreviewed, mark fast/dom/HTMLTemplateElement/inertContents.html as flaky on mac debug.

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136543 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r136530.
senorblanco@chromium.org [Tue, 4 Dec 2012 19:35:56 +0000 (19:35 +0000)]
Unreviewed, rolling out r136530.
http://trac.webkit.org/changeset/136530

Broke build.webkit.org linux build

* DEPS:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoStale SVGUseElement reference in CachedResource::checkNotify()
fmalita@chromium.org [Tue, 4 Dec 2012 19:35:30 +0000 (19:35 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136541 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoWeb Inspector: Can't take a heap snapshot in chromium ("Uncaught ReferenceError")
alexis@webkit.org [Tue, 4 Dec 2012 19:29:48 +0000 (19:29 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136540 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoReplace JSValue::description() with JSValue::dump(PrintStream&)
fpizlo@apple.com [Tue, 4 Dec 2012 19:29:13 +0000 (19:29 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agojsc command line tool's support for typed arrays should be robust against array buffe...
fpizlo@apple.com [Tue, 4 Dec 2012 19:25:38 +0000 (19:25 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoWeb Inspector: Can't take a heap snapshot in chromium ("Uncaught ReferenceError")
yurys@chromium.org [Tue, 4 Dec 2012 19:04:38 +0000 (19:04 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136534 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago [WK2] Track private browsing session explicitly
ap@apple.com [Tue, 4 Dec 2012 18:59:15 +0000 (18:59 +0000)]
    [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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136533 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoMissing -expected.txt files for new <track> tests
commit-queue@webkit.org [Tue, 4 Dec 2012 18:58:14 +0000 (18:58 +0000)]
Missing -expected.txt files for new <track> tests
https://bugs.webkit.org/show_bug.cgi?id=104006

Patch by Antoine Quint <graouts@apple.com> 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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r136509.
commit-queue@webkit.org [Tue, 4 Dec 2012 18:52:10 +0000 (18:52 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Rolled DEPS.
senorblanco@chromium.org [Tue, 4 Dec 2012 18:49:51 +0000 (18:49 +0000)]
Unreviewed.  Rolled DEPS.

* DEPS:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[chromium] fix showFPScounter and showPaintRects not toggleable after page change
commit-queue@webkit.org [Tue, 4 Dec 2012 18:47:50 +0000 (18:47 +0000)]
[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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoINVALID_STATE_ERR error upon calling .addCue() for an already-in-use cue
dino@apple.com [Tue, 4 Dec 2012 18:47:31 +0000 (18:47 +0000)]
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 <graouts@apple.com> 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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoLog to console when forms and popups are blocked by 'sandbox'.
mkwst@chromium.org [Tue, 4 Dec 2012 18:34:27 +0000 (18:34 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136527 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[V8] Make v8::Null(isolate) faster by caching the value in V8 bindings
haraken@chromium.org [Tue, 4 Dec 2012 18:28:32 +0000 (18:28 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136526 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd an helper function in CSSParser to check for '/' character.
alexis@webkit.org [Tue, 4 Dec 2012 18:24:45 +0000 (18:24 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd a Chromium Android Release (Perf) to the list of perf. bots.
rniwa@webkit.org [Tue, 4 Dec 2012 18:22:55 +0000 (18:22 +0000)]
Add a Chromium Android Release (Perf) to the list of perf. bots.

* BuildSlaveSupport/build.webkit.org-config/templates/root.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed chromium rebaseline for r136508.
eae@chromium.org [Tue, 4 Dec 2012 18:13:55 +0000 (18:13 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[GTK] Insert the jhbuild wrapper command at the beginning of the command list
zandobersek@gmail.com [Tue, 4 Dec 2012 18:12:59 +0000 (18:12 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoInspector: Introduce Input.dispatchKeyEvent and DOM.focus for typing simulation.
commit-queue@webkit.org [Tue, 4 Dec 2012 18:04:21 +0000 (18:04 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoFontPlatformData has unnecessary m_textOrientation member
mitz@apple.com [Tue, 4 Dec 2012 17:58:44 +0000 (17:58 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed mathml rebaseline.
eae@chromium.org [Tue, 4 Dec 2012 17:54:14 +0000 (17:54 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, skip new broken tests in chromium.
eae@chromium.org [Tue, 4 Dec 2012 17:47:46 +0000 (17:47 +0000)]
Unreviewed, skip new broken tests in chromium.

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed chromium expectations update, mark unskipped svg tests as slow.
eae@chromium.org [Tue, 4 Dec 2012 17:41:03 +0000 (17:41 +0000)]
Unreviewed chromium expectations update, mark unskipped svg tests as slow.

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd FrameLoaderClient::didDisownOpener
creis@chromium.org [Tue, 4 Dec 2012 17:39:26 +0000 (17:39 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd the Chromium Android Release (Perf) bot
peter@chromium.org [Tue, 4 Dec 2012 17:39:03 +0000 (17:39 +0000)]
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__):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed chromium rebaseline for r136506 and 136502.
eae@chromium.org [Tue, 4 Dec 2012 17:32:01 +0000 (17:32 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoRedrawing issue with inserting new inline element between existing inline elements
robert@webkit.org [Tue, 4 Dec 2012 16:58:07 +0000 (16:58 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[BlackBerry] Remove assert and fix conditional for out of bounds requests in InputHan...
mifenton@rim.com [Tue, 4 Dec 2012 16:53:42 +0000 (16:53 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoGut WebRenderingStats since we no longer use its member variables.
commit-queue@webkit.org [Tue, 4 Dec 2012 16:52:01 +0000 (16:52 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Chromium] The ChromiumAndroidDriver constructor should not rely on adb being available
peter@chromium.org [Tue, 4 Dec 2012 16:25:22 +0000 (16:25 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoIntSize::scale() should return rounded value
commit-queue@webkit.org [Tue, 4 Dec 2012 15:41:44 +0000 (15:41 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[chromium] Turn on the new Skia mask blur algorithm.
schenney@chromium.org [Tue, 4 Dec 2012 15:19:32 +0000 (15:19 +0000)]
[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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd support for generic types in arrays and sequences to the code generators
adam.bergkvist@ericsson.com [Tue, 4 Dec 2012 14:56:21 +0000 (14:56 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoTextTrack's .kind property should return lower-case values
commit-queue@webkit.org [Tue, 4 Dec 2012 13:38:57 +0000 (13:38 +0000)]
TextTrack's .kind property should return lower-case values
https://bugs.webkit.org/show_bug.cgi?id=103411

Patch by Antoine Quint <graouts@apple.com> 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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r136498.
commit-queue@webkit.org [Tue, 4 Dec 2012 13:30:08 +0000 (13:30 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[EFL][WK2] Add APIs to toggle plug-ins support.
commit-queue@webkit.org [Tue, 4 Dec 2012 13:15:01 +0000 (13:15 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[BlackBerry] Store rendered regions in pixel contents coordinates.
jpetsovits@rim.com [Tue, 4 Dec 2012 13:05:41 +0000 (13:05 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoSource/WebCore: Web Inspector: Viewport console warnings cleanup.
commit-queue@webkit.org [Tue, 4 Dec 2012 12:34:41 +0000 (12:34 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, WebKit gardening.
tasak@google.com [Tue, 4 Dec 2012 11:59:34 +0000 (11:59 +0000)]
Unreviewed, WebKit gardening.

* platform/chromium/TestExpectations:
Update flaky tests' expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Qt][WK2] Do not override previously set flags of QQuickWebView when enabling drag...
abecsi@webkit.org [Tue, 4 Dec 2012 11:40:15 +0000 (11:40 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, WebKit gardening.
tasak@google.com [Tue, 4 Dec 2012 11:36:33 +0000 (11:36 +0000)]
Unreviewed, WebKit gardening.

* platform/chromium/TestExpectations:
Mark css3/filters/effect-reference-hw.html and
css3/filters/effect-reference-ordering-hw.html as crash.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[GTK] Use a private struct and placement new syntax in GObject DOM bindings
carlosgc@webkit.org [Tue, 4 Dec 2012 11:10:35 +0000 (11:10 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoIndexedDB: Make leveldb histogram entries more fine-grained
dgrogan@chromium.org [Tue, 4 Dec 2012 11:04:48 +0000 (11:04 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Tue, 4 Dec 2012 10:49:31 +0000 (10:49 +0000)]
Unreviewed GTK gardening.

Adding failure expectations for the sixth and seventh SVG viewspec tests.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Qt] Yet another unreviewed speculative windows build fix.
pierre.rossi@gmail.com [Tue, 4 Dec 2012 10:33:56 +0000 (10:33 +0000)]
[Qt] Yet another unreviewed speculative windows build fix.

WebKit2 relies on the QWEBKIT_EXPORT macro from WebKit1 as well.

* Api/qwebkitglobal.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[GTK] Avoid unnecessary heap allocations during drag and drop operations
carlosgc@webkit.org [Tue, 4 Dec 2012 10:32:55 +0000 (10:32 +0000)]
[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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoWeb Inspector: [Overrides] Add ability to override the page CSS media type
apavlov@chromium.org [Tue, 4 Dec 2012 10:25:44 +0000 (10:25 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoPerformanceTests: Dromaeo should report individual test result
rniwa@webkit.org [Tue, 4 Dec 2012 10:00:54 +0000 (10:00 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[GTK] Simplify GObject DOM bindings code for handling properties
carlosgc@webkit.org [Tue, 4 Dec 2012 09:42:07 +0000 (09:42 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Rebaselined run-bindings-tests.
haraken@chromium.org [Tue, 4 Dec 2012 09:35:04 +0000 (09:35 +0000)]
Unreviewed. Rebaselined run-bindings-tests.

* bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore::JSTestNode::visitChildren):
(WebCore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, WebKit gardening.
tasak@google.com [Tue, 4 Dec 2012 09:33:22 +0000 (09:33 +0000)]
Unreviewed, WebKit gardening.

* platform/chromium/TestExpectations:
Updated about 200 tests' expectations, because the tests were
reported as "expected to XXX, but YYY".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoWeb Inspector: [REGRESSION] [Styles] Rule disappears if edited selector does not...
apavlov@chromium.org [Tue, 4 Dec 2012 09:18:20 +0000 (09:18 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[EFL][WK2][AC] USE_GRAPHICS_SURFACE should be enabled only if Xcomposite and Xrender...
commit-queue@webkit.org [Tue, 4 Dec 2012 09:12:00 +0000 (09:12 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoMake svg/dom/viewspec-parser-*.html non-flaky
commit-queue@webkit.org [Tue, 4 Dec 2012 08:52:36 +0000 (08:52 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[EFL][WK2] Use consistent class names inside Ewk classes
commit-queue@webkit.org [Tue, 4 Dec 2012 08:33:03 +0000 (08:33 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[BlackBerry] Use updated API for backingstore tiles.
jpetsovits@rim.com [Tue, 4 Dec 2012 08:28:53 +0000 (08:28 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[BlackBerry] On taking over a backingstore, reset the previous page's tiles.
jpetsovits@rim.com [Tue, 4 Dec 2012 08:08:17 +0000 (08:08 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[JSC] Generate visitChildren() for uncustomized EventTarget interfaces
commit-queue@webkit.org [Tue, 4 Dec 2012 08:06:30 +0000 (08:06 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoChange ChildNodeInsertionNotifier::m_postInsertionsNotificationTargets from a Vector...
haraken@chromium.org [Tue, 4 Dec 2012 08:04:26 +0000 (08:04 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed build fix after r136467
ossy@webkit.org [Tue, 4 Dec 2012 07:48:41 +0000 (07:48 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[V8] Enter an Isolate before initializing PerIsolateData
haraken@chromium.org [Tue, 4 Dec 2012 07:41:41 +0000 (07:41 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agosvg/foreignObject/viewport-foreignObject-crash.html recurses infinitely sometimes
japhet@chromium.org [Tue, 4 Dec 2012 07:37:12 +0000 (07:37 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoCoordinated Graphics: Reorder messages to LayerTreeCoordinatorProxy
commit-queue@webkit.org [Tue, 4 Dec 2012 07:36:31 +0000 (07:36 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[GTK] Add WebKitDOMShadowRoot.h to the list of public API headers after r135693
sergio@webkit.org [Tue, 4 Dec 2012 07:35:33 +0000 (07:35 +0000)]
[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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoIndexedDB: Correct database version after aborted upgrade
jsbell@chromium.org [Tue, 4 Dec 2012 07:17:04 +0000 (07:17 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, functionality fix after r136437.
zandobersek@gmail.com [Tue, 4 Dec 2012 06:59:22 +0000 (06:59 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Gardening of Apple Windows port.
roger_fong@apple.com [Tue, 4 Dec 2012 04:41:12 +0000 (04:41 +0000)]
Unreviewed. Gardening of Apple Windows port.
https://bugs.webkit.org/show_bug.cgi?id=102603.

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed gardening of Apple Windows Port.
roger_fong@apple.com [Tue, 4 Dec 2012 04:31:26 +0000 (04:31 +0000)]
Unreviewed gardening of Apple Windows Port.
https://bugs.webkit.org/show_bug.cgi?id=97026

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136472 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, WebKit gardening.
tasak@google.com [Tue, 4 Dec 2012 04:25:48 +0000 (04:25 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136471 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Removing expected failing results for Windows port. Test now works.
roger_fong@apple.com [Tue, 4 Dec 2012 03:58:39 +0000 (03:58 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Skip fast/js/kde/Array.html.
roger_fong@apple.com [Tue, 4 Dec 2012 03:53:50 +0000 (03:53 +0000)]
Unreviewed. Skip fast/js/kde/Array.html.
https://bugs.webkit.org/show_bug.cgi?id=103962.

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Line ending fix.
roger_fong@apple.com [Tue, 4 Dec 2012 03:44:56 +0000 (03:44 +0000)]
Unreviewed. Line ending fix.

* platform/win/css3/filters/effect-reference-expected.txt:
* platform/win/css3/filters/effect-reference-hw-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoImplement HTMLTemplateElement
rafaelw@chromium.org [Tue, 4 Dec 2012 03:09:49 +0000 (03:09 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r136460.
commit-queue@webkit.org [Tue, 4 Dec 2012 02:37:55 +0000 (02:37 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoSource/WebCore: [CSS Grid Layout] Support paddings and margins on grid items
jchaffraix@webkit.org [Tue, 4 Dec 2012 02:24:23 +0000 (02:24 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoMake it easier to add more web process initialization parameters
andersca@apple.com [Tue, 4 Dec 2012 02:22:49 +0000 (02:22 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Expected failing results on Windows.
roger_fong@apple.com [Tue, 4 Dec 2012 02:19:13 +0000 (02:19 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, WebKit gardening.
tasak@google.com [Tue, 4 Dec 2012 01:57:54 +0000 (01:57 +0000)]
Unreviewed, WebKit gardening.

* platform/chromium/TestExpectations:
Removed duplicate entries for compositing/masks/masked-ancestor.html.
Fixed overriding: compositing/masks/simple-composited-mask.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136462 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Qt] another stab at fixing the windows build
pierre.rossi@gmail.com [Tue, 4 Dec 2012 01:38:59 +0000 (01:38 +0000)]
[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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136461 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[chromium] Remove linux theme related files and switch to default
commit-queue@webkit.org [Tue, 4 Dec 2012 01:20:59 +0000 (01:20 +0000)]
[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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoAdd Opera-submitted W3C <track> tests to LayoutTests
dino@apple.com [Tue, 4 Dec 2012 01:05:32 +0000 (01:05 +0000)]
Add Opera-submitted W3C <track> tests to LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=103887

Patch by Antoine Quint <graouts@apple.com> 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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, add Chromium GTK+ baselines after r136409 (mathml sup/sub box changes).
tony@chromium.org [Tue, 4 Dec 2012 01:02:11 +0000 (01:02 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, add Chromium Win/Mac baselines after r136409 (mathml sup/sub box changes).
tony@chromium.org [Tue, 4 Dec 2012 00:58:44 +0000 (00:58 +0000)]
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoDisable WebKit2 API tests on Apple Windows port.
roger_fong@apple.com [Tue, 4 Dec 2012 00:42:15 +0000 (00:42 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed. Fix Mac compilation after r136448.
yurys@chromium.org [Tue, 4 Dec 2012 00:34:25 +0000 (00:34 +0000)]
Unreviewed. Fix Mac compilation after r136448.

* WebCoreSupport/WebChromeClient.mm:
(stringForMessageType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136455 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Qt] Unreviewed build fix after r136410
pierre.rossi@gmail.com [Tue, 4 Dec 2012 00:11:16 +0000 (00:11 +0000)]
[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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136453 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[EFL][Qt][WK2] Fixed position elements are not always fixed
kenneth@webkit.org [Tue, 4 Dec 2012 00:04:52 +0000 (00:04 +0000)]
[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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136452 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r135271.
commit-queue@webkit.org [Mon, 3 Dec 2012 23:51:34 +0000 (23:51 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoWeb Inspector: make it possible to fliter out messages from console.{time,timeEnd}()
caseq@chromium.org [Mon, 3 Dec 2012 23:43:27 +0000 (23:43 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Chromium] Expose removeAttribute in WebElement
fsamuel@chromium.org [Mon, 3 Dec 2012 23:42:49 +0000 (23:42 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136447 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed, rolling out r136444.
commit-queue@webkit.org [Mon, 3 Dec 2012 23:33:20 +0000 (23:33 +0000)]
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agoUnreviewed gardening on Apple Windows port.
roger_fong@apple.com [Mon, 3 Dec 2012 23:11:54 +0000 (23:11 +0000)]
Unreviewed gardening on Apple Windows port.

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136445 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[Qt] Unreviewed build fix after r136410
pierre.rossi@gmail.com [Mon, 3 Dec 2012 23:11:28 +0000 (23:11 +0000)]
[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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agowebkitpy's run_webkit_tests should initialize the printer earlier on
dpranke@chromium.org [Mon, 3 Dec 2012 23:08:07 +0000 (23:08 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years ago[BlackBerry] Refactor the backingstore to swap full geometries.
jpetsovits@rim.com [Mon, 3 Dec 2012 23:07:54 +0000 (23:07 +0000)]
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

8 years agowebkitpy: autoinstaller is failing on windows
dpranke@chromium.org [Mon, 3 Dec 2012 22:49:54 +0000 (22:49 +0000)]
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136441 268f45cc-cd09-0410-ab3c-d52691b4dbfc