WebKit-https.git
7 years agoREGRESSION: run-perf-tests no longer reports the total test time
rniwa@webkit.org [Wed, 19 Sep 2012 22:48:03 +0000 (22:48 +0000)]
REGRESSION: run-perf-tests no longer reports the total test time
https://bugs.webkit.org/show_bug.cgi?id=97138

Reviewed by Tony Chang.

Report the finished time as a info-level log as opposed to a debug level log.

* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._run_single_test):
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(MainTest.normalizeFinishedTime): Added. It replaces all finished times by 0.1 seconds.
(test_run_test_pause_before_testing):
(test_run_test_set_for_parser_tests):
(test_run_memory_test):
(_test_run_with_json_output):

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

7 years ago[chromium] Store the contents scale factor in PlatformContextSkia on initialization
commit-queue@webkit.org [Wed, 19 Sep 2012 22:43:51 +0000 (22:43 +0000)]
[chromium] Store the contents scale factor in PlatformContextSkia on initialization
https://bugs.webkit.org/show_bug.cgi?id=96137

Patch by Terry Anderson <tdanderson@chromium.org> on 2012-09-19
Reviewed by Stephen White.

Source/WebCore:

When the compositor creates a PlatformContextSkia, the scale on |canvas| will
be equal to the content scale factor (which, without pinch-to-zoom, will be
the same as the device scale factor). Set this value as a member on PlatformContextSkia,
which will be used to correctly render glyphs when hinting is used and the device
scale factor is not 1.

Tests: added two new unit tests.

* platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp:
(WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::PlatformContextSkia):
(WebCore::PlatformContextSkia::setupPaintCommon):
* platform/graphics/skia/PlatformContextSkia.h:
(PlatformContextSkia):
(WebCore::PlatformContextSkia::setHintingScaleFactor):
(WebCore::PlatformContextSkia::hintingScaleFactor):

Source/WebKit/chromium:

Define SK_SUPPORT_HINTING_SCALE_FACTOR by default. This is also used
for the skia patch here: https://codereview.appspot.com/6506099/.
Also added two new unit tests.

* features.gypi:
* tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
(WebCore):
(WebCore::HintingScaleCallback::HintingScaleCallback):
(HintingScaleCallback):
(WebCore::HintingScaleCallback::operator()):
(WebCore::TEST_F):
* tests/PlatformContextSkiaTest.cpp:
(WebCore):
(WebCore::TEST):

LayoutTests:

These tests will fail due to a font hinting/rasterization issue with
chromium DRT pixel tests having a page/device scale factor of 2.
See crbug.com/150682.

* platform/chromium/TestExpectations:

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

7 years agoDFG should not assume that a ByVal access is generic just because it was unprofiled
fpizlo@apple.com [Wed, 19 Sep 2012 22:36:44 +0000 (22:36 +0000)]
DFG should not assume that a ByVal access is generic just because it was unprofiled
https://bugs.webkit.org/show_bug.cgi?id=97088

Reviewed by Geoffrey Garen.

We were not disambiguating between "Undecided" in the sense that the array profile
has no useful information versus "Undecided" in the sense that the array profile
knows that the access has not executed. That's an important distinction, since
the former form of "Undecided" means that we should consult value profiling, while
the latter means that we should force exit unless the value profiling indicates
that the access must be generic (base is not cell or property is not int).

* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::fromObserved):
(JSC::DFG::refineArrayMode):
(JSC::DFG::modeAlreadyChecked):
(JSC::DFG::modeToString):
* dfg/DFGArrayMode.h:
(JSC::DFG::canCSEStorage):
(JSC::DFG::modeIsSpecific):
(JSC::DFG::modeSupportsLength):
(JSC::DFG::benefitsFromStructureCheck):

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

7 years agoSupport new TestExpectations format alongside old one
dpranke@chromium.org [Wed, 19 Sep 2012 22:36:35 +0000 (22:36 +0000)]
Support new TestExpectations format alongside old one
https://bugs.webkit.org/show_bug.cgi?id=96588

Reviewed by Ojan Vafai.

This patch adds support for actually reading in lines formatted
in the new style, and when we re-serialize/write out the file,
all lines will be written in the new style. Note that reading in
the old style is still supported, and no updates are being made
to the actual TestExpectations files as part of this change.

This change updates most but not all of the unit tests to use
the new syntax. I will update the rest when (or before where
possible) I drop support for the old format.

* Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser):
(TestExpectationParser._tokenize_line):
(TestExpectationParser._tokenize_line_using_new_format):
(TestExpectationLine.to_string):
(TestExpectationLine._format_line):
(TestExpectations):
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(test_parse_warning):
(SkippedTests.test_skipped_entry_dont_exist):
(NewExpectationSyntaxTests.test_warnings):
(RemoveConfigurationsTest.test_remove):
(test_remove_line):
(RebaseliningTest.test_remove):
(RebaseliningTest.test_no_get_rebaselining_failures):
(TestExpectationParserTests.test_tokenize_blank):
(TestExpectationParserTests.test_tokenize_extra_colon):
(TestExpectationParserTests.test_tokenize_missing_equal):
(TestExpectationParserTests.test_tokenize_extra_equal):
(TestExpectationSerializationTests.test_unparsed_to_string):
(TestExpectationSerializationTests.test_unparsed_list_to_string):
(TestExpectationSerializationTests.test_parsed_to_string):
(TestExpectationSerializationTests.test_format_line):
(TestExpectationSerializationTests.test_string_roundtrip):
(TestExpectationSerializationTests.test_list_roundtrip):
(TestExpectationSerializationTests.test_reconstitute_only_these):
(TestExpectationSerializationTests.test_string_whitespace_stripping):
* Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(LintTest.test_lint_test_files__errors):
* Scripts/webkitpy/tool/commands/queries_unittest.py:
(PrintExpectationsTest.test_basic):
(PrintExpectationsTest.test_multiple):
(PrintExpectationsTest.test_full):
(PrintExpectationsTest.test_exclude):
* Scripts/webkitpy/tool/commands/rebaseline.py:
(RebaselineExpectations.execute):
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(TestRebaseline.test_rebaseline_updates_expectations_file_noop):
(test_rebaseline_updates_expectations_file):
(test_rebaseline_does_not_include_overrides):
(test_rebaseline_expectations_noop):
(test_overrides_are_included_correctly):

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

7 years agoimplement first part of support for the new TestExpectations syntax
dpranke@chromium.org [Wed, 19 Sep 2012 22:29:45 +0000 (22:29 +0000)]
implement first part of support for the new TestExpectations syntax
https://bugs.webkit.org/show_bug.cgi?id=96569

Reviewed by Ryosuke Niwa.

This patch implements support for parsing a line of the new
format for the TestExpectations file and converting it back into
the old format for compatibility. This routine is not yet used
by anything.

The new format is documented at:
  http://trac.webkit.org/wiki/TestExpectations

but, in short:

  [bugs] [ "[" modifiers "]" ] test_name [ "[" expectations "]" ]

- Comments are indicated with "#" instead of "//"
- If no expectations are specified we default to Skip for
  compatibility with the Skipped files (these two changes make
  Skipped files a subset of TestExpectations files)

- All of the tokens are now CamelCase instead of ALLCAPS.
- FAIL -> Failure
- IMAGE -> ImageOnlyFailure
- WONTFIX -> WontFix
- modifiers refer to just the platforms and configurations
  (release/debug) that the line applies to.
- WontFix, Rebaseline, Slow, and Skip move to the right-hand side as
  expectations
- expectations will typically be written out in lexicographic order
- We use webkit.org/b/12345, crbug.com/12345, and Bug(dpranke)
  instead of BUGWK12345, BUGCR12345, and BUGDPRANKE.

* Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser):
(TestExpectationParser._tokenize_line_using_new_format):
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(NewExpectationSyntaxTests):
(NewExpectationSyntaxTests.assert_exp):
(NewExpectationSyntaxTests.test_bare_name):
(NewExpectationSyntaxTests.test_bare_name_and_bugs):
(NewExpectationSyntaxTests.test_comments):
(NewExpectationSyntaxTests.test_config_modifiers):
(NewExpectationSyntaxTests.test_unknown_config):
(NewExpectationSyntaxTests.test_unknown_expectation):
(NewExpectationSyntaxTests.test_skip):
(NewExpectationSyntaxTests.test_slow):
(NewExpectationSyntaxTests.test_wontfix):
(NewExpectationSyntaxTests.test_blank_line):
(NewExpectationSyntaxTests.test_warnings):

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

7 years ago[Chromium] HarfBuzzShaper should take into account combining characters
bashi@chromium.org [Wed, 19 Sep 2012 22:29:05 +0000 (22:29 +0000)]
[Chromium] HarfBuzzShaper should take into account combining characters
https://bugs.webkit.org/show_bug.cgi?id=97069

Reviewed by Tony Chang.

When dividing a text run into HarfBuzzRuns, try to find suitable SimpleFontData for
combining character sequence if there are one or more mark characters are followed.
If there is no combined glyphs in the font, use fallback font for mark characters.

No new tests.
In platform/chromium-linux/fast/text/international/complex-joining-using-gpos.html,
U+0947 (devanagari vowel sign e) should be displayed.
In fast/text/wide-zero-width-space.html, &eacute; and e&#0301; should look identical.

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore):
(WebCore::fontDataForCombiningCharacterSequence): Added.
(WebCore::HarfBuzzShaper::collectHarfBuzzRuns): See above description.

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

7 years agoWarning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
psolanki@apple.com [Wed, 19 Sep 2012 22:23:25 +0000 (22:23 +0000)]
Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
https://bugs.webkit.org/show_bug.cgi?id=97137

Reviewed by Benjamin Poulain.

m_size is only used when WEB_PROCESS_SANDBOX is enabled, so move its declaration inside
#if ENABLE(WEB_PROCESS_SANDBOX).

* Shared/SandboxExtension.h:
(HandleArray):

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

7 years agoDisable some failing IDB tests
dgrogan@chromium.org [Wed, 19 Sep 2012 22:01:09 +0000 (22:01 +0000)]
Disable some failing IDB tests
https://bugs.webkit.org/show_bug.cgi?id=97135

Reviewed by Nate Chapin.

They were broken in r129037.

* tests/IDBDatabaseBackendTest.cpp:

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

7 years agonrwt: replace TEXT, AUDIO, and IMAGE+TEXT with FAIL
dpranke@chromium.org [Wed, 19 Sep 2012 21:51:57 +0000 (21:51 +0000)]
nrwt: replace TEXT, AUDIO, and IMAGE+TEXT with FAIL
https://bugs.webkit.org/show_bug.cgi?id=96845

Reviewed by Ojan Vafai.

In preparation for the new TestExpectations syntax, we replace
all TEXT, IMAGE+TEXT, and AUDIO failures with FAIL. This will
make switching to the new syntax lossless (i.e., we lose
information now, not then).

Tools:

Note that we can still parse in results.json files that have the
old data for backwards compatibility.

* Scripts/webkitpy/common/net/resultsjsonparser.py:
(JSONTestResult._failure_types_from_actual_result):
* Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
(ResultsJSONParserTest):
(test_basic):
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ResultSummaryTest.test_summarized_results_wontfix):
* Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
(JSONLayoutResultsGenerator):
* Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectations):
(TestExpectations.remove_pixel_failures):
(TestExpectations.has_pixel_failures):
(TestExpectations.suffixes_for_expectations):
(TestExpectations.get_rebaselining_failures):
(TestExpectations.remove_configuration_from_test):
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(assert_bad_expectations):
(BasicTests):
(BasicTests.test_basic):
(MiscTests):
(MiscTests.test_multiple_results):
(MiscTests.test_result_was_expected):
(MiscTests.test_remove_pixel_failures):
(MiscTests.test_suffixes_for_expectations):
(test_get_expectations_string):
(test_parse_warning):
(test_error_on_different_platform):
(test_error_on_different_build_type):
(test_overrides):
(test_overrides__directory):
(test_overrides__duplicate):
(test_pixel_tests_flag):
(test_more_specific_override_resets_skip):
(SkippedTests.test_skipped_file_overrides_expectations):
(SkippedTests.test_skipped_dir_overrides_expectations):
(SkippedTests.test_skipped_file_overrides_overrides):
(SkippedTests.test_skipped_dir_overrides_overrides):
(ExpectationSyntaxTests.test_missing_colon):
(ExpectationSyntaxTests.test_too_many_equals_signs):
(SemanticTests.test_bug_format):
(SemanticTests.test_bad_bugid):
(SemanticTests.test_missing_bugid):
(SemanticTests.test_rebaseline):
(test_missing_file):
(test_more_modifiers):
(test_order_in_file):
(test_macro_overrides):
(RemoveConfigurationsTest.test_remove):
(test_remove_line):
(RebaseliningTest.test_remove):
(TestExpectationSerializationTests.test_serialize_parsed_expectations):
* Scripts/webkitpy/layout_tests/models/test_failures.py:
(determine_result_type):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(test_test_expectations):
* Scripts/webkitpy/layout_tests/port/test.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_missing_and_unexpected_results):
(MainTest.test_retrying_and_flaky_tests):
* Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
(TestExpectationsTestCase.test_valid_expectations):
* Scripts/webkitpy/tool/commands/queries_unittest.py:
(PrintExpectationsTest.test_basic):
(PrintExpectationsTest.test_multiple):
(PrintExpectationsTest.test_full):
(PrintExpectationsTest.test_exclude):
(PrintExpectationsTest.test_csv):
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(test_rebaseline_does_not_include_overrides):
(test_overrides_are_included_correctly):

LayoutTests:

* platform/chromium-android/TestExpectations:
* platform/chromium/TestExpectations:
* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt-4.8/TestExpectations:
* platform/qt-arm/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:

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

7 years agoRemove RenderIFrame::updateLogicalHeight and RenderIFrame::updateLogicalWidth
tony@chromium.org [Wed, 19 Sep 2012 21:47:40 +0000 (21:47 +0000)]
Remove RenderIFrame::updateLogicalHeight and RenderIFrame::updateLogicalWidth
https://bugs.webkit.org/show_bug.cgi?id=97049

Reviewed by Ojan Vafai.

This is an incremental step in making updateLogicalHeight non-virtual so it's
possible to call computeLogicalHeight on any RenderBox and get the right
version of the function.

The code in RenderIFrame::layout was calling flattenFrame(), which would
query it's bounding box size.  Since we hadn't done a layout yet, the size
is unknown.  The fix is to only call flattenFrame() after calling
updateLogicalWidth and updateLogicalHeight. We can then fixup the size of
the iframe.

No new tests, existing tests in fast/frames/flattening should continue to pass.

* rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::layout):
* rendering/RenderIFrame.h:
(RenderIFrame):

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

7 years agoDFG should not emit PutByVal hole case unless it has to
fpizlo@apple.com [Wed, 19 Sep 2012 21:43:10 +0000 (21:43 +0000)]
DFG should not emit PutByVal hole case unless it has to
https://bugs.webkit.org/show_bug.cgi?id=97080

Reviewed by Geoffrey Garen.

This causes us to generate less code for typical PutByVal's. But if profiling tells us
that the hole case is being hit, we generate the same code as we would have generated
before. This seems like a slight speed-up across the board.

* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::store8):
(MacroAssemblerARMv7):
* assembler/MacroAssemblerX86.h:
(MacroAssemblerX86):
(JSC::MacroAssemblerX86::store8):
* assembler/MacroAssemblerX86_64.h:
(MacroAssemblerX86_64):
(JSC::MacroAssemblerX86_64::store8):
* assembler/X86Assembler.h:
(X86Assembler):
(JSC::X86Assembler::movb_i8m):
* bytecode/ArrayProfile.h:
(JSC::ArrayProfile::ArrayProfile):
(JSC::ArrayProfile::addressOfMayStoreToHole):
(JSC::ArrayProfile::mayStoreToHole):
(ArrayProfile):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::fromObserved):
(JSC::DFG::modeAlreadyChecked):
(JSC::DFG::modeToString):
* dfg/DFGArrayMode.h:
(DFG):
(JSC::DFG::mayStoreToHole):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* jit/JIT.h:
(JIT):
* jit/JITInlineMethods.h:
(JSC::JIT::emitArrayProfileStoreToHoleSpecialCase):
(JSC):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_put_by_val):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_by_val):
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:

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

7 years ago[BlackBerry] After zooming into an input field, zoom out when focus is lost.
mifenton@rim.com [Wed, 19 Sep 2012 21:35:01 +0000 (21:35 +0000)]
[BlackBerry] After zooming into an input field, zoom out when focus is lost.
https://bugs.webkit.org/show_bug.cgi?id=97128

Reviewed by Rob Buis.

When the page has automatically zoomed in for input
focus, unzoom it when input focus is lost or keyboard hidden.

Reviewed Internally by Gen Mak.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::InputHandler):
(BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible):
* WebKitSupport/InputHandler.h:
(InputHandler):

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

7 years ago[BlackBerry] Clean up the SpellingLog output
commit-queue@webkit.org [Wed, 19 Sep 2012 21:10:14 +0000 (21:10 +0000)]
[BlackBerry] Clean up the SpellingLog output
https://bugs.webkit.org/show_bug.cgi?id=97129

Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-09-19
Reviewed by Rob Buis.

Internally reviewed by Mike Fenton.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):

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

7 years ago[chromium] compositing/geometry/fixed-position-iframe-composited-page-scale-down...
commit-queue@webkit.org [Wed, 19 Sep 2012 21:09:01 +0000 (21:09 +0000)]
[chromium] compositing/geometry/fixed-position-iframe-composited-page-scale-down test needs rebaseline for r129023.
https://bugs.webkit.org/show_bug.cgi?id=97130

Patch by Robert Flack <flackr@chromium.org> on 2012-09-19
Reviewed by Nate Chapin.

Rebaseline compositing/geometry/fixed-position-iframe-composited-page-scale-down.html.

* platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:
* platform/chromium-mac/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:

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

7 years ago[BlackBerry] Fix vertical positioning problem for 'X' in search field
rwlbuis@webkit.org [Wed, 19 Sep 2012 20:52:43 +0000 (20:52 +0000)]
[BlackBerry] Fix vertical positioning problem for 'X' in search field
https://bugs.webkit.org/show_bug.cgi?id=97126

Reviewed by Antonio Gomes.

We have the same problem as described in bug 30245, so integrate that code.

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::convertToPaintingRect):
(WebCore):
(WebCore::RenderThemeBlackBerry::paintSearchFieldCancelButton):

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

7 years ago[BlackBerry] Add SpellingLog for spell checking options request.
mifenton@rim.com [Wed, 19 Sep 2012 20:43:54 +0000 (20:43 +0000)]
[BlackBerry] Add SpellingLog for spell checking options request.
https://bugs.webkit.org/show_bug.cgi?id=97125

Reviewed by Rob Buis.

Add spell checking log to indicate the calculated
text position for spell checking option requests.

Reviewed Internally by Nima Ghanavatian.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):

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

7 years ago[chromium] Unreviewed. Build fix.
hclam@chromium.org [Wed, 19 Sep 2012 20:35:30 +0000 (20:35 +0000)]
[chromium] Unreviewed. Build fix.

Not building WebImageTest.cpp for component build.

* WebKit.gyp:

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

7 years agoIndexedDB: Free up resources used by completed cursors earlier
jsbell@chromium.org [Wed, 19 Sep 2012 20:35:19 +0000 (20:35 +0000)]
IndexedDB: Free up resources used by completed cursors earlier
https://bugs.webkit.org/show_bug.cgi?id=97023

Reviewed by Tony Chang.

Source/WebCore:

Prior to this patch, IDBCursor objects are kept around by their parent
IDBTransaction until the transaction finishes. It's possible to release
references to them earlier, when the cursor has been "run to the end",
as no further events will fire and all calls to continue() etc should fail.

This change tells the cursor it's done when "null" finally comes through in
the IDBRequest, and the cursor then lets transaction know it can be
forgotten.

The added test doesn't distinguish the new behavior, but does exercise
"finished" cursors and apparently we didn't have tests for these before.

Test: storage/indexeddb/cursor-finished.html

* Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::close): Make idempotent; notify transaction.
* Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::onSuccess): Tell cursor it's finished before releasing.
* Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::OpenCursorNotifier::~OpenCursorNotifier):
(WebCore):
(WebCore::IDBTransaction::OpenCursorNotifier::cursorFinished): New method for explicit notification.
* Modules/indexeddb/IDBTransaction.h:
(OpenCursorNotifier):

LayoutTests:

Test to exercise cursor methods after the cursor has been run to the end.

* storage/indexeddb/cursor-finished-expected.txt: Added.
* storage/indexeddb/cursor-finished.html: Added.
* storage/indexeddb/resources/cursor-finished.js: Added.
(test):
(prepareDatabase):
(onDeleteSuccess):
(onUpgradeNeeded):
(onOpenSuccess):
(onCursorSuccess):

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

7 years agoIndexedDB: fire upgradeneeded even without an explicit integer version
dgrogan@chromium.org [Wed, 19 Sep 2012 20:28:35 +0000 (20:28 +0000)]
IndexedDB: fire upgradeneeded even without an explicit integer version
https://bugs.webkit.org/show_bug.cgi?id=96444

Reviewed by Tony Chang.

Source/WebCore:

Also of note:
- New databases now get a default version of 1 instead of
the empty string when they are opened.
- We now allow databases with an integer version to revert to a string
version by calling setVersion.

Implementation detail: we store both an integer version and string
version for a particular database. If both are set we give preference
to the integer version and assume the db is on the integer track.

Test: storage/indexeddb/intversion-two-opens-no-versions.html

* Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore):
(WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
(WebCore::IDBDatabaseBackendImpl::setVersion):
(WebCore::IDBDatabaseBackendImpl::setVersionInternal):
Now that this can be called even after an int version is set we have
to make it revoke the int version.

(WebCore::IDBDatabaseBackendImpl::openConnection):
Nested ifs were getting deep, so refactor to return early instead.

(WebCore::IDBDatabaseBackendImpl::deleteDatabase):
(WebCore::IDBDatabaseBackendImpl::resetVersion):
Now that an int version could have been set before setVersion was
called we have to reset the int version on abort.

* Modules/indexeddb/IDBDatabaseBackendImpl.h:
(IDBDatabaseBackendImpl):
* Modules/indexeddb/IDBLevelDBBackingStore.cpp:
(WebCore::IDBLevelDBBackingStore::updateIDBDatabaseIntVersion):
* Modules/indexeddb/IDBOpenDBRequest.cpp:
0 is now a valid integer version to store to leveldb if an idb
database is reverting to a string version.

(WebCore::IDBOpenDBRequest::onUpgradeNeeded):
If the open request did not specify an integer version but
upgradeneeded is called, it means the database was given the default
version of 1.

LayoutTests:

Mostly updating expectations about getting an upgradeneeded on a new
database and the default version being 1 instead of "".

* http/tests/inspector/indexeddb/database-structure-expected.txt:
* storage/indexeddb/cursor-overloads-expected.txt:
* storage/indexeddb/cursor-overloads.html:
* storage/indexeddb/dont-commit-on-blocked-expected.txt:
* storage/indexeddb/dont-commit-on-blocked.html:
* storage/indexeddb/factory-deletedatabase-interactions-expected.txt:
* storage/indexeddb/intversion-and-setversion-expected.txt:
Remove test that setVersion fires an error if an int version is set.
Change it to testing that an int version can replace a string version
that replaced an int version.

* storage/indexeddb/intversion-bad-parameters-expected.txt:
* storage/indexeddb/intversion-invalid-setversion-has-no-side-effects-expected.txt: Removed.
setVersion is no longer invalid so this test can be deleted.

* storage/indexeddb/intversion-omit-parameter-expected.txt:
We now fully pass this test.

* storage/indexeddb/intversion-two-opens-no-versions-expected.txt: Added.
* storage/indexeddb/intversion-two-opens-no-versions.html: Renamed from LayoutTests/storage/indexeddb/intversion-invalid-setversion-has-no-side-effects.html.
* storage/indexeddb/list-ordering-expected.txt:
* storage/indexeddb/noblobs-expected.txt:
* storage/indexeddb/noblobs.html:
* storage/indexeddb/open-during-transaction-expected.txt:
This test had a bug in it AND its behavior is changed. It was trying
to open one database twice and another once but was actually opening
three different databases. The behavior change is that now the
transaction finishes while the last call to open is firing
upgradeneeded.

* storage/indexeddb/pending-activity-expected.txt:
* storage/indexeddb/pending-activity-workers-expected.txt:
* storage/indexeddb/resources/intversion-and-setversion.js:
(deleteSuccess):
(initialUpgradeNeeded):
(openSuccess):
(firstUpgradeNeeded):
(transactionCompleted):
(firstOpenWithVersion):
(secondSetVersionCallback):
(setIntVersion2):
(versionChangeGoingFromStringToInt):
(version2ConnectionBlocked):
(version2ConnectionSuccess):
(errorWhenTryingLowVersion):
* storage/indexeddb/resources/intversion-invalid-setversion-has-no-side-effects.js: Removed.
* storage/indexeddb/resources/intversion-two-opens-no-versions.js: Added.
(test):
(deleteSuccess):
(connection1UpgradeNeeded):
(connection1OpenSuccess):
(connection2UpgradeNeeded):
(connection2OpenSuccess):
* storage/indexeddb/resources/list-ordering.js:
* storage/indexeddb/resources/open-during-transaction.js:
(startTransaction.trans.oncomplete):
(startTransaction):
(tryOpens.openreq3.onsuccess):
(tryOpens):
* storage/indexeddb/resources/pending-activity.js:
* storage/indexeddb/structured-clone-expected.txt:
* storage/indexeddb/structured-clone.html:

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

7 years agoAX: A few control types are returning the wrong answer for isReadOnly
dmazzoni@google.com [Wed, 19 Sep 2012 19:55:19 +0000 (19:55 +0000)]
AX: A few control types are returning the wrong answer for isReadOnly
https://bugs.webkit.org/show_bug.cgi?id=96735

Reviewed by Chris Fleizach.

Source/WebCore:

All input types should be read-only except ones that
are text fields. The previous logic was marking things like
checkboxes as not read-only.

Tests: platform/chromium/accessibility/readonly.html
       platform/mac/accessibility/form-control-value-settable.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::isReadOnly):

Tools:

Exposing isReadOnly in an AccessibilityObject to DumpRenderTree.

* DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
(AccessibilityUIElement::AccessibilityUIElement):
(AccessibilityUIElement::isReadOnlyGetterCallback):
* DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.h:
(AccessibilityUIElement):

LayoutTests:

Adds a new test to make sure that readonly is exposed correctly on
all elements.

* platform/chromium/accessibility/readonly-expected.txt: Added.
* platform/chromium/accessibility/readonly.html: Added.
* platform/mac/accessibility/form-control-value-settable-expected.txt: Added.
* platform/mac/accessibility/form-control-value-settable.html: Added.

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 19:49:45 +0000 (19:49 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        Chromium gardening.

        A test is mistakenly marked as both SLOW and TIMEOUT.

        * platform/chromium/TestExpectations:

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

7 years ago[WinCairo] Unreviewed build correction to update Skipped list
bfulgham@webkit.org [Wed, 19 Sep 2012 19:33:51 +0000 (19:33 +0000)]
[WinCairo] Unreviewed build correction to update Skipped list
to match current Windows list.

* platform/wincairo/Skipped: Updated to match Apple build.

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

7 years ago[chromium] WebImage should use ImageDecoder directly
hclam@chromium.org [Wed, 19 Sep 2012 19:17:47 +0000 (19:17 +0000)]
[chromium] WebImage should use ImageDecoder directly
https://bugs.webkit.org/show_bug.cgi?id=96135

Reviewed by Adam Barth.

This patch is for preparation of deferred image decoding.
ImageSource will be used as a portal to access deferred image decoder
by BitmapImage, it should not be accessible through WebKit APIs.

WebImage now calls ImageDecoder directly which is the actual
implementation of an image decoder.

Tests: WebImageTest.PNGImage
       WebImageTest.ICOImage
       WebImageTest.BadImage

* WebKit.gypi:
* src/WebImageSkia.cpp:
(WebKit::WebImage::fromData):
(WebKit::WebImage::framesFromData):
* tests/WebImageTest.cpp: Added.
(WebKit):
(WebKit::readFile):
(WebKit::TEST):
* tests/data/black-and-white.ico: Added.
* tests/data/white-1x1.png: Added.

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 19:15:28 +0000 (19:15 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        Chromium gardening.
        Mark a consistently passing test as such, tweak flakiness
        of several tests based on recent build results.

        * platform/chromium/TestExpectations:

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

7 years ago[Chromium] Remove unused PlatformSupport reference in V8GCController
pilgrim@chromium.org [Wed, 19 Sep 2012 19:12:49 +0000 (19:12 +0000)]
[Chromium] Remove unused PlatformSupport reference in V8GCController
https://bugs.webkit.org/show_bug.cgi?id=97118

Reviewed by Ryosuke Niwa.

Part of a refactoring series. See tracking bug 82948.

* bindings/v8/V8GCController.cpp:

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

7 years ago[chromium] Add a method didHandleGestureEvent to WebViewClient, called from WebViewIm...
commit-queue@webkit.org [Wed, 19 Sep 2012 19:07:39 +0000 (19:07 +0000)]
[chromium] Add a method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.
https://bugs.webkit.org/show_bug.cgi?id=96112

Patch by Oli Lan <olilan@chromium.org> on 2012-09-19
Reviewed by Adam Barth.

Adds a new method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.

This will be used by the Android port to implement platform-specific gesture behaviour.

This is tested by the new test WebViewTest.ClientTapHandlers.

* public/WebViewClient.h:
(WebViewClient):
(WebKit::WebViewClient::didHandleGestureEvent):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent):
* tests/WebViewTest.cpp:

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

7 years ago[Chromium] Remove unused PlatformSupport reference in V8DOMWindowShell
pilgrim@chromium.org [Wed, 19 Sep 2012 18:56:31 +0000 (18:56 +0000)]
[Chromium] Remove unused PlatformSupport reference in V8DOMWindowShell
https://bugs.webkit.org/show_bug.cgi?id=97117

Reviewed by Ryosuke Niwa.

Part of a refactoring series. See tracking bug 82948.

* bindings/v8/V8DOMWindowShell.cpp:

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

7 years ago[V8] Remove WorkerContextExecutionProxy::runScript()
haraken@chromium.org [Wed, 19 Sep 2012 18:52:18 +0000 (18:52 +0000)]
[V8] Remove WorkerContextExecutionProxy::runScript()
https://bugs.webkit.org/show_bug.cgi?id=97060

Reviewed by Adam Barth.

To kill WorkerContextExecutionProxy, this patch removes
WorkerContextExecutionProxy::runScript() by replacing it
with ScriptRunner::runCompiledScript().

For the replacement, this patch moves TryCatch logic in
runCompiledScript() to the caller side. The reason why
we have to avoid nesting TryCatches is a V8 bug:
http://code.google.com/p/v8/issues/detail?id=2166

No tests. No change in behavior.

* bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::compileAndRunScript):
* bindings/v8/ScriptRunner.cpp:
(WebCore::ScriptRunner::runCompiledScript):
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::evaluate):
* bindings/v8/WorkerContextExecutionProxy.h:
(WorkerContextExecutionProxy):

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 18:04:16 +0000 (18:04 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        Chromium gardening, remove flaky tests that don't appear to
        actually be flaky.
        https://bugs.webkit.org/show_bug.cgi?id=78725

        * platform/chromium/TestExpectations:

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

7 years ago[BlackBerry] Remove custom painting code for searchCancel
rwlbuis@webkit.org [Wed, 19 Sep 2012 18:03:48 +0000 (18:03 +0000)]
[BlackBerry] Remove custom painting code for searchCancel
https://bugs.webkit.org/show_bug.cgi?id=97119

Reviewed by Antonio Gomes.

Remove the dynamic painting code for searchCancel, we use a png file now.

* platform/graphics/blackberry/ImageBlackBerry.cpp:
(WebCore::Image::loadPlatformResource):

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

7 years ago[chromium] Support high DPI scroll bar on top level web frame.
commit-queue@webkit.org [Wed, 19 Sep 2012 17:58:04 +0000 (17:58 +0000)]
[chromium] Support high DPI scroll bar on top level web frame.
https://bugs.webkit.org/show_bug.cgi?id=95134

Patch by Robert Flack <flackr@chromium.org> on 2012-09-19
Reviewed by Adrienne Walker.

Calls setAppliesPageScale(true) on root scrollbar layers as these are not scaled.

* src/NonCompositedContentHost.cpp:
(WebKit::setScrollbarBoundsContainPageScale):
(WebKit):
(WebKit::NonCompositedContentHost::setViewport):

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

7 years ago[WTR] Memory leaks in TestRunner::deliverWebIntent()
commit-queue@webkit.org [Wed, 19 Sep 2012 17:57:29 +0000 (17:57 +0000)]
[WTR] Memory leaks in TestRunner::deliverWebIntent()
https://bugs.webkit.org/show_bug.cgi?id=97111

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-09-19
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

Fix memory leaks in WKBundleIntentCreate() by adopting strings
created with WKStringCreateWithUTF8CString().

* WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp:
(WKBundleIntentCreate):

Tools:

Fix memory leaks in deliverWebIntent() by adopting strings
created with WKStringCreateWithUTF8CString().

* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::deliverWebIntent):

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 17:56:34 +0000 (17:56 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        Chromium gardening.
        fast/filesystem/workers/detached-frame-crash.html does not appear to be
        flakily crashing anymore.

        * platform/chromium/TestExpectations:

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

7 years ago[Chromium] Move notifyJSOutOfMemory out of PlatformSupport
pilgrim@chromium.org [Wed, 19 Sep 2012 17:53:48 +0000 (17:53 +0000)]
[Chromium] Move notifyJSOutOfMemory out of PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=97116

Reviewed by Adam Barth.

Source/WebCore:

Part of a refactoring series. See tracking bug 82948.

* bindings/v8/V8Binding.cpp:
(WebCore::handleOutOfMemory):
* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::didExhaustMemoryAvailableForScript):
(FrameLoaderClient):
* platform/chromium/PlatformSupport.h:
(PlatformSupport):

Source/WebKit/chromium:

Part of a refactoring series. See tracking bug 82948.

* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didExhaustMemoryAvailableForScript):
(WebKit):
* src/FrameLoaderClientImpl.h:
(FrameLoaderClientImpl):
* src/PlatformSupport.cpp:
(WebCore):

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

7 years ago[EFL][WK2] fast/forms/select-writing-direction-natural.html is failing
commit-queue@webkit.org [Wed, 19 Sep 2012 17:52:14 +0000 (17:52 +0000)]
[EFL][WK2] fast/forms/select-writing-direction-natural.html is failing
https://bugs.webkit.org/show_bug.cgi?id=97082

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

WebChromeClient::selectItemWritingDirectionIsNatural() now returns
true for EFL-WK2, consistently with EFL-WK1, so that the style
is properly adjusted in RenderMenuList::adjustInnerStyle().

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::selectItemWritingDirectionIsNatural):

LayoutTests:

Rebaseline fast/forms/select-writing-direction-natural.html and
unskip it for efl-wk2.

* platform/efl-wk2/TestExpectations:
* platform/efl/fast/forms/select-writing-direction-natural-expected.png:

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

7 years agoImplement 'mask-type' for <mask>
krit@webkit.org [Wed, 19 Sep 2012 17:50:26 +0000 (17:50 +0000)]
Implement 'mask-type' for <mask>
https://bugs.webkit.org/show_bug.cgi?id=97011

Reviewed by Andreas Kling.

Source/WebCore:

The CSS Masking specification defines the presentation attribute 'mask-type' to
switch between luminance and alpha masking. 'mask-type' just affects the SVG
mask element. The luminance masking is the current behavior of of SVG masking.
Alpha masking is simular to '-webkit-mask-image'.

This patch implements this property and make it possible to switch between both
masking modes. Since the default value is 'luminance', this does not break
exisiting content which is tested with exisiting tests.

http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#the-mask-type

Tests: svg/css/mask-type.html
       svg/masking/mask-type-alpha-expected.svg
       svg/masking/mask-type-alpha.svg
       svg/masking/mask-type-luminance-expected.svg
       svg/masking/mask-type-luminance.svg
       svg/masking/mask-type-not-set-expected.svg
       svg/masking/mask-type-not-set.svg

* css/CSSComputedStyleDeclaration.cpp: Add mask-type property.
(WebCore):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore):
(WebCore::CSSPrimitiveValue::operator EMaskType):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue):
* css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue):
* css/SVGCSSPropertyNames.in: Add mask-type.
* css/SVGCSSStyleSelector.cpp:
(WebCore::StyleResolver::applySVGProperty):
* css/SVGCSSValueKeywords.in:
* rendering/style/SVGRenderStyle.cpp:
(WebCore::SVGRenderStyle::diff):
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialMaskType):
(WebCore::SVGRenderStyle::setMaskType):
(SVGRenderStyle):
(WebCore::SVGRenderStyle::maskType):
(WebCore::SVGRenderStyle::setBitDefaults):
* rendering/style/SVGRenderStyleDefs.h:
* rendering/svg/RenderSVGResourceMasker.cpp:

    Switch between the two masking modes according to the
    computed value of mask-type.

(WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName):
(WebCore::cssPropertyToTypeMap):
* svg/svgattrs.in: Add the new attribute to the attribute list.

LayoutTests:

Added new tests for switching the masking mode on <mask> element with 'mask-type'.

* svg/css/mask-type-expected.txt: Added.
* svg/css/mask-type.html: Added.
* svg/masking/mask-type-alpha-expected.svg: Added.
* svg/masking/mask-type-alpha.svg: Added.
* svg/masking/mask-type-luminance-expected.svg: Added.
* svg/masking/mask-type-luminance.svg: Added.
* svg/masking/mask-type-not-set-expected.svg: Added.
* svg/masking/mask-type-not-set.svg: Added.

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

7 years ago[Chromium] Remove unused popupsAllowed function from PlatformSupport
pilgrim@chromium.org [Wed, 19 Sep 2012 17:45:55 +0000 (17:45 +0000)]
[Chromium] Remove unused popupsAllowed function from PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=96521

Reviewed by Eric Seidel.

Part of a refactoring series. See tracking bug 82948.

Source/WebCore:

* bindings/v8/NPV8Object.cpp:
(WebCore::v8ObjectToNPObject):
(_NPN_Evaluate):
(_NPN_GetProperty):
* platform/chromium/PlatformSupport.h:
(PlatformSupport):

Source/WebKit/chromium:

* src/PlatformSupport.cpp:
(WebCore):

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 17:37:53 +0000 (17:37 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        chromium TestExpectations update.
        fast/filesystem/file-writer-write-overlapped.html and
        fast/filesystem/workers/file-writer-write-overlapped.html
        are flaky in WIN DEBUG only.

        * platform/chromium/TestExpectations:

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

7 years ago2012-09-19 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 19 Sep 2012 17:25:59 +0000 (17:25 +0000)]
2012-09-19  Nate Chapin  <japhet@chromium.org>

        TextExpectations update, remove entries for consistently passing tests.
        https://bugs.webkit.org/show_bug.cgi?id=74746

        * platform/chromium/TestExpectations:

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Wed, 19 Sep 2012 17:14:00 +0000 (17:14 +0000)]
Unreviewed GTK gardening.

Adding another flaky crasher expectation after r128802.

* platform/gtk/TestExpectations:

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

7 years agoUnreviewed, rolling out r128995.
commit-queue@webkit.org [Wed, 19 Sep 2012 16:49:05 +0000 (16:49 +0000)]
Unreviewed, rolling out r128995.
http://trac.webkit.org/changeset/128995
https://bugs.webkit.org/show_bug.cgi?id=97114

Causes the api tests to segfault. (Requested by rakuco on
#webkit).

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

* tests/UnitTestUtils/EWKTestBase.cpp:
(EWKUnitTests::EWKTestBase::init):
(EWKUnitTests::EWKTestBase::shutdownAll):
(EWKUnitTests::EWKTestBase::startTest):
(EWKUnitTests::EWKTestBase::endTest):
(EWKUnitTests::EWKTestBase::createTest):
(EWKUnitTests):
(EWKUnitTests::EWKTestBase::runTest):
* tests/UnitTestUtils/EWKTestBase.h:
(EWKUnitTests):
(EWKTestBase):
* tests/UnitTestUtils/EWKTestView.cpp:
(EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
(EWKUnitTests::EWKTestEcoreEvas::evas):
(EWKUnitTests):
(EWKUnitTests::EWKTestEcoreEvas::show):
(EWKUnitTests::EWKTestView::EWKTestView):
(EWKUnitTests::EWKTestView::init):
(EWKUnitTests::EWKTestView::show):
(EWKUnitTests::EWKTestView::mainFrame):
(EWKUnitTests::EWKTestView::evas):
(EWKUnitTests::EWKTestView::bindEvents):
* tests/UnitTestUtils/EWKTestView.h:
(EWKTestEcoreEvas):
(EWKUnitTests):
(EWKTestView):
* tests/test_ewk_view.cpp:
(ewkViewEditableGetCb):
(TEST):
(ewkViewUriGetCb):
* tests/test_runner.cpp:
(main):

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

7 years ago[BlackBerry] Add function playerId() in class PageClientBlackBerry
commit-queue@webkit.org [Wed, 19 Sep 2012 15:54:15 +0000 (15:54 +0000)]
[BlackBerry] Add function playerId() in class PageClientBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=97099

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-09-19
Reviewed by Yong Li.

Source/WebCore:

Added function playerID() in class PageClientBlackBerry.

Internally reviewed by Charles Wei.

No new tests since there's no functional change.

* platform/blackberry/PageClientBlackBerry.h:

Source/WebKit/blackberry:

Implemented PageClientBlackBerry::playerID() in class WebPagePrivate,
and replaced the implementation of FrameLoaderClientBlackBerry::playerId().

Internally reviewed by Charles Wei.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::playerID):
(WebKit):
* Api/WebPage_p.h:
(WebPagePrivate):
* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::playerId):

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

7 years ago[CSSRegions][CSSOM] Make sure all Regions APIs are not visible if CSS_REGIONS is...
commit-queue@webkit.org [Wed, 19 Sep 2012 15:30:43 +0000 (15:30 +0000)]
[CSSRegions][CSSOM] Make sure all Regions APIs are not visible if CSS_REGIONS is not defined
https://bugs.webkit.org/show_bug.cgi?id=96300

Patch by Raul Hudea <rhudea@adobe.com> on 2012-09-19
Reviewed by Yury Semikhatsky.

All CSS Regions APIs should be exposed only if CSS_REGIONS is enabled

No new tests because of no behavior changes.

* css/StyleRule.cpp:
(WebCore::StyleRuleBase::reportMemoryUsage): Fix compile without CSS_REGIONS enabled and added an ASSERT_NOT_REACHED as in other functions
* dom/Element.cpp: Compile webkitRegionOverset only if CSS_REGIONS is enabled
(WebCore):
* dom/Element.h:
* dom/Element.idl: Expose webkitRegionOverset only if CSS_REGIONS is enabled

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Wed, 19 Sep 2012 15:12:46 +0000 (15:12 +0000)]
Unreviewed GTK gardening.

Adding another flaky crasher expectation after r128802.

Adding platform-specific baselines after r128861.

* platform/gtk/TestExpectations:
* platform/gtk/fast/regions/autoheight-regions-mark-expected.png: Added.
* platform/gtk/fast/regions/autoheight-regions-mark-expected.txt: Added.

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

7 years ago[Qt] Fix incremental builds with all-in-one-files and gccdepends
hausmann@webkit.org [Wed, 19 Sep 2012 15:05:15 +0000 (15:05 +0000)]
[Qt] Fix incremental builds with all-in-one-files and gccdepends

Reviewed by Tor Arne Vestbø.

Pass -MP to gcc when we use the gcc depends feature, to ensure that implicit rules
are not only created for header files but also for .cpp files. AllInOne.cpp files
include other .cpp files, and when those are removed we need those dummy rules to
avoid a "No rule to make Foo.cpp required by AllInOne.o" error.

* qmake/config.tests/gccdepends/empty.cpp:
(main):
* qmake/config.tests/gccdepends/gccdepends.pro:
* qmake/mkspecs/features/default_pre.prf:

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

7 years ago[BlackBerry] BackingStorePrivate::resumeScreenAndBackingStoreUpdates more atomic
commit-queue@webkit.org [Wed, 19 Sep 2012 14:52:08 +0000 (14:52 +0000)]
[BlackBerry] BackingStorePrivate::resumeScreenAndBackingStoreUpdates more atomic
Added a missing 'if' statement.
https://bugs.webkit.org/show_bug.cgi?id=96925

PR #180866

Internally Reviewed by Antonio Gomes.

Adding an 'if' statement which should have been in PR # 180866 (SHA:b9c06af395c22e)

Patch by Abbas Sherawala <asherawala@rim.com> on 2012-09-19
Reviewed by Antonio Gomes.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::resumeScreenAndBackingStoreUpdates):

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

7 years agoRemove all usages of M_PI from WebCore
paroga@webkit.org [Wed, 19 Sep 2012 14:42:52 +0000 (14:42 +0000)]
Remove all usages of M_PI from WebCore
https://bugs.webkit.org/show_bug.cgi?id=93109

Reviewed by Dirk Schulze.

<wtf/MathExtras.h> implements many functions dealing with M_PI.
Use them in WebCore instead of duplicating the functionality.

* platform/blackberry/PlatformTouchEventBlackBerry.cpp:
(WebCore::PlatformTouchEvent::PlatformTouchEvent):
* platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayer::setFilters):
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::drawEllipse):
(WebCore::GraphicsContext::strokeArc):
* platform/graphics/wx/FontPlatformDataWxMac.mm:
* platform/mac/WebWindowAnimation.mm:
(-[WebWindowScaleAnimation currentValue]):
* platform/wx/wxcode/gdiplus/non-kerned-drawing.cpp:
(DegToRad):
(RadToDeg):

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

7 years ago[EFL] Rebaseline a few mozilla/table/bugs tests that were missed
commit-queue@webkit.org [Wed, 19 Sep 2012 14:37:11 +0000 (14:37 +0000)]
[EFL] Rebaseline a few mozilla/table/bugs tests that were missed
https://bugs.webkit.org/show_bug.cgi?id=97107

Unreviewed EFL rebaseline.

Rebaseline a few tables/mozilla/bugs tests that
were forgotten during my massive tables/mozilla
rebaseline.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/TestExpectations:
* platform/efl/tables/mozilla/bugs/45621-expected.png:
* platform/efl/tables/mozilla/bugs/bug9072-expected.png:
* platform/efl/tables/mozilla/bugs/bug9123-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug9123-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug92143-expected.png:
* platform/efl/tables/mozilla/bugs/bug92647-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug9271-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug9271-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug92868-expected.png:
* platform/efl/tables/mozilla/bugs/bug93363-expected.png:
* platform/efl/tables/mozilla/bugs/bug963-expected.png:
* platform/efl/tables/mozilla/bugs/bug96334-expected.png:
* platform/efl/tables/mozilla/bugs/bug96343-expected.png:
* platform/efl/tables/mozilla/bugs/bug965-expected.png:
* platform/efl/tables/mozilla/bugs/bug97138-expected.png:
* platform/efl/tables/mozilla/bugs/bug98196-expected.png:
* platform/efl/tables/mozilla/bugs/bug9879-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug99923-expected.png:
* platform/efl/tables/mozilla/bugs/bug99948-expected.png:

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

7 years agoWeb Inspector: Network request headers text fallback has typo.
vsevik@chromium.org [Wed, 19 Sep 2012 14:26:34 +0000 (14:26 +0000)]
Web Inspector: Network request headers text fallback has typo.
https://bugs.webkit.org/show_bug.cgi?id=96280

Reviewed by Pavel Feldman.

* inspector/front-end/NetworkRequest.js:
(WebInspector.NetworkRequest.prototype.get requestHeadersText):
(WebInspector.NetworkRequest.prototype.get responseHeadersText):

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

7 years ago[chromium] Update test expectation for indexeddb test that is currently only run...
jochen@chromium.org [Wed, 19 Sep 2012 14:12:37 +0000 (14:12 +0000)]
[chromium] Update test expectation for indexeddb test that is currently only run using content_browsertests

Unreviewed gardening.

* storage/indexeddb/intversion-delete-in-upgradeneeded-expected.txt:

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

7 years ago[BlackBerry] remove static_cast which will cause video crash
commit-queue@webkit.org [Wed, 19 Sep 2012 14:11:48 +0000 (14:11 +0000)]
[BlackBerry] remove static_cast which will cause video crash
https://bugs.webkit.org/show_bug.cgi?id=97070

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-09-19
Reviewed by Antonio Gomes.

Removed the static_cast to avoid layering violation which
will cause a runtime crash.
We won't create a real MediaPlayerPrivate object before we call
MediaPlayer::load(), so if we use player()->implementation()
before calling load() in some cases, it points to a
NullMediaPlayerPrivate object. Here we should not use static_cast,
instead we should use HTMLMediaElement::percentLoaded() to
avoid layering violation as we don't have the buffering bug which
the deleted comment refers to.

Internally reviewed by Max Feil.

Test case: media/video-size.html

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::paintMediaSliderTrack):

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

7 years ago[gtk] add enable-media-stream to websettings
commit-queue@webkit.org [Wed, 19 Sep 2012 14:09:03 +0000 (14:09 +0000)]
[gtk] add enable-media-stream to websettings
https://bugs.webkit.org/show_bug.cgi?id=94361

Patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2012-09-19
Reviewed by Martin Robinson.

Applications should be allowed to enable/disable MediaStream on webkitwebsettings.

* webkit/webkitwebsettings.cpp:
(webkit_web_settings_class_init):
(webkit_web_settings_set_property):
(webkit_web_settings_get_property):
* webkit/webkitwebsettingsprivate.h:
* webkit/webkitwebview.cpp:
(webkit_web_view_update_settings):

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

7 years agoDo touch adjustment on GestureTapDown
commit-queue@webkit.org [Wed, 19 Sep 2012 14:08:21 +0000 (14:08 +0000)]
Do touch adjustment on GestureTapDown
https://bugs.webkit.org/show_bug.cgi?id=96677

Patch by Rick Byers <rbyers@chromium.org> on 2012-09-19
Reviewed by Antonio Gomes.

Source/WebCore:

Do touch adjustment on GestureTapDown exactly as for GestureTap today.

Test: touchadjustment/touch-links-active.html

* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
(WebCore::EventHandler::adjustGesturePosition):

Tools:

Allow radius to be set for GestureTapDown events.
* DumpRenderTree/chromium/TestRunner/EventSender.cpp:
(EventSender::gestureEvent):

LayoutTests:

Make a few tweaks to the touchadjustment.js infrastructure to make it
simpler and easier to use.  Add a test for touch-adjustment of
GestureTapDown events (based on touch-links-longpress).

* touchadjustment/resources/touchadjustment.js:
(touchPoint.return.left.x.radiusX.top.y.radiusY.width.radiusX.2.height.radiusY.2.get x):
(touchPoint.return.get y):
(touchPoint):
(offsetTouchPoint):
* touchadjustment/touch-links-active-expected.txt: Added.
* touchadjustment/touch-links-active.html: Added.

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

7 years ago[EFL] Skip fast/dom/message-port-deleted-by-accessor.html
commit-queue@webkit.org [Wed, 19 Sep 2012 14:04:58 +0000 (14:04 +0000)]
[EFL] Skip fast/dom/message-port-deleted-by-accessor.html
https://bugs.webkit.org/show_bug.cgi?id=97105

Unreviewed EFL gardening.

Add fast/dom/message-port-deleted-by-accessor.html to
TestExpectations because it sometimes crashes on debug
build bots after r128802.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/TestExpectations:

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

7 years agoUnreviewed another follow up Apple Win build fix for r128992.
vsevik@chromium.org [Wed, 19 Sep 2012 14:03:52 +0000 (14:03 +0000)]
Unreviewed another follow up Apple Win build fix for r128992.

* inspector/InspectorAllInOne.cpp:

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

7 years ago[GTK] REGRESSION(r128907): it broke several WebKit2 API tests
carlosgc@webkit.org [Wed, 19 Sep 2012 14:00:50 +0000 (14:00 +0000)]
[GTK] REGRESSION(r128907): it broke several WebKit2 API tests
https://bugs.webkit.org/show_bug.cgi?id=97092

Reviewed by Martin Robinson.

Calling resizeLater() from the constructor of
RedirectedXCompositeWindow can cause the callback to be called
later by the main loop after the RedirectedXCompositeWindow object
has been destroyed. Instead of calling resizeLater(), initialize
the usable size to the given initial size.

* platform/gtk/RedirectedXCompositeWindow.cpp:
(WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow):

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

7 years ago[EFL][UT] Refactoring an implementation of testing framework for wk1.
commit-queue@webkit.org [Wed, 19 Sep 2012 13:53:47 +0000 (13:53 +0000)]
[EFL][UT] Refactoring an implementation of testing framework for wk1.
https://bugs.webkit.org/show_bug.cgi?id=94925

Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-09-19
Reviewed by Gyuyoung Kim.

The reason of changing, was to adjust current implementation to use gtest features
related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
and lastly to make framework easier to use.

* tests/UnitTestUtils/EWKTestBase.cpp:
(EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view.
(EWKUnitTests::EWKTestBase::webView): Returns current webview.
(EWKUnitTests::EWKTestBase::SetUp):
Before test is started, SetUp is called.
Used this to initialize efl and test view.
(EWKUnitTests::EWKTestBase::TearDown):
TearDown is called as soon as test is completed.
Used this to properly shutdown efl and clean test view.
(EWKUnitTests::EWKTestBase::onLoadFinished):
(EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
(EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
* tests/UnitTestUtils/EWKTestBase.h:
* tests/UnitTestUtils/EWKTestView.cpp:
(EWKUnitTests::EWKTestView::EWKTestView):
(EWKUnitTests::EWKTestView::init): Initialize test view.
* tests/UnitTestUtils/EWKTestView.h:
(EWKTestView):
* tests/test_ewk_view.cpp:
(TEST_F):
* tests/test_runner.cpp:
(main):

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

7 years agoUnreviewed follow up Apple Win build fix for r128992.
vsevik@chromium.org [Wed, 19 Sep 2012 13:50:11 +0000 (13:50 +0000)]
Unreviewed follow up Apple Win build fix for r128992.

* inspector/InspectorAllInOne.cpp:

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

7 years ago[EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
commit-queue@webkit.org [Wed, 19 Sep 2012 13:32:12 +0000 (13:32 +0000)]
[EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
https://bugs.webkit.org/show_bug.cgi?id=97100

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19
Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

Add DumpRenderTree support method to set the
'WebKitCSSRegionsEnabled' preference.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

EFL's DRT now supports overriding the 'WebKitCSSRegionsEnabled'
preference, in order to match WebKitTestRunner functionality.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::overridePreference):

LayoutTests:

Rebaseline and unskip several test cases now that EFL's DRT
supports overriding 'WebKitCSSRegionsEnabled' preference.

* platform/efl/Skipped:
* platform/efl/TestExpectations:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/efl/fast/repaint/region-painting-invalidation-expected.png: Added.
* platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Added.
* platform/efl/fast/repaint/region-painting-via-layout-expected.txt:

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

7 years agoWeb Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent
commit-queue@webkit.org [Wed, 19 Sep 2012 13:07:15 +0000 (13:07 +0000)]
Web Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent
https://bugs.webkit.org/show_bug.cgi?id=96917

Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-09-19
Reviewed by Vsevolod Vlasov.

Source/WebCore:

Rename WebGLAgent* and WebGLInstrumentation* files to Canvas* as we will support both 2D and 3D/WebGL canvas instrumentation.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSHTMLCanvasElementCustom.cpp:
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
* inspector/CodeGeneratorInspector.py:
* inspector/InjectedScriptCanvasModule.cpp: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModule.cpp.
(WebCore):
(WebCore::InjectedScriptCanvasModule::InjectedScriptCanvasModule):
(WebCore::InjectedScriptCanvasModule::moduleForState):
(WebCore::InjectedScriptCanvasModule::source):
(WebCore::InjectedScriptCanvasModule::wrapWebGLContext):
(WebCore::InjectedScriptCanvasModule::captureFrame):
(WebCore::InjectedScriptCanvasModule::dropTraceLog):
(WebCore::InjectedScriptCanvasModule::traceLog):
(WebCore::InjectedScriptCanvasModule::replayTraceLog):
* inspector/InjectedScriptCanvasModule.h: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModule.h.
(WebCore):
(InjectedScriptCanvasModule):
* inspector/InjectedScriptCanvasModuleSource.js: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModuleSource.js.
(.):
* inspector/Inspector.json:
* inspector/InspectorAllInOne.cpp:
* inspector/InspectorCanvasAgent.cpp: Renamed from Source/WebCore/inspector/InspectorWebGLAgent.cpp.
(WebCore):
(CanvasAgentState):
(WebCore::InspectorCanvasAgent::InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::~InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::setFrontend):
(WebCore::InspectorCanvasAgent::clearFrontend):
(WebCore::InspectorCanvasAgent::restore):
(WebCore::InspectorCanvasAgent::enable):
(WebCore::InspectorCanvasAgent::disable):
(WebCore::InspectorCanvasAgent::dropTraceLog):
(WebCore::InspectorCanvasAgent::captureFrame):
(WebCore::InspectorCanvasAgent::getTraceLog):
(WebCore::InspectorCanvasAgent::replayTraceLog):
(WebCore::InspectorCanvasAgent::wrapWebGLRenderingContextForInstrumentation):
(WebCore::InspectorCanvasAgent::injectedScriptCanvasModuleForTraceLogId):
* inspector/InspectorCanvasAgent.h: Renamed from Source/WebCore/inspector/InspectorWebGLAgent.h.
(WebCore):
(InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::create):
(WebCore::InspectorCanvasAgent::enabled):
* inspector/InspectorCanvasInstrumentation.h: Renamed from Source/WebCore/inspector/InspectorWebGLInstrumentation.h.
(WebCore):
(WebCore::InspectorInstrumentation::wrapWebGLRenderingContextForInstrumentation):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InstrumentingAgents.h:
(WebCore):
(WebCore::InstrumentingAgents::InstrumentingAgents):
(WebCore::InstrumentingAgents::inspectorCanvasAgent):
(WebCore::InstrumentingAgents::setInspectorCanvasAgent):
(InstrumentingAgents):
* inspector/compile-front-end.py:
* inspector/front-end/CanvasProfileView.js: Renamed from Source/WebCore/inspector/front-end/WebGLProfileView.js.
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype.dispose):
(WebInspector.CanvasProfileView.prototype.get statusBarItems):
(WebInspector.CanvasProfileView.prototype.get profile):
(WebInspector.CanvasProfileView.prototype.wasShown):
(WebInspector.CanvasProfileView.prototype.willHide):
(WebInspector.CanvasProfileView.prototype._showTraceLog):
(WebInspector.CanvasProfileView.prototype._onTraceLogItemClick.didReplayTraceLog):
(WebInspector.CanvasProfileView.prototype._onTraceLogItemClick):
(WebInspector.CanvasProfileType):
(WebInspector.CanvasProfileType.prototype.get buttonTooltip):
(WebInspector.CanvasProfileType.prototype.buttonClicked.didStartCapturingFrame):
(WebInspector.CanvasProfileType.prototype.buttonClicked):
(WebInspector.CanvasProfileType.prototype.get treeItemTitle):
(WebInspector.CanvasProfileType.prototype.get description):
(WebInspector.CanvasProfileType.prototype.reset):
(WebInspector.CanvasProfileType.prototype.createTemporaryProfile):
(WebInspector.CanvasProfileType.prototype.createProfile):
(WebInspector.CanvasProfileHeader):
(WebInspector.CanvasProfileHeader.prototype.traceLogId):
(WebInspector.CanvasProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.CanvasProfileHeader.prototype.createView):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel):
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/canvasProfiler.css: Renamed from Source/WebCore/inspector/front-end/webGLProfiler.css.
(.canvas-profile-view):
(.canvas-trace-log):
(.canvas-trace-log div):
(#canvas-replay-image-container):
(#canvas-replay-image):

LayoutTests:

* inspector/profiler/webgl/webgl-profiler-get-error.html:
* inspector/profiler/webgl/webgl-profiler-test.js:
(initialize_CanvasWebGLProfilerTest.InspectorTest.enableCanvasAgent):
(initialize_CanvasWebGLProfilerTest):

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 6)
commit-queue@webkit.org [Wed, 19 Sep 2012 12:56:40 +0000 (12:56 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 6)
https://bugs.webkit.org/show_bug.cgi?id=97098

Unreviewed EFL rebaseline.

Rebaseline remaining tables/mozilla tests.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/tables/mozilla/bugs/bug40828-expected.png:
* platform/efl/tables/mozilla/bugs/bug4093-expected.png:
* platform/efl/tables/mozilla/bugs/bug41890-expected.png:
* platform/efl/tables/mozilla/bugs/bug42187-expected.png:
* platform/efl/tables/mozilla/bugs/bug42443-expected.png:
* platform/efl/tables/mozilla/bugs/bug4284-expected.png:
* platform/efl/tables/mozilla/bugs/bug43039-expected.png:
* platform/efl/tables/mozilla/bugs/bug43204-expected.png:
* platform/efl/tables/mozilla/bugs/bug4382-expected.png:
* platform/efl/tables/mozilla/bugs/bug4385-expected.png:
* platform/efl/tables/mozilla/bugs/bug43854-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug43854-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug4427-expected.png:
* platform/efl/tables/mozilla/bugs/bug4429-expected.png:
* platform/efl/tables/mozilla/bugs/bug44505-expected.png:
* platform/efl/tables/mozilla/bugs/bug44523-expected.png:
* platform/efl/tables/mozilla/bugs/bug4501-expected.png:
* platform/efl/tables/mozilla/bugs/bug45055-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug45055-expected.png:
* platform/efl/tables/mozilla/bugs/bug4520-expected.png:
* platform/efl/tables/mozilla/bugs/bug4523-expected.png:
* platform/efl/tables/mozilla/bugs/bug4527-expected.png:
* platform/efl/tables/mozilla/bugs/bug45350-expected.png:
* platform/efl/tables/mozilla/bugs/bug45486-expected.png:
* platform/efl/tables/mozilla/bugs/bug4576-expected.png:
* platform/efl/tables/mozilla/bugs/bug46268-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug46268-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug46268-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug46268-5-expected.png:
* platform/efl/tables/mozilla/bugs/bug46268-expected.png:
* platform/efl/tables/mozilla/bugs/bug46368-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug46368-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug46480-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug46480-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug46623-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug46924-expected.png:
* platform/efl/tables/mozilla/bugs/bug46944-expected.png:
* platform/efl/tables/mozilla/bugs/bug4739-expected.png:
* platform/efl/tables/mozilla/bugs/bug47432-expected.png:
* platform/efl/tables/mozilla/bugs/bug48028-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug48028-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug4803-expected.png:
* platform/efl/tables/mozilla/bugs/bug4849-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug4849-expected.png:
* platform/efl/tables/mozilla/bugs/bug48827-expected.png:
* platform/efl/tables/mozilla/bugs/bug50695-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug51037-expected.png:
* platform/efl/tables/mozilla/bugs/bug51140-expected.png:
* platform/efl/tables/mozilla/bugs/bug51727-expected.png:
* platform/efl/tables/mozilla/bugs/bug5188-expected.png:
* platform/efl/tables/mozilla/bugs/bug52505-expected.png:
* platform/efl/tables/mozilla/bugs/bug52506-expected.png:
* platform/efl/tables/mozilla/bugs/bug53690-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug53891-expected.png:
* platform/efl/tables/mozilla/bugs/bug54450-expected.png:
* platform/efl/tables/mozilla/bugs/bug5538-expected.png:
* platform/efl/tables/mozilla/bugs/bug55527-expected.png:
* platform/efl/tables/mozilla/bugs/bug55545-expected.png:
* platform/efl/tables/mozilla/bugs/bug55694-expected.png:
* platform/efl/tables/mozilla/bugs/bug55789-expected.png:
* platform/efl/tables/mozilla/bugs/bug56201-expected.png:
* platform/efl/tables/mozilla/bugs/bug56405-expected.png:
* platform/efl/tables/mozilla/bugs/bug56563-expected.png:
* platform/efl/tables/mozilla/bugs/bug57300-expected.png:
* platform/efl/tables/mozilla/bugs/bug57378-expected.png:
* platform/efl/tables/mozilla/bugs/bug57828-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug57828-expected.png:
* platform/efl/tables/mozilla/bugs/bug5797-expected.png:
* platform/efl/tables/mozilla/bugs/bug5798-expected.png:
* platform/efl/tables/mozilla/bugs/bug5799-expected.png:
* platform/efl/tables/mozilla/bugs/bug5835-expected.png:
* platform/efl/tables/mozilla/bugs/bug5838-expected.png:
* platform/efl/tables/mozilla/bugs/bug58402-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug59354-expected.png:
* platform/efl/tables/mozilla/bugs/bug60013-expected.png:
* platform/efl/tables/mozilla/bugs/bug60749-expected.png:
* platform/efl/tables/mozilla/bugs/bug60804-expected.png:
* platform/efl/tables/mozilla/bugs/bug60807-expected.png:
* platform/efl/tables/mozilla/bugs/bug60992-expected.png:
* platform/efl/tables/mozilla/bugs/bug6184-expected.png:
* platform/efl/tables/mozilla/bugs/bug625-expected.png:
* platform/efl/tables/mozilla/bugs/bug6304-expected.png:
* platform/efl/tables/mozilla/bugs/bug63785-expected.png:
* platform/efl/tables/mozilla/bugs/bug6404-expected.png:
* platform/efl/tables/mozilla/bugs/bug641-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug641-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug650-expected.png:
* platform/efl/tables/mozilla/bugs/bug6674-expected.png:
* platform/efl/tables/mozilla/bugs/bug67864-expected.png:
* platform/efl/tables/mozilla/bugs/bug67915-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug68912-expected.png:
* platform/efl/tables/mozilla/bugs/bug68998-expected.png:
* platform/efl/tables/mozilla/bugs/bug69187-expected.png:
* platform/efl/tables/mozilla/bugs/bug69382-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug69382-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug709-expected.png:
* platform/efl/tables/mozilla/bugs/bug7112-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug7112-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug7121-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug72359-expected.png:
* platform/efl/tables/mozilla/bugs/bug727-expected.png:
* platform/efl/tables/mozilla/bugs/bug73321-expected.png:
* platform/efl/tables/mozilla/bugs/bug7342-expected.png:
* platform/efl/tables/mozilla/bugs/bug7471-expected.png:
* platform/efl/tables/mozilla/bugs/bug75250-expected.png:
* platform/efl/tables/mozilla/bugs/bug7714-expected.png:
* platform/efl/tables/mozilla/bugs/bug78162-expected.png:
* platform/efl/tables/mozilla/bugs/bug8032-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug80762-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug81934-expected.png:
* platform/efl/tables/mozilla/bugs/bug82946-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug82946-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug8361-expected.png:
* platform/efl/tables/mozilla/bugs/bug83786-expected.png:
* platform/efl/tables/mozilla/bugs/bug8381-expected.png:
* platform/efl/tables/mozilla/bugs/bug8411-expected.png:
* platform/efl/tables/mozilla/bugs/bug86220-expected.png:
* platform/efl/tables/mozilla/bugs/bug86708-expected.png:
* platform/efl/tables/mozilla/bugs/bug88035-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug88035-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug88524-expected.png:
* platform/efl/tables/mozilla/bugs/bug8858-expected.png:
* platform/efl/tables/mozilla/bugs/bug8950-expected.png:
* platform/efl/tables/mozilla/other/body_col-expected.png:
* platform/efl/tables/mozilla/other/cell_widths-expected.png:
* platform/efl/tables/mozilla/other/cellspacing-expected.png:
* platform/efl/tables/mozilla/other/move_row-expected.png:
* platform/efl/tables/mozilla/other/ms-expected.png:
* platform/efl/tables/mozilla/other/nested2-expected.png:
* platform/efl/tables/mozilla/other/nestedTables-expected.png:
* platform/efl/tables/mozilla/other/padding-expected.png:
* platform/efl/tables/mozilla/other/test3-expected.png:
* platform/efl/tables/mozilla/other/test6-expected.png:
* platform/efl/tables/mozilla/other/wa_table_thtd_rowspan-expected.png:

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 5)
commit-queue@webkit.org [Wed, 19 Sep 2012 12:46:27 +0000 (12:46 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 5)
https://bugs.webkit.org/show_bug.cgi?id=97096

Unreviewed EFL rebaseline.

Rebaseline part of tables/mozilla/bugs/ test cases
for EFL port.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/tables/mozilla/bugs/bug10009-expected.png:
* platform/efl/tables/mozilla/bugs/bug100334-expected.png:
* platform/efl/tables/mozilla/bugs/bug10036-expected.png:
* platform/efl/tables/mozilla/bugs/bug10039-expected.png:
* platform/efl/tables/mozilla/bugs/bug101201-expected.png:
* platform/efl/tables/mozilla/bugs/bug101674-expected.png:
* platform/efl/tables/mozilla/bugs/bug102145-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug102145-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug102145-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug102145-4-expected.png:
* platform/efl/tables/mozilla/bugs/bug10269-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug10269-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug10296-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug10296-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug1055-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug10565-expected.png:
* platform/efl/tables/mozilla/bugs/bug106158-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug106158-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug10633-expected.png:
* platform/efl/tables/mozilla/bugs/bug1067-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug1067-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug106816-expected.png:
* platform/efl/tables/mozilla/bugs/bug108340-expected.png:
* platform/efl/tables/mozilla/bugs/bug109043-expected.png:
* platform/efl/tables/mozilla/bugs/bug11026-expected.png:
* platform/efl/tables/mozilla/bugs/bug110566-expected.png:
* platform/efl/tables/mozilla/bugs/bug11321-expected.png:
* platform/efl/tables/mozilla/bugs/bug113235-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug113235-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug113235-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug113424-expected.png:
* platform/efl/tables/mozilla/bugs/bug11384q-expected.png:
* platform/efl/tables/mozilla/bugs/bug11384s-expected.png:
* platform/efl/tables/mozilla/bugs/bug1163-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug1188-expected.png:
* platform/efl/tables/mozilla/bugs/bug11944-expected.png:
* platform/efl/tables/mozilla/bugs/bug119786-expected.png:
* platform/efl/tables/mozilla/bugs/bug12008-expected.png:
* platform/efl/tables/mozilla/bugs/bug120364-expected.png:
* platform/efl/tables/mozilla/bugs/bug1220-expected.png:
* platform/efl/tables/mozilla/bugs/bug1224-expected.png:
* platform/efl/tables/mozilla/bugs/bug12268-expected.png:
* platform/efl/tables/mozilla/bugs/bug12384-expected.png:
* platform/efl/tables/mozilla/bugs/bug123862-expected.png:
* platform/efl/tables/mozilla/bugs/bug1261-expected.png:
* platform/efl/tables/mozilla/bugs/bug126742-expected.png:
* platform/efl/tables/mozilla/bugs/bug12709-expected.png:
* platform/efl/tables/mozilla/bugs/bug127267-expected.png:
* platform/efl/tables/mozilla/bugs/bug128229-expected.png:
* platform/efl/tables/mozilla/bugs/bug12908-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug12910-expected.png:
* platform/efl/tables/mozilla/bugs/bug1296-expected.png:
* platform/efl/tables/mozilla/bugs/bug1302-expected.png:
* platform/efl/tables/mozilla/bugs/bug131020-expected.png:
* platform/efl/tables/mozilla/bugs/bug131020_iframe-expected.png:
* platform/efl/tables/mozilla/bugs/bug13105-expected.png:
* platform/efl/tables/mozilla/bugs/bug13118-expected.png:
* platform/efl/tables/mozilla/bugs/bug1318-expected.png:
* platform/efl/tables/mozilla/bugs/bug13196-expected.png:
* platform/efl/tables/mozilla/bugs/bug133756-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug133756-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug13484-expected.png:
* platform/efl/tables/mozilla/bugs/bug13526-expected.png:
* platform/efl/tables/mozilla/bugs/bug137388-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug138725-expected.png:
* platform/efl/tables/mozilla/bugs/bug139524-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug139524-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug139524-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug139524-4-expected.png:
* platform/efl/tables/mozilla/bugs/bug14159-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug14159-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug1430-expected.png:
* platform/efl/tables/mozilla/bugs/bug14323-expected.png:
* platform/efl/tables/mozilla/bugs/bug145572-expected.png:
* platform/efl/tables/mozilla/bugs/bug1474-expected.png:
* platform/efl/tables/mozilla/bugs/bug149275-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug149275-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug14929-expected.png:
* platform/efl/tables/mozilla/bugs/bug15247-expected.png:
* platform/efl/tables/mozilla/bugs/bug154780-expected.png:
* platform/efl/tables/mozilla/bugs/bug15544-expected.png:
* platform/efl/tables/mozilla/bugs/bug157890-expected.png:
* platform/efl/tables/mozilla/bugs/bug159108-expected.png:
* platform/efl/tables/mozilla/bugs/bug15933-expected.png:
* platform/efl/tables/mozilla/bugs/bug16012-expected.png:
* platform/efl/tables/mozilla/bugs/bug16252-expected.png:
* platform/efl/tables/mozilla/bugs/bug17130-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug17130-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug17138-expected.png:
* platform/efl/tables/mozilla/bugs/bug17168-expected.png:
* platform/efl/tables/mozilla/bugs/bug175455-4-expected.png:
* platform/efl/tables/mozilla/bugs/bug17548-expected.png:
* platform/efl/tables/mozilla/bugs/bug17587-expected.png:
* platform/efl/tables/mozilla/bugs/bug1800-expected.png:
* platform/efl/tables/mozilla/bugs/bug1802-expected.png:
* platform/efl/tables/mozilla/bugs/bug1802s-expected.png:
* platform/efl/tables/mozilla/bugs/bug1809-expected.png:
* platform/efl/tables/mozilla/bugs/bug1818-5-expected.png:
* platform/efl/tables/mozilla/bugs/bug1828-expected.png:
* platform/efl/tables/mozilla/bugs/bug18359-expected.png:
* platform/efl/tables/mozilla/bugs/bug18558-expected.png:
* platform/efl/tables/mozilla/bugs/bug18664-expected.png:
* platform/efl/tables/mozilla/bugs/bug18955-expected.png:
* platform/efl/tables/mozilla/bugs/bug19061-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug19061-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug19356-expected.png:
* platform/efl/tables/mozilla/bugs/bug194024-expected.png:
* platform/efl/tables/mozilla/bugs/bug19599-expected.png:
* platform/efl/tables/mozilla/bugs/bug2050-expected.png:
* platform/efl/tables/mozilla/bugs/bug20579-expected.png:
* platform/efl/tables/mozilla/bugs/bug2065-expected.png:
* platform/efl/tables/mozilla/bugs/bug20804-expected.png:
* platform/efl/tables/mozilla/bugs/bug2123-expected.png:
* platform/efl/tables/mozilla/bugs/bug21299-expected.png:
* platform/efl/tables/mozilla/bugs/bug215629-expected.png:
* platform/efl/tables/mozilla/bugs/bug21918-expected.png:
* platform/efl/tables/mozilla/bugs/bug22019-expected.png:
* platform/efl/tables/mozilla/bugs/bug220536-expected.png:
* platform/efl/tables/mozilla/bugs/bug221784-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug221784-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug22246-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug22246-2a-expected.png:
* platform/efl/tables/mozilla/bugs/bug22246-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug22246-3a-expected.png:
* platform/efl/tables/mozilla/bugs/bug222846-expected.png:
* platform/efl/tables/mozilla/bugs/bug22513-expected.png:
* platform/efl/tables/mozilla/bugs/bug2267-expected.png:
* platform/efl/tables/mozilla/bugs/bug227123-expected.png:
* platform/efl/tables/mozilla/bugs/bug2296-expected.png:
* platform/efl/tables/mozilla/bugs/bug23072-expected.png:
* platform/efl/tables/mozilla/bugs/bug23151-expected.png:
* platform/efl/tables/mozilla/bugs/bug23235-expected.png:
* platform/efl/tables/mozilla/bugs/bug23299-expected.png:
* platform/efl/tables/mozilla/bugs/bug24200-expected.png:
* platform/efl/tables/mozilla/bugs/bug24503-expected.png:
* platform/efl/tables/mozilla/bugs/bug24627-expected.png:
* platform/efl/tables/mozilla/bugs/bug24661-expected.png:
* platform/efl/tables/mozilla/bugs/bug2469-expected.png:
* platform/efl/tables/mozilla/bugs/bug2479-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug2479-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug2479-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug2479-4-expected.png:
* platform/efl/tables/mozilla/bugs/bug24880-expected.png:
* platform/efl/tables/mozilla/bugs/bug25004-expected.png:
* platform/efl/tables/mozilla/bugs/bug25074-expected.png:
* platform/efl/tables/mozilla/bugs/bug25086-expected.png:
* platform/efl/tables/mozilla/bugs/bug2509-expected.png:
* platform/efl/tables/mozilla/bugs/bug2516-expected.png:
* platform/efl/tables/mozilla/bugs/bug25367-expected.png:
* platform/efl/tables/mozilla/bugs/bug25663-expected.png:
* platform/efl/tables/mozilla/bugs/bug2585-expected.png:
* platform/efl/tables/mozilla/bugs/bug26178-expected.png:
* platform/efl/tables/mozilla/bugs/bug26553-expected.png: Added.
* platform/efl/tables/mozilla/bugs/bug2684-expected.png:
* platform/efl/tables/mozilla/bugs/bug27038-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug27038-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug27038-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug275625-expected.png:
* platform/efl/tables/mozilla/bugs/bug2757-expected.png:
* platform/efl/tables/mozilla/bugs/bug2763-expected.png:
* platform/efl/tables/mozilla/bugs/bug2773-expected.png:
* platform/efl/tables/mozilla/bugs/bug278266-expected.png:
* platform/efl/tables/mozilla/bugs/bug278385-expected.png:
* platform/efl/tables/mozilla/bugs/bug27993-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug28341-expected.png:
* platform/efl/tables/mozilla/bugs/bug2886-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug2886-expected.png:
* platform/efl/tables/mozilla/bugs/bug28928-expected.png:
* platform/efl/tables/mozilla/bugs/bug29058-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug29058-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug29157-expected.png:
* platform/efl/tables/mozilla/bugs/bug29314-expected.png:
* platform/efl/tables/mozilla/bugs/bug29326-expected.png:
* platform/efl/tables/mozilla/bugs/bug29429-expected.png:
* platform/efl/tables/mozilla/bugs/bug2947-expected.png:
* platform/efl/tables/mozilla/bugs/bug2962-expected.png:
* platform/efl/tables/mozilla/bugs/bug2973-expected.png:
* platform/efl/tables/mozilla/bugs/bug2981-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug2981-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug2997-expected.png:
* platform/efl/tables/mozilla/bugs/bug30273-expected.png:
* platform/efl/tables/mozilla/bugs/bug30332-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug30332-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug3037-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug3037-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug30418-expected.png:
* platform/efl/tables/mozilla/bugs/bug30559-expected.png:
* platform/efl/tables/mozilla/bugs/bug30692-expected.png:
* platform/efl/tables/mozilla/bugs/bug30985-expected.png:
* platform/efl/tables/mozilla/bugs/bug3103-expected.png:
* platform/efl/tables/mozilla/bugs/bug3191-expected.png:
* platform/efl/tables/mozilla/bugs/bug32205-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug32205-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug32205-5-expected.png:
* platform/efl/tables/mozilla/bugs/bug32447-expected.png:
* platform/efl/tables/mozilla/bugs/bug3260-expected.png:
* platform/efl/tables/mozilla/bugs/bug3263-expected.png:
* platform/efl/tables/mozilla/bugs/bug32841-expected.png:
* platform/efl/tables/mozilla/bugs/bug3309-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug3309-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug33137-expected.png:
* platform/efl/tables/mozilla/bugs/bug33855-expected.png:
* platform/efl/tables/mozilla/bugs/bug34176-expected.png:
* platform/efl/tables/mozilla/bugs/bug34538-expected.png:
* platform/efl/tables/mozilla/bugs/bug3454-expected.png:
* platform/efl/tables/mozilla/bugs/bug35662-expected.png:
* platform/efl/tables/mozilla/bugs/bug3681-1-expected.png:
* platform/efl/tables/mozilla/bugs/bug3681-2-expected.png:
* platform/efl/tables/mozilla/bugs/bug3718-expected.png:
* platform/efl/tables/mozilla/bugs/bug38916-expected.png:
* platform/efl/tables/mozilla/bugs/bug39209-expected.png:
* platform/efl/tables/mozilla/bugs/bug3977-expected.png:

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

7 years ago[GTK] Add API to get/set the security policy of a given URI scheme to WebKit2 GTK+
carlosgc@webkit.org [Wed, 19 Sep 2012 11:32:29 +0000 (11:32 +0000)]
[GTK] Add API to get/set the security policy of a given URI scheme to WebKit2 GTK+
https://bugs.webkit.org/show_bug.cgi?id=96497

Reviewed by Martin Robinson.

Source/WebCore:

* WebCore.exp.in: Add new exported symbols.

Source/WebKit2:

Add WebKitSecurityManager object associated to a WebKitWebContext
to get/set the security policy of a URI scheme.

* GNUmakefile.list.am: Add new files to compilation.
* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode): Encode the list of
schemes to be reigstered as Local, NoAccess, DisplayIsolated and
CORSEnabled.
(WebKit::WebProcessCreationParameters::decode): Decode the list of
schemes to be reigstered as Local, NoAccess, DisplayIsolated and
CORSEnabled.
* Shared/WebProcessCreationParameters.h:
(WebProcessCreationParameters): Add new parameters to be able to
register schemes as Local, NoAccess, DisplayIsolated and
CORSEnabled.
* UIProcess/API/gtk/WebKitSecurityManager.cpp: Added.
(webkit_security_manager_init):
(webkitSecurityManagerFinalize):
(webkit_security_manager_class_init):
(webkitSecurityManagerCreate): Private function to create the
WebKitSecurityManager object associated to the given
WebKitWebContext.
(registerSecurityPolicyForURIScheme):
(checkSecurityPolicyForURIScheme):
(webkit_security_manager_register_uri_scheme_as_local):
(webkit_security_manager_uri_scheme_is_local):
(webkit_security_manager_register_uri_scheme_as_no_access):
(webkit_security_manager_uri_scheme_is_no_access):
(webkit_security_manager_register_uri_scheme_as_display_isolated):
(webkit_security_manager_uri_scheme_is_display_isolated):
(webkit_security_manager_register_uri_scheme_as_secure):
(webkit_security_manager_uri_scheme_is_secure):
(webkit_security_manager_register_uri_scheme_as_cors_enabled):
(webkit_security_manager_uri_scheme_is_cors_enabled):
(webkit_security_manager_register_uri_scheme_as_empty_document):
(webkit_security_manager_uri_scheme_is_empty_document):
* UIProcess/API/gtk/WebKitSecurityManager.h: Added.
* UIProcess/API/gtk/WebKitSecurityManagerPrivate.h: Added.
* UIProcess/API/gtk/WebKitWebContext.cpp:
(webkit_web_context_get_security_manager): Return the
WebKitSecurityManager object, creating it before if it doesn't exist.
* UIProcess/API/gtk/WebKitWebContext.h:
* UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add new section for
WebKitSecurityManager.
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
* UIProcess/API/gtk/tests/TestWebKitWebContext.cpp:
(testWebContextSecurityPolicy):
(beforeAll):
* UIProcess/API/gtk/webkit2.h: Add WebKitSecurityManager.h.
* UIProcess/WebContext.cpp:
(WebKit::WebContext::createNewWebProcess): Copy new vector
schemes.
(WebKit::WebContext::registerURLSchemeAsLocal): Send a message to
WebProcess to register the given URL scheme as Local.
(WebKit::WebContext::registerURLSchemeAsNoAccess): Send a message
to WebProcess to register the given URL scheme as NoAccess.
(WebKit::WebContext::registerURLSchemeAsDisplayIsolated): Send a
message to WebProcess to register the given URL scheme as
DisplayIsolated.
(WebKit::WebContext::registerURLSchemeAsCORSEnabled): Send a
message to WebProcess to register the given URL scheme as
CORSEnabled.
* UIProcess/WebContext.h:
(WebContext):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::registerURLSchemeAsLocal): Register the
given URL scheme as Local in the SchemeRegistry.
(WebKit::WebProcess::registerURLSchemeAsNoAccess): Register the
given URL scheme as NoAccess in the SchemeRegistry.
(WebKit::WebProcess::registerURLSchemeAsDisplayIsolated): Register
the given URL scheme as DisplayIsolated in the SchemeRegistry.
(WebKit::WebProcess::registerURLSchemeAsCORSEnabled): Register the
given URL scheme as CORSEnabled in the SchemeRegistry.
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in: Add new messages.

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

7 years ago[WIN] Use BString in favour of BSTR to improve memory management
paroga@webkit.org [Wed, 19 Sep 2012 11:15:33 +0000 (11:15 +0000)]
[WIN] Use BString in favour of BSTR to improve memory management
https://bugs.webkit.org/show_bug.cgi?id=93128

Reviewed by Anders Carlsson.

BString automatically calls SysFreeString() in its destructor which helps
avoiding memory leaks. So it should be used instead of BSTR directly.
Add operator& to BString to allow its usage for out parameters too (like COMPtr).
This fixes already a few memory leaks in the existing code.

Source/WebCore:

* platform/win/BString.cpp:
(WebCore::BString::~BString):
(WebCore::BString::adoptBSTR):
(WebCore::BString::clear):
(WebCore):
* platform/win/BString.h:
(BString):
(WebCore::BString::operator&):

Source/WebKit/win:

* DefaultPolicyDelegate.cpp:
(DefaultPolicyDelegate::decidePolicyForNavigationAction):
(DefaultPolicyDelegate::decidePolicyForMIMEType):
(DefaultPolicyDelegate::unableToImplementPolicyWithError):
* MarshallingHelpers.cpp:
(MarshallingHelpers::KURLToBSTR):
(MarshallingHelpers::CFStringRefToBSTR):
(MarshallingHelpers::stringArrayToSafeArray):
(MarshallingHelpers::safeArrayToStringArray):
* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::runJavaScriptPrompt):
* WebCoreSupport/WebEditorClient.cpp:
(WebEditorClient::checkGrammarOfString):
(WebEditorClient::getGuessesForWord):
* WebFrame.cpp:
(WebFrame::canProvideDocumentSource):
* WebHistory.cpp:
(WebHistory::removeItem):
(WebHistory::addItem):
* WebIconDatabase.cpp:
(WebIconDatabase::startUpIconDatabase):
* WebNotificationCenter.cpp:
(WebNotificationCenter::postNotification):
* WebPreferences.cpp:
(WebPreferences::setStringValue):
* WebView.cpp:
(toAtomicString):
(toString):
(toKURL):
(PreferencesChangedOrRemovedObserver::onNotify):
(WebView::close):
(WebView::canShowMIMEType):
(WebView::initWithFrame):
(WebView::setApplicationNameForUserAgent):
(WebView::setCustomUserAgent):
(WebView::userAgentForURL):
(WebView::setCustomTextEncodingName):
(WebView::customTextEncodingName):
(WebView::setPreferences):
(WebView::searchFor):
(WebView::executeCoreCommandByName):
(WebView::markAllMatchesForText):
(WebView::setGroupName):
(WebView::registerURLSchemeAsLocal):
(WebView::replaceSelectionWithText):
(WebView::onNotify):
(WebView::notifyPreferencesChanged):
(WebView::MIMETypeForExtension):
(WebView::standardUserAgentWithApplicationName):
(WebView::addAdditionalPluginDirectory):
(WebView::registerEmbeddedViewMIMEType):
(WebView::addOriginAccessWhitelistEntry):
(WebView::removeOriginAccessWhitelistEntry):
(WebView::geolocationDidFailWithError):
(WebView::setDomainRelaxationForbiddenForURLScheme):
(WebView::setCompositionForTesting):
(WebView::confirmCompositionForTesting):

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

7 years ago[Qt] Link failure with bfd linker on --minimal build
hausmann@webkit.org [Wed, 19 Sep 2012 11:12:40 +0000 (11:12 +0000)]
[Qt] Link failure with bfd linker on --minimal build
https://bugs.webkit.org/show_bug.cgi?id=97075

Reviewed by Tor Arne Vestbø.

Fix two dependency errors triggered by --minimal:

- GStreamerVersioning.cpp uses functions from libgstvideo (gst_video_format_parse_caps), so we need to pull
that module not only when video is enabled by generally when using gstreamer.
- GraphicsSurfaceGLX depends on Xlib (XOpenDisplay, etc.), so we need to do CONFIG += x11 to get that and not
implicitly rely on x11 netscape plugins being enabled.

* WebCore.pri:

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

7 years agoUnreviewed GTK gardening.
sergio@webkit.org [Wed, 19 Sep 2012 10:55:28 +0000 (10:55 +0000)]
Unreviewed GTK gardening.

Updated expectations for the WK2 GTK bot.

* platform/gtk-wk2/TestExpectations:

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 3)
commit-queue@webkit.org [Wed, 19 Sep 2012 10:52:59 +0000 (10:52 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 3)
https://bugs.webkit.org/show_bug.cgi?id=97090

Unreviewed EFL gardening.

Rebaseline pixel tests expectations for tables/mozilla/marvin/x_*
tests.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/tables/mozilla/marvin/x_caption_align_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_caption_align_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_caption_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_caption_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_caption_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_span-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_width_pct-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_width_px-expected.png:
* platform/efl/tables/mozilla/marvin/x_col_width_rel-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_span-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_width_pct-expected.png:
* platform/efl/tables/mozilla/marvin/x_colgroup_width_rel-expected.png:
* platform/efl/tables/mozilla/marvin/x_table-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_bgcolor_name-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_border-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_border_none-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_border_px-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_cellpadding-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_cellpadding_pct-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_cellspacing-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_cellspacing_pct-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_frame_void-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_rules_groups-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_rules_none-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_width_pct-expected.png:
* platform/efl/tables/mozilla/marvin/x_table_width_px-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_bgcolor_name-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_bgcolor_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_colspan-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_height-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_nowrap-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_rowspan-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_td_width-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_bgcolor_name-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_bgcolor_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_colspan-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_height-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_nowrap-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_rowspan-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_th_width-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_thead_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_bgcolor_name-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_bgcolor_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_class-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_id-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_style-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/x_tr_valign_top-expected.png:

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 4)
commit-queue@webkit.org [Wed, 19 Sep 2012 10:45:13 +0000 (10:45 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 4)
https://bugs.webkit.org/show_bug.cgi?id=97091

Unreviewed EFL gardening.

Rebaseline remaining pixel test expectations for
tables/mozilla/marvin/ tests.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/tables/mozilla/marvin/backgr_index-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_layers-opacity-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_position-table-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-cell-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-group-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png:
* platform/efl/tables/mozilla/marvin/body_col-expected.png:
* platform/efl/tables/mozilla/marvin/body_tbody-expected.png:
* platform/efl/tables/mozilla/marvin/body_tfoot-expected.png:
* platform/efl/tables/mozilla/marvin/body_thead-expected.png:
* platform/efl/tables/mozilla/marvin/col_span-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_span-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_width_pct-expected.png:
* platform/efl/tables/mozilla/marvin/colgroup_width_px-expected.png:
* platform/efl/tables/mozilla/marvin/table_frame_border-expected.png:
* platform/efl/tables/mozilla/marvin/table_frame_box-expected.png:
* platform/efl/tables/mozilla/marvin/table_overflow_hidden_td-expected.png:
* platform/efl/tables/mozilla/marvin/table_overflow_td_dynamic_deactivate-expected.png:
* platform/efl/tables/mozilla/marvin/table_row_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/table_row_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/table_row_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/table_rules_all-expected.png:
* platform/efl/tables/mozilla/marvin/table_rules_groups-expected.png:
* platform/efl/tables/mozilla/marvin/table_rules_none-expected.png:
* platform/efl/tables/mozilla/marvin/tables_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/tables_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/tables_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_aqua-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_aqua_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_black-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_black_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_blue-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_blue_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_fuchsia-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_fuchsia_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_gray-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_gray_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_green-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_green_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_lime-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_lime_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_maroon-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_maroon_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_navy-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_navy_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_olive-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_olive_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_purple-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_purple_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_red-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_red_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_silver-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_silver_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_teal-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_white-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_white_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_yellow-expected.png:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_yellow_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tables_border_0-expected.png:
* platform/efl/tables/mozilla/marvin/tables_border_1-expected.png:
* platform/efl/tables/mozilla/marvin/tables_border_2-expected.png:
* platform/efl/tables/mozilla/marvin/tables_border_3-expected.png:
* platform/efl/tables/mozilla/marvin/tables_caption_align_bot-expected.png:
* platform/efl/tables/mozilla/marvin/tables_caption_align_top-expected.png:
* platform/efl/tables/mozilla/marvin/tables_cellpadding-expected.png:
* platform/efl/tables/mozilla/marvin/tables_cellpadding_pct-expected.png:
* platform/efl/tables/mozilla/marvin/tables_cellspacing-expected.png:
* platform/efl/tables/mozilla/marvin/tables_class-expected.png:
* platform/efl/tables/mozilla/marvin/tables_default-expected.png:
* platform/efl/tables/mozilla/marvin/tables_id-expected.png:
* platform/efl/tables/mozilla/marvin/tables_row_th_nowrap-expected.png:
* platform/efl/tables/mozilla/marvin/tables_style-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_colspan-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_height-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_nowrap-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_rowspan-expected.png:
* platform/efl/tables/mozilla/marvin/tables_td_width-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_colspan-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_height-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_rowspan-expected.png:
* platform/efl/tables/mozilla/marvin/tables_th_width-expected.png:
* platform/efl/tables/mozilla/marvin/tables_width_percent-expected.png:
* platform/efl/tables/mozilla/marvin/tables_width_px-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_char-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/tbody_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/td_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/td_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/td_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/td_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_char-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/tfoot_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/th_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/th_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/th_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/th_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/thead_align_center-expected.png:
* platform/efl/tables/mozilla/marvin/thead_align_char-expected.png:
* platform/efl/tables/mozilla/marvin/thead_align_justify-expected.png:
* platform/efl/tables/mozilla/marvin/thead_align_left-expected.png:
* platform/efl/tables/mozilla/marvin/thead_align_right-expected.png:
* platform/efl/tables/mozilla/marvin/thead_char-expected.png:
* platform/efl/tables/mozilla/marvin/thead_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/thead_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/thead_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/thead_valign_top-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_black-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_blue-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_gray-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_green-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_lime-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_maroon-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_navy-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_olive-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_purple-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_red-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_silver-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_teal-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_white-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_yellow-expected.png:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.png:
* platform/efl/tables/mozilla/marvin/tr_valign_baseline-expected.png:
* platform/efl/tables/mozilla/marvin/tr_valign_bottom-expected.png:
* platform/efl/tables/mozilla/marvin/tr_valign_middle-expected.png:
* platform/efl/tables/mozilla/marvin/tr_valign_top-expected.png:

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 2)
commit-queue@webkit.org [Wed, 19 Sep 2012 10:17:05 +0000 (10:17 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=97089

Unreviewed EFL gardening.

Rebaseline remaining tables/mozilla/ tests and unskip
them.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/Skipped:
* platform/efl/tables/mozilla/bugs/45621-expected.txt:
* platform/efl/tables/mozilla/bugs/bug101674-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10269-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1055-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug10565-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug10633-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug106816-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug11026-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug113235-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug113235-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug113424-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug11384q-expected.txt:
* platform/efl/tables/mozilla/bugs/bug11384s-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1163-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1188-expected.txt:
* platform/efl/tables/mozilla/bugs/bug119786-expected.txt:
* platform/efl/tables/mozilla/bugs/bug120107-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug12384-expected.txt:
* platform/efl/tables/mozilla/bugs/bug126742-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug1271-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug12908-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug12908-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug1296-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug1302-expected.txt:
* platform/efl/tables/mozilla/bugs/bug131020-expected.txt:
* platform/efl/tables/mozilla/bugs/bug13118-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug13169-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug1318-expected.txt:
* platform/efl/tables/mozilla/bugs/bug138725-expected.txt:
* platform/efl/tables/mozilla/bugs/bug139524-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug1430-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug14929-expected.txt:
* platform/efl/tables/mozilla/bugs/bug154780-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug15544-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug159108-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug17130-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug17130-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug17138-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug18359-expected.txt:
* platform/efl/tables/mozilla/bugs/bug19061-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug19061-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug194024-expected.txt:
* platform/efl/tables/mozilla/bugs/bug196870-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug2123-expected.txt:
* platform/efl/tables/mozilla/bugs/bug215629-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug222846-expected.txt:
* platform/efl/tables/mozilla/bugs/bug24200-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2509-expected.txt:
* platform/efl/tables/mozilla/bugs/bug26178-expected.txt:
* platform/efl/tables/mozilla/bugs/bug26553-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug27038-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug27038-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug2886-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug28928-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29058-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29157-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29314-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug29326-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2947-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2981-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug30559-expected.txt:
* platform/efl/tables/mozilla/bugs/bug30692-expected.txt:
* platform/efl/tables/mozilla/bugs/bug3309-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug3309-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug33137-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug33855-expected.txt:
* platform/efl/tables/mozilla/bugs/bug34176-expected.txt:
* platform/efl/tables/mozilla/bugs/bug38916-expected.txt:
* platform/efl/tables/mozilla/bugs/bug39209-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4093-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug42187-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug4284-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug4382-expected.txt:
* platform/efl/tables/mozilla/bugs/bug43854-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug4427-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug4429-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4527-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46368-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46480-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug46480-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug48028-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug48028-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug50695-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug51037-expected.txt:
* platform/efl/tables/mozilla/bugs/bug51727-expected.txt:
* platform/efl/tables/mozilla/bugs/bug52505-expected.txt:
* platform/efl/tables/mozilla/bugs/bug52506-expected.txt:
* platform/efl/tables/mozilla/bugs/bug5538-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug55527-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug55545-expected.txt:
* platform/efl/tables/mozilla/bugs/bug56563-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug5797-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug5838-expected.txt:
* platform/efl/tables/mozilla/bugs/bug59354-expected.txt:
* platform/efl/tables/mozilla/bugs/bug60749-expected.txt:
* platform/efl/tables/mozilla/bugs/bug625-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug6304-expected.txt:
* platform/efl/tables/mozilla/bugs/bug6404-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug67915-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug69187-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug7112-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug7112-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug73321-expected.txt:
* platform/efl/tables/mozilla/bugs/bug7342-expected.txt:
* platform/efl/tables/mozilla/bugs/bug8032-1-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug82946-2-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug83786-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug8381-expected.txt:
* platform/efl/tables/mozilla/bugs/bug86708-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9024-expected.txt: Added.
* platform/efl/tables/mozilla/bugs/bug92647-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9271-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9271-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug96334-expected.txt:
* platform/efl/tables/mozilla/bugs/bug99948-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/backgr_index-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_position-table-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-cell-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-group-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-group-expected.txt:
* platform/efl/tables/mozilla/marvin/table_frame_border-expected.txt:
* platform/efl/tables/mozilla/marvin/table_frame_box-expected.txt:
* platform/efl/tables/mozilla/marvin/table_rules_all-expected.txt:
* platform/efl/tables/mozilla/marvin/table_rules_none-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_caption_align_bot-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_caption_align_top-expected.txt:
* platform/efl/tables/mozilla/marvin/tbody_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tbody_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tbody_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tbody_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/td_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/td_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/td_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/td_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tfoot_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tfoot_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tfoot_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tfoot_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/th_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/th_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/th_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/th_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/thead_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/thead_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/thead_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/thead_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tr_valign_baseline-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tr_valign_bottom-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tr_valign_middle-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/tr_valign_top-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/x_caption_align_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_caption_class-expected.txt:
* platform/efl/tables/mozilla/marvin/x_caption_id-expected.txt:
* platform/efl/tables/mozilla/marvin/x_caption_style-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_table_align_center-expected.txt: Added.
* platform/efl/tables/mozilla/marvin/x_table_rules_groups-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_thead_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/other/cell_widths-expected.txt: Added.
* platform/efl/tables/mozilla/other/move_row-expected.txt:
* platform/efl/tables/mozilla/other/test3-expected.txt:
* platform/efl/tables/mozilla/other/test6-expected.txt:
* platform/efl/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:

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

7 years agoMediaStream API: Rename the RTCIceServer uri parameter to url.
tommyw@google.com [Wed, 19 Sep 2012 09:43:27 +0000 (09:43 +0000)]
MediaStream API: Rename the RTCIceServer uri parameter to url.
https://bugs.webkit.org/show_bug.cgi?id=97086

Reviewed by Hajime Morita.

Source/WebCore:

Either the standard has changed or I can't read.
http://dev.w3.org/2011/webrtc/editor/webrtc.html#dictionary-rtciceserver-members

Existing tests changed to cover this patch.

* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::parseConfiguration):

LayoutTests:

* fast/mediastream/RTCPeerConnection-expected.txt:
* fast/mediastream/RTCPeerConnection.html:
* fast/mediastream/constructors-expected.txt:
* fast/mediastream/constructors.html:

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

7 years ago[Qt] REGRESSION(r128910): inspector/extensions/extensions-panel.html fails
rgabor@webkit.org [Wed, 19 Sep 2012 09:39:17 +0000 (09:39 +0000)]
[Qt] REGRESSION(r128910): inspector/extensions/extensions-panel.html fails
https://bugs.webkit.org/show_bug.cgi?id=97084

Unreviewed gardeing.

Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-09-19

* platform/qt/Skipped:

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

7 years ago[Texmap] Potential crash in TextureMapperLayer because of referencing deleted mask...
kbalazs@webkit.org [Wed, 19 Sep 2012 09:10:33 +0000 (09:10 +0000)]
[Texmap] Potential crash in TextureMapperLayer because of referencing deleted mask/replica layer
https://bugs.webkit.org/show_bug.cgi?id=96919

Reviewed by Noam Rosenthal.

Delay syncing deleted layers until flushPendingLayerChanges so the UI side state
will contain all changes related to the deletion of a layer. This saves us from
referencing a deleted layer.

* WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::flushPendingLayerChanges):
(WebKit::LayerTreeCoordinator::detachLayer):
* WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
(LayerTreeCoordinator):

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

7 years agoUnreviewed, rolling out r128976.
vsevik@chromium.org [Wed, 19 Sep 2012 08:50:01 +0000 (08:50 +0000)]
Unreviewed, rolling out r128976.
http://trac.webkit.org/changeset/128976
https://bugs.webkit.org/show_bug.cgi?id=97083

Breaks compilation on QT, Apple WIn (Requested by vsevik on
#webkit).

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

Source/WebCore:

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSHTMLCanvasElementCustom.cpp:
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
* inspector/CodeGeneratorInspector.py:
* inspector/InjectedScriptWebGLModule.cpp: Renamed from Source/WebCore/inspector/InjectedScriptCanvasModule.cpp.
(WebCore):
(WebCore::InjectedScriptWebGLModule::InjectedScriptWebGLModule):
(WebCore::InjectedScriptWebGLModule::moduleForState):
(WebCore::InjectedScriptWebGLModule::source):
(WebCore::InjectedScriptWebGLModule::wrapWebGLContext):
(WebCore::InjectedScriptWebGLModule::captureFrame):
(WebCore::InjectedScriptWebGLModule::dropTraceLog):
(WebCore::InjectedScriptWebGLModule::traceLog):
(WebCore::InjectedScriptWebGLModule::replayTraceLog):
* inspector/InjectedScriptWebGLModule.h: Renamed from Source/WebCore/inspector/InjectedScriptCanvasModule.h.
(WebCore):
(InjectedScriptWebGLModule):
* inspector/InjectedScriptWebGLModuleSource.js: Renamed from Source/WebCore/inspector/InjectedScriptCanvasModuleSource.js.
(.):
* inspector/Inspector.json:
* inspector/InspectorAllInOne.cpp:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorWebGLAgent.cpp: Renamed from Source/WebCore/inspector/InspectorCanvasAgent.cpp.
(WebCore):
(WebGLAgentState):
(WebCore::InspectorWebGLAgent::InspectorWebGLAgent):
(WebCore::InspectorWebGLAgent::~InspectorWebGLAgent):
(WebCore::InspectorWebGLAgent::setFrontend):
(WebCore::InspectorWebGLAgent::clearFrontend):
(WebCore::InspectorWebGLAgent::restore):
(WebCore::InspectorWebGLAgent::enable):
(WebCore::InspectorWebGLAgent::disable):
(WebCore::InspectorWebGLAgent::dropTraceLog):
(WebCore::InspectorWebGLAgent::captureFrame):
(WebCore::InspectorWebGLAgent::getTraceLog):
(WebCore::InspectorWebGLAgent::replayTraceLog):
(WebCore::InspectorWebGLAgent::wrapWebGLRenderingContextForInstrumentation):
(WebCore::InspectorWebGLAgent::injectedScriptWebGLModuleForTraceLogId):
* inspector/InspectorWebGLAgent.h: Renamed from Source/WebCore/inspector/InspectorCanvasAgent.h.
(WebCore):
(InspectorWebGLAgent):
(WebCore::InspectorWebGLAgent::create):
(WebCore::InspectorWebGLAgent::enabled):
* inspector/InspectorWebGLInstrumentation.h: Renamed from Source/WebCore/inspector/InspectorCanvasInstrumentation.h.
(WebCore):
(WebCore::InspectorInstrumentation::wrapWebGLRenderingContextForInstrumentation):
* inspector/InstrumentingAgents.h:
(WebCore):
(WebCore::InstrumentingAgents::InstrumentingAgents):
(InstrumentingAgents):
(WebCore::InstrumentingAgents::inspectorWebGLAgent):
(WebCore::InstrumentingAgents::setInspectorWebGLAgent):
* inspector/compile-front-end.py:
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel):
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/WebGLProfileView.js: Renamed from Source/WebCore/inspector/front-end/CanvasProfileView.js.
(WebInspector.WebGLProfileView):
(WebInspector.WebGLProfileView.prototype.dispose):
(WebInspector.WebGLProfileView.prototype.get statusBarItems):
(WebInspector.WebGLProfileView.prototype.get profile):
(WebInspector.WebGLProfileView.prototype.wasShown):
(WebInspector.WebGLProfileView.prototype.willHide):
(WebInspector.WebGLProfileView.prototype._showTraceLog):
(WebInspector.WebGLProfileView.prototype._onTraceLogItemClick.didReplayTraceLog):
(WebInspector.WebGLProfileView.prototype._onTraceLogItemClick):
(WebInspector.WebGLProfileType):
(WebInspector.WebGLProfileType.prototype.get buttonTooltip):
(WebInspector.WebGLProfileType.prototype.buttonClicked.didStartCapturingFrame):
(WebInspector.WebGLProfileType.prototype.buttonClicked):
(WebInspector.WebGLProfileType.prototype.get treeItemTitle):
(WebInspector.WebGLProfileType.prototype.get description):
(WebInspector.WebGLProfileType.prototype.reset):
(WebInspector.WebGLProfileType.prototype.createTemporaryProfile):
(WebInspector.WebGLProfileType.prototype.createProfile):
(WebInspector.WebGLProfileHeader):
(WebInspector.WebGLProfileHeader.prototype.traceLogId):
(WebInspector.WebGLProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.WebGLProfileHeader.prototype.createView):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/webGLProfiler.css: Renamed from Source/WebCore/inspector/front-end/canvasProfiler.css.
(.webgl-profile-view):
(.webgl-trace-log):
(.webgl-trace-log div):
(#webgl-replay-image-container):
(#webgl-replay-image):

LayoutTests:

* inspector/profiler/webgl/webgl-profiler-get-error.html:
* inspector/profiler/webgl/webgl-profiler-test.js:
(initialize_WebGLProfilerTest.InspectorTest.enableWebGLAgent):
(initialize_WebGLProfilerTest):

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

7 years ago[Qt][Win] Fix rendering of flash content when scrolling
commit-queue@webkit.org [Wed, 19 Sep 2012 08:43:33 +0000 (08:43 +0000)]
[Qt][Win] Fix rendering of flash content when scrolling
https://bugs.webkit.org/show_bug.cgi?id=92905

Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-09-19
Reviewed by Jocelyn Turcotte.

Fix rendering offset similar to r121441.

* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::paint):
(WebCore::PluginView::setNPWindowRect):

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

7 years agoUnreviewed GTK gardening.
sergio@webkit.org [Wed, 19 Sep 2012 08:30:50 +0000 (08:30 +0000)]
Unreviewed GTK gardening.

Updated the recently added TestExpectations file for WK2 with the
actual failures from the bot.

* platform/gtk-wk2/TestExpectations:

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

7 years agoWeb Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent
commit-queue@webkit.org [Wed, 19 Sep 2012 08:08:22 +0000 (08:08 +0000)]
Web Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent
https://bugs.webkit.org/show_bug.cgi?id=96917

Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-09-19
Reviewed by Vsevolod Vlasov.

Source/WebCore:

Rename WebGLAgent* and WebGLInstrumentation* files to Canvas* as we will support both 2D and 3D/WebGL canvas instrumentation.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSHTMLCanvasElementCustom.cpp:
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
* inspector/CodeGeneratorInspector.py:
* inspector/InjectedScriptCanvasModule.cpp: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModule.cpp.
(WebCore):
(WebCore::InjectedScriptCanvasModule::InjectedScriptCanvasModule):
(WebCore::InjectedScriptCanvasModule::moduleForState):
(WebCore::InjectedScriptCanvasModule::source):
(WebCore::InjectedScriptCanvasModule::wrapWebGLContext):
(WebCore::InjectedScriptCanvasModule::captureFrame):
(WebCore::InjectedScriptCanvasModule::dropTraceLog):
(WebCore::InjectedScriptCanvasModule::traceLog):
(WebCore::InjectedScriptCanvasModule::replayTraceLog):
* inspector/InjectedScriptCanvasModule.h: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModule.h.
(WebCore):
(InjectedScriptCanvasModule):
* inspector/InjectedScriptCanvasModuleSource.js: Renamed from Source/WebCore/inspector/InjectedScriptWebGLModuleSource.js.
(.):
* inspector/Inspector.json:
* inspector/InspectorAllInOne.cpp:
* inspector/InspectorCanvasAgent.cpp: Renamed from Source/WebCore/inspector/InspectorWebGLAgent.cpp.
(WebCore):
(CanvasAgentState):
(WebCore::InspectorCanvasAgent::InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::~InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::setFrontend):
(WebCore::InspectorCanvasAgent::clearFrontend):
(WebCore::InspectorCanvasAgent::restore):
(WebCore::InspectorCanvasAgent::enable):
(WebCore::InspectorCanvasAgent::disable):
(WebCore::InspectorCanvasAgent::dropTraceLog):
(WebCore::InspectorCanvasAgent::captureFrame):
(WebCore::InspectorCanvasAgent::getTraceLog):
(WebCore::InspectorCanvasAgent::replayTraceLog):
(WebCore::InspectorCanvasAgent::wrapWebGLRenderingContextForInstrumentation):
(WebCore::InspectorCanvasAgent::injectedScriptCanvasModuleForTraceLogId):
* inspector/InspectorCanvasAgent.h: Renamed from Source/WebCore/inspector/InspectorWebGLAgent.h.
(WebCore):
(InspectorCanvasAgent):
(WebCore::InspectorCanvasAgent::create):
(WebCore::InspectorCanvasAgent::enabled):
* inspector/InspectorCanvasInstrumentation.h: Renamed from Source/WebCore/inspector/InspectorWebGLInstrumentation.h.
(WebCore):
(WebCore::InspectorInstrumentation::wrapWebGLRenderingContextForInstrumentation):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InstrumentingAgents.h:
(WebCore):
(WebCore::InstrumentingAgents::InstrumentingAgents):
(WebCore::InstrumentingAgents::inspectorCanvasAgent):
(WebCore::InstrumentingAgents::setInspectorCanvasAgent):
(InstrumentingAgents):
* inspector/compile-front-end.py:
* inspector/front-end/CanvasProfileView.js: Renamed from Source/WebCore/inspector/front-end/WebGLProfileView.js.
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype.dispose):
(WebInspector.CanvasProfileView.prototype.get statusBarItems):
(WebInspector.CanvasProfileView.prototype.get profile):
(WebInspector.CanvasProfileView.prototype.wasShown):
(WebInspector.CanvasProfileView.prototype.willHide):
(WebInspector.CanvasProfileView.prototype._showTraceLog):
(WebInspector.CanvasProfileView.prototype._onTraceLogItemClick.didReplayTraceLog):
(WebInspector.CanvasProfileView.prototype._onTraceLogItemClick):
(WebInspector.CanvasProfileType):
(WebInspector.CanvasProfileType.prototype.get buttonTooltip):
(WebInspector.CanvasProfileType.prototype.buttonClicked.didStartCapturingFrame):
(WebInspector.CanvasProfileType.prototype.buttonClicked):
(WebInspector.CanvasProfileType.prototype.get treeItemTitle):
(WebInspector.CanvasProfileType.prototype.get description):
(WebInspector.CanvasProfileType.prototype.reset):
(WebInspector.CanvasProfileType.prototype.createTemporaryProfile):
(WebInspector.CanvasProfileType.prototype.createProfile):
(WebInspector.CanvasProfileHeader):
(WebInspector.CanvasProfileHeader.prototype.traceLogId):
(WebInspector.CanvasProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.CanvasProfileHeader.prototype.createView):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel):
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/canvasProfiler.css: Renamed from Source/WebCore/inspector/front-end/webGLProfiler.css.
(.canvas-profile-view):
(.canvas-trace-log):
(.canvas-trace-log div):
(#canvas-replay-image-container):
(#canvas-replay-image):

LayoutTests:

* inspector/profiler/webgl/webgl-profiler-get-error.html:
* inspector/profiler/webgl/webgl-profiler-test.js:
(initialize_CanvasWebGLProfilerTest.InspectorTest.enableCanvasAgent):
(initialize_CanvasWebGLProfilerTest):

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

7 years ago[EFL][WK2] waitUntilTitleChangedTo() and waitUntilLoadFinished() needs timeout.
commit-queue@webkit.org [Wed, 19 Sep 2012 08:04:40 +0000 (08:04 +0000)]
[EFL][WK2] waitUntilTitleChangedTo() and waitUntilLoadFinished() needs timeout.
https://bugs.webkit.org/show_bug.cgi?id=96910

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-09-19
Reviewed by Kenneth Rohde Christiansen.

Currently, the waitUntilTitleChangedTo() and waitUntilLoadFinished()
functions doesn't handle timeout by itself.
And if there are some failed cases that loading is not finished or
title is not changed to the expected string, test case just stopped
with timeout and there is no more information about this such as line
number.

To handle timeout status more properly, timeout parameter is added to
these functions.

* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
(EWK2UnitTest::LoadFinishedData::LoadFinishedData):
(LoadFinishedData):
(EWK2UnitTest::LoadFinishedData::~LoadFinishedData):
(EWK2UnitTest):
(EWK2UnitTest::onLoadFinished):
(EWK2UnitTest::timeOutWhileWaitingUntilLoadFinished):
(EWK2UnitTest::EWK2UnitTestBase::waitUntilLoadFinished):
(EWK2UnitTest::TitleChangedData::TitleChangedData):
(TitleChangedData):
(EWK2UnitTest::TitleChangedData::~TitleChangedData):
(EWK2UnitTest::onTitleChanged):
(EWK2UnitTest::timeOutWhileWaitingUntilTitleChangedTo):
(EWK2UnitTest::EWK2UnitTestBase::waitUntilTitleChangedTo):
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.h:
(EWK2UnitTestBase):

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

7 years ago[EFL] tables/mozilla tests need rebaseline (Part 1)
commit-queue@webkit.org [Wed, 19 Sep 2012 08:00:33 +0000 (08:00 +0000)]
[EFL] tables/mozilla tests need rebaseline (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=97079

Unreviewed EFL gardening.

Rebaseline a first part of the tables/mozilla tests
and unskip them.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/Skipped:
* platform/efl/tables/mozilla/collapsing_borders/bug127040-expected.png:
* platform/efl/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/efl/tables/mozilla/collapsing_borders/bug41262-4-expected.png:
* platform/efl/tables/mozilla/collapsing_borders/bug41262-4-expected.txt:
* platform/efl/tables/mozilla/core/bloomberg-expected.png:
* platform/efl/tables/mozilla/core/bloomberg-expected.txt: Added.
* platform/efl/tables/mozilla/core/borders-expected.png:
* platform/efl/tables/mozilla/core/box_sizing-expected.png:
* platform/efl/tables/mozilla/core/captions-expected.png:
* platform/efl/tables/mozilla/core/captions-expected.txt:
* platform/efl/tables/mozilla/core/cell_heights-expected.png:
* platform/efl/tables/mozilla/core/cell_heights-expected.txt:
* platform/efl/tables/mozilla/core/col_span-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_auto-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_autoFix-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_autoFix-expected.txt: Added.
* platform/efl/tables/mozilla/core/col_widths_auto_autoFixPer-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_autoPer-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_fix-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_fixPer-expected.png:
* platform/efl/tables/mozilla/core/col_widths_auto_per-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_auto-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_autoFix-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_autoPer-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_fix-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_fixPer-expected.png:
* platform/efl/tables/mozilla/core/col_widths_fix_per-expected.png:
* platform/efl/tables/mozilla/core/margins-expected.png:
* platform/efl/tables/mozilla/core/margins-expected.txt:
* platform/efl/tables/mozilla/core/misc-expected.png:
* platform/efl/tables/mozilla/core/misc-expected.txt: Added.
* platform/efl/tables/mozilla/core/nested1-expected.png:
* platform/efl/tables/mozilla/core/one_row-expected.png:
* platform/efl/tables/mozilla/core/row_span-expected.png:
* platform/efl/tables/mozilla/core/row_span-expected.txt: Added.
* platform/efl/tables/mozilla/core/table_frame-expected.png:
* platform/efl/tables/mozilla/core/table_heights-expected.png:
* platform/efl/tables/mozilla/core/table_rules-expected.png:
* platform/efl/tables/mozilla/core/table_rules-expected.txt:
* platform/efl/tables/mozilla/core/table_widths-expected.png:
* platform/efl/tables/mozilla/dom/appendCol2-expected.png:
* platform/efl/tables/mozilla/dom/appendRowsExpand1-expected.png:
* platform/efl/tables/mozilla/dom/appendTbodyExpand1-expected.png:
* platform/efl/tables/mozilla/dom/deleteCellsRebuild1-expected.png:
* platform/efl/tables/mozilla/dom/deleteCellsShrink1-expected.png:
* platform/efl/tables/mozilla/dom/deleteCellsShrink2-expected.png:
* platform/efl/tables/mozilla/dom/deleteCol1-expected.png:
* platform/efl/tables/mozilla/dom/deleteCol2-expected.png:
* platform/efl/tables/mozilla/dom/deleteCol3-expected.png:
* platform/efl/tables/mozilla/dom/deleteColGroup1-expected.png:
* platform/efl/tables/mozilla/dom/deleteColGroup2-expected.png:
* platform/efl/tables/mozilla/dom/deleteRowsRebuild1-expected.png:
* platform/efl/tables/mozilla/dom/deleteRowsShrink1-expected.png:
* platform/efl/tables/mozilla/dom/deleteTbodyExpand1-expected.png:
* platform/efl/tables/mozilla/dom/deleteTbodyRebuild1-expected.png:
* platform/efl/tables/mozilla/dom/insertCellsExpand1-expected.png:
* platform/efl/tables/mozilla/dom/insertCellsExpand2-expected.png:
* platform/efl/tables/mozilla/dom/insertCellsRebuild1-expected.png:
* platform/efl/tables/mozilla/dom/insertCellsRebuild2-expected.png:
* platform/efl/tables/mozilla/dom/insertColGroups1-expected.png:
* platform/efl/tables/mozilla/dom/insertColGroups2-expected.png:
* platform/efl/tables/mozilla/dom/insertCols1-expected.png:
* platform/efl/tables/mozilla/dom/insertCols2-expected.png:
* platform/efl/tables/mozilla/dom/insertCols3-expected.png:
* platform/efl/tables/mozilla/dom/insertCols4-expected.png:
* platform/efl/tables/mozilla/dom/insertCols5-expected.png:
* platform/efl/tables/mozilla/dom/insertRowsExpand1-expected.png:
* platform/efl/tables/mozilla/dom/insertRowsRebuild1-expected.png:
* platform/efl/tables/mozilla/dom/tableDom-expected.png:
* platform/efl/tables/mozilla/dom/tableDom-expected.txt:

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

7 years ago[EFL] Skip inspector/extensions/extensions-panel.html
commit-queue@webkit.org [Wed, 19 Sep 2012 07:26:49 +0000 (07:26 +0000)]
[EFL] Skip inspector/extensions/extensions-panel.html
https://bugs.webkit.org/show_bug.cgi?id=97078

Unreviewed EFL gardening.

Skip inspector/extensions/extensions-panel.html for
EFL port since it started failing after r128910.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl-wk1/TestExpectations:

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

7 years ago[Chromium] Fix crash in WebFrameImpl::loadHistoryItem
tkent@chromium.org [Wed, 19 Sep 2012 07:20:40 +0000 (07:20 +0000)]
[Chromium] Fix crash in WebFrameImpl::loadHistoryItem
https://bugs.webkit.org/show_bug.cgi?id=96352

Reviewed by Adam Barth.

We have some crash reports with the following stack:
  - HistoryItem::shouldDoSameDocumentNavigationTo.
  - WebFrameImpl::loadHistoryItem
  ...

We don't have reproducible steps, and not sure what's the root
cause. Anyway we should check nullness of currentItem because
HistoryController::m_currentItem can be 0.

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::loadHistoryItem):
Check nullness of currentItem.

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

7 years ago[EFL] Skip several JS tests that crash after r128802
commit-queue@webkit.org [Wed, 19 Sep 2012 07:00:15 +0000 (07:00 +0000)]
[EFL] Skip several JS tests that crash after r128802
https://bugs.webkit.org/show_bug.cgi?id=97074

Unreviewed EFL gardening.

Move several JS test cases to TestExpectations because
they are consistently crashing on our debug bots
after r128802.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-18

* platform/efl/TestExpectations:

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

7 years ago[EFL] Generate baseline for media/video-controls-visible-audio-only.html
commit-queue@webkit.org [Wed, 19 Sep 2012 06:56:22 +0000 (06:56 +0000)]
[EFL] Generate baseline for media/video-controls-visible-audio-only.html
https://bugs.webkit.org/show_bug.cgi?id=97073

Unreviewed EFL gardening.

Generate missing baseline for media/video-controls-visible-audio-only.html
on EFL port.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-18

* platform/efl/media/video-controls-visible-audio-only-expected.txt: Added.

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

7 years ago[EFL] Move several test cases to efl-wk1 TestExpectations
commit-queue@webkit.org [Wed, 19 Sep 2012 06:35:53 +0000 (06:35 +0000)]
[EFL] Move several test cases to efl-wk1 TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=97072

Unreviewed EFL gardening.

Move several test cases to efl-wk1 TestExpectations
since they don't fail on the WebKit2 bots.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-18

* platform/efl-wk1/TestExpectations:
* platform/efl/TestExpectations:

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

7 years ago[Chromium] SkiaGetGlyphWidthAndExtents() should invert y-axis
bashi@chromium.org [Wed, 19 Sep 2012 06:19:31 +0000 (06:19 +0000)]
[Chromium] SkiaGetGlyphWidthAndExtents() should invert y-axis
https://bugs.webkit.org/show_bug.cgi?id=97067

Reviewed by Yuta Kitamura.

Invert skBounds.fTop and skBounds.height(). Don't call hb_font_set_ppem().

No new tests. Arabic shadda (U+0651) should be placed more higher when Arabic lam (U+0644) follows it.
Tests under svg/W3C-I18N contain such sequences so these tests cover this change.

* platform/graphics/harfbuzz/ng/HarfBuzzNGFaceSkia.cpp:
(WebCore::SkiaGetGlyphWidthAndExtents):
(WebCore::HarfBuzzNGFace::createFont):

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

7 years ago[EFL][WK2] Add javascript popup API.
commit-queue@webkit.org [Wed, 19 Sep 2012 05:57:40 +0000 (05:57 +0000)]
[EFL][WK2] Add javascript popup API.
https://bugs.webkit.org/show_bug.cgi?id=95672

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-09-18
Reviewed by Gyuyoung Kim.

Add smart class member function for javascript alert(), confirm() and prompt().

* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_run_javascript_alert):
(ewk_view_run_javascript_confirm):
(ewk_view_run_javascript_prompt):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/ewk_view_private.h:
* UIProcess/API/efl/ewk_view_ui_client.cpp:
(runJavaScriptAlert):
(runJavaScriptConfirm):
(runJavaScriptPrompt):
(ewk_view_ui_client_attach):
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
Added unit test for javascript popup smart class member function.
(checkAlert):
(TEST_F):
(checkConfirm):
(checkPrompt):

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

7 years ago[WK2][WTR] CodeGeneratorTestRunner could keep original copyright.
commit-queue@webkit.org [Wed, 19 Sep 2012 05:41:20 +0000 (05:41 +0000)]
[WK2][WTR] CodeGeneratorTestRunner could keep original copyright.
https://bugs.webkit.org/show_bug.cgi?id=96181

Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-18
Reviewed by Daniel Bates.

This patch enabled derived files, in DerivedSources/InjectedBundle, to keep original copyright.

* WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
(new):
(_parseLicenseBlock):
(_parseLicenseBlockFromFile):
(_defaultLicenseBlock):
(_licenseBlock):
(_generateHeaderFile):
(_generateImplementationFile):

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

7 years ago[Chromium] Don't treat tab as spaces for word-end in HarfBuzzShaper
bashi@chromium.org [Wed, 19 Sep 2012 05:26:16 +0000 (05:26 +0000)]
[Chromium] Don't treat tab as spaces for word-end in HarfBuzzShaper
https://bugs.webkit.org/show_bug.cgi?id=97068

Reviewed by Yuta Kitamura.

No new tests. fast/text/wide-zero-width-space.html should cover this change.

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::normalizeCharacters): Don't treat tab as space.

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

7 years agoCheck settings before registering AVFoundation media engine.
eric.carlson@apple.com [Wed, 19 Sep 2012 04:21:50 +0000 (04:21 +0000)]
Check settings before registering AVFoundation media engine.
https://bugs.webkit.org/show_bug.cgi?id=97048
<rdar://problem/12313594>

Reviewed by Dan Bernstein.

Fix the bug introduced in r122676.

* platform/graphics/MediaPlayer.cpp:
(WebCore::installedMediaEngines): Uncomment the call to check AVFoundation settings.

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

7 years agoChromium: Scrollbar with tickmarks doesn't respond to clicks
commit-queue@webkit.org [Wed, 19 Sep 2012 03:39:04 +0000 (03:39 +0000)]
Chromium: Scrollbar with tickmarks doesn't respond to clicks
https://bugs.webkit.org/show_bug.cgi?id=96049

Patch by Sailesh Agrawal <sail@chromium.org> on 2012-09-18
Reviewed by Beth Dakin.

.:

Update exported symbols.

* Source/autotools/symbols.filter:

Source/Platform:

Added isAlphaLocked and setIsAlphaLocked.

* chromium/public/WebScrollbar.h:
(WebScrollbar):

Source/WebCore:

Currently when a scrollbar has tickmarks its forced to be visible by setting its alpha to 1.0. The alpha value is reset to its old value at the end of the drawing routine. This approach doesn't work with the hit testing code which relies on the scrollbar's alpha value

Unfortunately there doesn't seem to be anyway to force a scrollbar to be visible. The closest API is -[NSScrollerImpPair lockOverlayScrollerState:]. Unfortunately this locks both the horizontal and vertical scrollbar. It also doesn't expand the knob width.

My fix simply adds a new alphaLocked attribute to the scrollbar. If this attribute is set to true then hit testing will return true.

Test: fast/scrolling/scrollbar-tickmarks-hittest.html

* WebCore.exp.in:
* WebCore.order:
* page/Settings.cpp:
(WebCore):
(WebCore::Settings::setUsesOverlayScrollbars): Sets the usesOverlayScrollbars flag.
(WebCore::Settings::usesOverlayScrollbars): Gets the usesOverlayScrollbars flag.
* page/Settings.h:
(Settings):
* platform/Scrollbar.cpp:
(WebCore::Scrollbar::Scrollbar):
* platform/Scrollbar.h:
(WebCore::Scrollbar::isAlphaLocked):
(WebCore::Scrollbar::setIsAlphaLocked):
(Scrollbar):
* platform/ScrollbarThemeClient.h:
(ScrollbarThemeClient):
* platform/chromium/ScrollbarThemeChromiumMac.mm:
(WebCore::ScrollbarThemeChromiumMac::paint): Updated to set and unset the alphaLocked attribute.
* platform/chromium/support/WebScrollbarImpl.cpp:
(WebKit::WebScrollbarImpl::isAlphaLocked):
(WebKit):
(WebKit::WebScrollbarImpl::setIsAlphaLocked):
* platform/chromium/support/WebScrollbarImpl.h:
(WebScrollbarImpl):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::CCScrollbarLayerImpl):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::isAlphaLocked):
(WebCore):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::setIsAlphaLocked):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
(CCScrollbar):
(CCScrollbarLayerImpl):
* platform/mac/NSScrollerImpDetails.mm:
(WebCore::recommendedScrollerStyle): Check the usesOverlayScrollbars setting to see if overlay scrollbars should be forced on.
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::shouldScrollbarParticipateInHitTesting): Updated to check the alphaLocked attribute.
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::reset): Resets the usesOverlayScrollbars setting.
(WebCore::InternalSettings::setUsesOverlayScrollbars): Sets the usesOverlayScrollbars setting.
(WebCore):
* testing/InternalSettings.h:
(InternalSettings):
* testing/InternalSettings.idl: Add a new setUsesOverlayScrollbars function.

Source/WebKit/chromium:

Pipe isAlphaLocked and setIsAlphaLocked.

* src/WebPluginScrollbarImpl.cpp:
(WebKit::WebPluginScrollbarImpl::isAlphaLocked):
(WebKit):
(WebKit::WebPluginScrollbarImpl::setIsAlphaLocked):
* src/WebPluginScrollbarImpl.h:
(WebPluginScrollbarImpl):
* src/WebScrollbarThemeClientImpl.cpp:
(WebKit::WebScrollbarThemeClientImpl::isAlphaLocked):
(WebKit):
(WebKit::WebScrollbarThemeClientImpl::setIsAlphaLocked):
* src/WebScrollbarThemeClientImpl.h:
(WebScrollbarThemeClientImpl):
* tests/ScrollbarLayerChromiumTest.cpp:

Source/WebKit2:

Update exported symbols.

* win/WebKit2.def:
* win/WebKit2CFLite.def:

LayoutTests:

* fast/scrolling/scrollbar-tickmarks-hittest-expected.txt: Added.
* fast/scrolling/scrollbar-tickmarks-hittest.html: Added.

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

7 years ago[EFL][WK2] Add log macros for EINA_LOG_DOM_XXX series
commit-queue@webkit.org [Wed, 19 Sep 2012 03:33:36 +0000 (03:33 +0000)]
[EFL][WK2] Add log macros for EINA_LOG_DOM_XXX series
https://bugs.webkit.org/show_bug.cgi?id=97061

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-09-18
Reviewed by Gyuyoung Kim.

EFL Webkit2 is using the EINA_LOG_DOM_XXX series in several places to log a message on the specified domain and format.
This patch adds log macros to simplify these logging codes.

* UIProcess/API/efl/ewk_main.cpp:
(ewk_init):
* UIProcess/API/efl/ewk_private.h:
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_webprocess_crashed):

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

7 years agoAdd partial load tests for PNG images
noel.gordon@gmail.com [Wed, 19 Sep 2012 03:08:37 +0000 (03:08 +0000)]
Add partial load tests for PNG images
https://bugs.webkit.org/show_bug.cgi?id=95707

Reviewed by Adam Barth.

Partial load test: receive a partial number of image bytes and stall forever. The
partial image should be decoded and drawn and the blue <img> background should be
visible.

Progressive load test: receive a partial number of image bytes, stall for 1 second
and then continue to receive all the image bytes. The entire test image should be
decoded and drawn and the blue <img> background should be visible.

* fast/images/resources/dice.png: Added: test image has alpha transparency.
* http/tests/images/png-partial-load-expected.png: Added.
* http/tests/images/png-partial-load-expected.txt: Added.
* http/tests/images/png-partial-load.html: Added.
* http/tests/images/png-progressive-load-expected.png: Added.
* http/tests/images/png-progressive-load-expected.txt: Added.
* http/tests/images/png-progressive-load.html: Added.
* platform/chromium/http/tests/images/png-partial-load-expected.png: Added.
* platform/mac/http/tests/images/png-partial-load-expected.png: Added.

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

7 years ago[WebKit2] [GTK] Add API for controlling the user agent
mrobinson@webkit.org [Wed, 19 Sep 2012 02:37:21 +0000 (02:37 +0000)]
[WebKit2] [GTK] Add API for controlling the user agent
https://bugs.webkit.org/show_bug.cgi?id=95697

Reviewed by Carlos Garcia Campos.

Add API for changing the user agent in WebKit2. This adds two styles of
setting the user agent: complete override and a method that just inserts
the application name and version, but preserves the carefully crafted user agent
in the library.

* UIProcess/API/gtk/WebKitSettings.cpp:
(_WebKitSettingsPrivate): Added a new field to store the user agent.
This is stored in the private data structure, because we can only
set the user agent when attaching the settings to the page.
(webKitSettingsSetProperty): Add hooks for the new user agent property.
(webKitSettingsGetProperty): Ditto.
(webkit_settings_class_init): Ditto.
(webkitSettingsAttachSettingsToPage): Ditto.
(webkit_settings_get_user_agent): Added.
(webkit_settings_set_user_agent): Added.
(webkit_settings_set_user_agent_with_application_name): Added.
* UIProcess/API/gtk/WebKitSettings.h: Added new methods.
* UIProcess/API/gtk/WebKitWebView.cpp: Update the glue for the settings
when attaching and detaching from WebViews.
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Added new methods to
the documentation.
* UIProcess/API/gtk/tests/TestWebKitSettings.cpp: Test the new user agent
property.
(testWebKitSettingsUserAgent): Ditto.
(beforeAll): Ditto.
* UIProcess/gtk/WebPageProxyGtk.cpp:
(WebKit::WebPageProxy::standardUserAgent): Now use the shared WebCore
code when setting the user agent.

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

7 years ago[V8] Notification.requestPermission(function() {alert();}) crashes
haraken@chromium.org [Wed, 19 Sep 2012 01:36:24 +0000 (01:36 +0000)]
[V8] Notification.requestPermission(function() {alert();}) crashes
https://bugs.webkit.org/show_bug.cgi?id=94462

Reviewed by Adam Barth.

Source/WebCore:

Since Notification.requestPermission() is a static method,
we need to use getExecutionContext() instead of retrieving a context
from a DOM object.

Test: http/tests/notifications/notification-request-permission.html

* bindings/v8/custom/V8NotificationCustom.cpp:
(WebCore::V8Notification::requestPermissionCallback):

LayoutTests:

The added test checks if Notification.requestPermission() does not crash.

* http/tests/notifications/notification-request-permission-expected.txt: Added.
* http/tests/notifications/notification-request-permission.html: Added.

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

7 years ago[EFL][WK2] Implement PageClientImpl::isViewFocused.
ryuan.choi@samsung.com [Wed, 19 Sep 2012 01:33:05 +0000 (01:33 +0000)]
[EFL][WK2] Implement PageClientImpl::isViewFocused.
https://bugs.webkit.org/show_bug.cgi?id=97015

Reviewed by Gyuyoung Kim.

WebKit2/Efl always returns true for PageClientImpl::isViewFocused.
So window.onblur events will not be generated when webview lost focus.

This patch implements isViewFocused to return the current focus of webview.

* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::isViewFocused):

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

7 years agoDFG should not call out to C++ every time that it tries to put to an object that...
fpizlo@apple.com [Wed, 19 Sep 2012 01:20:52 +0000 (01:20 +0000)]
DFG should not call out to C++ every time that it tries to put to an object that doesn't yet have array storage
https://bugs.webkit.org/show_bug.cgi?id=96983

Reviewed by Oliver Hunt.

Introduce more polymorphism into the DFG's array mode support. Use that to
introduce the notion of effectul array modes, where the check for the mode
will perform actions necessary to ensure that we have the mode we want, if
the object is not already in that mode. Also added profiling support for
checking if an object is of a type that would not allow us to create array
storage (like a typed array or a string for example).

This is a ~2x speed-up on loops that transform an object that did not have
indexed storage into one that does.

* JSCTypedArrayStubs.h:
(JSC):
* bytecode/ArrayProfile.cpp:
(JSC::ArrayProfile::computeUpdatedPrediction):
* bytecode/ArrayProfile.h:
(JSC::ArrayProfile::ArrayProfile):
(JSC::ArrayProfile::mayInterceptIndexedAccesses):
(ArrayProfile):
* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::fromObserved):
(DFG):
(JSC::DFG::modeAlreadyChecked):
(JSC::DFG::modeToString):
* dfg/DFGArrayMode.h:
(DFG):
(JSC::DFG::modeUsesButterfly):
(JSC::DFG::isSlowPutAccess):
(JSC::DFG::benefitsFromStructureCheck):
(JSC::DFG::isEffectful):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::getArrayMode):
(JSC::DFG::ByteCodeParser::getArrayModeAndEmitChecks):
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::getPropertyStorageLoadElimination):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::checkArray):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::byValIsPure):
* dfg/DFGNode.h:
(JSC::DFG::Node::hasArrayMode):
* dfg/DFGNodeType.h:
(DFG):
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::checkArray):
(JSC::DFG::SpeculativeJIT::arrayify):
(DFG):
* dfg/DFGSpeculativeJIT.h:
(SpeculativeJIT):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* runtime/Arguments.h:
(Arguments):
* runtime/JSNotAnObject.h:
(JSNotAnObject):
* runtime/JSObject.h:
(JSObject):
(JSC::JSObject::ensureArrayStorage):
* runtime/JSString.h:
(JSC::JSString::createStructure):

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

7 years ago[Refactoring] ContentDistributor::distributeSelectionsTo should not change ContentDis...
shinyak@chromium.org [Wed, 19 Sep 2012 01:04:59 +0000 (01:04 +0000)]
[Refactoring] ContentDistributor::distributeSelectionsTo should not change ContentDistribution pool.
https://bugs.webkit.org/show_bug.cgi?id=96993

Reviewed by Dimitri Glazkov.

Since we would like to reuse ContentDistribution pool, it should not be updated in
ContentDistributor::distributeSelectionsTo. Instead, we should have Vector<bool> to indicate an element is
distributed or not.

No new tests, simple refactoring.

* html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistributor::distribute):
(WebCore::ContentDistributor::distributeSelectionsTo):
* html/shadow/ContentDistributor.h:
(ContentDistributor):

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

7 years agoAdjust expectation for fast/workers/storage/interrupt-database.html
dpranke@chromium.org [Wed, 19 Sep 2012 01:03:45 +0000 (01:03 +0000)]
Adjust expectation for fast/workers/storage/interrupt-database.html
https://bugs.webkit.org/show_bug.cgi?id=84696

Unreviewed, expectations change.

It looks like this test is just kinda slow and probably won't timeout if we mark it SLOW.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] word-spacing-characters{,-complex} no longer fail on Mac.
dpranke@chromium.org [Wed, 19 Sep 2012 00:44:46 +0000 (00:44 +0000)]
[chromium] word-spacing-characters{,-complex} no longer fail on Mac.
https://bugs.webkit.org/show_bug.cgi?id=94008
https://bugs.webkit.org/show_bug.cgi?id=94003

Unreviewed, expectations change.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] gradient-with-scaled-ancestor passes on mac lion gpu
dpranke@chromium.org [Wed, 19 Sep 2012 00:41:20 +0000 (00:41 +0000)]
[chromium] gradient-with-scaled-ancestor passes on mac lion gpu
http://bugs.webkit.org/show_bug.cgi?id=96441

Unreviewed, expectations change.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] Adjust expectation for fast/css/sticky/sticky-left-percentage.html
dpranke@chromium.org [Wed, 19 Sep 2012 00:38:06 +0000 (00:38 +0000)]
[chromium] Adjust expectation for fast/css/sticky/sticky-left-percentage.html
http://webkit.org/b/95136

Unreviewed, expectations change.

The test is only failing on win and linux now.

* platform/chromium/TestExpectations:

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