Timeline
May 31, 2012:
- 11:37 PM Changeset in webkit [119196] by
-
- 3 edits4 adds in trunk
[V8] Expando properties on attribute nodes disappear
https://bugs.webkit.org/show_bug.cgi?id=87925
Source/WebCore:
Reviewed by Adam Barth.
Test: fast/dom/gc-attribute-node.html
- bindings/v8/V8GCController.cpp:
(WebCore::calculateGroupId): Group attributes like other nodes.
LayoutTests:
Checks in a failing result for JSC; see
<https://bugs.webkit.org/show_bug.cgi?id=88045>.
Reviewed by Adam Barth.
- fast/dom/gc-attribute-node-expected.txt: Added.
- fast/dom/gc-attribute-node.html: Added.
- platform/chromium/fast/dom/gc-attribute-node-expected.txt: Added.
- platform/mac/fast/dom/gc-attribute-node-expected.txt: Added.
- 11:33 PM Changeset in webkit [119195] by
-
- 7 edits9 adds in trunk
[EFL] <input type="number"> is not a spinbutton
https://bugs.webkit.org/show_bug.cgi?id=86846
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-05-31
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Implemented adjustInnerSpinButtonStyle and
paintInnerSpinButton in RenderThemeEfl.
- platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::applyEdjeStateFromForm):
(WebCore::RenderThemeEfl::edjeGroupFromFormType):
(WebCore::RenderThemeEfl::adjustInnerSpinButtonStyle):
(WebCore):
(WebCore::RenderThemeEfl::paintInnerSpinButton):
- platform/efl/RenderThemeEfl.h:
(RenderThemeEfl):
Source/WebKit/efl:
Implemented spinner widget.
- DefaultTheme/default.edc:
- DefaultTheme/widget/spinner/sp_bg.png: Added.
- DefaultTheme/widget/spinner/sp_down_default.png: Added.
- DefaultTheme/widget/spinner/sp_down_hover.png: Added.
- DefaultTheme/widget/spinner/sp_down_pressed.png: Added.
- DefaultTheme/widget/spinner/sp_up_default.png: Added.
- DefaultTheme/widget/spinner/sp_up_hover.png: Added.
- DefaultTheme/widget/spinner/sp_up_pressed.png: Added.
- DefaultTheme/widget/spinner/spinner.edc: Added.
LayoutTests:
Unskip spinbutton layout tests.
- platform/efl/test_expectations.txt:
- 10:05 PM Changeset in webkit [119194] by
-
- 2 edits in trunk/LayoutTests
Update Chromium test expectation of media/video-poster-blocked-by-willsendrequest.html to PASS TEXT
on all platforms as supposed to just Mac and Linux since the result of jquery/traversing.html is
bleeding into this test on Windows as well.
- platform/chromium/test_expectations.txt:
- 9:24 PM Changeset in webkit [119193] by
-
- 5 edits in trunk/LayoutTests
Unreviewed. Fix expectations for for fast/multicol/span/clone-flexbox.html,
the result I checked in was off by 1px.
- fast/multicol/span/clone-flexbox-expected.txt:
- platform/efl/fast/multicol/span/clone-flexbox-expected.txt:
- platform/gtk/fast/multicol/span/clone-flexbox-expected.txt:
- platform/qt/fast/multicol/span/clone-flexbox-expected.txt:
- 9:00 PM Changeset in webkit [119192] by
-
- 35 edits in trunk
REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
https://bugs.webkit.org/show_bug.cgi?id=86859
Source/WebCore:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
The test tries to reach an invalid SpellChecker object. Such an access should be guarded
beforehand.
Asynchronous spellchecking can return results after originated
frame is gone, which triggered an invalid access to the dead spellchecker
object. This chagne prevents it by marking request objects from
the spellchecker as invalid:
- Originally TextCheckerClient API was passed a SpellCheker object. This change abstracted it behind TextCheckingRequest interface, didSucceed() and didCancel() method specifically.
- TextCheckingRequest was turned from a plain old object into a refcounted abstract class, which is now subclassed by SpellCheckRequest.
- SpellChecker now marks pending SpellCheckRequest objects as invalid on its destructor.
Test: editing/spelling/spellcheck-async-remove-frame.html
- WebCore.exp.in:
- editing/SpellChecker.cpp:
(WebCore::SpellCheckRequest::SpellCheckRequest):
(WebCore::SpellCheckRequest::create):
(WebCore::SpellCheckRequest::didSucceed):
(WebCore):
(WebCore::SpellCheckRequest::didCancel):
(WebCore::SpellCheckRequest::wasRequestedBy):
(WebCore::SpellCheckRequest::requesterDestroyed):
(WebCore::SpellChecker::~SpellChecker):
(WebCore::SpellChecker::requestCheckingFor):
(WebCore::SpellChecker::invokeRequest):
(WebCore::SpellChecker::didCheckSucceed):
(WebCore::SpellChecker::didCheckCancel):
- editing/SpellChecker.h:
(WebCore):
(SpellCheckRequest):
(WebCore::SpellCheckRequest::isStarted):
(SpellChecker):
- loader/EmptyClients.h:
(WebCore::EmptyTextCheckerClient::requestCheckingOfString):
- platform/text/TextCheckerClient.h:
(TextCheckerClient):
- platform/text/TextChecking.h:
(GrammarDetail):
(TextCheckingResult):
(TextCheckingRequest):
(WebCore::TextCheckingRequest::~TextCheckingRequest):
Source/WebKit/blackberry:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore::EditorClientBlackBerry::requestCheckingOfString):
- WebCoreSupport/EditorClientBlackBerry.h:
(EditorClientBlackBerry):
Source/WebKit/chromium:
Removed a port specific fix which was introduced at r117572.
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::frameWillDetachPage):
(WebKit::EditorClientImpl::requestCheckingOfString):
- src/EditorClientImpl.h:
(WebCore):
(EditorClientImpl):
- src/WebTextCheckingCompletionImpl.cpp:
(WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
(WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
- src/WebTextCheckingCompletionImpl.h:
(WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
(WebTextCheckingCompletionImpl):
Source/WebKit/efl:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/EditorClientEfl.h:
(WebCore::EditorClientEfl::requestCheckingOfString):
Source/WebKit/gtk:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/TextCheckerClientGtk.h:
(WebKit::TextCheckerClientGtk::requestCheckingOfString):
Source/WebKit/mac:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/WebEditorClient.h:
- WebCoreSupport/WebEditorClient.mm:
(-[WebEditorSpellCheckResponder initWithClient:sequence:results:]):
(-[WebEditorSpellCheckResponder perform]):
(WebEditorClient::didCheckSucceeded):
(WebEditorClient::requestCheckingOfString):
Source/WebKit/qt:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/TextCheckerClientQt.h:
(WebCore::TextCheckerClientQt::requestCheckingOfString):
Source/WebKit/win:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/WebEditorClient.h:
(WebEditorClient::requestCheckingOfString):
Source/WebKit/wince:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebCoreSupport/EditorClientWinCE.h:
(WebKit::EditorClientWinCE::requestCheckingOfString):
Source/WebKit/wx:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::requestCheckingOfString):
Source/WebKit2:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::requestCheckingOfString):
- WebProcess/WebCoreSupport/WebEditorClient.h:
LayoutTests:
Patch by Hajime Morrita <morrita@chromium.org> on 2012-05-31
Reviewed by Ryosuke Niwa.
- platform/mac/Skipped: Unskipped the test.
- 8:35 PM WikiStart edited by
- Add a link to ChromiumWebKitAPI (diff)
- 8:32 PM Changeset in webkit [119191] by
-
- 57 edits in trunk
initial flex value should be 1 1 auto
https://bugs.webkit.org/show_bug.cgi?id=86526
Source/WebCore:
Reviewed by Ojan Vafai.
Also, if -webkit-flex is used to set the positive flex to 0 and
the negative flex is omitted, the negative flex is set to 0.
New test cases in: flex-property-parsing.html
- css/CSSParser.cpp:
(WebCore::CSSParser::parseFlex):
- css/StyleBuilder.cpp:
(WebCore::ApplyPropertyFlex::applyValue):
- rendering/style/RenderStyle.h:
LayoutTests:
In most tests, I added a CSS rule to default -webkit-flex: none.
In a few tests, -webkit-flex didn't include the negative flex value
and it was becoming 1, causing negative flexing. I fixed those by
explicitly stating the negative flex as 0.
Reviewed by Ojan Vafai.
- css3/flexbox/align-absolute-child.html:
- css3/flexbox/auto-margins.html:
- css3/flexbox/flex-algorithm-with-margins.html:
- css3/flexbox/flex-algorithm.html:
- css3/flexbox/flex-align-end.html:
- css3/flexbox/flex-flow-auto-margins.html:
- css3/flexbox/flex-flow-orientations.html:
- css3/flexbox/flex-flow-overflow.html:
- css3/flexbox/flex-pack.html:
- css3/flexbox/flex-property-parsing-expected.txt:
- css3/flexbox/flex-property-parsing.html:
- css3/flexbox/flexbox-overflow-auto-expected.html:
- css3/flexbox/flexbox-overflow-auto.html:
- css3/flexbox/multiline-column-auto.html:
- css3/flexbox/multiline-pack.html:
- css3/flexbox/multiline-shrink-to-fit.html:
- css3/flexbox/multiline.html:
- css3/flexbox/nested-stretch.html:
- css3/flexbox/orthogonal-flex-directions.html:
- css3/flexbox/position-absolute-child.html:
- css3/flexbox/preferred-widths-orthogonal.html:
- css3/flexbox/true-centering.html:
- fast/css/getComputedStyle/computed-style-expected.txt:
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-linux-x86/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-mac-leopard/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-mac-leopard/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-win-vista/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
- platform/gtk/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
- platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/mac/svg/css/getComputedStyle-basic-expected.txt:
- platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/qt/svg/css/getComputedStyle-basic-expected.txt:
- platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- svg/css/getComputedStyle-basic-expected.txt:
- 8:29 PM Changeset in webkit [119190] by
-
- 1 edit4 adds in trunk/LayoutTests
[Win] 4 fast/frames tests failing
https://bugs.webkit.org/show_bug.cgi?id=88034
Add Windows-specific expected (failing?) results to get the bots green.
- platform/win/fast/frames/frame-set-scaling-hit-expected.txt: Added.
- platform/win/fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-expected.txt: Added.
- platform/win/fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false-expected.txt: Added.
- platform/win/fast/frames/frames-with-frameborder-zero-can-be-resized-expected.txt: Added.
- 8:21 PM Changeset in webkit [119189] by
-
- 3 edits in trunk/Source/WebKit2
[WebKit2] Remove nested #if conditions from messages.in files
https://bugs.webkit.org/show_bug.cgi?id=88039
Reviewed by Filip Pizlo.
The code generator that processes messages.in files can't handle nested
#if conditions. Sadly I added said conditions in r117700 but failed to
verify the generated result. Un-nest the conditions I added.
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebPage/WebPage.messages.in:
- 8:19 PM Changeset in webkit [119188] by
-
- 8 edits3 adds in trunk
Add public page loading performance tests using web-page-replay
https://bugs.webkit.org/show_bug.cgi?id=84008
Reviewed by Dirk Pranke.
PerformanceTests:
Add replay tests for google.com and youtube.com as examples.
- Replay: Added.
- Replay/www.google.com.replay: Added.
- Replay/www.youtube.com.replay: Added.
Tools:
Add the primitive implementation of replay performance tests. We use web-page-replay (http://code.google.com/p/web-page-replay/)
to cache data locally. Each replay test is represented by a text file with .replay extension containing a single URL.
To hash out bugs and isolate them from the rest of performance tests, replay tests are hidden behind --replay flag.
Run "run-perf-tests --replay PerformanceTests/Replay" after changing the system network preference to forward HTTP and HTTPS requests
to localhost:8080 and localhost:8443 respectively (i.e. configure the system as if there are HTTP proxies at ports 8080 and 8443)
excluding: *.webkit.org, *.googlecode.com, *.sourceforge.net, pypi.python.org, and www.adambarth.com for thirdparty Python dependencies.
run-perf-tests starts web-page-replay, which provides HTTP proxies at ports 8080 and 8443 to replay pages.
- Scripts/webkitpy/layout_tests/port/driver.py:
(Driver.is_external_http_test): Added.
- Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver._command_from_driver_input): Allow test names that starts with http:// or https://.
- Scripts/webkitpy/performance_tests/perftest.py:
(PerfTest.init): Takes port.
(PerfTest.prepare): Added. Overridden by ReplayPerfTest.
(PerfTest):
(PerfTest.run): Calls run_single.
(PerfTest.run_single): Extracted from PageLoadingPerfTest.run.
(ChromiumStylePerfTest.init):
(PageLoadingPerfTest.init):
(PageLoadingPerfTest.run):
(ReplayServer): Added. Responsible for starting and stopping replay.py in the web-page-replay.
(ReplayServer.init):
(ReplayServer.wait_until_ready): Wait until port 8080 is ready. I have tried looking at the piped output from web-page-replay
but it caused a dead lock on some web pages.
(ReplayServer.stop):
(ReplayServer.del):
(ReplayPerfTest):
(ReplayPerfTest.init):
(ReplayPerfTest._start_replay_server):
(ReplayPerfTest.prepare): Creates test.wpr and test-expected.png to cache the page when a replay test is ran for the first time.
The subsequent runs of the same test will just use test.wpr.
(ReplayPerfTest.run_single):
(PerfTestFactory):
(PerfTestFactory.create_perf_test):
- Scripts/webkitpy/performance_tests/perftest_unittest.py:
(MainTest.test_parse_output):
(MainTest.test_parse_output_with_failing_line):
(TestPageLoadingPerfTest.test_run):
(TestPageLoadingPerfTest.test_run_with_bad_output):
(TestReplayPerfTest):
(TestReplayPerfTest.ReplayTestPort):
(TestReplayPerfTest.ReplayTestPort.init):
(TestReplayPerfTest.ReplayTestPort.init.ReplayTestDriver):
(TestReplayPerfTest.ReplayTestPort.init.ReplayTestDriver.run_test):
(TestReplayPerfTest.ReplayTestPort._driver_class):
(TestReplayPerfTest.MockReplayServer):
(TestReplayPerfTest.MockReplayServer.init):
(TestReplayPerfTest.MockReplayServer.stop):
(TestReplayPerfTest._add_file):
(TestReplayPerfTest._setup_test):
(TestReplayPerfTest.test_run_single):
(TestReplayPerfTest.test_run_single.run_test):
(TestReplayPerfTest.test_run_single_fails_without_webpagereplay):
(TestReplayPerfTest.test_prepare_fails_when_wait_until_ready_fails):
(TestReplayPerfTest.test_run_single_fails_when_output_has_error):
(TestReplayPerfTest.test_run_single_fails_when_output_has_error.run_test):
(TestReplayPerfTest.test_prepare):
(TestReplayPerfTest.test_prepare.run_test):
(TestReplayPerfTest.test_prepare_calls_run_single):
(TestReplayPerfTest.test_prepare_calls_run_single.run_single):
(TestPerfTestFactory.test_regular_test):
(TestPerfTestFactory.test_inspector_test):
(TestPerfTestFactory.test_page_loading_test):
- Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner):
(PerfTestsRunner._parse_args): Added --replay flag to enable replay tests.
(PerfTestsRunner._collect_tests): Collect .replay files when replay tests are enabled.
(PerfTestsRunner._collect_tests._is_test_file):
(PerfTestsRunner.run): Exit early if one of calls to prepare() fails.
- Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(create_runner):
(run_test):
(_tests_for_runner):
(test_run_test_set):
(test_run_test_set_kills_drt_per_run):
(test_run_test_pause_before_testing):
(test_run_test_set_for_parser_tests):
(test_run_test_set_with_json_output):
(test_run_test_set_with_json_source):
(test_run_test_set_with_multiple_repositories):
(test_run_with_upload_json):
(test_upload_json):
(test_upload_json.MockFileUploader.upload_single_text_file):
(_add_file):
(test_collect_tests):
(test_collect_tests_with_multile_files):
(test_collect_tests_with_multile_files.add_file):
(test_collect_tests_with_skipped_list):
(test_collect_tests_with_page_load_svg):
(test_collect_tests_should_ignore_replay_tests_by_default):
(test_collect_tests_with_replay_tests):
(test_parse_args):
- Scripts/webkitpy/thirdparty/init.py: Added the dependency for web-page-replay version 1.1.1.
(AutoinstallImportHook.find_module):
(AutoinstallImportHook._install_webpagereplay):
- 7:16 PM Changeset in webkit [119187] by
-
- 22 edits in trunk/Source
Unreviewed, rolling out r119146.
http://trac.webkit.org/changeset/119146
https://bugs.webkit.org/show_bug.cgi?id=88035
android breakage fixed in http://crrev.com/139945 (Requested
by fischman on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-31
Source/WebCore:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::startProgressEventTimer):
(WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle):
(WebCore::HTMLMediaElement::progressEventTimerFired):
(WebCore::HTMLMediaElement::startPlaybackProgressTimer):
- platform/graphics/MediaPlayer.cpp:
(WebCore::NullMediaPlayerPrivate::didLoadingProgress):
(WebCore::MediaPlayer::didLoadingProgress):
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h:
(MediaPlayerPrivateInterface):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
(WebCore::MediaPlayerPrivateAVFoundation::didLoadingProgress):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(MediaPlayerPrivateAVFoundation):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::didLoadingProgress):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::didLoadingProgress):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
(MediaPlayerPrivateQTKit):
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit):
(WebCore::MediaPlayerPrivateQTKit::didLoadingProgress):
- platform/graphics/qt/MediaPlayerPrivateQt.cpp:
(WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
(WebCore::MediaPlayerPrivateQt::didLoadingProgress):
- platform/graphics/qt/MediaPlayerPrivateQt.h:
(MediaPlayerPrivateQt):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext):
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::didLoadingProgress):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
(MediaPlayerPrivateQuickTimeVisualContext):
- platform/graphics/wince/MediaPlayerPrivateWinCE.h:
(MediaPlayerPrivate):
Source/WebKit/chromium:
- public/WebMediaPlayer.h:
(WebMediaPlayer):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 7:01 PM Changeset in webkit [119186] by
-
- 5 edits5 copies in branches/chromium/1132
Merge 118772 - REGRESSION(r109729): The optgroup element's "disabled" attribute has no effect to rendering and selection
https://bugs.webkit.org/show_bug.cgi?id=87614
Reviewed by Kent Tamura.
Source/WebCore:
This patch adds HTMLOptGroupElement::disabled and isEnabledFormControl
methods which was implemented in HTMLFormControlElement at r109729 and
updates CSS pseudo class checker to check "optgroup" element.
Tests: fast/forms/select/optgroup-clicking.html
fast/forms/select/optgroup-disabled.html
fast/forms/select/optgroup-rendering.html
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOneSelector): On disabled and enabled pseudo class checker.
We checked tag name "optgroup" in addition isFormControlElement.
- css/StyleResolver.cpp:
(WebCore::StyleResolver::canShareStyleWithElement): Checks optgroup.disabled.
- html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::disabled): Added.
- html/HTMLOptGroupElement.h:
(HTMLOptGroupElement): Added isEnabledFormControl.
LayoutTests:
Note: An image for optgroup-rendering.html will be change due by
BUG-87719. Color of option elements should be blue (:enabled
pseudo class) instead of green.
- fast/forms/select/optgroup-clicking-expected.txt: Added.
- fast/forms/select/optgroup-clicking.html: Added.
- fast/forms/select/optgroup-disabled-expected.txt: Added.
- fast/forms/select/optgroup-disabled.html: Added.
- fast/forms/select/optgroup-rendering.html: Added.
- platform/chromium/test_expectations.txt: Add MISSING entry for optgroup-rendering.html.
- platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.png: Added.
- platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.txt: Added.
TBR=yosin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10453112
- 6:37 PM Changeset in webkit [119185] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[BlackBerry] WebGL and 2D canvas output not available to WebPageCompositor
https://bugs.webkit.org/show_bug.cgi?id=88012
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-31
Reviewed by George Staikos.
Properly set up resource sharing between WebKit thread EGL contexts and
the compositing thread EGL context, so the texture ID produced by WebGL
and 2D canvas makes sense to the compositing context.
There's no public API to supply an EGLContext yet, so we're lucky that
the embedder never makes its context un-current. Just grab the current
context on the compositing thread and use that as the compositing
context.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setCompositor):
- Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositor::WebPageCompositor):
(BlackBerry::WebKit::WebPageCompositor::~WebPageCompositor):
- Api/WebPage_p.h:
(WebPagePrivate):
- 6:31 PM Changeset in webkit [119184] by
-
- 3 edits2 adds in trunk
XSSAuditor bypass with leading /*/*/ comment
https://bugs.webkit.org/show_bug.cgi?id=88002
Reviewed by Adam Barth.
Source/WebCore:
Fixes issue in xssauditor's parsing of /*/.
Test: http/tests/security/xssAuditor/script-tag-with-trailing-comment4.html
- html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::decodedSnippetForJavaScript):
LayoutTests:
Fixes issue in xssauditor's parsing of /*/.
- http/tests/security/xssAuditor/script-tag-with-trailing-comment4-expected.txt: Added.
- http/tests/security/xssAuditor/script-tag-with-trailing-comment4.html: Added.
- 6:13 PM Changeset in webkit [119183] by
-
- 2 edits in trunk/Tools
Support building the Android port of chromium with Ninja
https://bugs.webkit.org/show_bug.cgi?id=87545
Patch by Yaron Friedman <yfriedman@chromium.org> on 2012-05-31
Reviewed by Adam Barth.
Ensures that shared libraries are looked up in a generator-agnostic
way and that output is placed in the correct directory.
Depends on http://codereview.chromium.org/10386188/
- DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
- 5:59 PM Changeset in webkit [119182] by
-
- 3 edits2 adds in trunk
Bug: Negative SVG rect rx,ry corner radii values aren't handled correctly
https://bugs.webkit.org/show_bug.cgi?id=87859
Patch by Hans Muller <hmuller@adobe.com> on 2012-05-31
Reviewed by Dirk Schulze.
Source/WebCore:
Added the rect element corner radius constraints specified in steps 2-4 of
http://www.w3.org/TR/SVG/shapes.html#RectElement to Path::addRoundedRect().
Support for steps 6 and 7 was already included. Steps 2-4:
2 - If neither rx nor ry are properly specified, then set both rx and ry to 0. (This will result in square corners.)
3 - Otherwise, if a properly specified value is provided for rx, but not for ry then set both rx and ry to the value of rx.
4 - Otherwise, if a properly specified value is provided for ry, but not for rx, then set both rx and ry to the value of ry.
Tests: svg/custom/rect-negative-corner-radii-expected.svg
svg/custom/rect-negative-corner-radii.svg
- platform/graphics/Path.cpp:
(WebCore::Path::addRoundedRect):
LayoutTests:
Added a reftest which verifies that negative rect corner radius values are handled per the SVG spec,
http://www.w3.org/TR/SVG/shapes.html#RectElement.
- svg/custom/rect-negative-corner-radii-expected.svg: Added.
- svg/custom/rect-negative-corner-radii.svg: Added.
- 5:56 PM Changeset in webkit [119181] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening. Skip fast/loader/opaque-base-url.html only on debug bots.
The test hits an assertion which obviously only crashes the debug
bots.
- platform/efl/test_expectations.txt:
- 5:55 PM Changeset in webkit [119180] by
-
- 68 edits32 adds in trunk/LayoutTests
[EFL] Unskip fast/multicol tests.
Most tests were passing and just needed new baselines. Only skip
the few failing ones.
- platform/efl/Skipped:
- platform/efl/fast/multicol/block-axis-horizontal-bt-expected.png: Added.
- platform/efl/fast/multicol/block-axis-horizontal-bt-expected.txt: Added.
- platform/efl/fast/multicol/block-axis-horizontal-tb-expected.png: Added.
- platform/efl/fast/multicol/block-axis-horizontal-tb-expected.txt: Added.
- platform/efl/fast/multicol/block-axis-vertical-lr-expected.png: Added.
- platform/efl/fast/multicol/block-axis-vertical-lr-expected.txt: Added.
- platform/efl/fast/multicol/block-axis-vertical-rl-expected.png: Added.
- platform/efl/fast/multicol/block-axis-vertical-rl-expected.txt: Added.
- platform/efl/fast/multicol/client-rects-expected.png: Added.
- platform/efl/fast/multicol/client-rects-expected.txt: Added.
- platform/efl/fast/multicol/column-count-with-rules-expected.png:
- platform/efl/fast/multicol/column-rules-expected.png:
- platform/efl/fast/multicol/column-rules-stacking-expected.png:
- platform/efl/fast/multicol/columns-shorthand-parsing-expected.png:
- platform/efl/fast/multicol/float-avoidance-expected.png:
- platform/efl/fast/multicol/float-multicol-expected.png:
- platform/efl/fast/multicol/float-paginate-complex-expected.png:
- platform/efl/fast/multicol/float-paginate-complex-expected.txt:
- platform/efl/fast/multicol/float-paginate-empty-lines-expected.png:
- platform/efl/fast/multicol/float-paginate-expected.png:
- platform/efl/fast/multicol/layers-in-multicol-expected.png:
- platform/efl/fast/multicol/layers-split-across-columns-expected.png:
- platform/efl/fast/multicol/margin-collapse-expected.png:
- platform/efl/fast/multicol/max-height-columns-block-expected.png:
- platform/efl/fast/multicol/nested-columns-expected.png:
- platform/efl/fast/multicol/nested-columns-expected.txt:
- platform/efl/fast/multicol/overflow-across-columns-expected.png:
- platform/efl/fast/multicol/overflow-across-columns-percent-height-expected.png:
- platform/efl/fast/multicol/overflow-unsplittable-expected.png:
- platform/efl/fast/multicol/paginate-block-replaced-expected.png:
- platform/efl/fast/multicol/pagination-h-horizontal-bt-expected.png: Added.
- platform/efl/fast/multicol/pagination-h-horizontal-bt-expected.txt: Added.
- platform/efl/fast/multicol/pagination-h-horizontal-tb-expected.png: Added.
- platform/efl/fast/multicol/pagination-h-horizontal-tb-expected.txt: Added.
- platform/efl/fast/multicol/pagination-h-vertical-lr-expected.png: Added.
- platform/efl/fast/multicol/pagination-h-vertical-lr-expected.txt: Added.
- platform/efl/fast/multicol/pagination-h-vertical-rl-expected.png: Added.
- platform/efl/fast/multicol/pagination-h-vertical-rl-expected.txt: Added.
- platform/efl/fast/multicol/pagination-v-horizontal-bt-expected.png: Added.
- platform/efl/fast/multicol/pagination-v-horizontal-bt-expected.txt: Added.
- platform/efl/fast/multicol/pagination-v-horizontal-tb-expected.png: Added.
- platform/efl/fast/multicol/pagination-v-horizontal-tb-expected.txt: Added.
- platform/efl/fast/multicol/pagination-v-vertical-lr-expected.png: Added.
- platform/efl/fast/multicol/pagination-v-vertical-lr-expected.txt: Added.
- platform/efl/fast/multicol/pagination-v-vertical-rl-expected.png: Added.
- platform/efl/fast/multicol/pagination-v-vertical-rl-expected.txt: Added.
- platform/efl/fast/multicol/positioned-split-expected.png:
- platform/efl/fast/multicol/positioned-with-constrained-height-expected.png:
- platform/efl/fast/multicol/positive-leading-expected.png:
- platform/efl/fast/multicol/scrolling-overflow-expected.png:
- platform/efl/fast/multicol/single-line-expected.png: Added.
- platform/efl/fast/multicol/single-line-expected.txt: Added.
- platform/efl/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
- platform/efl/fast/multicol/span/anonymous-split-block-crash-expected.png:
- platform/efl/fast/multicol/span/anonymous-style-inheritance-expected.png:
- platform/efl/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png:
- platform/efl/fast/multicol/span/clone-flexbox-expected.txt: Added.
- platform/efl/fast/multicol/span/clone-summary-expected.txt: Added.
- platform/efl/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
- platform/efl/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-columns-child-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
- platform/efl/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
- platform/efl/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
- platform/efl/fast/multicol/span/span-as-nested-columns-child-expected.png:
- platform/efl/fast/multicol/span/span-as-nested-inline-block-child-expected.png:
- platform/efl/fast/multicol/span/span-margin-collapsing-expected.png:
- platform/efl/fast/multicol/table-margin-collapse-expected.png:
- platform/efl/fast/multicol/table-vertical-align-expected.png:
- platform/efl/fast/multicol/table-vertical-align-expected.txt:
- platform/efl/fast/multicol/unsplittable-inline-block-expected.png:
- platform/efl/fast/multicol/vertical-lr/column-break-with-balancing-expected.png:
- platform/efl/fast/multicol/vertical-lr/column-count-with-rules-expected.png:
- platform/efl/fast/multicol/vertical-lr/column-rules-expected.png:
- platform/efl/fast/multicol/vertical-lr/float-avoidance-expected.png:
- platform/efl/fast/multicol/vertical-lr/float-multicol-expected.png:
- platform/efl/fast/multicol/vertical-lr/float-paginate-complex-expected.png:
- platform/efl/fast/multicol/vertical-lr/float-paginate-complex-expected.txt:
- platform/efl/fast/multicol/vertical-lr/float-paginate-expected.png:
- platform/efl/fast/multicol/vertical-lr/nested-columns-expected.png:
- platform/efl/fast/multicol/vertical-lr/nested-columns-expected.txt:
- platform/efl/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png:
- platform/efl/fast/multicol/vertical-rl/column-break-with-balancing-expected.png:
- platform/efl/fast/multicol/vertical-rl/column-count-with-rules-expected.png:
- platform/efl/fast/multicol/vertical-rl/column-rules-expected.png:
- platform/efl/fast/multicol/vertical-rl/float-avoidance-expected.png:
- platform/efl/fast/multicol/vertical-rl/float-multicol-expected.png:
- platform/efl/fast/multicol/vertical-rl/float-paginate-complex-expected.png:
- platform/efl/fast/multicol/vertical-rl/float-paginate-complex-expected.txt:
- platform/efl/fast/multicol/vertical-rl/float-paginate-expected.png:
- platform/efl/fast/multicol/vertical-rl/nested-columns-expected.png:
- platform/efl/fast/multicol/vertical-rl/nested-columns-expected.txt:
- platform/efl/fast/multicol/vertical-rl/rule-style-expected.txt: Added.
- platform/efl/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png:
- platform/efl/test_expectations:
- 5:29 PM Changeset in webkit [119179] by
-
- 16 edits in branches/chromium/1132/Source
Merge 118383 - [chromium] Only display frames created with memory allocations meant to be displayed
https://bugs.webkit.org/show_bug.cgi?id=85108
Reviewed by Adrienne Walker.
Source/WebCore:
In this patch we remove the setVisible() code paths from CCProxy, and
instead commit visiblity state along with a frame. We also commit a
flag with a frame that indicates if the frame is one that can be drawn.
The impl host is set to visible during commit instead of using a
special channel through the proxy, and the scheduler allows
commits when we are waiting to draw our first frame but blocked on
being non-visible.
canDraw is gated on a new flag that indicates if the frame is one meant
for display. A frame is meant for display if the frame was generated
with a memory allocation meant for display. At this time, any non-zero
memory allocation is considered meant for display.
We prevent races by not changing the memory allocation at any time
except during a commit. So we force a commit when the memory
allocation needs to be adjusted and we are not visible. Similarly,
we force a commit when visibility changes so that we are able to
commit the visibility change to the impl tree.
In order to prevent drawing frames that are not meant for display
with a single thread, we prevent compositing when the impl tree
is not visible, with an early out in CCSingleThreadProxy.
Unit tests: CCLayerTreeHostTestVisibilityAndAllocationControlDrawing
- platform/graphics/chromium/LayerChromium.h:
- platform/graphics/chromium/TiledLayerChromium.cpp:
- platform/graphics/chromium/TiledLayerChromium.h:
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initializeLayerRenderer):
(WebCore::CCLayerTreeHost::finishCommitOnImplThread):
(WebCore::CCLayerTreeHost::setNeedsCommit):
(WebCore):
(WebCore::CCLayerTreeHost::setNeedsForcedCommit):
(WebCore::CCLayerTreeHost::setVisible):
(WebCore::CCLayerTreeHost::setContentsMemoryAllocationLimitBytes):
(WebCore::CCLayerTreeHost::scheduleComposite):
(WebCore::CCLayerTreeHost::updateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(CCLayerTreeHost):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::canDraw):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore::CCLayerTreeHostImpl::sourceFrameCanBeDrawn):
(WebCore::CCLayerTreeHostImpl::setSourceFrameCanBeDrawn):
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCProxy.h:
(CCProxy):
- platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::drawSuspendedUntilCommit):
(WebCore::CCSchedulerStateMachine::scheduledToDraw):
(WebCore::CCSchedulerStateMachine::updateState):
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::doCommit):
(WebCore::CCSingleThreadProxy::setNeedsCommit):
(WebCore):
(WebCore::CCSingleThreadProxy::setNeedsForcedCommit):
(WebCore::CCSingleThreadProxy::doComposite):
- platform/graphics/chromium/cc/CCSingleThreadProxy.h:
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::setNeedsForcedCommit):
(WebCore):
(WebCore::CCThreadProxy::setNeedsForcedCommitOnImplThread):
(WebCore::CCThreadProxy::forceBeginFrameOnImplThread):
(WebCore::CCThreadProxy::beginFrame):
(WebCore::CCThreadProxy::scheduledActionCommit):
- platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):
Source/WebKit/chromium:
Removing code to protect visible textures when a tab becomes invisible,
as we want to reduce our memory limit for invisible tabs and these
textures should not be saved.
- src/NonCompositedContentHost.cpp:
- src/NonCompositedContentHost.h:
(NonCompositedContentHost):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setVisibilityState):
- tests/CCLayerTreeHostTest.cpp:
(WTF::TestHooks::didCommit):
(WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
(WTF::CCLayerTreeHostTest::scheduleComposite):
(WTF::CCLayerTreeHostTest::dispatchComposite):
(CCLayerTreeHostTest):
(WTF::CCLayerTreeHostTest::doBeginTest):
(CCLayerTreeHostTestTickAnimationWhileBackgrounded):
(WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::willAnimateLayers):
(CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTest):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCompleteOnCCThread):
(WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTest):
(WTF):
- 5:24 PM Changeset in webkit [119178] by
-
- 65 edits in trunk/Source
[chromium] Migrate to WebTransformationMatrix
https://bugs.webkit.org/show_bug.cgi?id=87788
Patch by Shawn Singh <shawnsingh@chromium.org> on 2012-05-31
Reviewed by James Robinson.
Source/Platform:
- chromium/public/WebTransformationMatrix.h:
(WebTransformationMatrix):
Source/WebCore:
Covered by all existing layout tests and unit tests.
This patch replaces all occurrences of WebCore::TransformationMatrix
with WebKit::WebTransformationMatrix in the chromium compositor code.
- platform/chromium/support/WebTransformationMatrix.cpp:
(WebKit::WebTransformationMatrix::WebTransformationMatrix):
(WebKit):
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::setSublayerTransform):
(WebCore::LayerChromium::setTransform):
(WebCore::LayerChromium::setTransformFromAnimation):
- platform/graphics/chromium/LayerChromium.h:
(LayerChromium):
(WebCore::LayerChromium::sublayerTransform):
(WebCore::LayerChromium::drawTransform):
(WebCore::LayerChromium::setDrawTransform):
(WebCore::LayerChromium::screenSpaceTransform):
(WebCore::LayerChromium::setScreenSpaceTransform):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawCheckerboardQuad):
(WebCore::LayerRendererChromium::drawDebugBorderQuad):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderSurfaceQuad):
(WebCore::LayerRendererChromium::drawSolidColorQuad):
(WebCore::LayerRendererChromium::drawTileQuad):
(WebCore::LayerRendererChromium::drawHeadsUpDisplay):
(WebCore::LayerRendererChromium::toGLMatrix):
(WebCore::LayerRendererChromium::drawTexturedQuad):
(WebCore::LayerRendererChromium::copyTextureToFramebuffer):
- platform/graphics/chromium/LayerRendererChromium.h:
(WebCore::LayerRendererChromium::projectionMatrix):
(WebCore::LayerRendererChromium::windowMatrix):
(LayerRendererChromium):
- platform/graphics/chromium/LinkHighlight.cpp:
(WebCore::LinkHighlight::LinkHighlight):
- platform/graphics/chromium/RenderSurfaceChromium.h:
(WebCore::RenderSurfaceChromium::drawTransform):
(WebCore::RenderSurfaceChromium::setDrawTransform):
(WebCore::RenderSurfaceChromium::originTransform):
(WebCore::RenderSurfaceChromium::setOriginTransform):
(WebCore::RenderSurfaceChromium::screenSpaceTransform):
(WebCore::RenderSurfaceChromium::setScreenSpaceTransform):
(WebCore::RenderSurfaceChromium::replicaDrawTransform):
(WebCore::RenderSurfaceChromium::setReplicaDrawTransform):
(WebCore::RenderSurfaceChromium::replicaOriginTransform):
(WebCore::RenderSurfaceChromium::setReplicaOriginTransform):
(WebCore::RenderSurfaceChromium::replicaScreenSpaceTransform):
(WebCore::RenderSurfaceChromium::setReplicaScreenSpaceTransform):
(RenderSurfaceChromium):
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTiles):
- platform/graphics/chromium/cc/CCAnimationCurve.h:
(WebCore):
(CCTransformAnimationCurve):
- platform/graphics/chromium/cc/CCDamageTracker.cpp:
(WebCore::CCDamageTracker::extendDamageForLayer):
(WebCore::CCDamageTracker::extendDamageForRenderSurface):
- platform/graphics/chromium/cc/CCDrawQuad.h:
(WebCore::CCDrawQuad::quadTransform):
(WebCore::CCDrawQuad::layerTransform):
- platform/graphics/chromium/cc/CCKeyframedAnimationCurve.cpp:
(WebCore::CCTransformKeyframe::clone):
(WebCore::CCKeyframedTransformAnimationCurve::getValue):
- platform/graphics/chromium/cc/CCKeyframedAnimationCurve.h:
(CCKeyframedTransformAnimationCurve):
- platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
(WebCore::CCLayerAnimationController::tickAnimations):
- platform/graphics/chromium/cc/CCLayerAnimationController.h:
(WebKit):
(WebCore):
(CCLayerAnimationControllerClient):
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::quadTransform):
(WebCore::CCLayerImpl::setTransformFromAnimation):
(WebCore::CCLayerImpl::setSublayerTransform):
(WebCore::CCLayerImpl::setTransform):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
(WebCore::CCLayerImpl::sublayerTransform):
(WebCore::CCLayerImpl::drawTransform):
(WebCore::CCLayerImpl::setDrawTransform):
(WebCore::CCLayerImpl::screenSpaceTransform):
(WebCore::CCLayerImpl::setScreenSpaceTransform):
- platform/graphics/chromium/cc/CCLayerSorter.cpp:
(WebCore::CCLayerSorter::LayerShape::LayerShape):
(WebCore::CCLayerSorter::createGraphNodes):
- platform/graphics/chromium/cc/CCLayerSorter.h:
(WebKit):
(LayerShape):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::updateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::CCLayerTreeHostCommon::calculateVisibleRect):
(WebCore::isSurfaceBackFaceVisible):
(WebCore::calculateVisibleLayerRect):
(WebCore::isScaleOrTranslation):
(WebCore::calculateDrawTransformsAndVisibilityInternal):
(WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
(CCLayerTreeHostCommon):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::damageInSurfaceSpace):
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore):
- platform/graphics/chromium/cc/CCMathUtil.cpp:
(WebCore::projectPoint):
(WebCore::mapPoint):
(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::mapClippedQuad):
(WebCore::CCMathUtil::mapQuad):
(WebCore::CCMathUtil::projectQuad):
- platform/graphics/chromium/cc/CCMathUtil.h:
(WebKit):
(WebCore):
(CCMathUtil):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::transformSurfaceOpaqueRegion):
(WebCore::reduceOcclusionBelowSurface):
(WebCore::contentToScreenSpaceTransform):
(WebCore::contentToTargetSurfaceTransform):
(WebCore::addOcclusionBehindLayer):
(WebCore::::markOccludedBehindLayer):
(WebCore::testContentRectOccluded):
(WebCore::computeUnoccludedContentRect):
(WebCore::::unoccludedContributingSurfaceContentRect):
- platform/graphics/chromium/cc/CCOcclusionTracker.h:
- platform/graphics/chromium/cc/CCOverdrawMetrics.cpp:
(WebCore::CCOverdrawMetrics::didUpload):
(WebCore::CCOverdrawMetrics::didCullForDrawing):
(WebCore::CCOverdrawMetrics::didDraw):
- platform/graphics/chromium/cc/CCOverdrawMetrics.h:
(WebKit):
(CCOverdrawMetrics):
- platform/graphics/chromium/cc/CCQuadCuller.cpp:
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsToFillScreen):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(WebCore::CCRenderSurface::setDrawTransform):
(WebCore::CCRenderSurface::drawTransform):
(WebCore::CCRenderSurface::setOriginTransform):
(WebCore::CCRenderSurface::originTransform):
(WebCore::CCRenderSurface::setScreenSpaceTransform):
(WebCore::CCRenderSurface::screenSpaceTransform):
(WebCore::CCRenderSurface::setReplicaDrawTransform):
(WebCore::CCRenderSurface::replicaDrawTransform):
(WebCore::CCRenderSurface::setReplicaOriginTransform):
(WebCore::CCRenderSurface::replicaOriginTransform):
(WebCore::CCRenderSurface::setReplicaScreenSpaceTransform):
(WebCore::CCRenderSurface::replicaScreenSpaceTransform):
(CCRenderSurface):
- platform/graphics/chromium/cc/CCSharedQuadState.cpp:
(WebCore::CCSharedQuadState::create):
(WebCore::CCSharedQuadState::CCSharedQuadState):
- platform/graphics/chromium/cc/CCSharedQuadState.h:
(CCSharedQuadState):
(WebCore::CCSharedQuadState::quadTransform):
(WebCore::CCSharedQuadState::layerTransform):
- platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
(WebCore::CCSolidColorLayerImpl::quadTransform):
- platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
(CCSolidColorLayerImpl):
- platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::quadTransform):
- platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
Source/WebKit/chromium:
- src/WebLayer.cpp:
(WebKit::WebLayer::setSublayerTransform):
(WebKit::WebLayer::setTransform):
- tests/CCAnimationTestCommon.cpp:
(WebKitTests::FakeTransformTransition::getValue):
- tests/CCAnimationTestCommon.h:
- tests/CCDamageTrackerTest.cpp:
(WebKitTests::executeCalculateDrawTransformsAndVisibility):
(WebKitTests::TEST_F):
- tests/CCKeyframedAnimationCurveTest.cpp:
- tests/CCLayerAnimationControllerTest.cpp:
- tests/CCLayerImplTest.cpp:
(WebCore::TEST):
- tests/CCLayerIteratorTest.cpp:
- tests/CCLayerSorterTest.cpp:
- tests/CCLayerTreeHostCommonTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
(WTF::setLayerPropertiesForTesting):
(WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
(WTF::setTestLayerPropertiesForTesting):
(WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
(WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
(WTF::CCLayerTreeHostTestManySurfaces::beginTest):
- tests/CCLayerTreeTestCommon.h:
(WebKitTests):
- tests/CCMathUtilTest.cpp:
- tests/CCOcclusionTrackerTest.cpp:
(WebKitTests::CCOcclusionTrackerTest::createRoot):
(WebKitTests::CCOcclusionTrackerTest::createLayer):
(WebKitTests::CCOcclusionTrackerTest::createSurface):
(WebKitTests::CCOcclusionTrackerTest::createDrawingLayer):
(WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
(WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
(CCOcclusionTrackerTest):
(WebKitTests::CCOcclusionTrackerTest::setBaseProperties):
(WebKitTests::CCOcclusionTrackerTest::setProperties):
(WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
(WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
- tests/CCQuadCullerTest.cpp:
- tests/CCRenderSurfaceTest.cpp:
- tests/FloatQuadTest.cpp:
- tests/LayerChromiumTest.cpp:
- tests/LinkHighlightTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- tests/WebTransformationMatrixTest.cpp:
(WebKit::TEST):
(WebKit):
- 5:05 PM Changeset in webkit [119177] by
-
- 2 edits in branches/chromium/1132/Source/WebKit/chromium
Merge 118276 - [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in single-threaded mode
https://bugs.webkit.org/show_bug.cgi?id=87308
Reviewed by James Robinson.
Chromium bug: http://crbug.com/127481
Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread
- tests/CCLayerTreeHostTest.cpp:
(WTF::TestHooks::didCommit):
(WTF):
(WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommit):
TBR=danakj@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10456072
- 5:02 PM Changeset in webkit [119176] by
-
- 1 edit in branches/chromium/1132/Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp
Merge 117825 - Don't force rendering in finishAllRendering
https://bugs.webkit.org/show_bug.cgi?id=86919
Reviewed by James Robinson.
After we acquire the texture layers on the main thread, we can't draw.
In particular if we destroyed the texture ids used previously by
TextureLayerChromium, drawing before a commit would cause a
bind-after-destroy.
Tested by CCLayerTreeHostTestFinishAllRendering.
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::finishAllRenderingOnImplThread):
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapInternal):
TBR=piman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10448114
- 5:02 PM Changeset in webkit [119175] by
-
- 2 edits in trunk/Source/JavaScriptCore
JSGlobalObject does not mark m_privateNameStructure
https://bugs.webkit.org/show_bug.cgi?id=88023
Rubber stamped by Gavin Barraclough.
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::visitChildren): We need to mark this so it doesn't get
inadvertently garbage collected.
- 4:53 PM Changeset in webkit [119174] by
-
- 1 edit7 adds in trunk/LayoutTests
[Win] 4 css3 tests fail
https://bugs.webkit.org/show_bug.cgi?id=88024
Add Windows-specific expected (failing?) results to get the bots green.
- platform/win/css3: Added.
- platform/win/css3/filters: Added.
- platform/win/css3/filters/composited-during-animation-expected.txt: Added.
- platform/win/css3/filters/composited-during-animation-layertree-expected.txt: Added.
- platform/win/css3/filters/composited-during-transition-layertree-expected.txt: Added.
- platform/win/css3/unicode-bidi-isolate-basic-expected.png: Added.
- platform/win/css3/unicode-bidi-isolate-basic-expected.txt: Added.
- 4:48 PM Changeset in webkit [119173] by
-
- 5 edits in trunk/Source
[chromium] Single thread proxy should not tick animations unless the layer renderer has been initialized
https://bugs.webkit.org/show_bug.cgi?id=87873
Patch by Ian Vollick <vollick@chromium.org> on 2012-05-31
Reviewed by James Robinson.
When the layer renderer fails to initialize, be sure to stop the animation timer.
Source/WebCore:
Unit test: CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation.runSingleThread
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::initializeLayerRenderer):
(WebCore::CCSingleThreadProxy::didAddAnimation):
(WebCore::CCSingleThreadProxy::animationTimerDelay):
(WebCore):
- platform/graphics/chromium/cc/CCSingleThreadProxy.h:
Source/WebKit/chromium:
- tests/CCLayerTreeHostTest.cpp:
(CompositorFakeWebGraphicsContext3DWithTextureTracking):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
(WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
(WTF):
(WTF::TestHooks::didRecreateContext):
(TestHooks):
(WTF::TestHooks::createContext):
(CCLayerTreeHostTest):
(WTF::CCLayerTreeHostTest::clearEndTestTask):
(WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
(EndTestTask):
(WTF::CCLayerTreeHostTest::EndTestTask::EndTestTask):
(WTF::CCLayerTreeHostTest::EndTestTask::~EndTestTask):
(WTF::CCLayerTreeHostTest::EndTestTask::clearTest):
(WTF::CCLayerTreeHostTest::EndTestTask::run):
(WTF::CCLayerTreeHostTest::runTest):
(WTF::CCLayerTreeHostTest::endTestAfterDelay):
(FakeWebGraphicsContext3DMakeCurrentFails):
(WTF::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
(CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
(WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
(WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::beginTest):
(WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::animateLayers):
(WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::didRecreateContext):
(WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::afterTest):
(WTF::TEST_F):
- 4:48 PM WikiStart edited by
- Added "(obsolete)" to "Result Fallback Order" (diff)
- 4:25 PM Changeset in webkit [119172] by
-
- 3 edits in trunk/Source/WebCore
RenderLayerCompositor cleanup: make RenderGeometryMap part of the OverlapMap
https://bugs.webkit.org/show_bug.cgi?id=88021
Reviewed by James Robinson.
We only ever use the RenderGeometryMap when we have an OverlapMap, so make
it a member of the OverlapMap.
No behavior change.
- rendering/RenderLayerCompositor.cpp:
(RenderLayerCompositor::OverlapMap):
(WebCore::RenderLayerCompositor::OverlapMap::geometryMap):
(WebCore::RenderLayerCompositor::updateCompositingLayers):
(WebCore::RenderLayerCompositor::addToOverlapMap):
(WebCore::RenderLayerCompositor::addToOverlapMapRecursive):
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
- rendering/RenderLayerCompositor.h:
(WebCore):
(RenderLayerCompositor):
- 4:13 PM Changeset in webkit [119171] by
-
- 6 edits in trunk/Source/WebCore
[V8] Pass Isolate to v8Boolean()
https://bugs.webkit.org/show_bug.cgi?id=87948
Reviewed by Adam Barth.
The objective is to pass Isolate around in V8 bindings.
This patch passes Isolate to v8Boolean().
No tests. No change in behavior.
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::V8DOMStringMap::namedPropertyDeleter):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionCallback):
- bindings/v8/custom/V8StorageCustom.cpp:
(WebCore::storageDeleter):
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::sendCallback):
- 4:12 PM Changeset in webkit [119170] by
-
- 1 edit in trunk/Source/WebKit/gtk/ChangeLog
Fix a broken ChangeLog entry from r119113 due to a corrupted patch.
- 4:02 PM Changeset in webkit [119169] by
-
- 4 edits in branches/safari-536-branch/Source
Versioning.
- 4:01 PM Changeset in webkit [119168] by
-
- 1 copy in tags/Safari-536.15
New Tag.
- 4:00 PM Changeset in webkit [119167] by
-
- 4 edits in branches/safari-536-branch/Source
Versioning.
- 4:00 PM Changeset in webkit [119166] by
-
- 8 edits12 adds in trunk/LayoutTests
[Win] 10 fast/forms tests failing
https://bugs.webkit.org/show_bug.cgi?id=88013
Add/update Windows-expected (failing?) results to get the bots greener.
- platform/win/fast/forms/basic-selects-expected.png: Added.
- platform/win/fast/forms/basic-selects-expected.txt:
- platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.png:
- platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt:
- platform/win/fast/forms/file: Added.
- platform/win/fast/forms/file/file-input-disabled-expected.png: Added.
- platform/win/fast/forms/file/file-input-disabled-expected.txt: Added.
- platform/win/fast/forms/implicit-submission-expected.txt:
- platform/win/fast/forms/input-step-as-double-expected.txt: Added.
- platform/win/fast/forms/input-text-drag-down-expected.png:
- platform/win/fast/forms/input-text-drag-down-expected.txt:
- platform/win/fast/forms/select: Added.
- platform/win/fast/forms/select-overflow-scroll-expected.png: Added.
- platform/win/fast/forms/select-overflow-scroll-expected.txt: Added.
- platform/win/fast/forms/select-overflow-scroll-inherited-expected.png: Added.
- platform/win/fast/forms/select-overflow-scroll-inherited-expected.txt: Added.
- platform/win/fast/forms/select/optgroup-rendering-expected.png: Added.
- platform/win/fast/forms/select/optgroup-rendering-expected.txt: Added.
- platform/win/fast/forms/text-control-intrinsic-widths-expected.txt:
- 3:58 PM Changeset in webkit [119165] by
-
- 3 edits in branches/safari-536-branch/Source/WebCore
fix after r119150.
- 3:54 PM Changeset in webkit [119164] by
-
- 4 edits in trunk/Source/WebKit/chromium
2012-05-15 Brett Wilson <brettw@chromium.org>
Hook up GTK IsKeyPad flag for keyboard events, and preserve this flag
on all platforms when converting back to a WebKeyboardEvent.
Reviewed by Dimitri Glazkov.
- src/WebInputEventConversion.cpp: (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
- src/gtk/WebInputEventFactory.cpp: (WebKit::WebInputEventFactory::keyboardEvent):
- tests/WebInputEventFactoryTestGtk.cpp:
- 3:53 PM Changeset in webkit [119163] by
-
- 1 delete in tags/Safari-536.15
Remove Tag.
- 3:50 PM Changeset in webkit [119162] by
-
- 2 edits in trunk/Source/WTF
Enable support for rvalue references when building with a version of clang that supports them
https://bugs.webkit.org/show_bug.cgi?id=88018
Re-enable support for rvalue references when building with a version of Xcode newer than 4.2.
- wtf/Compiler.h:
- 3:47 PM Changeset in webkit [119161] by
-
- 78 edits in trunk
IndexedDB: Implement IDBTransaction.error and IDBRequest.error
https://bugs.webkit.org/show_bug.cgi?id=87865
Patch by Alec Flett <alecflett@chromium.org> on 2012-05-31
Reviewed by Tony Chang.
Source/WebCore:
Added "error" attribute to IDBRequest and IDBTransaction. Update
IDBDatabaseError to honor the IDBDatabaseException behavior
of dealing with IDB-specific throws of DOMException codes,
as per the spec.
Existing tests which previously tested 'errorCode' and
'webkitErrorMessage' have been updated to use the new attribute.
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::advance):
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::setVersion):
- Modules/indexeddb/IDBDatabaseError.h:
(WebCore::IDBDatabaseError::create):
(WebCore::IDBDatabaseError::code):
(WebCore::IDBDatabaseError::idbCode):
(WebCore::IDBDatabaseError::name):
(WebCore::IDBDatabaseError::IDBDatabaseError):
(IDBDatabaseError):
- Modules/indexeddb/IDBDatabaseException.cpp:
(WebCore):
(WebCore::getErrorEntry):
(WebCore::IDBDatabaseException::initializeDescription):
(WebCore::IDBDatabaseException::getErrorName):
(WebCore::IDBDatabaseException::getLegacyErrorCode):
- Modules/indexeddb/IDBDatabaseException.h:
(IDBDatabaseException):
- Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::error):
(WebCore):
(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::onError):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::onSuccessWithContinuation):
(WebCore::IDBRequest::dispatchEvent):
- Modules/indexeddb/IDBRequest.h:
(IDBRequest):
- Modules/indexeddb/IDBRequest.idl:
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::error):
(WebCore):
(WebCore::IDBTransaction::setError):
- Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
- Modules/indexeddb/IDBTransaction.idl:
Source/WebKit/chromium:
IDBDatabaseError now honors IDB-specific DOMException codes,
so make sure that's how they are passed to/from chromium.
- src/WebIDBDatabaseError.cpp:
(WebKit::WebIDBDatabaseError::assign):
LayoutTests:
- storage/indexeddb/basics-expected.txt:
- storage/indexeddb/basics-workers-expected.txt:
- storage/indexeddb/create-and-remove-object-store-expected.txt:
- storage/indexeddb/cursor-continue-expected.txt:
- storage/indexeddb/cursor-update-expected.txt:
- storage/indexeddb/database-basics-expected.txt:
- storage/indexeddb/deleteIndex-expected.txt:
- storage/indexeddb/factory-cmp-expected.txt:
- storage/indexeddb/get-keyrange-expected.txt:
- storage/indexeddb/index-basics-expected.txt:
- storage/indexeddb/index-basics-workers-expected.txt:
- storage/indexeddb/index-count-expected.txt:
- storage/indexeddb/index-unique-expected.txt:
- storage/indexeddb/invalid-keys-expected.txt:
- storage/indexeddb/key-generator-expected.txt:
- storage/indexeddb/key-type-array-expected.txt:
- storage/indexeddb/keypath-edges-expected.txt:
- storage/indexeddb/keyrange-expected.txt:
- storage/indexeddb/objectstore-autoincrement-expected.txt:
- storage/indexeddb/objectstore-basics-expected.txt:
- storage/indexeddb/objectstore-basics-workers-expected.txt:
- storage/indexeddb/objectstore-count-expected.txt:
- storage/indexeddb/open-cursor-expected.txt:
- storage/indexeddb/readonly-expected.txt:
- storage/indexeddb/resources/basics.js:
(test):
(openCallback):
- storage/indexeddb/resources/create-and-remove-object-store.js:
(testCreateAndRemove):
(cleanDatabase):
(tryOnceMore):
- storage/indexeddb/resources/cursor-continue.js:
(ascendingErrorTestLessThan.request.onsuccess):
(ascendingErrorTestLessThan):
(ascendingErrorTestEqual.request.onsuccess):
(ascendingErrorTestEqual):
(descendingErrorTestGreaterThan.request.onsuccess):
(descendingErrorTestGreaterThan):
(descendingErrorTestEqual.request.onsuccess):
(descendingErrorTestEqual):
(onTransactionComplete):
- storage/indexeddb/resources/cursor-update.js:
(keyCursor):
- storage/indexeddb/resources/database-basics.js:
(testClose):
- storage/indexeddb/resources/database-quota.js:
(logError):
- storage/indexeddb/resources/deleteIndex.js:
(twiddleIndexes):
(postTwiddling):
- storage/indexeddb/resources/factory-cmp.js:
(testValidKeys):
(testInvalidKeys):
- storage/indexeddb/resources/get-keyrange.js:
(getNullTest):
- storage/indexeddb/resources/index-basics.js:
(index3Count):
- storage/indexeddb/resources/index-count.js:
- storage/indexeddb/resources/index-unique.js:
(addMoreDataFailed):
- storage/indexeddb/resources/invalid-keys.js:
- storage/indexeddb/resources/key-generator.js:
- storage/indexeddb/resources/key-type-array.js:
(testDepthLimits):
- storage/indexeddb/resources/keypath-edges.js:
- storage/indexeddb/resources/keyrange.js:
(test):
- storage/indexeddb/resources/objectstore-autoincrement.js:
(getAbrahamSuccess):
- storage/indexeddb/resources/objectstore-basics.js:
(setVersionSuccess):
(createIndex):
(addAgainFailure):
(removeSuccessButNotThere):
(testPreConditions.request.onsuccess):
(testPreConditions):
- storage/indexeddb/resources/objectstore-count.js:
- storage/indexeddb/resources/open-cursor.js:
(cursorWithKeySuccess):
(cursorSuccess):
- storage/indexeddb/resources/readonly.js:
(openSuccess):
- storage/indexeddb/resources/set_version_queue.js:
(connectionError):
- storage/indexeddb/resources/shared.js:
(unexpectedErrorCallback):
(evalAndExpectException):
- storage/indexeddb/resources/transaction-abort-workers.js:
(transactionAborted):
(transactionCompleted):
(timeoutTest.transaction.onabort):
(timeoutTest):
(errorTransactionAborted):
- storage/indexeddb/resources/transaction-abort.js:
(firstAdd):
(secondAdd):
(transactionAborted):
- storage/indexeddb/resources/transaction-after-close.js:
(firstTransactionComplete):
- storage/indexeddb/resources/transaction-and-objectstore-calls.js:
(created):
(afterComplete):
- storage/indexeddb/resources/transaction-basics.js:
(testInactiveAbortedTransaction):
(testInactiveCompletedTransaction):
(testInvalidMode):
- storage/indexeddb/resources/transaction-read-only.js:
(setVersionDone):
(gotCursor):
- storage/indexeddb/set_version_queue-expected.txt:
- storage/indexeddb/transaction-abort-expected.txt:
- storage/indexeddb/transaction-abort-workers-expected.txt:
- storage/indexeddb/transaction-after-close-expected.txt:
- storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
- storage/indexeddb/transaction-basics-expected.txt:
- storage/indexeddb/transaction-read-only-expected.txt:
- 3:43 PM Changeset in webkit [119160] by
-
- 4 edits in trunk/Source
[chromium] Assertion failures during compositor startup in lost context situations
https://bugs.webkit.org/show_bug.cgi?id=87912
Reviewed by Adrienne Walker.
Source/WebCore:
getShaderiv and getProgramiv may return 0 if the context is lost. We correctly recover in this case, so it's
bogus to fail an ASSERT in debug in this case.
Added new unit test in LayerRendererChromiumTest to cover this.
- platform/graphics/chromium/ProgramBinding.cpp:
(WebCore::contextLost):
(WebCore):
(WebCore::ProgramBindingBase::init):
(WebCore::ProgramBindingBase::createShaderProgram):
Source/WebKit/chromium:
Adds a unit test verifying that even if we lose our context during or before initialization we get through the
rest of the path without failing ASSERT()s.
- tests/LayerRendererChromiumTest.cpp:
(LoseContextOnFirstGetContext):
(LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
(TEST):
- 3:37 PM Changeset in webkit [119159] by
-
- 3 edits in trunk/Source/WebKit/gtk
Unreviewed, rolling out r119113.
http://trac.webkit.org/changeset/119113
https://bugs.webkit.org/show_bug.cgi?id=88016
This caused multiple regressions (Requested by mrobinson on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-31
- WebCoreSupport/TextCheckerClientGtk.cpp:
(WebKit::TextCheckerClientGtk::checkSpellingOfString):
- webkit/webkitspellcheckerenchant.cpp:
(checkSpellingOfString):
- 3:36 PM Acronyms edited by
- (diff)
- 3:34 PM Changeset in webkit [119158] by
-
- 5 edits3 adds in trunk
Fix crash in V8Document::createTouchListCallback.
https://bugs.webkit.org/show_bug.cgi?id=87085
Source/WebCore:
Reviewed by Abhishek Arya.
Test: fast/events/touch/document-create-touch-list-crash.html
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::createTouchListCallback): Verify the native type
of the arguments passed to createTouchList are Touches before appending
them to the TouchList. In the case of a non-Touch argument, insert
null into the TouchList. This consolidates V8 and JSC bindings
behaviour.
- dom/Document.cpp: Remove dead code.
- dom/Document.h: ditto.
LayoutTests:
Test for crash in document.createTouchList when it
is supplied with non-touch parameters.
Reviewed by Abhishek Arya.
- fast/events/touch/document-create-touch-list-crash-expected.txt: Added.
- fast/events/touch/document-create-touch-list-crash.html: Added.
- 3:30 PM Changeset in webkit [119157] by
-
- 2 edits in trunk/Source/WTF
DataLog should be usable outside of JSC
https://bugs.webkit.org/show_bug.cgi?id=88015
Reviewed by Oliver Hunt.
- wtf/DataLog.h:
(WTF):
- 3:18 PM Changeset in webkit [119156] by
-
- 1 edit2 adds in trunk/LayoutTests
Updating test expectations after r119124.
- platform/chromium/fast/workers/storage/test-authorizer-sync-expected.txt: Added.
- 3:06 PM Changeset in webkit [119155] by
-
- 4 edits in branches/safari-536-branch/Source
Versioning.
- 3:03 PM Changeset in webkit [119154] by
-
- 1 copy in tags/Safari-536.15
New Tag.
- 2:51 PM Changeset in webkit [119153] by
-
- 2 edits in trunk/Tools
[Chromium] Chromium DRT should be able to load external resources
https://bugs.webkit.org/show_bug.cgi?id=87893
Reviewed by Dirk Pranke.
Allow external resources to be loaded when the main frame's URL is also an external resource.
This change is analogous to r118231 for Mac port.
- DumpRenderTree/chromium/WebViewHost.cpp:
(blockRequest):
(isLocalhost):
(hostIsUsedBySomeTestsToGenerateError):
(WebViewHost::willSendRequest):
- 2:32 PM SettingUpDevelopmentEnvironmentForN9 edited by
- (diff)
- 2:26 PM Changeset in webkit [119152] by
-
- 4 edits in branches/safari-536-branch/LayoutTests
More result updating for disabling CSS Exclusions.
- platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/mac/svg/css/getComputedStyle-basic-expected.txt:
- 2:21 PM Changeset in webkit [119151] by
-
- 3 edits in trunk/Source/WebCore
Remove some duplicate code in RenderLayerCompositor
https://bugs.webkit.org/show_bug.cgi?id=88009
Reviewed by Anders Carlsson.
RenderLayerCompositor::hasNonAffineTransform() has the same code
as the existing RenderLayer::has3DTransform(), so just use the
RenderLayer method and remove hasNonAffineTransform().
No behavior change.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
- rendering/RenderLayerCompositor.h:
(RenderLayerCompositor):
- 2:20 PM Changeset in webkit [119150] by
-
- 34 edits in branches/safari-536-branch
Merge <rdar://problem/11524921>
- 2:15 PM Changeset in webkit [119149] by
-
- 1 edit5 adds in trunk/LayoutTests
[Win] 5 fast/events/popup-* tests fail
https://bugs.webkit.org/show_bug.cgi?id=88008
Add Windows-specific expected (failing?) results to get the bots greener.
- platform/win/fast/events/popup-allowed-from-gesture-initiated-event-expected.txt: Added.
- platform/win/fast/events/popup-allowed-from-gesture-initiated-form-submit-expected.txt: Added.
- platform/win/fast/events/popup-blocked-from-fake-user-gesture-expected.txt: Added.
- platform/win/fast/events/popup-blocked-from-untrusted-mouse-click-expected.txt: Added.
- platform/win/fast/events/popup-blocking-timers-expected.txt: Added.
- 2:12 PM Changeset in webkit [119148] by
-
- 4 edits in branches/safari-536-branch/LayoutTests
Updating results after r119051.
Per discussion with Simon, it's not surprising that more layers have drawsContents now.
- compositing/layer-creation/overlap-animation-expected.txt:
- compositing/layer-creation/overlap-transforms-expected.txt:
- compositing/overflow/clip-descendents-expected.txt:
- 2:10 PM Changeset in webkit [119147] by
-
- 13 edits8 adds in trunk/LayoutTests
[Win] 23 media tests fail / time out
https://bugs.webkit.org/show_bug.cgi?id=88005
Add/update the Windows expected (failing?) results to get the bots greener.
- platform/win/Skipped:
- platform/win/media/audio-controls-rendering-expected.txt:
- platform/win/media/audio-repaint-expected.txt:
- platform/win/media/controls-after-reload-expected.txt:
- platform/win/media/controls-strict-expected.txt:
- platform/win/media/controls-styling-expected.txt:
- platform/win/media/controls-without-preload-expected.txt:
- platform/win/media/media-can-play-wav-audio-expected.txt: Added.
- platform/win/media/media-controls-clone-expected.txt:
- platform/win/media/media-controls-invalid-url-expected.txt: Added.
- platform/win/media/media-document-audio-repaint-expected.txt:
- platform/win/media/nodesFromRect-shadowContent-expected.txt: Added.
- platform/win/media/video-colorspace-yuv420-expected.txt: Added.
- platform/win/media/video-colorspace-yuv422-expected.txt: Added.
- platform/win/media/video-controls-rendering-expected.txt:
- platform/win/media/video-display-toggle-expected.txt:
- platform/win/media/video-no-audio-expected.txt:
- platform/win/media/video-pause-immediately-expected.txt: Added.
- platform/win/media/video-playing-and-pause-expected.txt: Added.
- platform/win/media/video-size-intrinsic-scale-expected.txt: Added.
- 2:09 PM Changeset in webkit [119146] by
-
- 22 edits in trunk/Source
Unreviewed, rolling out r119125.
http://trac.webkit.org/changeset/119125
https://bugs.webkit.org/show_bug.cgi?id=88007
Will break android build if rolled (Requested by rafaelw_ on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-31
Source/WebCore:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::startProgressEventTimer):
(WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle):
(WebCore::HTMLMediaElement::progressEventTimerFired):
(WebCore::HTMLMediaElement::startPlaybackProgressTimer):
- platform/graphics/MediaPlayer.cpp:
(WebCore::NullMediaPlayerPrivate::bytesLoaded):
(WebCore::MediaPlayer::bytesLoaded):
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h:
(MediaPlayerPrivateInterface):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
(WebCore::MediaPlayerPrivateAVFoundation::bytesLoaded):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(MediaPlayerPrivateAVFoundation):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::bytesLoaded):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::bytesLoaded):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
(MediaPlayerPrivateQTKit):
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit):
(WebCore::MediaPlayerPrivateQTKit::bytesLoaded):
- platform/graphics/qt/MediaPlayerPrivateQt.cpp:
(WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
(WebCore::MediaPlayerPrivateQt::bytesLoaded):
- platform/graphics/qt/MediaPlayerPrivateQt.h:
(MediaPlayerPrivateQt):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext):
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::bytesLoaded):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
(MediaPlayerPrivateQuickTimeVisualContext):
- platform/graphics/wince/MediaPlayerPrivateWinCE.h:
(MediaPlayerPrivate):
Source/WebKit/chromium:
- public/WebMediaPlayer.h:
(WebMediaPlayer):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::bytesLoaded):
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 2:03 PM Changeset in webkit [119145] by
-
- 12 edits in trunk/Source
Disentangle code that relies on USE(AUTOMATIC_TEXT_REPLACEMENT) from that which merely relies on PLATFORM(MAC)
https://bugs.webkit.org/show_bug.cgi?id=87933
Reviewed by Dan Bernstein.
Source/WebCore:
- editing/Editor.cpp:
- editing/Editor.h:
- loader/EmptyClients.h:
- page/ContextMenuController.cpp:
(WebCore::ContextMenuController::contextMenuItemSelected):
- page/EditorClient.h:
Source/WebKit/mac:
- WebCoreSupport/WebEditorClient.h:
- WebCoreSupport/WebEditorClient.mm:
Source/WebKit2:
- WebProcess/WebCoreSupport/WebEditorClient.h:
- WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
- 1:58 PM Changeset in webkit [119144] by
-
- 1 edit5 adds in trunk/LayoutTests
[Win] fast/events/remove-target* tests fail
https://bugs.webkit.org/show_bug.cgi?id=88006
Add Windows-specific expected (failing?) results to get the bots greener.
- platform/win/fast/events/remove-target-in-mouseup-deep-expected.txt: Added.
- platform/win/fast/events/remove-target-in-mouseup-expected.txt: Added.
- platform/win/fast/events/remove-target-in-mouseup-insertback-expected.txt: Added.
- platform/win/fast/events/remove-target-in-mouseup-twice-expected.txt: Added.
- platform/win/fast/events/remove-target-with-shadow-in-drag-expected.txt: Added.
- 1:55 PM Writing Layout Tests for DumpRenderTree edited by
- Added a section on ref-tests and added more tips on portable text (diff)
- 1:55 PM Changeset in webkit [119143] by
-
- 2 edits in trunk/Source/WTF
Disable support for rvalue references until I figure out why this is breaking the Xcode 4.2 build.
- wtf/Compiler.h:
- 1:53 PM Changeset in webkit [119142] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening; skip fast/canvas/canvas-imageSmoothingEnabled.
Skip the test just like GTK+, as there seems to be a problem in
the cairo backend that makes the test fail.
- platform/efl/test_expectations.txt:
- 1:48 PM Changeset in webkit [119141] by
-
- 9 edits in branches/safari-536-branch/LayoutTests
Update test results for disabling CSS Exclusions.
- fast/css/getComputedStyle/computed-style-expected.txt:
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/mac/Skipped:
- platform/mac/fast/js/global-constructors-expected.txt:
- platform/win/Skipped:
- platform/win/fast/js/global-constructors-expected.txt:
- platform/wk2/Skipped:
- svg/css/getComputedStyle-basic-expected.txt:
- 1:44 PM Changeset in webkit [119140] by
-
- 4 edits in trunk/Tools
Build fixes.
Disable the C++11 extensions warning.
- DumpRenderTree/mac/Configurations/Base.xcconfig:
- TestWebKitAPI/Configurations/Base.xcconfig:
- WebKitTestRunner/Configurations/Base.xcconfig:
- 1:41 PM Changeset in webkit [119139] by
-
- 17 edits in trunk/Source
[chromium] Move drawing code for RenderSurfaces into LayerRendererChromium
https://bugs.webkit.org/show_bug.cgi?id=87877
Reviewed by James Robinson.
Source/WebCore:
We add data to CCRenderSurfaceDrawQuad so that the only use of
CCRenderSurface directly from LayerRendererChromium is to
reserve, release, and use the surface's textures, and to set the
scissor rect. Each of these changes will be done independent
of this change.
Covered by existing tests.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::applyFilters):
(WebCore):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderSurfaceQuad):
(WebCore::LayerRendererChromium::copyTextureToFramebuffer):
- platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::contentsTextureId):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateDrawTransformsAndVisibilityInternal):
- platform/graphics/chromium/cc/CCQuadCuller.cpp:
- platform/graphics/chromium/cc/CCQuadCuller.h:
(CCQuadCuller):
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsForRenderSurfaceLayer):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore):
(WebCore::CCRenderSurface::CCRenderSurface):
(WebCore::CCRenderSurface::prepareContentsTexture):
(WebCore::CCRenderSurface::releaseContentsTexture):
(WebCore::CCRenderSurface::hasValidContentsTexture):
(WebCore::CCRenderSurface::releaseBackgroundTexture):
(WebCore::CCRenderSurface::hasValidBackgroundTexture):
(WebCore::CCRenderSurface::hasMask):
(WebCore::CCRenderSurface::replicaHasMask):
(WebCore::CCRenderSurface::appendQuads):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(WebCore):
(CCRenderSurface):
- platform/graphics/chromium/cc/CCRenderSurfaceDrawQuad.cpp:
(WebCore::CCRenderSurfaceDrawQuad::create):
(WebCore::CCRenderSurfaceDrawQuad::CCRenderSurfaceDrawQuad):
- platform/graphics/chromium/cc/CCRenderSurfaceDrawQuad.h:
(WebKit):
(CCRenderSurfaceDrawQuad):
(WebCore::CCRenderSurfaceDrawQuad::maskTextureId):
(WebCore::CCRenderSurfaceDrawQuad::filters):
(WebCore::CCRenderSurfaceDrawQuad::backgroundFilters):
- platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::contentsTextureId):
- platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
Source/WebKit/chromium:
- tests/CCRenderSurfaceTest.cpp:
(WebCore::TEST):
- 1:28 PM Changeset in webkit [119138] by
-
- 3 edits8 adds in trunk/LayoutTests
[Win] 10 fast/text tests failing
https://bugs.webkit.org/show_bug.cgi?id=87998
Add/update Windows-specific expected (failing?) pixel results in order to get the bots greener.
- platform/win/fast/text/complex-preferred-logical-widths-expected.png: Added.
- platform/win/fast/text/complex-synthetic-bold-space-width-expected.png: Added.
- platform/win/fast/text/international/arabic-justify-expected.png: Added.
- platform/win/fast/text/international/bidi-mirror-he-ar-expected.png:
- platform/win/fast/text/international/float-as-only-child-of-isolate-crash-expected.png: Added.
- platform/win/fast/text/international/text-combine-image-test-expected.png:
- platform/win/fast/text/international/text-spliced-font-expected.png: Added.
- platform/win/fast/text/line-initial-and-final-swashes-expected.png: Added.
- platform/win/fast/text/midword-break-before-surrogate-pair-2-expected.png: Added.
- platform/win/fast/text/unicode-variation-selector-expected.png: Added.
- 1:16 PM Changeset in webkit [119137] by
-
- 4 edits in trunk/LayoutTests
Unreviewed gardening, updating baselines after r119124.
- dom/xhtml/level3/core/documentnormalizedocument10-expected.txt:
- dom/xhtml/level3/core/documentsetxmlversion03-expected.txt:
- fast/workers/storage/test-authorizer-sync-expected.txt:
- 12:58 PM Changeset in webkit [119136] by
-
- 3 edits in trunk/Source/WebCore
<rdar://problem/11544454> and https://bugs.webkit.org/show_bug.cgi?id=87990
Crashes unregistering DOMWindowProperties while releasing CachedPages
Reviewed by Jessie Berlin.
This patch rewrites DOMWindowProperty to always keep direct track of the DOMWindow
it has registered with and to only ever unregister from that very same DOMWindow.
No new tests. (While the direct cause of the crash is understood, reproducing it is not)
- page/DOMWindowProperty.cpp:
(WebCore::DOMWindowProperty::DOMWindowProperty):
(WebCore::DOMWindowProperty::~DOMWindowProperty):
(WebCore::DOMWindowProperty::disconnectFrameForPageCache):
(WebCore::DOMWindowProperty::reconnectFrameFromPageCache):
(WebCore::DOMWindowProperty::willDestroyGlobalObjectInCachedFrame):
(WebCore::DOMWindowProperty::willDestroyGlobalObjectInFrame):
(WebCore::DOMWindowProperty::willDetachGlobalObjectFromFrame):
- page/DOMWindowProperty.h:
(DOMWindowProperty):
- 12:48 PM Changeset in webkit [119135] by
-
- 1 edit in branches/chromium/1132/LayoutTests/platform/chromium/test_expectations.txt
Revert bad merge of chromium test_expectations.txt on 1132 branch
BUG=130392
- 12:30 PM Changeset in webkit [119134] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[Blackberry] Initialize the select client and delete the pointer
in the destructor so it doesn't leak. Fixes test crashes.
https://bugs.webkit.org/show_bug.cgi?id=87992
Reviewed by Rob Buis.
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::InputHandler):
(BlackBerry::WebKit::InputHandler::~InputHandler):
- 12:20 PM Changeset in webkit [119133] by
-
- 2 edits2 copies in branches/chromium/1132
Merge 117365 - Crash if SVG gradient stop has display: none set
- 12:12 PM Changeset in webkit [119132] by
-
- 3 edits in trunk/Source/WTF
Vector should have a move constructor and move assignment operator
https://bugs.webkit.org/show_bug.cgi?id=87997
Reviewed by Andreas Kling.
- wtf/Compiler.h:
Use has_extension so we can use move semantics and other C++11 features even when building as C++98.
- wtf/Vector.h:
Add a move constructor and a move assignment operator to Vector.
- 12:08 PM Changeset in webkit [119131] by
-
- 58 edits in trunk
rename flexbox CSS properties from flex-align and flex-item-align to align-items and align-self
https://bugs.webkit.org/show_bug.cgi?id=87907
Reviewed by Ojan Vafai.
Source/WebCore:
This was recently changed in the spec:
http://dev.w3.org/csswg/css3-flexbox/#align-items-property
No new tests, updated the tests to use the new naming.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
(WebCore::isKeywordPropertyID):
(WebCore::CSSParser::parseValue):
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EAlignItems):
- css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
- css/CSSPropertyNames.in:
- css/StyleBuilder.cpp:
(WebCore::StyleBuilder::StyleBuilder):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
- rendering/RenderFlexibleBox.cpp:
(WebCore::alignmentForChild):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::alignChildren):
- rendering/style/RenderStyle.h:
- rendering/style/RenderStyleConstants.h:
- rendering/style/StyleFlexibleBoxData.cpp:
(WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
(WebCore::StyleFlexibleBoxData::operator==):
- rendering/style/StyleFlexibleBoxData.h:
(StyleFlexibleBoxData): Move member variables to StyleRareNonInheritedData
because these values will eventually apply to more than just flexbox.
- rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
- rendering/style/StyleRareNonInheritedData.h:
(StyleRareNonInheritedData):
LayoutTests:
Updated tests for new CSS property names.
- css3/flexbox/align-absolute-child.html:
- css3/flexbox/cross-axis-scrollbar.html:
- css3/flexbox/css-properties-expected.txt:
- css3/flexbox/css-properties.html:
- css3/flexbox/flex-align-baseline.html:
- css3/flexbox/flex-align-column.html:
- css3/flexbox/flex-align-end.html:
- css3/flexbox/flex-align-stretch.html:
- css3/flexbox/flex-align-vertical-writing-mode.html:
- css3/flexbox/flex-align.html:
- css3/flexbox/line-wrapping.html:
- css3/flexbox/multiline-align.html:
- css3/flexbox/multiline-reverse-wrap-baseline.html:
- css3/flexbox/orthogonal-flex-directions.html:
- css3/flexbox/position-absolute-child.html:
- css3/flexbox/true-centering.html:
- 11:52 AM Changeset in webkit [119130] by
-
- 2 edits9 adds in trunk/LayoutTests
[Win] 10 fast/text tests failing
https://bugs.webkit.org/show_bug.cgi?id=87998
Add/update Windows-specific expected (failing?) results in order to get the bots greener.
- platform/win/fast/text/complex-preferred-logical-widths-expected.txt: Added.
- platform/win/fast/text/complex-synthetic-bold-space-width-expected.txt: Added.
- platform/win/fast/text/international/arabic-justify-expected.txt: Added.
- platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
- platform/win/fast/text/international/float-as-only-child-of-isolate-crash-expected.txt: Added.
- platform/win/fast/text/international/text-combine-image-test-expected.txt:
- platform/win/fast/text/international/text-spliced-font-expected.txt: Added.
- platform/win/fast/text/line-initial-and-final-swashes-expected.txt: Added.
- platform/win/fast/text/midword-break-before-surrogate-pair-2-expected.txt: Added.
- platform/win/fast/text/unicode-variation-selector-expected.txt: Added.
- 11:48 AM Changeset in webkit [119129] by
-
- 2 edits in trunk/Source/Platform
[chromium] Add copy constructor to WebFilterOperations
https://bugs.webkit.org/show_bug.cgi?id=87970
Reviewed by James Robinson.
- chromium/public/WebFilterOperations.h:
(WebKit::WebFilterOperations::WebFilterOperations):
- 11:37 AM Changeset in webkit [119128] by
-
- 2 edits in trunk/LayoutTests
Updating test expectations (svg/as-image/animated-svg-as-image.html)
- platform/chromium/test_expectations.txt:
- 11:17 AM Writing testharness Tests edited by
- (diff)
- 11:17 AM Writing testharness Tests edited by
- (diff)
- 11:11 AM Changeset in webkit [119127] by
-
- 4 edits in trunk/Tools
[WK2] window.internals settings are not reset between tests
https://bugs.webkit.org/show_bug.cgi?id=87783
Reviewed by Mihai Parparita.
- WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::done): Call resetAfterTest().
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::prepare): Renamed from "reset" for clarity. (WTR::InjectedBundlePage::resetAfterTest): Added a function that resets internals. This needs to be done after a tets, because the code assumes that there is an object with this name in global scope.
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
- 11:09 AM Changeset in webkit [119126] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Crash when destroying WebOverlay with active WebOverlayOverride
https://bugs.webkit.org/show_bug.cgi?id=87968
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-31
Reviewed by Rob Buis.
The override object is using a compositing thread WebOverlayPrivate
object with no client because the layer doesn't delegate drawing to the
WebOverlayPrivate, it's only used to modify the override properties on
the underlying compositing thread layer.
Since the m_layerCompositingThreadClient is optional, we have to add
null checks.
- Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::~WebOverlayPrivateCompositingThread):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setClient):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToColor):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setDrawsContent):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::invalidate):
- 11:03 AM Changeset in webkit [119125] by
-
- 22 edits in trunk/Source
Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgress()
https://bugs.webkit.org/show_bug.cgi?id=86113
Reviewed by Eric Carlson.
Source/WebCore:
No new functionality, so no new tests. Loading progress is already tested by existing layouttests.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::startProgressEventTimer):
(WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle):
(WebCore::HTMLMediaElement::progressEventTimerFired):
(WebCore::HTMLMediaElement::startPlaybackProgressTimer):
- platform/graphics/MediaPlayer.cpp:
(WebCore::NullMediaPlayerPrivate::didLoadingProgress):
(WebCore::MediaPlayer::didLoadingProgress):
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h:
(MediaPlayerPrivateInterface):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(MediaPlayerPrivateAVFoundation):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::didLoadingProgress):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::didLoadingProgress):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
(MediaPlayerPrivateQTKit):
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit):
(WebCore::MediaPlayerPrivateQTKit::didLoadingProgress):
- platform/graphics/qt/MediaPlayerPrivateQt.cpp:
(WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
(WebCore::MediaPlayerPrivateQt::didLoadingProgress):
- platform/graphics/qt/MediaPlayerPrivateQt.h:
(MediaPlayerPrivateQt):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext):
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::didLoadingProgress):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
(MediaPlayerPrivateQuickTimeVisualContext):
- platform/graphics/wince/MediaPlayerPrivateWinCE.h:
(MediaPlayerPrivate):
Source/WebKit/chromium:
- public/WebMediaPlayer.h:
(WebMediaPlayer):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 11:00 AM Changeset in webkit [119124] by
-
- 31 edits3 moves8 adds4 deletes in trunk
Make DOM Exceptions Errors
https://bugs.webkit.org/show_bug.cgi?id=85078
Reviewed by Oliver Hunt.
WebIDL mandates that exceptions should have Error.prototype on its prototype chain.
For JSC we have access to the Error.prototype from the binding code.
For V8 we set a field in the WrapperTypeInfo and when the constructor function is created we
set the prototype as needed.
Updated test: fast/dom/DOMException/prototype-object.html
Source/JavaScriptCore:
- JavaScriptCore.xcodeproj/project.pbxproj:
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
- runtime/JSGlobalObject.h:
(JSC):
(JSGlobalObject):
(JSC::JSGlobalObject::errorPrototype):
Source/WebCore:
- ForwardingHeaders/runtime/ErrorPrototype.h: Added.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNamedConstructorCallback):
(GenerateImplementation):
- bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestException::createPrototype):
- bindings/scripts/test/JS/JSTestException.h:
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore):
(WebCore::V8TestObj::installPerContextProperties):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore):
- bindings/v8/NPV8Object.cpp:
(WebCore::npObjectTypeInfo):
- bindings/v8/V8BindingPerContextData.cpp:
(WebCore):
(WebCore::V8BindingPerContextData::init):
(WebCore::V8BindingPerContextData::createWrapperFromCacheSlowCase):
(WebCore::V8BindingPerContextData::constructorForTypeSlowCase):
- bindings/v8/V8BindingPerContextData.h:
(V8BindingPerContextData):
- bindings/v8/V8HiddenPropertyName.h:
(WebCore):
- bindings/v8/WrapperTypeInfo.h:
(WebCore):
(WrapperTypeInfo):
- bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore):
LayoutTests:
- fast/dom/DOMException/prototype-object-expected.txt:
- fast/dom/DOMException/prototype-object.html:
- fast/dom/DOMException/resources/prototype-object.js: Removed.
- platform/chromium-win/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt: Removed.
- platform/chromium-win/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: Removed.
- platform/chromium-win/svg/filters/feBlend-invalid-mode-expected.txt: Removed.
- platform/chromium/dom/xhtml/level3/core/documentnormalizedocument10-expected.txt: Added.
- platform/chromium/dom/xhtml/level3/core/documentsetxmlversion03-expected.txt: Added.
- platform/chromium/fast/dom/DOMException/prototype-object-expected.txt:
- platform/chromium/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt.
- platform/chromium/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt.
- platform/chromium/svg/filters/feBlend-invalid-mode-expected.txt: Renamed from LayoutTests/platform/chromium-mac/svg/filters/feBlend-invalid-mode-expected.txt.
- 10:56 AM Changeset in webkit [119123] by
-
- 2 edits in trunk/LayoutTests
[Win] ASSERT(oldLayoutDelta == view()->layoutDelta()) failed in RenderBlock::layoutBlockChild
when running media/media-volume-slider-rendered-below.html
https://bugs.webkit.org/show_bug.cgi?id=87450
Add the test to the Windows Skipped list to get the bots greener.
- platform/win/Skipped:
- 10:55 AM Writing Layout Tests for DumpRenderTree edited by
- (diff)
- 10:51 AM Writing testharness Tests created by
- 10:42 AM WikiStart edited by
- (diff)
- 10:41 AM Changeset in webkit [119122] by
-
- 40 edits in branches/safari-536-branch
Merge <rdar://problem/10887709>
- 10:38 AM Changeset in webkit [119121] by
-
- 6 edits3 adds in trunk/Source
[chromium] create WebTransformOperation interface for chromium platform
https://bugs.webkit.org/show_bug.cgi?id=87510
Patch by Ian Vollick <vollick@chromium.org> on 2012-05-31
Reviewed by James Robinson.
Source/Platform:
- Platform.gypi:
- chromium/public/WebTransformOperations.h: Added.
(WebKit):
(WebTransformOperations):
(WebKit::WebTransformOperations::~WebTransformOperations):
(WebKit::WebTransformOperations::WebTransformOperations):
(WebKit::WebTransformOperations::operator=):
Source/WebCore:
Unit tests:
WebTransformOperationsTest.transformTypesAreUnique
WebTransformOperationsTest.matchesTypesSameLength
WebTransformOperationsTest.matchesTypesDifferentLength
WebTransformOperationsTest.applyTranslate
WebTransformOperationsTest.applyRotate
WebTransformOperationsTest.applyScale
WebTransformOperationsTest.applySkew
WebTransformOperationsTest.applyPerspective
WebTransformOperationsTest.applyMatrix
WebTransformOperationsTest.applyOrder
WebTransformOperationsTest.blendOrder
WebTransformOperationsTest.blendProgress
WebTransformOperationsTest.blendWhenTypesDoNotMatch
- WebCore.gypi:
- platform/chromium/support/WebTransformOperations.cpp: Added.
(WebKit):
(WebTransformOperationsPrivate):
(WebKit::WebTransformOperations::apply):
(WebKit::WebTransformOperations::blend):
(WebKit::WebTransformOperations::matchesTypes):
(WebKit::WebTransformOperations::appendTranslate):
(WebKit::WebTransformOperations::appendRotate):
(WebKit::WebTransformOperations::appendScale):
(WebKit::WebTransformOperations::appendSkew):
(WebKit::WebTransformOperations::appendPerspective):
(WebKit::WebTransformOperations::appendMatrix):
(WebKit::WebTransformOperations::reset):
(WebKit::WebTransformOperations::initialize):
Source/WebKit/chromium:
- WebKit.gypi:
- tests/WebTransformOperationsTest.cpp: Added.
(TEST):
(checkProgress):
- 10:36 AM WikiStart edited by
- (diff)
- 10:35 AM Changeset in webkit [119120] by
-
- 1 edit15 adds in trunk/LayoutTests
10 W3C video and audio canPlayType tests are failing on Mac and Win
https://bugs.webkit.org/show_bug.cgi?id=75184
Add Windows-specific expected (failing?) results to get the bots greener.
- platform/win/media/W3C: Added.
- platform/win/media/W3C/audio: Added.
- platform/win/media/W3C/audio/canPlayType: Added.
- platform/win/media/W3C/audio/canPlayType/canPlayType_supported_but_no_codecs_parameter_1-expected.txt: Added.
- platform/win/media/W3C/audio/canPlayType/canPlayType_supported_but_no_codecs_parameter_2-expected.txt: Added.
- platform/win/media/W3C/video: Added.
- platform/win/media/W3C/video/canPlayType: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_codecs_order_2-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_codecs_order_3-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_2-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_3-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_two_implies_one_3-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_two_implies_one_4-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_two_implies_one_5-expected.txt: Added.
- platform/win/media/W3C/video/canPlayType/canPlayType_two_implies_one_6-expected.txt: Added.
- 10:33 AM Changeset in webkit [119119] by
-
- 5 edits in trunk/Source/WebKit/blackberry
[Blackberry] WebKit's fullscreen mode needs to notify page client.
https://bugs.webkit.org/show_bug.cgi?id=87337
Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-05-31
Reviewed by Antonio Gomes.
Move "fullScreenVideoCapable" into webpagePrivate to make code
clean for "fullScreenForElement/Node" of cromeClientBlackberry,
All Video checks and code path selections are in webpagePrivate now.
For some UX and secure reasons, we could not apply fullscreen capacity
for all elements, So we use client's fullscreenStart/Stop only for
those video elements and those elements containing video tags.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
(BlackBerry::WebKit::WebPage::notifyFullScreenVideoExited):
(WebKit):
(BlackBerry::WebKit::containsVideoTags):
(BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
(BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
- Api/WebPageClient.h:
- Api/WebPage_p.h:
(WebCore):
(WebPagePrivate):
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::enterFullScreenForElement):
(WebCore::ChromeClientBlackBerry::exitFullScreenForElement):
- 10:29 AM Changeset in webkit [119118] by
-
- 3 edits in trunk/Source/WebKit/gtk
[GTK] Memory leak in webkit_web_view_init
https://bugs.webkit.org/show_bug.cgi?id=87943
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-31
Reviewed by Martin Robinson.
Fixed a memory leak in webkit_web_view_init by making the
UserMediaClientGtk to be owned by the WebView.
- webkit/webkitwebview.cpp:
(webkit_web_view_init):
- webkit/webkitwebviewprivate.h:
- 10:28 AM Changeset in webkit [119117] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix reference to unset variable in debug mode
https://bugs.webkit.org/show_bug.cgi?id=87981
Reviewed by Geoffrey Garen.
- runtime/JSONObject.cpp (Stringifier::Holder::Holder):
Initialize m_size in debug mode, as we check it later in an assert.
- 10:15 AM Changeset in webkit [119116] by
-
- 9 edits in trunk
[EFL][DRT] EFL's DRT navigation_policy_decision implementation
https://bugs.webkit.org/show_bug.cgi?id=85006
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-31
Reviewed by Tor Arne Vestbø.
Tools:
Added navigation_policy_decision implementation for DumpRenderTreeView.
Added LayoutTestController::setCustomPolicyDelegate implementation.
Modified LayoutTestController::waitForPolicyDelegate.
- DumpRenderTree/efl/DumpRenderTree.cpp:
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
- DumpRenderTree/efl/DumpRenderTreeEfl.h:
- DumpRenderTree/efl/DumpRenderTreeView.cpp:
(navigationTypeToString): aux function
(onNavigationPolicyDecision): navigation_policy_decision implementation
(drtViewAdd):
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setCustomPolicyDelegate):
(LayoutTestController::waitForPolicyDelegate):
LayoutTests:
Unskipped corresponding tests. Those still not passing are put into
test_expectations.txt.
- platform/efl/Skipped:
- platform/efl/test_expectations.txt:
- 10:00 AM Changeset in webkit [119115] by
-
- 7 edits in trunk
[EFL][DRT] LayoutTestController does not implement clearApplicationCacheForOrigin
https://bugs.webkit.org/show_bug.cgi?id=86195
Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-05-31
Reviewed by Gustavo Noronha Silva.
Source/WebKit/efl:
add new function to clear security origin application cache,
and a function to create a security origin from url string.
Reindent the header to match new longer return signature.
- ewk/ewk_security_origin.cpp:
(ewk_security_origin_application_cache_clear):
(ewk_security_origin_new_from_string):
- ewk/ewk_security_origin.h:
Tools:
Implement clearApplicationCacheForOrigin in EFL
LayoutTestController.
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::clearApplicationCacheForOrigin):
LayoutTests:
Unskip http/tests/appcache/origin-delete.html now that
EFL TestLayoutController has required functionality.
- platform/efl/Skipped:
- 9:53 AM Changeset in webkit [119114] by
-
- 2 edits in trunk/Source/WebCore
m_totalAllocated should be intialized in RenderArena constructor
https://bugs.webkit.org/show_bug.cgi?id=87967
Reviewed by Ojan Vafai.
- rendering/RenderArena.cpp:
(WebCore::RenderArena::RenderArena): added missing initializer.
- 9:36 AM Changeset in webkit [119113] by
-
- 3 edits in trunk/Source/WebKit/gtk
Spell checker doesn't recognize contractions (apostrophes)
https://bugs.webkit.org/show_bug.cgi?id=86118
Patch by commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> on 2012-05-31
Reviewed by Gustavo Noronha Silva.
The Enchant spell checker was breaking words on apostrophes, because
apparently they were always being detected as Pango word-end
characters. To know whether or not the apostrophe is a
word end character requires looking at a string with a larger
granularity than one character.
Simplify the way the we break strings, by search for non-graphable
character manually to find word starts and ends. This has the side
effect of removing the dependency on Pango and eliminating one copy.
This change also cleans up some misbehavior on the part of the
WebCoreSupport layer which was not converting from Unicode character
offsets to UTF-16. These offsets can be different if any of the
characters in the UTF-16 string are surrogate pairs (non BMP
characters).
- WebCoreSupport/TextCheckerClientGtk.cpp:
(WebKit::TextCheckerClientGtk::checkSpellingOfString): Properly
convert from Unicode offsets to UTF-16 offsets.
- webkit/webkitspellcheckerenchant.cpp:
(findByteOffsetToFirstNonGraphableCharacter): Added this helper.
(getExtentsOfNextWord): Ditto.
(wordIsSpelledCorrectlyInAtLeastOneDictionary): Ditto.
(checkSpellingOfString): Don't split words on apostrophes.
- 9:32 AM Changeset in webkit [119112] by
-
- 2 edits in trunk/LayoutTests
[GTK] Unreviewed. Added FAIL expectation due to failure after r119100.
- platform/gtk/test_expectations.txt:
- 9:08 AM Changeset in webkit [119111] by
-
- 1 edit6 adds in trunk/LayoutTests
[Win] 6 canvas tests failing
https://bugs.webkit.org/show_bug.cgi?id=87983
Add Windows-specific expected (failing?) results to get the bots greener.
- platform/win/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
- platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
- platform/win/fast/canvas/canvas-scale-drawImage-shadow-expected.txt: Added.
- platform/win/fast/canvas/canvas-scale-fillPath-shadow-expected.txt: Added.
- platform/win/fast/canvas/canvas-scale-fillRect-shadow-expected.txt: Added.
- platform/win/fast/canvas/canvas-transforms-fillRect-shadow-expected.txt: Added.
- 9:00 AM Changeset in webkit [119110] by
-
- 13 edits in trunk/Source/WebCore
The difference between a column and a column group renderer is badly drawn
https://bugs.webkit.org/show_bug.cgi?id=87556
Reviewed by Abhishek Arya.
No expected change in behavior.
This patch tries to draw a better line between those 3 concepts:
- renderer is a RenderTableCol (RenderObject::isRenderTableCol).
- renderer is a column (RenderTableCol::isTableColumn()).
- renderer is a column group (RenderTableCol::isTableColumnGroup()).
(most of the code that needs to know the difference manipulate a RenderTableCol
so there was no need to move the 2 last helpers into RenderObject)
- rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
Factored the code to use the column / column group iteration we
set up in the rest of the code. Made the code more self-describing
by using more RenderTableCol functions.
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addChild):
Factored the code to use the isTableColumn() and isTableColumnGroup() to
better underline what we check.
- rendering/RenderObject.h:
(WebCore::RenderObject::isRenderTableCol):
(WebCore::RenderObject::isTablePart):
Renamed isTableCol to isRenderTableCol to match the class as this doesn't
imply that the renderer is actually a column.
- html/HTMLTableColElement.cpp:
(WebCore::HTMLTableColElement::parseAttribute):
- rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::fullRecalc):
- rendering/RenderTable.cpp:
(WebCore::RenderTable::addChild):
(WebCore::RenderTable::layout):
(WebCore::RenderTable::firstColumn):
Updated after the isRenderTableCol rename.
- dom/Text.cpp:
(WebCore::Text::rendererIsNeeded):
- editing/htmlediting.cpp:
(WebCore::isTableStructureNode):
Ditto and renamed some variables.
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::rendererIsNeeded):
Ditto and added a FIXME as the logic doesn't seem very bullet proof.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::computeCollapsedStartBorder):
(WebCore::RenderTableCell::computeCollapsedEndBorder):
(WebCore::RenderTableCell::computeCollapsedBeforeBorder):
(WebCore::RenderTableCell::computeCollapsedAfterBorder):
Changed to use the enclosingColumnGroup* helpers.
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintCell):
- rendering/RenderTableCol.cpp:
(WebCore::RenderTableCol::isChildAllowed):
(WebCore::RenderTableCol::canHaveChildren):
(WebCore::RenderTableCol::enclosingColumnGroup):
(WebCore::RenderTableCol::nextColumn):
Updated to use the new functions.
- rendering/RenderTableCol.h:
(WebCore::RenderTableCol::isTableColumn):
(WebCore::RenderTableCol::isTableColumnGroup):
(WebCore::RenderTableCol::enclosingColumnGroupIfAdjacentBefore):
(WebCore::RenderTableCol::enclosingColumnGroupIfAdjacentAfter):
Added the following new helpers.
- 8:41 AM Changeset in webkit [119109] by
-
- 2 edits in trunk/Source/WebCore
Fix Lion build after r119073.
- platform/Decimal.cpp:
(WebCore::Decimal::toString):
Do not attempt to assign a unsigned long long to an int.
- 8:31 AM Changeset in webkit [119108] by
-
- 5 edits in trunk/Source/WebKit2
[GTK] Add webkit_download_get_request to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=87957
Reviewed by Martin Robinson.
- UIProcess/API/gtk/WebKitDownload.cpp:
(webkit_download_get_request): Return the WebKitURIRequest
representing the request that originated the download.
- UIProcess/API/gtk/WebKitDownload.h:
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbol.
- UIProcess/API/gtk/tests/TestDownloads.cpp:
(testDownloadLocalFile):
(testDownloadRemoteFile):
- 8:29 AM Changeset in webkit [119107] by
-
- 2 edits in trunk/Source/WebKit2
[SOUP] WebProcess crashes when a download is started from an existing ResourceHandle
https://bugs.webkit.org/show_bug.cgi?id=87953
Reviewed by Martin Robinson.
The output stream to write the downloaded data is created in the
didReceiveResponse callback of the download client. When a
download is created for an existing ResourceHandle (this happens
for example when policy decision is download), the response has
already been received. In this case we should make sure that the
download client is notified about the response, so that when data
actually arrives the output stream has already been created.
- WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::Download::startWithHandle):
- 8:27 AM Changeset in webkit [119106] by
-
- 2 edits in trunk/Source/WebKit2
[GTK] Fix webkit_web_view_can_execute_editing_command() API doc
https://bugs.webkit.org/show_bug.cgi?id=87930
Reviewed by Martin Robinson.
- UIProcess/API/gtk/WebKitWebView.cpp:
- 8:27 AM Changeset in webkit [119105] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Crash when closing web page if selection is active
https://bugs.webkit.org/show_bug.cgi?id=87962
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-31
Reviewed by Antonio Gomes.
The embedder may try to remove a layer from the compositor at a stage
where the compositor has been set to 0.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::addCompositingThreadOverlay):
(BlackBerry::WebKit::WebPage::removeCompositingThreadOverlay):
- 8:15 AM Changeset in webkit [119104] by
-
- 3 edits in trunk/LayoutTests
[v8] Fix bug reference in array-override-set.html test
https://bugs.webkit.org/show_bug.cgi?id=87952
Patch by Ulan Degenbaev <ulan@chromium.org> on 2012-05-31
Reviewed by Abhishek Arya.
- fast/canvas/webgl/array-override-set-expected.txt:
- fast/canvas/webgl/array-override-set.html:
- 8:12 AM Changeset in webkit [119103] by
-
- 2 edits in trunk/LayoutTests
[GTK] Unreviewed. Added FAIL expectation due to test consistently failing.
- platform/gtk/test_expectations.txt:
- 7:47 AM Changeset in webkit [119102] by
-
- 8 edits in trunk
[EFL] Enable CSS_IMAGE_SET flag
https://bugs.webkit.org/show_bug.cgi?id=87727
Patch by Christophe Dumez <Christophe Dumez> on 2012-05-31
Reviewed by Adam Roben.
.:
Add CSS_IMAGE_SET flag to CMake and enable it by default on EFL port.
- Source/cmake/OptionsEfl.cmake:
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
Source/WebCore:
Fix CMakeLists.txt so that CSSImageSetValue.cpp gets compiled if
CSS_IMAGE_SET flag is enabled.
- CMakeLists.txt:
LayoutTests:
Unskip test case associated to CSS image-set functionality now that it
is enabled by default on EFL port.
- platform/efl/test_expectations.txt:
- 7:44 AM Changeset in webkit [119101] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Added FAIL expectation for GTK due to missing feature in DRT.
- platform/gtk/test_expectations.txt:
- 7:32 AM Changeset in webkit [119100] by
-
- 6 edits in trunk
the imageSmoothingEnabled flag needs to be in the state object
https://bugs.webkit.org/show_bug.cgi?id=87853
Patch by Keyar Hood <keyar@chromium.org> on 2012-05-31
Reviewed by Darin Adler.
Source/WebCore:
Updated fast/canvas/canvas-imageSmoothingEnabled.html instead of
adding a new test.
The imageSmoothingEnabled flag is saved in the draw state now.
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
(WebCore::CanvasRenderingContext2D::State::State):
(WebCore::CanvasRenderingContext2D::State::operator=):
(WebCore::CanvasRenderingContext2D::webkitImageSmoothingEnabled):
(WebCore::CanvasRenderingContext2D::setWebkitImageSmoothingEnabled):
- html/canvas/CanvasRenderingContext2D.h:
(State):
LayoutTests:
Updated the test for imageSmoothingEnabled to test that it is saved in
the draw state.
- fast/canvas/canvas-imageSmoothingEnabled-expected.txt:
- fast/canvas/script-tests/canvas-imageSmoothingEnabled.js:
- 7:08 AM Changeset in webkit [119099] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Fix checkbox position on Settings screen.
https://bugs.webkit.org/show_bug.cgi?id=87007
Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-31
Reviewed by Yury Semikhatsky.
Checkbox seems to be improperly aligned.
It is "shifted" up on 1px on Mac and 2px on Linux.
Also, keyboard-shortcuts screen has "wrapped" key descriptions on Mac.
UI changes, no new tests.
- inspector/front-end/helpScreen.css:
(.help-container): Fixed column width.
(.help-block): Ditto.
(.help-key-cell): Ditto.
(body.platform-mac .help-container): Ditto.
(body.platform-mac .help-block): Ditto.
(body.platform-mac .help-key-cell): Ditto.
(.help-content p): Ajdusted spacing between lines
(.help-content input[type=checkbox]): Fixed alignment.
(body.platform-mac .help-content input[type=checkbox]): Ditto.
(.help-content input[type=radio]): Fixed alignment.
(body.platform-mac .help-content input[type=radio]): Ditto.
- 7:00 AM Changeset in webkit [119098] by
-
- 53 edits in trunk
[Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
https://bugs.webkit.org/show_bug.cgi?id=87955
Reviewed by Simon Hausmann.
Source/WebCore:
- bridge/qt/qt_class.cpp:
- bridge/qt/qt_instance.cpp:
- bridge/qt/qt_runtime.h:
- page/qt/EventHandlerQt.cpp:
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/OpenGLShims.cpp:
- platform/graphics/OpenGLShims.h:
- platform/graphics/gstreamer/PlatformVideoWindowPrivate.h:
- platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
- platform/graphics/qt/GraphicsContext3DQt.cpp:
- platform/graphics/qt/SimpleFontDataQt.cpp:
- platform/graphics/texmap/TextureMapper.h:
- platform/graphics/texmap/TextureMapperGL.cpp:
- platform/qt/DeviceMotionProviderQt.h:
- platform/qt/DeviceOrientationProviderQt.h:
- platform/qt/KURLQt.cpp:
- platform/qt/PlatformScreenQt.cpp:
- platform/qt/QWebPageClient.h:
- plugins/qt/PluginPackageQt.cpp:
- plugins/qt/PluginViewQt.cpp:
Source/WebKit/qt:
- Api/qgraphicswebview.cpp:
- Api/qgraphicswebview.h:
- Api/qwebframe.cpp:
- Api/qwebframe_p.h:
- Api/qwebpage.cpp:
- Api/qwebpage.h:
- Api/qwebsettings.cpp:
- Api/qwebview.cpp:
- Api/qwebview.h:
- WebCoreSupport/FrameLoaderClientQt.cpp:
- WebCoreSupport/GeolocationClientQt.cpp:
- WebCoreSupport/GeolocationClientQt.h:
- WebCoreSupport/PageClientQt.cpp:
- WebCoreSupport/WebEventConversion.cpp:
- declarative/plugin.cpp:
- tests/qwebframe/tst_qwebframe.cpp:
- tests/util.h:
Source/WebKit2:
- UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp:
Source/WTF:
- wtf/qt/UtilsQt.h:
Tools:
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
- DumpRenderTree/qt/EventSenderQt.cpp:
- DumpRenderTree/qt/QtInitializeTestFonts.cpp:
- DumpRenderTree/qt/main.cpp:
- QtTestBrowser/cookiejar.cpp:
- QtTestBrowser/launcherwindow.cpp:
- WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
- qmake/mkspecs/features/default_post.prf:
- 6:38 AM Changeset in webkit [119097] by
-
- 5 edits in trunk/Source/WebCore
Have StylePropertySet constructor take array/length instead of vector.
<http://webkit.org/b/87876>
Reviewed by Antti Koivisto.
Remove the StylePropertyVector typedef and have StylePropertySet constructors
take CSSProperty*/length since we are copying the data into a tightly packed
array anyway. This frees up the call sites to use whatever storage they please
rather than being restricted to a vector with inlineCapacity=4.
Change said call sites to use an arbitrary high inline capacity (256) for their
stack-allocated temporary vectors.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::copyPropertiesInSet):
- css/CSSParser.cpp:
(WebCore::filterProperties):
(WebCore::CSSParser::createStylePropertySet):
- css/StylePropertySet.cpp:
(WebCore::StylePropertySet::createImmutable):
(WebCore::StylePropertySet::StylePropertySet):
(WebCore::StylePropertySet::removePropertiesInSet):
(WebCore::StylePropertySet::copyPropertiesInSet):
- css/StylePropertySet.h:
(WebCore::StylePropertySet::create):
(StylePropertySet):
- 6:24 AM Changeset in webkit [119096] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening after r118989
https://bugs.webkit.org/show_bug.cgi?id=87958
Unreviewed gardening.
fast/css/font-face-download-error.html is skipped as bug85977 is not fixed yet.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-31
- platform/efl/test_expectations.txt:
- 6:07 AM Changeset in webkit [119095] by
-
- 2 edits in trunk/Source/WebKit2
[Qt][WK2] Add missing ViewportUpdateDeferrer guarding to setPageItemRectVisible() calls.
https://bugs.webkit.org/show_bug.cgi?id=87936
Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-05-31
Reviewed by Kenneth Rohde Christiansen.
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::viewportAttributesChanged):
(WebKit::QtViewportInteractionEngine::pageContentsSizeChanged):
- 5:41 AM Changeset in webkit [119094] by
-
- 3 edits in trunk/Source/WebCore
Fixing compilation with SVG disabled.
https://bugs.webkit.org/show_bug.cgi?id=87944
This patch adds the missing enumeration value
'CSSPropertyWebkitBoxDecorationBreak' into switch statements to make
clang happy.
Patch by Mike West <mkwst@chromium.org> on 2012-05-31
Reviewed by Alexis Menard.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):
- 5:33 AM Changeset in webkit [119093] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed, update Mac Leopard baselines for fast/muticol/span/span-as-immediate-columns-child.html.
- platform/chromium-mac-leopard/fast/multicol/span/span-as-immediate-columns-child-expected.png:
- 5:30 AM Changeset in webkit [119092] by
-
- 1 edit10 adds in trunk/Source/WebKit2
[EFL][WK2] Add WKURLRequestEfl and WKURLResponseEfl
https://bugs.webkit.org/show_bug.cgi?id=70231
Patch by Keunsoon Lee <keunsoon.lee@samsung.com> on 2012-05-31
Reviewed by Chang Shu.
These codes can be used for WKPageDecidePolicyForResponseCallback on page policy callbacks.
The callback conveys WKURLResponseRef and WKURLRequestRef as parameter.
By the way, EFL browser needs content type from response to decide correct policy.
Another information, cookie, is necessary with similar reason.
But, there is no way to obtain such information on WebKit2 main stream, except for WKURLRequestCopyURL().
So, EFL port created those files to extract necessary information from WKURLResponseRef and WKURLRequestRef,
and not to desturb WebKit2 main stream.
- Shared/API/c/efl/WKURLRequestEfl.cpp: Added.
(WKURLRequestEflCopyCookies): extracting cookie information from WKURLRequestRef.
- Shared/API/c/efl/WKURLRequestEfl.h: Added.
- Shared/API/c/efl/WKURLResponseEfl.cpp: Added.
(WKURLResponseEflCopyContentType): extracting content type (i.e. MIME type) from WKURLResponseRef.
- Shared/API/c/efl/WKURLResponseEfl.h: Added.
- Shared/efl/WebCoreArgumentCodersEfl.cpp: Added.
(CoreIPC):
(CoreIPC::::encode):
(CoreIPC::::decode):
- Shared/efl/WebURLRequestEfl.cpp: Added.
(WebKit):
(WebKit::WebURLRequestEfl::WebURLRequestEfl):
(WebKit::WebURLRequestEfl::cookies): obtaining cookie information from ResourceRequest.
- Shared/efl/WebURLRequestEfl.h: Added.
(WebKit):
(WebURLRequestEfl):
(WebKit::WebURLRequestEfl::create):
- Shared/efl/WebURLResponseEfl.cpp: Added.
(WebKit):
(WebKit::WebURLResponseEfl::WebURLResponseEfl):
(WebKit::WebURLResponseEfl::contentType): obtaining content type (i.e. MIME type) from ResourceResponse.
- Shared/efl/WebURLResponseEfl.h: Added.
(WebKit):
(WebURLResponseEfl):
(WebKit::WebURLResponseEfl::create):
- 5:06 AM Changeset in webkit [119091] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip new failing tests, unskip a now passing test.
- platform/qt/Skipped:
- 4:57 AM Changeset in webkit [119090] by
-
- 2 edits4 adds in trunk/LayoutTests
Unreviewed. Added new baselines for GTK after r117815.
- platform/gtk/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt: Added.
- platform/gtk/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Added.
- platform/gtk/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Added.
- platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Updated.
- platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
- 4:57 AM Changeset in webkit [119089] by
-
- 1 edit2 adds in trunk/LayoutTests
Unreviewed. Added new baselines for GTK after r118891.
- platform/gtk/fast/forms/select/optgroup-rendering-expected.png: Added.
- platform/gtk/fast/forms/select/optgroup-rendering-expected.txt: Added.
- 4:54 AM Changeset in webkit [119088] by
-
- 2 edits in trunk/Source/WebCore
[Platform] Implementation of Decimal(int32_t) isn't portable.
https://bugs.webkit.org/show_bug.cgi?id=87941
Reviewed by Kent Tamura.
This patch changes negation of integer to make unsigned integer
in portable way.
No new tests. This patch doesn't change behavior.
- platform/Decimal.cpp:
(WebCore::Decimal::Decimal): Use uint64_t(-int64_t(i32)) instead of uint64_t(-i32)
- 4:48 AM Changeset in webkit [119087] by
-
- 2 edits in trunk/LayoutTests
fast/events/message-port-multi.html needs new baseline after r119027
https://bugs.webkit.org/show_bug.cgi?id=87949
Unreviewed gardening.
Update baseline for fast/events/message-port-multi.html after r119027.
Now all the checks are passing and we can get rid of the FAIL lines in
the expected result.
Patch by Christophe Dumez <Christophe Dumez> on 2012-05-31
- fast/events/message-port-multi-expected.txt:
- 4:35 AM Changeset in webkit [119086] by
-
- 3 edits1 move in trunk/Source/WebKit2
[EFL][WK2] Rename ewk_private.h to ewk_view_private.h
https://bugs.webkit.org/show_bug.cgi?id=87923
Reviewed by Kenneth Rohde Christiansen.
EFL WK1 decided to divide up ewk_private.h into each file's XXX_private.h file in order to maintain
internal functions more easily. EFL WK2 needs to adjust this as well.
- UIProcess/API/efl/PageClientImpl.cpp:
- UIProcess/API/efl/ewk_view_private.h: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_private.h.
(WebCore):
- UIProcess/cairo/BackingStoreCairo.cpp:
- 4:28 AM Changeset in webkit [119085] by
-
- 2 edits in trunk/Source/WebKit/chromium
Web Inspector: [Chromium] Cannot bring Inspector to front when paused on breakpoint
https://bugs.webkit.org/show_bug.cgi?id=87871
Reviewed by Yury Semikhatsky.
When input events handling is suppressed (due to the JS being paused on a breakpoint), we should report
these events as NOT handled by the WebKit, so that the browser can handle them appropriately
(on MacOS, switching between the application windows is done through the default key event handler, so if you run
event.preventDefault() for all keydown events in a handler, the Chromium window switch will not occur on Cmd+`).
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleInputEvent):
- 4:22 AM Changeset in webkit [119084] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening after r118993
https://bugs.webkit.org/show_bug.cgi?id=87946
Unreviewed gardening.
Test fast/forms/file/input-file-write-files.html that was added at r118993 relies on
unsupported EventSender.beginDragWithFiles and hence should be skipped.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-31
- platform/efl/test_expectations.txt:
- 4:14 AM Changeset in webkit [119083] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Unskipping tests for GTK now passing in all the bots.
- platform/gtk/test_expectations.txt:
- 3:42 AM Changeset in webkit [119082] by
-
- 2 edits in trunk/LayoutTests
fast/dom/Window/mozilla-focus-blur.html failing after r118916
https://bugs.webkit.org/show_bug.cgi?id=87951
Unreviewed. Added FAIL expectation for GTK after r118916.
- platform/gtk/test_expectations.txt:
- 3:10 AM Changeset in webkit [119081] by
-
- 7 edits in trunk/LayoutTests
Test expectation pngs missing checksums
https://bugs.webkit.org/show_bug.cgi?id=87947
Reviewed by Ojan Vafai.
Add proper platform independent png expectation with checksum and revert chromium
expectations since layoutTestController.keepWebHistory() seems to have no effect
on chromium, and the test is still failing (See bug 87839).
- http/tests/misc/acid3-expected.png: Add png with embedded checksum.
- platform/chromium-mac-leopard/http/tests/misc/acid3-expected.png: Revert to prior r118566.
- platform/chromium-mac-snowleopard/http/tests/misc/acid3-expected.png: Revert to prior r118566.
- platform/chromium-mac/http/tests/misc/acid3-expected.png: Revert to prior r118566.
- platform/chromium-mac/http/tests/misc/acid3-expected.txt: Revert to prior r118566.
- platform/chromium/test_expectations.txt: Revert to prior r118566.
- 3:02 AM Changeset in webkit [119080] by
-
- 4 edits in trunk/Source
Source/WebCore: [CMAKE][EFL] Remove unneeded include path
https://bugs.webkit.org/show_bug.cgi?id=87927
Reviewed by Kenneth Rohde Christiansen.
Though *wtf* directory was moved to Source/WTF, PlatformEfl.cmake is still including the previous
path. In addition, files on EFL port are using "<wtf/gobject/XXX>" directly in #include line.
So, EFL port doesn't need to include ${JAVASCRIPTCORE_DIR}/wtf/gobject path anymore.
- PlatformEfl.cmake: Remove '${JAVASCRIPTCORE_DIR}/wtf/gobject' path from include path list.
Source/WebKit: [CMAKE][EFL] Remove unneeded include path
https://bugs.webkit.org/show_bug.cgi?id=87927
Reviewed by Kenneth Rohde Christiansen.
Though *wtf* directory was moved to Source/WTF, PlatformEfl.cmake is still including the previous
path. In addition, files on EFL port are using <wtf/gobject/XXX> directly in #include line.
So, EFL port doesn't need to include ${JAVASCRIPTCORE_DIR}/wtf/gobject path anymore.
- PlatformEfl.cmake: Remove '${JAVASCRIPTCORE_DIR}/wtf/gobject' path from include path list.
- 2:50 AM Changeset in webkit [119079] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
- DEPS:
- 2:47 AM Changeset in webkit [119078] by
-
- 2 edits in trunk/Tools
[Qt] Don't enforce the version of libpng for the config test when passing the option to the linker
Rubber-stamped by Kenneth Rohde Christiansen.
- qmake/config.tests/libpng/libpng.pro:
- 2:22 AM Changeset in webkit [119077] by
-
- 5 edits in trunk
[Chromium] Automatically install 64-bit linker for Android
https://bugs.webkit.org/show_bug.cgi?id=79780
Reviewed by Adam Barth.
Source/WebKit/chromium:
Change the Android-specific dependencies to inherit their revision from
Chromium's DEPS file, like many other dependencies do, solving the
versioning problem that we're running in to right now. These are listed
in Chromium's main DEPS file starting Chromium r139529.
- DEPS:
Tools:
Change the update-webkit-chromium script to check whether the 64-bit
linker needs to be installed as part of the update process. The actual
code for doing these checks and "installing" it has been added to the
webkitdirs.pm script.
The linker itself is part of the third_party/aosp repository, which
will be pulled in through the DEPS change.
- Scripts/update-webkit-chromium:
- Scripts/webkitdirs.pm:
(chromiumInstall64BitAndroidLinkerIfNeeded):
(chromiumReplaceAndroidLinkerIfNeeded):
- 2:02 AM Changeset in webkit [119076] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening after r118957
https://bugs.webkit.org/show_bug.cgi?id=87937
Unreviewed gardening.
compositing/layer-creation/fixed-position-and-transform.html and compositing/layer-creation/fixed-position-under-transform.html
added with r118957 were skipped in EFL port as EFL's LayoutTestController does not implement layerTreeAsText.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-31
- platform/efl/test_expectations.txt:
- 1:55 AM Changeset in webkit [119075] by
-
- 2 edits in trunk/Source/WebKit/chromium
Build fix for Chromium Linux (Tests) after r119073.
- tests/DecimalTest.cpp:
(TEST_F):
- 1:42 AM Changeset in webkit [119074] by
-
- 5 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Rebase xss test, skip failing tests.
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-05-31
- platform/qt/Skipped:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- 1:28 AM Changeset in webkit [119073] by
-
- 9 edits3 adds in trunk/Source
[Platform] Introduce Decimal class for Number/Range input type.
https://bugs.webkit.org/show_bug.cgi?id=87360
Reviewed by Kent Tamura.
Source/WebCore:
This patch added new class Decimal for decimal arithmatic in two
files: platform/Decimal.cpp and Decimal.h with unit test.
Test: WebKit/chromium/tests/DecimalTest.cpp
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- platform/Decimal.cpp: Added.
(WebCore):
(DecimalPrivate):
(SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::handle):
(WebCore::DecimalPrivate::SpecialValueHandler::value):
(UInt128):
(WebCore::DecimalPrivate::UInt128::UInt128):
(WebCore::DecimalPrivate::UInt128::high):
(WebCore::DecimalPrivate::UInt128::low):
(WebCore::DecimalPrivate::UInt128::multiply):
(WebCore::DecimalPrivate::UInt128::highUInt32):
(WebCore::DecimalPrivate::UInt128::lowUInt32):
(WebCore::DecimalPrivate::UInt128::isZero):
(WebCore::DecimalPrivate::UInt128::makeUInt64):
(WebCore::DecimalPrivate::UInt128::operator/=):
(WebCore::DecimalPrivate::UInt128::multiplyHigh):
(WebCore::DecimalPrivate::countDigits):
(WebCore::DecimalPrivate::scaleDown):
(WebCore::DecimalPrivate::scaleUp):
(WebCore::Decimal::EncodedData::EncodedData):
(WebCore::Decimal::EncodedData::operator==):
(WebCore::Decimal::Decimal):
(WebCore::Decimal::operator=):
(WebCore::Decimal::operator+=):
(WebCore::Decimal::operator-=):
(WebCore::Decimal::operator*=):
(WebCore::Decimal::operator/=):
(WebCore::Decimal::operator-):
(WebCore::Decimal::operator+):
(WebCore::Decimal::operator*):
(WebCore::Decimal::operator/):
(WebCore::Decimal::operator==):
(WebCore::Decimal::operator!=):
(WebCore::Decimal::operator<):
(WebCore::Decimal::operator<=):
(WebCore::Decimal::operator>):
(WebCore::Decimal::operator>=):
(WebCore::Decimal::abs):
(WebCore::Decimal::alignOperands):
(WebCore::Decimal::ceiling):
(WebCore::Decimal::compareTo):
(WebCore::Decimal::floor):
(WebCore::Decimal::fromString):
(WebCore::Decimal::infinity):
(WebCore::Decimal::nan):
(WebCore::Decimal::remainder):
(WebCore::Decimal::round):
(WebCore::Decimal::toString):
(WebCore::Decimal::zero):
- platform/Decimal.h: Added.
(WebCore):
(DecimalPrivate):
(Decimal):
(EncodedData):
(WebCore::Decimal::EncodedData::operator!=):
(WebCore::Decimal::EncodedData::coefficient):
(WebCore::Decimal::EncodedData::exponent):
(WebCore::Decimal::EncodedData::isFinite):
(WebCore::Decimal::EncodedData::isNaN):
(WebCore::Decimal::EncodedData::isSpecial):
(WebCore::Decimal::EncodedData::isZero):
(WebCore::Decimal::EncodedData::sign):
(WebCore::Decimal::EncodedData::setSign):
(WebCore::Decimal::EncodedData::formatClass):
(WebCore::Decimal::isFinite):
(WebCore::Decimal::isNaN):
(WebCore::Decimal::isNegative):
(WebCore::Decimal::isPositive):
(WebCore::Decimal::isSpecial):
(WebCore::Decimal::isZero):
(WebCore::Decimal::value):
(AlignedOperands):
(WebCore::Decimal::invertSign):
(WebCore::Decimal::exponent):
(WebCore::Decimal::sign):
Source/WebKit/chromium:
This patch added unit test for Decimal class.
- WebKit.gypi:
- tests/DecimalTest.cpp: Added.
(WebCore):
(WebCore::operator<<): Output Decimal for unit test debugging
(DecimalStepRange):
(DecimalStepRange::DecimalStepRange):
(DecimalStepRange::clampValue):
(DecimalTest):
(DecimalTest::encode):
(DecimalTest::fromString):
(DecimalTest::stepDown):
(DecimalTest::stepUp):
(TEST_F):
- 1:22 AM Changeset in webkit [119072] by
-
- 2 edits in trunk/LayoutTests
[EFL][DRT] Gardening after r118920
https://bugs.webkit.org/show_bug.cgi?id=87934
Unreviewed, gardening of http/tests/local/fileapi/file-last-modified-after-delete.html which
relies on unsupported drag'n'drop feature.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-31
- platform/efl/test_expectations.txt:
- 1:05 AM Changeset in webkit [119071] by
-
- 2 edits in trunk/LayoutTests
Web Inspector: Retainers are missing for all objects
https://bugs.webkit.org/show_bug.cgi?id=87655
Skip the test on wincairo platform.
Patch by Alexei Filippov <alexeif@chromium.org> on 2012-05-31
Reviewed by Yury Semikhatsky.
- platform/wincairo/Skipped:
- 1:00 AM Changeset in webkit [119070] by
-
- 22 edits in trunk/Source/WebCore
[V8] Pass Isolate to v8String() in custom bindings
https://bugs.webkit.org/show_bug.cgi?id=87825
Reviewed by Adam Barth.
The objective is to pass Isolate around in V8 bindings.
This patch passes Isolate to v8String() in custom bindings.
No tests. No change in behavior.
- bindings/v8/custom/V8ArrayBufferViewCustom.cpp:
(WebCore::installFastSet):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
(WebCore::V8CSSStyleDeclaration::namedPropertyEnumerator):
(WebCore::V8CSSStyleDeclaration::namedPropertyGetter):
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::toV8Object):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::typesAccessorGetter):
- bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::V8DOMStringMap::namedPropertyGetter):
(WebCore::V8DOMStringMap::namedPropertyEnumerator):
- bindings/v8/custom/V8FileReaderCustom.cpp:
(WebCore::V8FileReader::resultAccessorGetter):
- bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::toDataURLCallback):
- bindings/v8/custom/V8HTMLElementCustom.cpp:
(WebCore::toV8Object):
- bindings/v8/custom/V8HTMLInputElementCustom.cpp:
(WebCore::V8HTMLInputElement::selectionDirectionAccessorGetter):
- bindings/v8/custom/V8IDBAnyCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8IDBKeyCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::databaseIdCallback):
(WebCore::V8InjectedScriptHost::storageIdCallback):
- bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
(WebCore::V8InspectorFrontendHost::platformCallback):
- bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
(WebCore::V8JavaScriptCallFrame::typeAccessorGetter):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::toStringCallback):
- bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
(WebCore::V8SQLResultSetRowList::itemCallback):
- bindings/v8/custom/V8StorageCustom.cpp:
(WebCore::V8Storage::namedPropertyEnumerator):
(WebCore::storageGetter):
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::V8XMLHttpRequest::responseTextAccessorGetter):
- bindings/v8/custom/V8XSLTProcessorCustom.cpp:
(WebCore::V8XSLTProcessor::getParameterCallback):
- 12:55 AM Changeset in webkit [119069] by
-
- 5 edits in trunk
ComposedShadowTreeWalker should support traversing nodes in an orphaned shadow subtree.
https://bugs.webkit.org/show_bug.cgi?id=87493
Reviewed by Dimitri Glazkov.
Source/WebCore:
ComposedShadowTreeWalker assumed that a visited shadow root is
always assigned to a shadow insertion point since it only
traverses nodes which are rendered. But there is an exceptional
use case such as an event dispatching. Some events, such as a
'click' event, may happen in an orphaned shadow subtree. In such
cases, traversal might start with a node in an orphaned shadow
subtree. So ComposedShadowTreeWalker can not assume that visited
shadow root is always assigned to a shadow insertion point.
This patch only fixes ComposedShadowTreeWalker.
ComposedShadowTreeParentWalker will be fixed in another patch with
an event dispatching test.
Test: fast/dom/shadow/composed-shadow-tree-walker.html
- dom/ComposedShadowTreeWalker.cpp:
(WebCore::ComposedShadowTreeWalker::traverseParentBackToYoungerShadowRootOrHost):
LayoutTests:
- fast/dom/shadow/composed-shadow-tree-walker.html:
- 12:33 AM Changeset in webkit [119068] by
-
- 10 edits in trunk/Source
Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
https://bugs.webkit.org/show_bug.cgi?id=87830
Reviewed by James Robinson.
Source/Platform:
- chromium/public/Platform.h:
(Platform):
(WebKit::Platform::processMemorySizesInBytes): moved this method from
Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h, also
removed 'get' prefix.
Source/WebCore:
Added a method for getting process memory usage in bytes. It is
used in the inspector memory instrumentation to get process total
memory usage.
- inspector/InspectorMemoryAgent.cpp:
(WebCore::InspectorMemoryAgent::getProcessMemoryDistribution):
- platform/MemoryUsageSupport.cpp:
(WebCore::MemoryUsageSupport::processMemorySizesInBytes):
(WebCore):
- platform/MemoryUsageSupport.h:
(MemoryUsageSupport): provided embedders with a way to report WebKit process
memory usage.
- platform/chromium/MemoryUsageSupportChromium.cpp:
(WebCore::MemoryUsageSupport::processMemorySizesInBytes):
(WebCore):
Source/WebKit/chromium:
- public/platform/WebKitPlatformSupport.h: pulled getProcessMemorySize up
to the Source/Platform/chromium/public/Platform.h
- src/PlatformSupport.cpp:
- 12:22 AM Changeset in webkit [119067] by
-
- 9 edits3 deletes in trunk/Source
Unreviewed, rolling out r119062 and r119064.
http://trac.webkit.org/changeset/119062
http://trac.webkit.org/changeset/119064
https://bugs.webkit.org/show_bug.cgi?id=87360
Broke build on Lion, SnowLoepard, Chromium Windows, and
Chromium Linux 32
Source/WebCore:
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- platform/Decimal.cpp: Removed.
- platform/Decimal.h: Removed.
Source/WebKit/chromium:
- WebKit.gypi:
- tests/DecimalTest.cpp: Removed.
- 12:18 AM Changeset in webkit [119066] by
-
- 3 edits in trunk/Source/WebKit2
Move the specification of framework and library linking out of WebKit2.xcodeproj and into WebKit2.xcconfig
https://bugs.webkit.org/show_bug.cgi?id=87932
Reviewed by Dan Bernstein.
Doing this makes it easier to vary linking based on SDK or other factors.
- Configurations/WebKit2.xcconfig: Create FRAMEWORK_AND_LIBRARY_LDFLAGS,
which specifies the same list of frameworks and libraries that were
previously in WebKit2's 'Link Binary With Libraries' build phase, and
append it to $(OTHER_LDFLAGS).
- WebKit2.xcodeproj/project.pbxproj: Remove all frameworks and
libraries from the 'Link Binary With Libraries' build phase.
- 12:12 AM Changeset in webkit [119065] by
-
- 5 edits2 adds in trunk
text-decoration should not be propagated through absolutely positioned elements to <a> tags
https://bugs.webkit.org/show_bug.cgi?id=86517
Source/WebCore:
Patch by Shane Stephens <shanestephens@google.com> on 2012-05-31
Reviewed by Darin Adler.
Test: fast/css/text-decoration-in-second-order-descendants.html
- rendering/RenderObject.cpp:
(WebCore::RenderObject::getTextDecorationColors):
Remove fix from 18611 as it doesn't work on second order descendants.
- css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
Add floating and positioned checks when deciding whether to avoid propagating text decoration. Move all checks into new method to improve readability.
(WebCore::doesNotInheritTextDecoration): Added
LayoutTests:
Added layout test to check no propagation of text-decoration to second-order descendants
(i.e. descendants of descendants), where the first-order descendant is positioned.
Tightened up existing descendants test to fail when text-decoration is incorrectly propagated
to first-order descendant.
Patch by Shane Stephens <shanestephens@google.com> on 2012-05-31
Reviewed by Darin Adler.
- fast/css/text-decoration-in-descendants-expected.html:
- fast/css/text-decoration-in-second-order-descendants-expected.html: Added.
- fast/css/text-decoration-in-second-order-descendants.html: Added.
May 30, 2012:
- 11:58 PM Changeset in webkit [119064] by
-
- 2 edits in trunk/Source/WebCore
Build fix for Linon/SnowLeopard after r119062
- platform/Decimal.cpp:
(WebCore::Decimal::Decimal):
- 11:46 PM Changeset in webkit [119063] by
-
- 4 edits in trunk/Source
[GTK] [WK2] Memory leak in webkitWebViewBaseStartDrag
https://bugs.webkit.org/show_bug.cgi?id=87756
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-30
Reviewed by Carlos Garcia Campos.
Source/WebKit/gtk:
Fixed a memory leak in drag and drop by using adoptRef instead
of just getting a new reference of targetList.
- WebCoreSupport/DragClientGtk.cpp:
(WebKit::DragClient::startDrag):
Source/WebKit2:
Fixed memory leaks in drag and drop by using adoptRef instead
of just getting new references.
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseStartDrag):
- 11:36 PM Changeset in webkit [119062] by
-
- 9 edits3 adds in trunk/Source
[Platform] Introduce Decimal class for Number/Range input type.
https://bugs.webkit.org/show_bug.cgi?id=87360
Reviewed by Kent Tamura.
Source/WebCore:
This patch added new class Decimal for decimal arithmatic in two
files: platform/Decimal.cpp and Decimal.h with unit test.
Test: WebKit/chromium/tests/DecimalTest.cpp
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- platform/Decimal.cpp: Added.
(WebCore):
(DecimalPrivate):
(SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::SpecialValueHandler):
(WebCore::DecimalPrivate::SpecialValueHandler::handle):
(WebCore::DecimalPrivate::SpecialValueHandler::value):
(UInt128):
(WebCore::DecimalPrivate::UInt128::UInt128):
(WebCore::DecimalPrivate::UInt128::high):
(WebCore::DecimalPrivate::UInt128::low):
(WebCore::DecimalPrivate::UInt128::multiply):
(WebCore::DecimalPrivate::UInt128::highUInt32):
(WebCore::DecimalPrivate::UInt128::lowUInt32):
(WebCore::DecimalPrivate::UInt128::isZero):
(WebCore::DecimalPrivate::UInt128::makeUInt64):
(WebCore::DecimalPrivate::UInt128::operator/=):
(WebCore::DecimalPrivate::UInt128::multiplyHigh):
(WebCore::DecimalPrivate::countDigits):
(WebCore::DecimalPrivate::scaleDown):
(WebCore::DecimalPrivate::scaleUp):
(WebCore::Decimal::EncodedData::EncodedData):
(WebCore::Decimal::EncodedData::operator==):
(WebCore::Decimal::Decimal):
(WebCore::Decimal::operator=):
(WebCore::Decimal::operator+=):
(WebCore::Decimal::operator-=):
(WebCore::Decimal::operator*=):
(WebCore::Decimal::operator/=):
(WebCore::Decimal::operator-):
(WebCore::Decimal::operator+):
(WebCore::Decimal::operator*):
(WebCore::Decimal::operator/):
(WebCore::Decimal::operator==):
(WebCore::Decimal::operator!=):
(WebCore::Decimal::operator<):
(WebCore::Decimal::operator<=):
(WebCore::Decimal::operator>):
(WebCore::Decimal::operator>=):
(WebCore::Decimal::abs):
(WebCore::Decimal::alignOperands):
(WebCore::Decimal::ceiling):
(WebCore::Decimal::compareTo):
(WebCore::Decimal::floor):
(WebCore::Decimal::fromString):
(WebCore::Decimal::infinity):
(WebCore::Decimal::nan):
(WebCore::Decimal::remainder):
(WebCore::Decimal::round):
(WebCore::Decimal::toString):
(WebCore::Decimal::zero):
- platform/Decimal.h: Added.
(WebCore):
(DecimalPrivate):
(Decimal):
(EncodedData):
(WebCore::Decimal::EncodedData::operator!=):
(WebCore::Decimal::EncodedData::coefficient):
(WebCore::Decimal::EncodedData::exponent):
(WebCore::Decimal::EncodedData::isFinite):
(WebCore::Decimal::EncodedData::isNaN):
(WebCore::Decimal::EncodedData::isSpecial):
(WebCore::Decimal::EncodedData::isZero):
(WebCore::Decimal::EncodedData::sign):
(WebCore::Decimal::EncodedData::setSign):
(WebCore::Decimal::EncodedData::formatClass):
(WebCore::Decimal::isFinite):
(WebCore::Decimal::isNaN):
(WebCore::Decimal::isNegative):
(WebCore::Decimal::isPositive):
(WebCore::Decimal::isSpecial):
(WebCore::Decimal::isZero):
(WebCore::Decimal::value):
(AlignedOperands):
(WebCore::Decimal::invertSign):
(WebCore::Decimal::exponent):
(WebCore::Decimal::sign):
Source/WebKit/chromium:
This patch added unit test for Decimal class.
- WebKit.gypi:
- tests/DecimalTest.cpp: Added.
(WebCore):
(WebCore::operator<<): Output Decimal for unit test debugging
(DecimalStepRange):
(DecimalStepRange::DecimalStepRange):
(DecimalStepRange::clampValue):
(DecimalTest):
(DecimalTest::encode):
(DecimalTest::fromString):
(DecimalTest::stepDown):
(DecimalTest::stepUp):
(TEST_F):
- 11:30 PM Changeset in webkit [119061] by
-
- 2 edits in trunk/Source/WebCore
Build fix for WinCE after r116723.
- platform/graphics/wince/FontWinCE.cpp:
(WebCore::TextRunComponent::TextRunComponent):
- 11:23 PM Changeset in webkit [119060] by
-
- 4 edits in trunk/Source/WebCore
Implement CSSParser::determineNameInNamespace() as a helper function for CSSGrammar.y
https://bugs.webkit.org/show_bug.cgi?id=87799
Reviewed by Darin Adler.
As pointed out by darin@ in https://bugs.webkit.org/show_bug.cgi?id=87627#c12,
we should avoid repeating the following code in CSSGrammar.y:
if (p->m_styleSheet)
$$->setTag(QualifiedName(namespacePrefix, $2, p->m_styleSheet->determineNamespace(namespacePrefix)));
else
$$->setTag(QualifiedName(namespacePrefix, $2, p->m_defaultNamespace));
This patch implements CSSParser::determineNameInNamespace() as a helper function
and replaces the above code.
Tests: fast/dom/SelectorAPI/*. No change in test results.
- css/CSSGrammar.y:
- css/CSSParser.cpp:
(WebCore::CSSParser::determineNameInNamespace):
(WebCore):
- css/CSSParser.h:
- 11:15 PM Changeset in webkit [119059] by
-
- 2 edits in trunk/Source/WebCore
Build fix for WinCE after r117697.
- page/wince/FrameWinCE.cpp:
(WebCore::computePageRectsForFrame):
- 11:05 PM Changeset in webkit [119058] by
-
- 5 edits in trunk/Source
[chromium] Fix min/max bounds error in CCMathUtil.cpp
https://bugs.webkit.org/show_bug.cgi?id=87915
Reviewed by James Robinson.
Source/WebCore:
Two unit tests added to CCMathUtilTest:
CCMathUtilTest.verifyEnclosingClippedRectUsesCorrectInitialBounds
CCMathUtilTest.verifyEnclosingRectOfVerticesUsesCorrectInitialBounds
While computing bounds, the initial values for xmax and ymax are
intended to be set to -float_max. It turns out that
std::numeric_limits<float>::min() actually returns the smallest
positive value close to zero, which is not what was intended. This
patch fixes the code to use -float_max instead, which is the
intended value.
- platform/graphics/chromium/cc/CCMathUtil.cpp:
(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::computeEnclosingRectOfVertices):
(WebCore::CCMathUtil::computeEnclosingClippedRect):
(WebCore):
- platform/graphics/chromium/cc/CCMathUtil.h:
(WebCore::HomogeneousCoordinate::HomogeneousCoordinate):
(HomogeneousCoordinate):
(WebCore::HomogeneousCoordinate::shouldBeClipped):
(WebCore::HomogeneousCoordinate::cartesianPoint2d):
(WebCore):
(CCMathUtil):
Source/WebKit/chromium:
- tests/CCMathUtilTest.cpp:
(WebCore::TEST):
(WebCore):
- 10:58 PM Changeset in webkit [119057] by
-
- 2 edits in trunk/Source/WebCore
Build fix for WinCE after r118568.
- platform/text/wince/TextBreakIteratorWinCE.cpp:
(WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator):
- 10:54 PM Changeset in webkit [119056] by
-
- 4 edits in branches/safari-536-branch
Merged r118891 -> <rdar://problem/11553964>
- 10:50 PM Changeset in webkit [119055] by
-
- 2 edits in trunk/Source/WebKit/chromium
Roll chromium DEPS from r139300 to r139542. Unreviewed.
https://bugs.webkit.org/show_bug.cgi?id=87868
- DEPS:
- 9:47 PM Changeset in webkit [119054] by
-
- 4 edits3 copies in branches/safari-536-branch
Merged r118956 -> <rdar://problem/11463622>
- 9:45 PM Changeset in webkit [119053] by
-
- 2 edits in branches/safari-536-branch/Source/WebKit2
Merged r118896 -> <rdar://problem/11505987>
- 9:39 PM Changeset in webkit [119052] by
-
- 3 edits in branches/safari-536-branch/Source/WebCore
Merged r118883 -> <rdar://problem/11550608>
- 9:30 PM Changeset in webkit [119051] by
-
- 11 edits2 deletes in branches/safari-536-branch
Merge <rdar://problem/11538697>
- 9:25 PM Changeset in webkit [119050] by
-
- 3 edits2 adds in trunk
Crash in ContainerNode::parserAddChild.
https://bugs.webkit.org/show_bug.cgi?id=87903
Reviewed by Ryosuke Niwa.
Source/WebCore:
Call the ChildNodeInsertionNotifier.notify call at the end since
it can destroy |this| and some of the local pointers like |last|.
This also matches the order of calls - childrenChanged precedes
ChildNodeInsertionNotifier.notify in updateTreeAfterInsertion and
ContainerNode::parserInsertBefore.
Also remove a FIXME since we use ChildNodeInsertionNotifier.notify
instead of ChildNodeInsertionNotifier.notifyInsertedIntoDocument
(as recommended in the FIXME).
Test: fast/dom/child-insertion-notify-crash.html
- dom/ContainerNode.cpp:
(WebCore::ContainerNode::parserAddChild):
LayoutTests:
- fast/dom/child-insertion-notify-crash-expected.txt: Added.
- fast/dom/child-insertion-notify-crash.html: Added.
- 9:23 PM Changeset in webkit [119049] by
-
- 3 edits in branches/safari-536-branch/Source/WebCore
Merged r118820 -> <rdar://problem/11550048>
- 9:20 PM Changeset in webkit [119048] by
-
- 2 edits in branches/safari-536-branch/Source/JavaScriptCore
Merged r118810 -> <rdar://problem/11459513>
- 9:12 PM Changeset in webkit [119047] by
-
- 2 edits in branches/safari-536-branch/Source/WebKit2
Merged r118615 -> <rdar://problem/11499408>
- 8:59 PM Changeset in webkit [119046] by
-
- 8 edits2 adds in trunk/Source/WebKit
[BlackBerry] Add an Accelerated Compositing layer for Web Inspector DOM highlight.
https://bugs.webkit.org/show_bug.cgi?id=81001
Source/WebKit:
Patch by Konrad Piascik <kpiascik@rim.com> on 2012-05-30
Reviewed by Antonio Gomes
Added new InspectorOverlay class
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
Patch by Konrad Piascik <kpiascik@rim.com> on 2012-05-30
Reviewed by Antonio Gomes.
Implemented InspectorOverlay using WebOverlayAPI.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::renderContents):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::updateDelegatedOverlays):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):
(BlackBerry::WebKit::WebPagePrivate::setInspectorOverlayClient):
(WebKit):
- Api/WebPage_p.h:
(WebCore):
(WebPagePrivate):
- WebCoreSupport/InspectorClientBlackBerry.cpp:
(WebCore::InspectorClientBlackBerry::highlight):
(WebCore::InspectorClientBlackBerry::hideHighlight):
(WebCore::InspectorClientBlackBerry::paintInspectorOverlay):
(WebCore):
- WebCoreSupport/InspectorClientBlackBerry.h:
(InspectorClientBlackBerry):
- WebCoreSupport/InspectorOverlay.cpp: Added.
(WebCore):
(WebCore::InspectorOverlay::create):
(WebCore::InspectorOverlay::InspectorOverlay):
(WebCore::InspectorOverlay::notifySyncRequired):
(WebCore::InspectorOverlay::paintContents):
(WebCore::InspectorOverlay::showDebugBorders):
(WebCore::InspectorOverlay::showRepaintCounter):
(WebCore::InspectorOverlay::contentsVisible):
(WebCore::InspectorOverlay::~InspectorOverlay):
(WebCore::InspectorOverlay::clear):
(WebCore::InspectorOverlay::update):
(WebCore::InspectorOverlay::paintWebFrame):
(WebCore::InspectorOverlay::invalidateWebFrame):
- WebCoreSupport/InspectorOverlay.h: Added.
(WebKit):
(WebCore):
(InspectorOverlay):
(InspectorOverlayClient):
(WebCore::InspectorOverlay::setClient):
(WebCore::InspectorOverlay::notifyAnimationStarted):
- 8:56 PM Changeset in webkit [119045] by
-
- 8 edits2 adds in trunk
[chromium] Implement pointer and hover CSS media features
https://bugs.webkit.org/show_bug.cgi?id=87403
Patch by Rick Byers <rbyers@chromium.org> on 2012-05-30
Reviewed by Adam Barth.
Source/WebCore:
Add initial support for the pointer and hover media features as defined
here:
http://dev.w3.org/csswg/css4-mediaqueries/#pointer
http://dev.w3.org/csswg/css4-mediaqueries/#hover
For now this only supports the case where we know a touch screen is
available (currently known only for the chromium port on certain
platforms). All other cases continue to behave exactly as if the media
feature isn't supported.
Tests: fast/media/mq-pointer.html
- css/CSSValueKeywords.in:
- css/MediaFeatureNames.h:
(MediaFeatureNames):
- css/MediaQueryEvaluator.cpp:
(WebCore::getLeastCapablePrimaryPointerDeviceType):
(WebCore):
(WebCore::hoverMediaFeatureEval):
(WebCore::pointerMediaFeatureEval):
- testing/InternalSettings.cpp:
(WebCore::InternalSettings::InternalSettings):
(WebCore::InternalSettings::restoreTo):
(WebCore::InternalSettings::setDeviceSupportsTouch):
(WebCore):
- testing/InternalSettings.h:
(InternalSettings):
- testing/InternalSettings.idl:
LayoutTests:
Adds tests for pointer and hover media features, for the initial cases
with and without a touch screen.
- fast/media/mq-pointer-expected.txt: Added.
- fast/media/mq-pointer.html: Added.
- 8:55 PM Changeset in webkit [119044] by
-
- 2 edits in branches/safari-536-branch/Source/WebKit2
Merged r118559 -> <rdar://problem/11518154>
- 8:53 PM Changeset in webkit [119043] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r118553 -> <rdar://problem/11267408>
- 8:50 PM Changeset in webkit [119042] by
-
- 3 edits in branches/safari-536-branch/Source/WebKit2
Merged r118505 -> <rdar://problem/11527166>
- 8:41 PM Changeset in webkit [119041] by
-
- 2 edits in branches/safari-536-branch
Fix Changelogs after rolling out 115573.
- 8:27 PM Changeset in webkit [119040] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r118450 -> <rdar://problem/11503078>
- 8:26 PM Changeset in webkit [119039] by
-
- 2 edits in trunk/LayoutTests
[Win] Need implementation of layoutTestController.setBackingScaleFactor
https://bugs.webkit.org/show_bug.cgi?id=87919
Add tests that use setBackingScaleFactor to the Windows Skipped list.
- platform/win/Skipped:
- 8:25 PM Changeset in webkit [119038] by
-
- 2 edits in branches/safari-536-branch/Source/WebKit2
Merged r118443 -> <rdar://problem/10090764>
- 8:23 PM Changeset in webkit [119037] by
-
- 3 edits in branches/safari-536-branch/Source/WebKit2
Merged r118441 -> <rdar://problem/10090764>
- 8:22 PM Changeset in webkit [119036] by
-
- 5 edits3 adds in branches/safari-536-branch
Merge <rdar://problem/11519288>
- 8:18 PM Changeset in webkit [119035] by
-
- 7 edits in branches/safari-536-branch/Source/WebKit2
Merged r118439 -> <rdar://problem/11510337>
- 8:16 PM Changeset in webkit [119034] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r118411 -> <rdar://problem/11350416>
- 8:15 PM Changeset in webkit [119033] by
-
- 4 edits in trunk/Source/WebCore
Add an helper function to get the style for a cell's flow computation
https://bugs.webkit.org/show_bug.cgi?id=87902
Reviewed by Ojan Vafai.
No expected change in behavior.
This change introduces styleForCellFlow that unify which function we use
to determine a cell's direction and writing mode.
This unification will make it easier to support direction on table row
group (section in WebKit land).
- rendering/RenderTableCell.h:
(WebCore::RenderTableCell::styleForCellFlow):
Added the new function along with a comment as to its purpose.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::clippedOverflowRectForRepaint):
(WebCore::RenderTableCell::computeCollapsedStartBorder):
(WebCore::RenderTableCell::computeCollapsedEndBorder):
(WebCore::RenderTableCell::computeCollapsedBeforeBorder):
(WebCore::RenderTableCell::computeCollapsedAfterBorder):
(WebCore::RenderTableCell::borderHalfLeft):
(WebCore::RenderTableCell::borderHalfRight):
(WebCore::RenderTableCell::borderHalfTop):
(WebCore::RenderTableCell::borderHalfBottom):
(WebCore::RenderTableCell::borderHalfStart):
(WebCore::RenderTableCell::borderHalfEnd):
(WebCore::RenderTableCell::borderHalfBefore):
(WebCore::RenderTableCell::borderHalfAfter):
(WebCore::RenderTableCell::paintCollapsedBorders):
Mostly mechanical replacement.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::cachedCollapsedLeftBorder):
(WebCore::RenderTableCell::cachedCollapsedRightBorder):
(WebCore::RenderTableCell::cachedCollapsedTopBorder):
(WebCore::RenderTableCell::cachedCollapsedBottomBorder):
Made the argument 'const' now.
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layoutRows):
Added a FIXME to unify with the rest.
- 8:14 PM Changeset in webkit [119032] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r118314 -> <rdar://problem/11497837>
- 8:12 PM Changeset in webkit [119031] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r118087 -> <rdar://problem/11497837>
- 8:05 PM Changeset in webkit [119030] by
-
- 3 edits in trunk/Tools
https://bugs.webkit.org/show_bug.cgi?id=87803
Layout tests often fail trying to stat nonexistent logs
Reviewed by Dirk Pranke.
CrashReporter removes logs using a heuristic to conserve space. Wrap a
try/catch block around accessing the logs as a precaution.
- Scripts/webkitpy/common/system/crashlogs.py:
(CrashLogs._find_newest_log_darwin):
- 8:05 PM Changeset in webkit [119029] by
-
- 2 edits in branches/safari-536-branch/Source
Merged r116319 -> <rdar://problem/11522805>
- 8:04 PM Changeset in webkit [119028] by
-
- 10 edits2 adds in trunk/Source/JavaScriptCore
Heap should sweep incrementally
https://bugs.webkit.org/show_bug.cgi?id=85429
We shouldn't have to wait for the opportunistic GC timer to fire in order
to call object destructors. Instead, we should incrementally sweep some
subset of the blocks requiring sweeping periodically. We tie this sweeping
to a timer rather than to collections because we want to reclaim this memory
even if we stop allocating. This way, our memory usage scales smoothly with
actual use, regardless of whether we've recently done an opportunistic GC or not.
Reviewed by Geoffrey Garen.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- heap/Heap.cpp:
(JSC::Heap::Heap):
(JSC::Heap::collect): We no longer sweep during a full sweep. We only shrink now,
which we will switch over to being done during incremental sweeping too as soon as
all finalizers can be run lazily (and, by extension, incrementally).
(JSC::Heap::sweeper):
(JSC):
- heap/Heap.h:
(JSC):
(Heap):
- heap/IncrementalSweeper.cpp: Added.
(JSC):
(JSC::IncrementalSweeper::timerDidFire): The IncrementalSweeper works very similarly to
GCActivityCallback. It is tied to a run-loop based timer that fires periodically based
on how long the previous sweep increment took to run. The IncrementalSweeper doesn't do
anything if the platform doesn't support CoreFoundation.
(JSC::IncrementalSweeper::IncrementalSweeper):
(JSC::IncrementalSweeper::~IncrementalSweeper):
(JSC::IncrementalSweeper::create):
(JSC::IncrementalSweeper::scheduleTimer):
(JSC::IncrementalSweeper::cancelTimer):
(JSC::IncrementalSweeper::doSweep): Iterates over the snapshot of the MarkedSpace taken
during the last collection, checking to see which blocks need sweeping. If it successfully
gets to the end of the blocks that need sweeping then it cancels the timer.
(JSC::IncrementalSweeper::startSweeping): We take a snapshot of the Heap and store it in
a Vector that the incremental sweep will iterate over. We also reset our index into this Vector.
- heap/IncrementalSweeper.h: Added.
(JSC):
(IncrementalSweeper):
- heap/MarkedBlock.h:
(JSC::MarkedBlock::needsSweeping): If a block is in the Marked state it needs sweeping
to be usable and to run any destructors that need to be run.
- 7:58 PM Changeset in webkit [119027] by
-
- 4 edits in trunk
[JSC] SerializedScriptValue.create() succeeds even if MessagePort object cannot be found in transferred ports
https://bugs.webkit.org/show_bug.cgi?id=87118
Patch by Christophe Dumez <Christophe Dumez> on 2012-05-30
Reviewed by Adam Barth.
Source/WebCore:
Make SerializedScriptValue.create() throw an exception if one of the
MessagePort objects cannot be found in the transferred ports. This
matches the behavior of the V8 implementation.
Test: webintents/web-intents-obj-constructor.html
- bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::dumpIfTerminal):
LayoutTests:
Unskip webintents/web-intents-obj-constructor.html now that
SerializedScriptValue.create() throws an exception if one of the
MessagePort objects cannot be found in the transferred ports.
- platform/efl/test_expectations.txt:
- 7:53 PM Changeset in webkit [119026] by
-
- 1 edit157 adds in trunk/LayoutTests
[Win] Need results for ietestcenter CSS3 tests
https://bugs.webkit.org/show_bug.cgi?id=87916
Add expected (failing?) results to get the bots greener.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-baseline-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-baseline-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-center-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-center-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-center-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-center-002-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-end-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-end-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-start-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-start-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-stretch-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-align-stretch-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-direction-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-direction-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-002-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-003-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-004-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-004-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-005-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-flex-005-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-002-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-003-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-004-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-groups-004-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-002-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-layout-003-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-ordinal-group-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-center-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-center-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-end-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-end-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-justify-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-justify-001-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-start-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/flexbox/flexbox-pack-start-001-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/display-grid-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/display-grid-001-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/display-grid-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/display-grid-002-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-001-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-002-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-column-003-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-columns-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-columns-001-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-001-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-002-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-003-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-004-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-004-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-005-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/grid/grid-items-005-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-block-formatting-context-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-block-formatting-context-001-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-001-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-002-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-containing-block-003-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-filling-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-filling-001-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-001-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-002-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-002-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-003-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-004-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-004-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-005-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-005-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-006-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-006-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-007-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-007-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-008-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-008-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-009-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-009-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-010-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-010-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-012-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-012-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-013-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-013-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-014-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-014-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-015-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-applies-to-015-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-negative-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-negative-001-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-percentage-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/multicolumn/column-width-percentage-001-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/declaring-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/declaring-001-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-007-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-007-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-008-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-008-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-009-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-009-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-010-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-010-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-011-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/prefix-011-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/qualifiedNames-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/qualifiedNames-001-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/scope-003-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/scope-003-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-016-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-016-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-017-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-017-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-018-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-018-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-019-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-019-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-020-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-020-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-021-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-021-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-022-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-022-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-023-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/syntax-023-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/terminology-001-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/namespaces/terminology-001-expected.txt: Added.
- platform/win/ietestcenter/css3/valuesandunits/units-000-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/valuesandunits/units-010-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/valuesandunits/units-010-expected.txt: Added.
- platform/win/ietestcenter/css3/valuesandunits/units-020-expected-expected.txt: Added.
- platform/win/ietestcenter/css3/valuesandunits/units-020-expected.txt: Added.
- 7:43 PM Changeset in webkit [119025] by
-
- 28 edits in branches/safari-536-branch
Rollout r115573 -> <rdar://problem/11553831>
- 7:31 PM Changeset in webkit [119024] by
-
- 6 edits in trunk/Source
[Chromium] Call fileUtilities methods directly
https://bugs.webkit.org/show_bug.cgi?id=87852
Reviewed by Adam Barth.
Part of a refactoring series. See tracking bug 82948.
Source/WebCore:
- platform/chromium/DragDataChromium.cpp:
(WebCore::DragData::asURL):
- platform/chromium/FileSystemChromium.cpp:
(WebCore::deleteFile):
(WebCore::deleteEmptyDirectory):
(WebCore::getFileSize):
(WebCore::getFileModificationTime):
(WebCore::getFileMetadata):
(WebCore::directoryName):
(WebCore::pathByAppendingComponent):
(WebCore::makeAllDirectories):
(WebCore::openFile):
(WebCore::closeFile):
(WebCore::seekFile):
(WebCore::truncateFile):
(WebCore::readFromFile):
(WebCore::writeToFile):
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore):
- 7:24 PM Changeset in webkit [119023] by
-
- 5 edits2 adds in trunk
Form controls in <fieldset disabled> should not be focusable.
https://bugs.webkit.org/show_bug.cgi?id=87380
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/forms/fieldset/focus-in-fieldset-disabled.html
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::supportsFocus):
Refer to disabled() instead of m_disabled to take account of wrapping
fieldset elements.
LayoutTests:
- fast/forms/fieldset/fieldset-disabled-expected.txt:
- fast/forms/fieldset/fieldset-disabled.html:
Updated because disabled controls are not focusable.
Also, remove testing elements to remove unnecessary blank lines.
- fast/forms/fieldset/focus-in-fieldset-disabled-expected.txt: Added.
- fast/forms/fieldset/focus-in-fieldset-disabled.html: Added.
- 7:17 PM Changeset in webkit [119022] by
-
- 3 edits in trunk/LayoutTests
Fix a composed-shadow-tree-walker.html so that it uses correct selectors.
https://bugs.webkit.org/show_bug.cgi?id=87500
Reviewed by Dimitri Glazkov.
Fix a test and an expectation for composed-shadow-tree-walker.html.
A current composed-shadow-tree-walker.html uses class selector
(.class). That's not the test author's intention and the expected
text was wrongly generated based on wrong tests.
- fast/dom/shadow/composed-shadow-tree-walker-expected.txt:
- fast/dom/shadow/composed-shadow-tree-walker.html:
- 7:03 PM Changeset in webkit [119021] by
-
- 3 edits in trunk/Source/WebCore
[wx] Implement HTML clipboard support.
https://bugs.webkit.org/show_bug.cgi?id=87883
Reviewed by Kevin Ollivier.
- 7:01 PM Changeset in webkit [119020] by
-
- 2 edits in trunk/Source/WebCore
TextFieldDecorationElement should respect style attribute
https://bugs.webkit.org/show_bug.cgi?id=87762
Patch by Garrett Casto <gcasto@chromium.org> on 2012-05-30
Reviewed by Kent Tamura.
- html/shadow/TextFieldDecorationElement.cpp: Use style set on the
Element when creating rendering style.
(WebCore::TextFieldDecorationElement::customStyleForRenderer):
- 6:54 PM Changeset in webkit [119019] by
-
- 7 edits6 adds in trunk
Add a LayoutTest for prerender remove after stop.
https://bugs.webkit.org/show_bug.cgi?id=87860
Tools:
These very boring mocks in DumpRenderTree mean that the basic Prerendering API
can be tested by LayoutTests now.
Reviewed by Adam Barth.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/MockWebPrerenderingSupport.cpp: Added.
(MockWebPrerenderingSupport::MockWebPrerenderingSupport):
(MockWebPrerenderingSupport::~MockWebPrerenderingSupport):
(MockWebPrerenderingSupport::add):
(MockWebPrerenderingSupport::cancel):
(MockWebPrerenderingSupport::abandon):
- DumpRenderTree/chromium/MockWebPrerenderingSupport.h: Added.
(MockWebPrerenderingSupport):
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
- DumpRenderTree/chromium/TestShell.h:
(TestShell):
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::willAddPrerender):
(WebViewHost::setWebWidget):
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
LayoutTests:
Bug 87746 was uploaded without a LayoutTest because I originally thought
it would only be testable in Chrome with a browser test. However, that was
wrong.
Note that this test doesn't need to be disabled based on if the platform
uses Prerendering, since the test is for a crash, which won't happen on
platforms without prerendering, either.
Reviewed by Adam Barth.
- fast/dom/HTMLLinkElement/prerender-remove-after-stop-expected.txt: Added.
- fast/dom/HTMLLinkElement/prerender-remove-after-stop.html: Added.
- fast/dom/HTMLLinkElement/resources/empty.html: Added.
- fast/dom/HTMLLinkElement/resources/simple-prerender.html: Added.
- 6:51 PM Changeset in webkit [119018] by
-
- 4 edits in trunk/Tools
https://bugs.webkit.org/show_bug.cgi?id=87717
Unresponsive WebProcesses can be mistaken for WebProcess crashes.
Reviewed by Dirk Pranke.
Change the error message from #CRASHED to #UNRESPONSIVE PROCESS
If there isn't a crash log found for the process add a message saying
the process was unresponsive.
- Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver.init):
(WebKitDriver._check_for_driver_crash):
(WebKitDriver.run_test):
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitDriverTest.test_check_for_driver_crash.assert_crash):
(WebKitDriverTest):
(WebKitDriverTest.test_check_for_driver_crash):
- WebKitTestRunner/TestController.cpp:
(WTR):
(WTR::TestController::runTest):
- 6:51 PM Changeset in webkit [119017] by
-
- 6 edits in trunk/Tools
https://bugs.webkit.org/show_bug.cgi?id=87714
Mac crash logs can take a really long time to be written out.
Reviewed by Dirk Pranke.
Make a second pass looking for crash logs after the tests have completed running.
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(use_trac_links_in_results_html):
(Manager.run):
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.repository_paths):
(Port.look_for_new_crash_logs):
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.look_for_new_crash_logs):
- Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_get_crash_log):
(test_look_for_new_crash_logs):
(test_look_for_new_crash_logs.fake_time_cb):
- 6:38 PM Changeset in webkit [119016] by
-
- 2 edits in trunk/Source/JavaScriptCore
[WINCE] Fix JSString after r115516.
https://bugs.webkit.org/show_bug.cgi?id=87892
Reviewed by Geoffrey Garen.
r115516 splitted JSString into two classes, with addition nested classes.
Add a workaround for the WinCE compiler since it can't resolve the friend class
declerations corretly and denies the access to protected members of JSString.
- runtime/JSString.h:
(JSC::JSRopeString::RopeBuilder::append):
(JSC::JSRopeString::append):
(JSRopeString):
- 6:37 PM Changeset in webkit [119015] by
-
- 2 edits in trunk/Source/WebCore
Avoid second layout for flex-direction:row, flex-basis:auto flex items
https://bugs.webkit.org/show_bug.cgi?id=87901
Reviewed by Tony Chang.
No new tests. This is strictly a performance optimization and has no other
web visible changes.
Also, add FIXMEs for other cases where we could avoid doing layouts.
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::applyStretchAlignmentToChild):
- 6:31 PM Changeset in webkit [119014] by
-
- 5 edits in trunk
WebKit incorrectly clears the alpha channel on readPixels, even for Framebuffers
https://bugs.webkit.org/show_bug.cgi?id=87310
Reviewed by Kenneth Russell.
Source/WebCore:
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::getParameter): set DEPTH_BITS/STENCIL_BITS to 0 if related channels are not requested.
(WebCore::WebGLRenderingContext::readPixels): don't do the alpha value fix if the current bound is not the internal drawing buffer.
LayoutTests:
- fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias-expected.txt:
- fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html: synced with khronos
- 6:21 PM Changeset in webkit [119013] by
-
- 77 edits in trunk
Unreviewed, rolling out r118986.
http://trac.webkit.org/changeset/118986
https://bugs.webkit.org/show_bug.cgi?id=87914
Caused several IndexedDB browser_test failures on Chromium
canary builders (Requested by rafaelw_ on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30
Source/WebCore:
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::advance):
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::setVersion):
- Modules/indexeddb/IDBDatabaseError.h:
(WebCore::IDBDatabaseError::create):
(IDBDatabaseError):
(WebCore::IDBDatabaseError::createWithoutOffset):
(WebCore::IDBDatabaseError::code):
(WebCore::IDBDatabaseError::setCode):
(WebCore::IDBDatabaseError::setMessage):
(WebCore::IDBDatabaseError::IDBDatabaseError):
- Modules/indexeddb/IDBDatabaseException.cpp:
(WebCore):
(WebCore::IDBDatabaseException::initializeDescription):
- Modules/indexeddb/IDBDatabaseException.h:
(IDBDatabaseException):
- Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::onError):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::onSuccessWithContinuation):
(WebCore::IDBRequest::dispatchEvent):
- Modules/indexeddb/IDBRequest.h:
(IDBRequest):
- Modules/indexeddb/IDBRequest.idl:
- Modules/indexeddb/IDBTransaction.cpp:
- Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
- Modules/indexeddb/IDBTransaction.idl:
Source/WebKit/chromium:
- src/WebIDBDatabaseError.cpp:
(WebKit::WebIDBDatabaseError::assign):
LayoutTests:
- storage/indexeddb/basics-expected.txt:
- storage/indexeddb/basics-workers-expected.txt:
- storage/indexeddb/create-and-remove-object-store-expected.txt:
- storage/indexeddb/cursor-continue-expected.txt:
- storage/indexeddb/cursor-update-expected.txt:
- storage/indexeddb/database-basics-expected.txt:
- storage/indexeddb/deleteIndex-expected.txt:
- storage/indexeddb/factory-cmp-expected.txt:
- storage/indexeddb/get-keyrange-expected.txt:
- storage/indexeddb/index-basics-expected.txt:
- storage/indexeddb/index-basics-workers-expected.txt:
- storage/indexeddb/index-count-expected.txt:
- storage/indexeddb/index-unique-expected.txt:
- storage/indexeddb/invalid-keys-expected.txt:
- storage/indexeddb/key-generator-expected.txt:
- storage/indexeddb/key-type-array-expected.txt:
- storage/indexeddb/keypath-edges-expected.txt:
- storage/indexeddb/keyrange-expected.txt:
- storage/indexeddb/objectstore-autoincrement-expected.txt:
- storage/indexeddb/objectstore-basics-expected.txt:
- storage/indexeddb/objectstore-basics-workers-expected.txt:
- storage/indexeddb/objectstore-count-expected.txt:
- storage/indexeddb/open-cursor-expected.txt:
- storage/indexeddb/readonly-expected.txt:
- storage/indexeddb/resources/basics.js:
(test):
(openCallback):
- storage/indexeddb/resources/create-and-remove-object-store.js:
(testCreateAndRemove):
(cleanDatabase):
(tryOnceMore):
- storage/indexeddb/resources/cursor-continue.js:
(ascendingErrorTestLessThan.request.onsuccess):
(ascendingErrorTestLessThan):
(ascendingErrorTestEqual.request.onsuccess):
(ascendingErrorTestEqual):
(descendingErrorTestGreaterThan.request.onsuccess):
(descendingErrorTestGreaterThan):
(descendingErrorTestEqual.request.onsuccess):
(descendingErrorTestEqual):
(onTransactionComplete):
- storage/indexeddb/resources/cursor-update.js:
(keyCursor):
- storage/indexeddb/resources/database-basics.js:
(testClose):
- storage/indexeddb/resources/database-quota.js:
(logError):
- storage/indexeddb/resources/deleteIndex.js:
(twiddleIndexes):
(postTwiddling):
- storage/indexeddb/resources/factory-cmp.js:
(testValidKeys):
(testInvalidKeys):
- storage/indexeddb/resources/get-keyrange.js:
(getNullTest):
- storage/indexeddb/resources/index-basics.js:
(index3Count):
- storage/indexeddb/resources/index-count.js:
- storage/indexeddb/resources/index-unique.js:
(addMoreDataFailed):
- storage/indexeddb/resources/invalid-keys.js:
- storage/indexeddb/resources/key-generator.js:
- storage/indexeddb/resources/key-type-array.js:
(testDepthLimits):
- storage/indexeddb/resources/keypath-edges.js:
- storage/indexeddb/resources/keyrange.js:
(test):
- storage/indexeddb/resources/objectstore-autoincrement.js:
(getAbrahamSuccess):
- storage/indexeddb/resources/objectstore-basics.js:
(setVersionSuccess):
(createIndex):
(addAgainFailure):
(removeSuccessButNotThere):
(testPreConditions.request.onsuccess):
(testPreConditions):
- storage/indexeddb/resources/objectstore-count.js:
- storage/indexeddb/resources/open-cursor.js:
(cursorWithKeySuccess):
(cursorSuccess):
- storage/indexeddb/resources/readonly.js:
(openSuccess):
- storage/indexeddb/resources/set_version_queue.js:
(connectionError):
- storage/indexeddb/resources/shared.js:
(unexpectedErrorCallback):
(evalAndExpectException):
- storage/indexeddb/resources/transaction-abort-workers.js:
(transactionAborted):
(transactionCompleted):
(timeoutTest.transaction.onabort):
(timeoutTest):
(errorTransactionAborted):
- storage/indexeddb/resources/transaction-abort.js:
(firstAdd):
(secondAdd):
(transactionAborted):
- storage/indexeddb/resources/transaction-after-close.js:
(firstTransactionComplete):
- storage/indexeddb/resources/transaction-and-objectstore-calls.js:
(created):
(afterComplete):
- storage/indexeddb/resources/transaction-basics.js:
(testInactiveAbortedTransaction):
(testInactiveCompletedTransaction):
(testInvalidMode):
- storage/indexeddb/resources/transaction-read-only.js:
(setVersionDone):
(gotCursor):
- storage/indexeddb/set_version_queue-expected.txt:
- storage/indexeddb/transaction-abort-expected.txt:
- storage/indexeddb/transaction-abort-workers-expected.txt:
- storage/indexeddb/transaction-after-close-expected.txt:
- storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
- storage/indexeddb/transaction-basics-expected.txt:
- storage/indexeddb/transaction-read-only-expected.txt:
- 6:14 PM Changeset in webkit [119012] by
-
- 9 edits2 adds1 delete in trunk
Source/WebCore: [Chromium] AX: WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778
Patch by Dominic Mazzoni <dmazzoni@chromium.org> on 2012-05-30
Reviewed by Adam Barth.
Chromium was never actually using AccessibilityObjectWrapper, so
this change deletes it. Instead, it's replaced with a simple bool
that keeps track of whether an AccessibilityObject was detached or
not. WebKit/chromium/public/WebAccessibilityObject can then use this
to determine if an object is still valid.
Test: accessibility/accessibility-object-detached.html
- WebCore.gypi:
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::AccessibilityObject):
(WebCore::AccessibilityObject::detach):
(WebCore::AccessibilityObject::isDetached):
(WebCore):
- accessibility/AccessibilityObject.h:
(AccessibilityObject):
- accessibility/chromium/AXObjectCacheChromium.cpp:
(WebCore):
(WebCore::AXObjectCache::detachWrapper):
(WebCore::AXObjectCache::attachWrapper):
- accessibility/chromium/AccessibilityObjectWrapper.h: Removed.
Source/WebKit/chromium: AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2012-05-30
Reviewed by Adam Barth.
Pretty simple - all places that previously just checked for null
now also check if the wrapped AccessibilityObject is detached.
- public/WebAccessibilityObject.h:
(WebAccessibilityObject):
- src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::isDetached):
(WebKit):
(WebKit::WebAccessibilityObject::axID):
(WebKit::WebAccessibilityObject::accessibilityDescription):
(WebKit::WebAccessibilityObject::actionVerb):
(WebKit::WebAccessibilityObject::canSetFocusAttribute):
(WebKit::WebAccessibilityObject::canSetValueAttribute):
(WebKit::WebAccessibilityObject::isValid):
(WebKit::WebAccessibilityObject::childCount):
(WebKit::WebAccessibilityObject::childAt):
(WebKit::WebAccessibilityObject::firstChild):
(WebKit::WebAccessibilityObject::focusedChild):
(WebKit::WebAccessibilityObject::lastChild):
(WebKit::WebAccessibilityObject::nextSibling):
(WebKit::WebAccessibilityObject::parentObject):
(WebKit::WebAccessibilityObject::previousSibling):
(WebKit::WebAccessibilityObject::canSetSelectedAttribute):
(WebKit::WebAccessibilityObject::isAnchor):
(WebKit::WebAccessibilityObject::isAriaReadOnly):
(WebKit::WebAccessibilityObject::isButtonStateMixed):
(WebKit::WebAccessibilityObject::isChecked):
(WebKit::WebAccessibilityObject::isCollapsed):
(WebKit::WebAccessibilityObject::isControl):
(WebKit::WebAccessibilityObject::isEnabled):
(WebKit::WebAccessibilityObject::isFocused):
(WebKit::WebAccessibilityObject::isHovered):
(WebKit::WebAccessibilityObject::isIndeterminate):
(WebKit::WebAccessibilityObject::isLinked):
(WebKit::WebAccessibilityObject::isLoaded):
(WebKit::WebAccessibilityObject::isMultiSelectable):
(WebKit::WebAccessibilityObject::isOffScreen):
(WebKit::WebAccessibilityObject::isPasswordField):
(WebKit::WebAccessibilityObject::isPressed):
(WebKit::WebAccessibilityObject::isReadOnly):
(WebKit::WebAccessibilityObject::isRequired):
(WebKit::WebAccessibilityObject::isSelected):
(WebKit::WebAccessibilityObject::isSelectedOptionActive):
(WebKit::WebAccessibilityObject::isVertical):
(WebKit::WebAccessibilityObject::isVisible):
(WebKit::WebAccessibilityObject::isVisited):
(WebKit::WebAccessibilityObject::accessKey):
(WebKit::WebAccessibilityObject::ariaHasPopup):
(WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
(WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
(WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
(WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
(WebKit::WebAccessibilityObject::boundingBoxRect):
(WebKit::WebAccessibilityObject::estimatedLoadingProgress):
(WebKit::WebAccessibilityObject::helpText):
(WebKit::WebAccessibilityObject::headingLevel):
(WebKit::WebAccessibilityObject::hierarchicalLevel):
(WebKit::WebAccessibilityObject::hitTest):
(WebKit::WebAccessibilityObject::keyboardShortcut):
(WebKit::WebAccessibilityObject::performDefaultAction):
(WebKit::WebAccessibilityObject::roleValue):
(WebKit::WebAccessibilityObject::selectionEnd):
(WebKit::WebAccessibilityObject::selectionStart):
(WebKit::WebAccessibilityObject::setFocused):
(WebKit::WebAccessibilityObject::stringValue):
(WebKit::WebAccessibilityObject::title):
(WebKit::WebAccessibilityObject::titleUIElement):
(WebKit::WebAccessibilityObject::url):
(WebKit::WebAccessibilityObject::valueDescription):
(WebKit::WebAccessibilityObject::valueForRange):
(WebKit::WebAccessibilityObject::maxValueForRange):
(WebKit::WebAccessibilityObject::minValueForRange):
(WebKit::WebAccessibilityObject::node):
(WebKit::WebAccessibilityObject::document):
(WebKit::WebAccessibilityObject::hasComputedStyle):
(WebKit::WebAccessibilityObject::computedStyleDisplay):
(WebKit::WebAccessibilityObject::accessibilityIsIgnored):
(WebKit::WebAccessibilityObject::lineBreaks):
(WebKit::WebAccessibilityObject::columnCount):
(WebKit::WebAccessibilityObject::rowCount):
LayoutTests: AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
https://bugs.webkit.org/show_bug.cgi?id=87778
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2012-05-30
Reviewed by Adam Barth.
- accessibility/accessibility-object-detached-expected.txt: Added.
- accessibility/accessibility-object-detached.html: Added.
- 6:03 PM Changeset in webkit [119011] by
-
- 2 edits in trunk/Tools
[wx] Unreviewed build fix. Fix 2.9 issues with c_str() type errors by using the wx fprintf wrapper.
- 6:01 PM Changeset in webkit [119010] by
-
- 3 edits in trunk/Websites/bugs.webkit.org
Only include the image checksum error in pretty-diffs for -expected.png files.
https://bugs.webkit.org/show_bug.cgi?id=87881
Reviewed by Tony Chang.
- PrettyPatch/PrettyPatch.rb:
- PrettyPatch/PrettyPatch_test.rb:
- 5:49 PM Changeset in webkit [119009] by
-
- 2 edits in trunk/LayoutTests
Enhance Windows DRT implementation to support platform scroll wheel events
https://bugs.webkit.org/show_bug.cgi?id=36002
Skip more tests that use eventSender.mouseScrollBy on Windows.
- platform/win/Skipped:
- 5:48 PM Changeset in webkit [119008] by
-
- 5 edits in trunk/Source
Simplify TransformationMatrix rotation code to improve precision
https://bugs.webkit.org/show_bug.cgi?id=86666
Reviewed by Adrienne Walker.
Source/WebCore:
Change covered by existing layout tests;
Additional unit tests added.
The original rotation code for WebCore::TransformationMatrix was
using indirect trig identities to compute basic rotation
matrices. As far as I can imagine, this is unnecessary, and brief
informal experiments showed that we can gain a few extra bits of
precision by avoiding that indirection.
Indeed, precision improved such that it revealed a mistake on one
of the unit tests, where the test was actually degenerate so that
the layer was aligned with a viewport boundary. When it was
imprecise, it didnt appear to be aligned. Putting an additional
translation on that test fixes it so it is no longer a degenerate
test.
This patch also revealed a few chinks in the unit testing armor of
this code, an error that should have been caught in unit tests was
luckily caught by SVG layout tests. This chink is fixed by adding
2 extra unit tests.
- platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::TransformationMatrix::rotate3d):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
(WebKitTests::TEST):
- tests/WebTransformationMatrixTest.cpp:
(WebKit::TEST):
(WebKit):
- 5:47 PM Changeset in webkit [119007] by
-
- 2 edits in trunk/LayoutTests
WebKitTestRunner needs an implementation of eventSender
<https://bugs.webkit.org/show_bug.cgi?id=42194>
Unreviewed mac-wk2 skip of fast/forms/file/input-file-write-files.html, which depends on eventSender.
- platform/mac-wk2/Skipped:
- 5:46 PM Changeset in webkit [119006] by
-
- 5 edits in trunk/Source/WebCore
IndexedDB: Remove old get/getKey implementations
https://bugs.webkit.org/show_bug.cgi?id=87879
Patch by Alec Flett <alecflett@chromium.org> on 2012-05-30
Reviewed by Ojan Vafai.
Removal of dead code, was scaffolding for a complicated
Chromium landing.
- Modules/indexeddb/IDBIndexBackendImpl.cpp:
(WebCore::IDBIndexBackendImpl::getInternal):
(WebCore::IDBIndexBackendImpl::getKeyInternal):
(WebCore::IDBIndexBackendImpl::get):
(WebCore::IDBIndexBackendImpl::getKey):
- Modules/indexeddb/IDBIndexBackendImpl.h:
(IDBIndexBackendImpl):
- Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::get):
(WebCore::IDBObjectStoreBackendImpl::getInternal):
- Modules/indexeddb/IDBObjectStoreBackendImpl.h:
(IDBObjectStoreBackendImpl):
- 5:39 PM Changeset in webkit [119005] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Fix assertion fail on redirect due to multiple jobs per handle
https://bugs.webkit.org/show_bug.cgi?id=87579
Patch by Joe Mason <jmason@rim.com> on 2012-05-30
Reviewed by George Staikos.
RIM PR #158892:
When we start a redirect, we now call cancelJob instead of just deleting it immediately to make sure
that all cleanup is performed. However, we also reassign the ResourceHandle to the new job, and
since cancelJob is asynchronous it is now assigned to two jobs simultaneously.
Work around this by only returning handles that have not been cancelled from findJobForHandle.
Cancelled jobs still technically exist in the jobs list, but they're invisible to callers. This is
safe because there is literally nothing that can be done with a cancelled job - it is supposed to
merely consume any notifications that are already in progress and then kill itself off - so no
callers of findJobForHandle are expecting a cancelled job. (All existing callers call methods on the
returned job which are no-ops for cancelled jobs, so there is no behaviour change.)
No new tests because there is no behaviour change (fixes a regression).
- platform/network/blackberry/NetworkManager.cpp:
(WebCore::NetworkManager::findJobForHandle):
- 5:30 PM Changeset in webkit [119004] by
-
- 4 edits in trunk/Source/WebCore
[V8][Performance] Optimize DOM attribute getters that return an empty string
https://bugs.webkit.org/show_bug.cgi?id=87820
Reviewed by Adam Barth.
This patch optimizes the performance of DOM attribute getters that return an
empty string by 65.8% (e.g. div.id, div.className, div.title, div.lang ...etc)
Performance test: Bindings/undefined-id-getter.html
[Without the patch]
RESULT Bindings: undefined-id-getter= 441.984669644 runs/s
median= 445.544554455 runs/s, stdev= 11.8406070959 runs/s, min= 405.063291139 runs/s, max= 447.204968944 runs/s
[With the patch]
RESULT Bindings: undefined-id-getter= 738.840460474 runs/s
median= 738.786279683 runs/s, stdev= 2.00249797161 runs/s, min= 733.944954128 runs/s, max= 741.721854305 runs/s
- This patch passes Isolate to v8::String::Empty(), which removes Isolate
look-up inside v8::String::Empty().
- This patch inlines V8Binding::getElementStringAttr() and
V8Binding::setElementStringAttr().
No tests. No change in behavior.
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
- bindings/v8/V8Binding.cpp:
(WebCore::StringCache::v8ExternalStringSlow):
- bindings/v8/V8Binding.h:
(WebCore::StringCache::v8ExternalString):
(StringCache):
(WebCore::v8ExternalString):
(WebCore):
- 5:28 PM Changeset in webkit [119003] by
-
- 5 edits in trunk/Source/WebCore
[V8] Implement V8Binding::v8BooleanWithCheck(isolate)
https://bugs.webkit.org/show_bug.cgi?id=87814
Reviewed by Adam Barth.
The objective is to pass Isolate to v8::True() and v8::False().
Similarly to v8NullWithCheck() (bug 87713), this patch implements
V8Binding::v8BooleanWithCheck(isolate), which calls v8::True()/v8::False()
or v8::True(isolate)/v8::False(isolate) depending on whether the
passed isolate is null or not.
This patch also passes Isolate to v8Boolean() in CodeGeneratorV8.pm.
No tests. No behavior change.
- bindings/scripts/CodeGeneratorV8.pm:
(NativeToJSValue):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::TestEventTargetV8Internal::dispatchEventCallback):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::createAttrGetter):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetter):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetter):
- bindings/v8/V8Binding.h:
(WebCore::v8Boolean):
(WebCore):
(WebCore::v8BooleanWithCheck):
- 5:16 PM Changeset in webkit [119002] by
-
- 7 edits in trunk/Source/WebCore
[V8] Replace v8::True() and v8::False() with v8Boolean()
https://bugs.webkit.org/show_bug.cgi?id=87812
Reviewed by Adam Barth.
To avoid implementing all of v8TrueWithCheck(isolate), v8FalseWithCheck(isolate)
and v8BooleanWithCheck(isolate), we can first replace v8::True() and v8::False()
with v8Boolean(). Then we can just implement v8BooleanWithCheck(isolate).
No tests. No change in behavior.
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8Binding.h:
(WebCore::v8StringOrFalse):
- bindings/v8/V8NPUtils.cpp:
(WebCore::convertNPVariantToV8Object):
- bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::V8DOMStringMap::namedPropertyDeleter):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionCallback):
- bindings/v8/custom/V8StorageCustom.cpp:
(WebCore::storageDeleter):
- 5:13 PM Changeset in webkit [119001] by
-
- 37 edits in trunk/Source/WebCore
[V8] Replace v8::Null() with v8NullWithCheck(isolate) in custom bindings where isolate can be 0
https://bugs.webkit.org/show_bug.cgi?id=87807
Reviewed by Adam Barth.
The objective is to pass Isolate around in V8 bindings.
This patch replaces v8::Null() with v8NullWithCheck(isolate)
in custom bindings where isolate can be 0.
'where isolate can be 0' means all the places where we cannot
retrieve Isolate directly from AccessorInfo or Arguments.
No tests. No behavior change.
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8CSSRuleCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8CSSStyleSheetCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8CSSValueCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8DOMTokenListCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8EntryCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8EntrySyncCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8EventCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Float32ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Float64ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8HTMLElementCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8IDBAnyCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8IDBKeyCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8ImageDataCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Int16ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Int32ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Int8ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8NamedNodeMapCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::toV8Slow):
- bindings/v8/custom/V8SVGDocumentCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8SVGElementCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8SVGPathSegCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8ScriptProfileCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8ScriptProfileNodeCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8StyleSheetCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Uint16ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Uint32ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Uint8ArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8Uint8ClampedArrayCustom.cpp:
(WebCore::toV8):
- bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::toV8):
- 5:12 PM Changeset in webkit [119000] by
-
- 4 edits5 adds in trunk/LayoutTests
[Win] 8 accessibility tests failing
https://bugs.webkit.org/show_bug.cgi?id=87909
Add expected (failing?) results for Windows to get the bots greener.
- platform/win/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added.
- platform/win/accessibility/disabled-controls-not-focusable-expected.txt: Added.
- platform/win/accessibility/focus-events-expected.txt:
- platform/win/accessibility/img-alt-tag-only-whitespace-expected.txt: Added.
- platform/win/accessibility/option-element-selection-and-focus-events-expected.txt:
- platform/win/accessibility/select-element-valuechange-event-expected.txt:
- platform/win/accessibility/textbox-role-reports-line-number-expected.txt: Added.
- platform/win/accessibility/textbox-role-reports-selection-expected.txt: Added.
- 5:11 PM Changeset in webkit [118999] by
-
- 6 edits in trunk/Source/WebCore
[V8] Replace v8::Null() with v8::Null(isolate) or v8NullWithCheck(isolate) in non-custom bindings
https://bugs.webkit.org/show_bug.cgi?id=87810
Reviewed by Adam Barth.
The objective is to pass Isolate around in V8 bindings.
For non-custom bindings, we replace v8::Null() with v8::Null(isolate)
where isolate cannot be 0, and replace v8::Null() with v8NullWithCheck(isolate)
where isolate can be 0.
This will be the final patch for passing Isolate to v8::Null().
No tests. No change in behavior.
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GenerateFunctionCallback):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::contentDocumentAttrGetter):
(WebCore::TestObjV8Internal::getSVGDocumentCallback):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetter):
- bindings/v8/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::deserialize):
- bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::convertEventTargetToV8Object):
- 5:02 PM Changeset in webkit [118998] by
-
- 15 edits in trunk/Source/WebCore
[V8] Replace v8::Null() with v8::Null(isolate) in custom bindings where isolate shouldn't be 0
https://bugs.webkit.org/show_bug.cgi?id=87809
Reviewed by Adam Barth.
The objective is to pass Isolate around in V8 bindings.
This patch replaces v8::Null() with v8::Null(isolate) in custom bindings
where isolate shouldn't be 0. 'where isolate shouldn't be 0' is the place
where isolate is retrieved directly from AccessorInfo and Arguments.
This patch includes a couple of refactorings:
- Makes V8DeviceMotionEvent::createAccelerationObject() and
V8DeviceMotionEvent::createRotationRateObject() static
- Moves V8HTMLElement::toV8Object() into the existing ENABLE(MICRODATA) flag.
No tests. No change in behavior.
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::typesAccessorGetter):
- bindings/v8/custom/V8CoordinatesCustom.cpp:
(WebCore::V8Coordinates::altitudeAccessorGetter):
(WebCore::V8Coordinates::altitudeAccuracyAccessorGetter):
(WebCore::V8Coordinates::headingAccessorGetter):
(WebCore::V8Coordinates::speedAccessorGetter):
- bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
(WebCore::V8DeviceMotionEvent::accelerationAccessorGetter):
(WebCore::V8DeviceMotionEvent::accelerationIncludingGravityAccessorGetter):
(WebCore::V8DeviceMotionEvent::rotationRateAccessorGetter):
(WebCore::V8DeviceMotionEvent::intervalAccessorGetter):
- bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
(WebCore::V8DeviceOrientationEvent::alphaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::betaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::gammaAccessorGetter):
(WebCore::V8DeviceOrientationEvent::absoluteAccessorGetter):
- bindings/v8/custom/V8DocumentLocationCustom.cpp:
(WebCore::V8Document::locationAccessorGetter):
- bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallback):
- bindings/v8/custom/V8HTMLElementCustom.cpp:
(WebCore::toV8):
(WebCore):
(WebCore::toV8Object):
- bindings/v8/custom/V8HistoryCustom.cpp:
(WebCore::V8History::stateAccessorGetter):
- bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAccessorGetter):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeCallback):
(WebCore::V8Node::replaceChildCallback):
(WebCore::V8Node::removeChildCallback):
(WebCore::V8Node::appendChildCallback):
- bindings/v8/custom/V8PopStateEventCustom.cpp:
(WebCore::V8PopStateEvent::stateAccessorGetter):
- bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
(WebCore::V8SQLResultSetRowList::itemCallback):
- bindings/v8/custom/V8TrackEventCustom.cpp:
(WebCore::V8TrackEvent::trackAccessorGetter):
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::toV8Object):
(WebCore::V8WebGLRenderingContext::getAttachedShadersCallback):
(WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback):
- 4:56 PM Changeset in webkit [118997] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] handled touchmove events should not cancel tap gesture recognition
https://bugs.webkit.org/show_bug.cgi?id=87808
Patch by Luiz Agostini <luiz.agostini@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.
Tap gesture recognition should not be canceled if a touchmove event is handled
by the web process.
- UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::QtWebPageEventHandler::doneWithTouchEvent):
- 4:55 PM Changeset in webkit [118996] by
-
- 3 edits in trunk/Tools
Only give lint errors for -expected.png png files that lack a checksum
https://bugs.webkit.org/show_bug.cgi?id=87875
Reviewed by Tony Chang.
We have other pngs in the tree, e.g. for the inspector, that legitimately
lack a checksum.
- Scripts/webkitpy/style/checkers/png.py:
(PNGChecker.check):
- Scripts/webkitpy/style/checkers/png_unittest.py:
(PNGCheckerTest.test_check):
- 4:47 PM Changeset in webkit [118995] by
-
- 2 edits in trunk/Source/JavaScriptCore
Really provide error information with the inspector disabled
https://bugs.webkit.org/show_bug.cgi?id=87910
Reviewed by Filip Pizlo.
Don't bother checking for anything other than pre-existing error info.
In the absence of complete line number information you'll only get the
line a function starts on, but at least it's something.
- interpreter/Interpreter.cpp:
(JSC::Interpreter::throwException):
- 4:35 PM Changeset in webkit [118994] by
-
- 6 edits in trunk/LayoutTests
Unreviewed test expectations updates for window and mac now that we no longer skip a couple of tests on those platforms.
- platform/chromium-mac-leopard/fast/backgrounds/background-position-parsing-expected.png:
- platform/chromium-win/fast/backgrounds/background-position-parsing-expected.png:
- platform/chromium-win/fast/backgrounds/background-position-parsing-expected.txt:
- platform/chromium-win/fast/block/margin-collapse/103-expected.png:
- platform/chromium-win/fast/block/margin-collapse/103-expected.txt:
- 4:10 PM Changeset in webkit [118993] by
-
- 9 edits2 adds in trunk
Make the files attribute of HTMLInputElement writable
https://bugs.webkit.org/show_bug.cgi?id=87154
Reviewed by Adam Barth.
whatwg thread:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/036140.html
- bindings/objc/PublicDOMInterfaces.h:
Remove readonly on files property.
- html/FileInputType.cpp:
(FileInputType):
Add a NULL check to setFiles().
- html/FileInputType.h:
(FileInputType):
Let setFiles() overwrite the base class's method.
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setFiles):
Add setFiles() implementation, delegate to input type.
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/HTMLInputElement.idl:
- html/InputType.cpp:
(WebCore::InputType::setFiles):
setFiles() does nothing by default.
- html/InputType.h:
(InputType):
Add a virtual setFiles() method.
- 4:09 PM Changeset in webkit [118992] by
-
- 2 edits in trunk/Source/JavaScriptCore
LLInt broken on x86-32 with JIT turned off
https://bugs.webkit.org/show_bug.cgi?id=87906
Reviewed by Geoffrey Garen.
Fixed the code to not clobber registers that contain important things, like the call frame.
- llint/LowLevelInterpreter32_64.asm:
- 4:07 PM Changeset in webkit [118991] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Remove useless string->char*->string conversion in NetworkJob.
https://bugs.webkit.org/show_bug.cgi?id=87861
Patch by Joe Mason <jmason@rim.com> on 2012-05-30
Reviewed by Antonio Gomes.
RIM PR #152383: username is a WTF::String. ResourceHandleInternal::m_user is a string. Yet they're
assigned with "username = m_user.utf8().data()". Pointless: "username = m_user" will do.
No new tests since there is no behaviour change.
- platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::sendRequestWithCredentials):
- 3:58 PM Changeset in webkit [118990] by
-
- 4 edits in trunk
[Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8
https://bugs.webkit.org/show_bug.cgi?id=87740
Reviewed by Darin Adler.
Source/WebCore:
- platform/text/qt/TextBreakIteratorQt.cpp:
(WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator): Changed to use
the return value of setUpIterator.
LayoutTests:
- platform/qt-4.8/Skipped: Removed fast/forms/textarea-maxlength.html.
- 3:50 PM Changeset in webkit [118989] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening. Unskip test that is now passing.
- platform/efl/test_expectations.txt:
- 3:49 PM Changeset in webkit [118988] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium snowleopard rebaseline for background-position-parsing test following r118978.
- platform/chromium-mac-snowleopard/fast/backgrounds/background-position-parsing-expected.png:
- 3:43 PM Changeset in webkit [118987] by
-
- 4 edits in trunk/Source/WebCore
GraphicsSurface: allow importing and exporting of textures directly on GPU side.
https://bugs.webkit.org/show_bug.cgi?id=87725
Add copyFromFramebuffer function to copy a texture from an FBO
onto the GraphicsSurface.
Add getTextureID function to export the texture ID.
This allows binding/blitting the texture directly on the GPU.
Reviewed by Noam Rosenthal.
- platform/graphics/surfaces/GraphicsSurface.cpp:
(WebCore::GraphicsSurface::getTextureID):
(WebCore):
(WebCore::GraphicsSurface::copyFromFramebuffer):
- platform/graphics/surfaces/GraphicsSurface.h:
(GraphicsSurface):
- platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::GraphicsSurface::platformGetTextureID):
(WebCore):
(WebCore::GraphicsSurface::platformCopyFromFramebuffer):
- 3:39 PM Changeset in webkit [118986] by
-
- 77 edits in trunk
IndexedDB: Implement IDBTransaction.error and IDBRequest.error
https://bugs.webkit.org/show_bug.cgi?id=87865
Patch by Alec Flett <alecflett@chromium.org> on 2012-05-30
Reviewed by Tony Chang.
Source/WebCore:
Added "error" attribute to IDBRequest and IDBTransaction. Update
IDBDatabaseError to honor the IDBDatabaseException behavior
of dealing with IDB-specific throws of DOMException codes,
as per the spec.
Existing tests which previously tested 'errorCode' and
'webkitErrorMessage' have been updated to use the new attribute.
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::advance):
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::setVersion):
- Modules/indexeddb/IDBDatabaseError.h:
(WebCore::IDBDatabaseError::create):
(WebCore::IDBDatabaseError::code):
(WebCore::IDBDatabaseError::idbCode):
(WebCore::IDBDatabaseError::name):
(WebCore::IDBDatabaseError::IDBDatabaseError):
(IDBDatabaseError):
- Modules/indexeddb/IDBDatabaseException.cpp:
(WebCore):
(WebCore::getErrorEntry):
(WebCore::IDBDatabaseException::initializeDescription):
(WebCore::IDBDatabaseException::getErrorName):
(WebCore::IDBDatabaseException::getLegacyErrorCode):
- Modules/indexeddb/IDBDatabaseException.h:
(IDBDatabaseException):
- Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::error):
(WebCore):
(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::onError):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::onSuccessWithContinuation):
(WebCore::IDBRequest::dispatchEvent):
- Modules/indexeddb/IDBRequest.h:
(IDBRequest):
- Modules/indexeddb/IDBRequest.idl:
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::error):
(WebCore):
(WebCore::IDBTransaction::setError):
- Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
- Modules/indexeddb/IDBTransaction.idl:
Source/WebKit/chromium:
IDBDatabaseError now honors IDB-specific DOMException codes,
so make sure that's how they are passed to/from chromium.
- src/WebIDBDatabaseError.cpp:
(WebKit::WebIDBDatabaseError::assign):
LayoutTests:
- storage/indexeddb/basics-expected.txt:
- storage/indexeddb/basics-workers-expected.txt:
- storage/indexeddb/create-and-remove-object-store-expected.txt:
- storage/indexeddb/cursor-continue-expected.txt:
- storage/indexeddb/cursor-update-expected.txt:
- storage/indexeddb/database-basics-expected.txt:
- storage/indexeddb/deleteIndex-expected.txt:
- storage/indexeddb/factory-cmp-expected.txt:
- storage/indexeddb/get-keyrange-expected.txt:
- storage/indexeddb/index-basics-expected.txt:
- storage/indexeddb/index-basics-workers-expected.txt:
- storage/indexeddb/index-count-expected.txt:
- storage/indexeddb/index-unique-expected.txt:
- storage/indexeddb/invalid-keys-expected.txt:
- storage/indexeddb/key-generator-expected.txt:
- storage/indexeddb/key-type-array-expected.txt:
- storage/indexeddb/keypath-edges-expected.txt:
- storage/indexeddb/keyrange-expected.txt:
- storage/indexeddb/objectstore-autoincrement-expected.txt:
- storage/indexeddb/objectstore-basics-expected.txt:
- storage/indexeddb/objectstore-basics-workers-expected.txt:
- storage/indexeddb/objectstore-count-expected.txt:
- storage/indexeddb/open-cursor-expected.txt:
- storage/indexeddb/readonly-expected.txt:
- storage/indexeddb/resources/basics.js:
(test):
(openCallback):
- storage/indexeddb/resources/create-and-remove-object-store.js:
(testCreateAndRemove):
(cleanDatabase):
(tryOnceMore):
- storage/indexeddb/resources/cursor-continue.js:
(ascendingErrorTestLessThan.request.onsuccess):
(ascendingErrorTestLessThan):
(ascendingErrorTestEqual.request.onsuccess):
(ascendingErrorTestEqual):
(descendingErrorTestGreaterThan.request.onsuccess):
(descendingErrorTestGreaterThan):
(descendingErrorTestEqual.request.onsuccess):
(descendingErrorTestEqual):
(onTransactionComplete):
- storage/indexeddb/resources/cursor-update.js:
(keyCursor):
- storage/indexeddb/resources/database-basics.js:
(testClose):
- storage/indexeddb/resources/database-quota.js:
(logError):
- storage/indexeddb/resources/deleteIndex.js:
(twiddleIndexes):
(postTwiddling):
- storage/indexeddb/resources/factory-cmp.js:
(testValidKeys):
(testInvalidKeys):
- storage/indexeddb/resources/get-keyrange.js:
(getNullTest):
- storage/indexeddb/resources/index-basics.js:
(index3Count):
- storage/indexeddb/resources/index-count.js:
- storage/indexeddb/resources/index-unique.js:
(addMoreDataFailed):
- storage/indexeddb/resources/invalid-keys.js:
- storage/indexeddb/resources/key-generator.js:
- storage/indexeddb/resources/key-type-array.js:
(testDepthLimits):
- storage/indexeddb/resources/keypath-edges.js:
- storage/indexeddb/resources/keyrange.js:
(test):
- storage/indexeddb/resources/objectstore-autoincrement.js:
(getAbrahamSuccess):
- storage/indexeddb/resources/objectstore-basics.js:
(setVersionSuccess):
(createIndex):
(addAgainFailure):
(removeSuccessButNotThere):
(testPreConditions.request.onsuccess):
(testPreConditions):
- storage/indexeddb/resources/objectstore-count.js:
- storage/indexeddb/resources/open-cursor.js:
(cursorWithKeySuccess):
(cursorSuccess):
- storage/indexeddb/resources/readonly.js:
(openSuccess):
- storage/indexeddb/resources/set_version_queue.js:
(connectionError):
- storage/indexeddb/resources/shared.js:
(unexpectedErrorCallback):
(evalAndExpectException):
- storage/indexeddb/resources/transaction-abort-workers.js:
(transactionAborted):
(transactionCompleted):
(timeoutTest.transaction.onabort):
(timeoutTest):
(errorTransactionAborted):
- storage/indexeddb/resources/transaction-abort.js:
(firstAdd):
(secondAdd):
(transactionAborted):
- storage/indexeddb/resources/transaction-after-close.js:
(firstTransactionComplete):
- storage/indexeddb/resources/transaction-and-objectstore-calls.js:
(created):
(afterComplete):
- storage/indexeddb/resources/transaction-basics.js:
(testInactiveAbortedTransaction):
(testInactiveCompletedTransaction):
(testInvalidMode):
- storage/indexeddb/resources/transaction-read-only.js:
(setVersionDone):
(gotCursor):
- storage/indexeddb/set_version_queue-expected.txt:
- storage/indexeddb/transaction-abort-expected.txt:
- storage/indexeddb/transaction-abort-workers-expected.txt:
- storage/indexeddb/transaction-after-close-expected.txt:
- storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
- storage/indexeddb/transaction-basics-expected.txt:
- storage/indexeddb/transaction-read-only-expected.txt:
- 3:37 PM Changeset in webkit [118985] by
-
- 2 edits in trunk/Source/WebKit2
[GTK][WK2] Errors in documentation about webkit_web_view_run_javascript()
https://bugs.webkit.org/show_bug.cgi?id=87866
Patch by Mario Sanchez Prada <msanchez@igalia.com> on 2012-05-30
Reviewed by Martin Robinson.
- UIProcess/API/gtk/WebKitWebView.cpp: Fix errors.
- 3:29 PM Changeset in webkit [118984] by
-
- 7 edits in trunk/LayoutTests
Unreviewed chromium mac rebaseline for changes in r118978.
- platform/chromium-mac/fast/backgrounds/background-position-parsing-expected.png:
- platform/chromium-mac/fast/backgrounds/background-position-parsing-expected.txt:
- platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-expected.png:
- platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
- platform/chromium/test_expectations.txt:
- 3:29 PM Changeset in webkit [118983] by
-
- 5 edits in branches/safari-534.57-branch/Source
Versioning.
- 3:21 PM Changeset in webkit [118982] by
-
- 1 copy in tags/Safari-534.57.5
New tag.
- 3:18 PM Changeset in webkit [118981] by
-
- 2 edits in branches/safari-534.57-branch/Source/WebCore
Merged r108550.
- 3:08 PM Changeset in webkit [118980] by
-
- 2 edits in trunk/Source/WebCore
[Qt] ImageDecoderQt doesn't support some decoders.
https://bugs.webkit.org/show_bug.cgi?id=87851
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.
If forced to decode GIF and JPEG, ImageDecoderQt show several
artifacts. This is caused by mismatched decoded image-formats.
Convert mismatched color spaces into ARGB color space, and perform
manual mem-copy when the image has been decoded into a new buffer.
This patch also add support for down-scaling in the decoder.
- platform/graphics/qt/ImageDecoderQt.cpp:
(WebCore::ImageDecoderQt::internalDecodeSize):
(WebCore::ImageDecoderQt::internalHandleCurrentImage):
- 2:58 PM Changeset in webkit [118979] by
-
- 4 edits in trunk/Tools
nrwt: seems to leak temp dirs
https://bugs.webkit.org/show_bug.cgi?id=87795
Reviewed by Ojan Vafai.
There appears to be a bug where the chromium bots are creating
temporary directories and not cleaning them up that started
after the switch to WebKitDriver. It's possible that del
wasn't getting called in a timely manner (or at all), and it's
generally bad style to rely on del being called, so this
code changes things so that we create a temp dir in
driver.start() and remove it in driver.stop(). We could be
paranoid and leave the del code in, but there doesn't seem
to be much advantage to it. If there are bugs that result in
drivers being started but not stopped, we have other problems.
- Scripts/webkitpy/common/system/filesystem_mock.py:
(MockFileSystem.init):
(MockFileSystem._mktemp):
(MockFileSystem.mkdtemp):
- Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver.init):
(WebKitDriver._start):
(WebKitDriver.stop):
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitDriverTest.test_check_for_driver_crash):
(WebKitDriverTest):
(WebKitDriverTest.test_creating_a_port_does_not_write_to_the_filesystem):
(WebKitDriverTest.test_stop_cleans_up_properly):
- 2:56 PM Changeset in webkit [118978] by
-
- 20 edits2 adds in trunk
Floats wraps incorrectly when top edge has subpixel precision
https://bugs.webkit.org/show_bug.cgi?id=87688
Reviewed by Levi Weintraub.
When computing the logical left and right offsets for a float we
incorrectly floored the logical top when passing it to the float search
adapter. This caused it to return incorrect values where the floored and
pixel snapped values are not the same.
Source/WebCore:
Test: fast/sub-pixel/float-wrap-with-subpixel-top.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
LayoutTests:
- fast/sub-pixel/float-wrap-with-subpixel-top-expected.html: Added.
- fast/sub-pixel/float-wrap-with-subpixel-top.html: Added.
- platform/chromium-linux/fast/backgrounds/background-position-parsing-expected.png:
- platform/chromium-linux/fast/backgrounds/background-position-parsing-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
- platform/chromium/test_expectations.txt:
- platform/efl/Skipped:
- platform/gtk-wk2/Skipped:
- platform/mac-lion/Skipped:
- platform/mac-snowleopard/Skipped:
- platform/mac-wk2/Skipped:
- platform/mac/Skipped:
- platform/qt-4.8/Skipped:
- platform/qt/Skipped:
- platform/win-wk2/Skipped:
- platform/win-xp/Skipped:
- platform/win/Skipped:
- platform/wincairo/Skipped:
- platform/wk2/Skipped:
- 2:44 PM Changeset in webkit [118977] by
-
- 9 edits in trunk
[EFL] EFL's DRT should print the number of MessagePorts for new each new intent
https://bugs.webkit.org/show_bug.cgi?id=86841
Patch by Christophe Dumez <Christophe Dumez> on 2012-05-30
Reviewed by Adam Barth.
Source/WebKit/efl:
Add EWKPrivate method to retrieve the internal WebCore object for a Ewk_Intent.
Add helper function to DumpRenderTreeSupportEfl that returns the MessagePorts
for a Ewk_Intent object so that the DRT can print information about them.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::intentMessagePorts):
- WebCoreSupport/DumpRenderTreeSupportEfl.h:
(WebCore):
- ewk/ewk_intent.cpp:
(EWKPrivate):
(EWKPrivate::coreIntent):
- ewk/ewk_intent_private.h:
(EWKPrivate):
Tools:
Print the number of MessagePorts for each new intent in EFL's DRT.
This output is expected by several Web Intents test cases.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameIntentNew):
LayoutTests:
Unskip the test case which requires the DumpRenderTree to print out
the number of MessagePorts for each new intent.
- platform/efl/test_expectations.txt:
- 2:42 PM Changeset in webkit [118976] by
-
- 2 edits in trunk/Source/WTF
HashTable.h has using directives for std::pair and std::make_pair
https://bugs.webkit.org/show_bug.cgi?id=29919
Reviewed by Darin Adler.
- wtf/HashTraits.h:
(WTF): Remove the directives.
- 2:42 PM Changeset in webkit [118975] by
-
- 16 edits2 adds in trunk
Inline blocks with margin wrap incorrectly with subpixel layout turned on
https://bugs.webkit.org/show_bug.cgi?id=87897
Reviewed by Levi Weintraub.
Source/WebCore:
Change WebCore::getBorderPaddingMargin and the helper function
getBPMWidth to return a LayoutUnit rather than an int as the padding and
margin values have subpixel precision. This fixes an issue where we would
incorrectly wrap inline blocks with a subpixel padding or margin.
Test: fast/sub-pixel/inline-block-with-margin.html
- rendering/RenderBlock.cpp:
(WebCore::getBPMWidth):
(WebCore::getBorderPaddingMargin):
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
LayoutTests:
Add test for inline blocks with a subpixel margin. Marked as skipped on
all platforms but chromium as subpixel layout has not yet been enabled
for any other platform.
- fast/sub-pixel/inline-block-with-margin-expected.html: Added.
- fast/sub-pixel/inline-block-with-margin.html: Added.
- platform/efl/Skipped:
- platform/gtk-wk2/Skipped:
- platform/mac-lion/Skipped:
- platform/mac-snowleopard/Skipped:
- platform/mac-wk2/Skipped:
- platform/mac/Skipped:
- platform/qt-4.8/Skipped:
- platform/qt/Skipped:
- platform/win-wk2/Skipped:
- platform/win-xp/Skipped:
- platform/win/Skipped:
- platform/wincairo/Skipped:
- platform/wk2/Skipped:
- 2:35 PM Changeset in webkit [118974] by
-
- 2 edits in trunk/LayoutTests
[Qt][GTK][Mac][Win] New plugins/npruntime/delete-plugin-within-* tests introduced in r117012
fail/crash
https://bugs.webkit.org/show_bug.cgi?id=86443
Skip these tests on Windows because they crash.
- platform/win/Skipped:
- 2:23 PM Changeset in webkit [118973] by
-
- 17 edits in trunk/LayoutTests
[EFL] Unreviewed gardening in fast/transforms.
Unskip passing tests that just needed baselines and update the
PNGs for a few ones which were already passing.
- platform/efl/Skipped:
- platform/efl/fast/transforms/bounding-rect-zoom-expected.png:
- platform/efl/fast/transforms/diamond-expected.png:
- platform/efl/fast/transforms/identity-matrix-expected.png:
- platform/efl/fast/transforms/overflow-with-transform-expected.png:
- platform/efl/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
- platform/efl/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
- platform/efl/fast/transforms/skew-with-unitless-zero-expected.png:
- platform/efl/fast/transforms/transform-on-inline-expected.png:
- platform/efl/fast/transforms/transform-positioned-ancestor-expected.png:
- platform/efl/fast/transforms/transform-table-row-expected.png:
- platform/efl/fast/transforms/transformed-caret-expected.png:
- platform/efl/fast/transforms/transformed-caret-expected.txt:
- platform/efl/fast/transforms/transformed-focused-text-input-expected.png:
- platform/efl/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/efl/fast/transforms/transforms-with-opacity-expected.png:
- 2:22 PM Changeset in webkit [118972] by
-
- 16 edits in trunk/LayoutTests
[EFL] Unreviewed gardening in fast/parser.
Unskip a passing test that just needed a baseline and update the
PNGs for a few ones which were already passing.
- platform/efl/Skipped:
- platform/efl/fast/parser/001-expected.png:
- platform/efl/fast/parser/bad-xml-slash-expected.png:
- platform/efl/fast/parser/broken-comments-vs-parsing-mode-expected.png:
- platform/efl/fast/parser/document-write-option-expected.png:
- platform/efl/fast/parser/entity-comment-in-style-expected.png:
- platform/efl/fast/parser/entity-comment-in-style-expected.txt:
- platform/efl/fast/parser/entity-comment-in-textarea-expected.png:
- platform/efl/fast/parser/fonts-expected.png:
- platform/efl/fast/parser/nofoo-tags-inside-paragraph-expected.png:
- platform/efl/fast/parser/open-comment-in-style-expected.png:
- platform/efl/fast/parser/open-comment-in-textarea-expected.png:
- platform/efl/fast/parser/title-error-test-expected.png:
- platform/efl/fast/parser/xhtml-alternate-entities-expected.png:
- platform/efl/test_expectations.txt:
- 2:12 PM Changeset in webkit [118971] by
-
- 18 edits in trunk
rename flexbox css values from justify and distribute to space-between and space-around
https://bugs.webkit.org/show_bug.cgi?id=87867
Reviewed by Ojan Vafai.
Source/WebCore:
This was recently changed in the spec:
http://dev.w3.org/csswg/css3-flexbox/#justify-content
No new tests, updated existing tests and expectations.
- css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EFlexPack):
(WebCore::CSSPrimitiveValue::operator EFlexLinePack):
- css/CSSValueKeywords.in:
- rendering/RenderFlexibleBox.cpp:
(WebCore::initialPackingOffset):
(WebCore::packingSpaceBetweenChildren):
(WebCore::initialLinePackingOffset):
(WebCore::linePackingSpaceBetweenChildren):
- rendering/style/RenderStyleConstants.h:
LayoutTests:
- css3/flexbox/columns-auto-size.html:
- css3/flexbox/css-properties-expected.txt:
- css3/flexbox/css-properties.html:
- css3/flexbox/flex-pack.html:
- css3/flexbox/multiline-line-pack-horizontal-column-expected.txt:
- css3/flexbox/multiline-line-pack-horizontal-column.html:
- css3/flexbox/multiline-line-pack.html:
- css3/flexbox/multiline-pack-expected.txt:
- css3/flexbox/multiline-pack.html:
- css3/flexbox/position-absolute-child.html:
- css3/flexbox/true-centering.html:
- 2:08 PM Changeset in webkit [118970] by
-
- 2 edits in trunk/Source/WebCore
[wx] Unreviewed build fix. Make sure we get the file size with the proper native type.
- 2:08 PM Changeset in webkit [118969] by
-
- 1 edit1 add in trunk/LayoutTests
[Chromium] rebaseline fast/dom/Window/mozilla-focus-blur.html
- platform/chromium/fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
- 2:06 PM Changeset in webkit [118968] by
-
- 2 edits in trunk/Tools
[wx] Unreviewed build fix after removal of setJavaScriptProfilingEnabled.
- 2:05 PM Changeset in webkit [118967] by
-
- 2 edits in trunk
[wx] Unreviewed build fix. Add needed file back to the wx build.
- 2:04 PM Changeset in webkit [118966] by
-
- 5 edits in trunk/Source/JavaScriptCore
ScriptDebugServer wants sourceIDs that are non-zero because that's what HashMaps want, so JSC should placate it
https://bugs.webkit.org/show_bug.cgi?id=87887
Reviewed by Darin Adler.
Better fix - we now never call SourceProvider::asID() if SourceProvider* is 0.
- parser/Nodes.h:
(JSC::ScopeNode::sourceID):
- parser/SourceCode.h:
(JSC::SourceCode::providerID):
(SourceCode):
- parser/SourceProvider.h:
(SourceProvider):
(JSC::SourceProvider::asID):
- runtime/Executable.h:
(JSC::ScriptExecutable::sourceID):
- 2:01 PM Changeset in webkit [118965] by
-
- 1 edit2 copies in branches/chromium/1132
Merge 117976 - Chromium AX: Crash when menulist adds selected option via document.write
https://bugs.webkit.org/show_bug.cgi?id=87028
Reviewed by Chris Fleizach.
Source/WebCore:
Test: platform/chromium/accessibility/add-to-menu-list-crashes.html
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::addChild):
LayoutTests:
- platform/chromium/accessibility/add-to-menu-list-crashes-expected.txt: Added.
- platform/chromium/accessibility/add-to-menu-list-crashes.html: Added.
TBR=dmazzoni@google.com
Review URL: https://chromiumcodereview.appspot.com/10446087
- 1:52 PM Changeset in webkit [118964] by
-
- 6 edits10 adds in trunk/LayoutTests
[Win] Many editing tests failing
https://bugs.webkit.org/show_bug.cgi?id=87890
Add/updated expected (failing?) results for Windows editing tests.
- platform/win/editing/deleting/delete-start-block-expected.txt: Added.
- platform/win/editing/deleting/regional-indicators-expected.txt: Added.
- platform/win/editing/input: Added.
- platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Added.
- platform/win/editing/input/reveal-caret-of-multiline-input-expected.txt: Added.
- platform/win/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Added.
- platform/win/editing/selection/caret-ltr-right-expected.txt:
- platform/win/editing/selection/caret-rtl-2-left-expected.txt:
- platform/win/editing/selection/caret-rtl-right-expected.txt:
- platform/win/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/win/editing/selection/transformed-selection-rects-expected.txt:
- platform/win/editing/spelling/grammar-paste-expected.txt: Added.
- platform/win/editing/spelling/spellcheck-async-mutation-expected.txt: Added.
- platform/win/editing/spelling/spellcheck-queue-expected.txt: Added.
- platform/win/editing/spelling/spellcheck-sequencenum-expected.txt: Added.
- 1:50 PM Changeset in webkit [118963] by
-
- 52 edits in trunk/Source/WebCore
Unreviewed, rolling out r118913.
http://trac.webkit.org/changeset/118913
https://bugs.webkit.org/show_bug.cgi?id=87891
patch is incorrect (see comments in
https://bugs.webkit.org/show_bug.cgi?id=87889) (Requested by
thorton on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30
- css/CSSFontFaceSrcValue.cpp:
(WebCore::CSSFontFaceSrcValue::addSubresourceStyleURLs):
- css/CSSFontFaceSrcValue.h:
(CSSFontFaceSrcValue):
- css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::addSubresourceStyleURLs):
- css/CSSPrimitiveValue.h:
(CSSPrimitiveValue):
- css/CSSReflectValue.cpp:
(WebCore::CSSReflectValue::addSubresourceStyleURLs):
- css/CSSReflectValue.h:
(CSSReflectValue):
- css/CSSValue.cpp:
(WebCore::CSSValue::addSubresourceStyleURLs):
- css/CSSValue.h:
(CSSValue):
- css/CSSValueList.cpp:
(WebCore::CSSValueList::addSubresourceStyleURLs):
- css/CSSValueList.h:
(CSSValueList):
- css/StylePropertySet.cpp:
(WebCore::StylePropertySet::addSubresourceStyleURLs):
- css/StylePropertySet.h:
(StylePropertySet):
- css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::addSubresourceStyleURLs):
- css/StyleSheetContents.h:
(StyleSheetContents):
- dom/Element.h:
- dom/Node.cpp:
(WebCore::Node::getSubresourceURLs):
- dom/Node.h:
(WebCore::Node::addSubresourceAttributeURLs):
(WebCore):
- dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::addSubresourceAttributeURLs):
- dom/ProcessingInstruction.h:
(ProcessingInstruction):
- dom/StyledElement.cpp:
(WebCore::StyledElement::addSubresourceAttributeURLs):
- dom/StyledElement.h:
(StyledElement):
- html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::addSubresourceAttributeURLs):
- html/HTMLBodyElement.h:
(HTMLBodyElement):
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::addSubresourceAttributeURLs):
- html/HTMLEmbedElement.h:
(HTMLEmbedElement):
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::addSubresourceAttributeURLs):
- html/HTMLImageElement.h:
(HTMLImageElement):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::addSubresourceAttributeURLs):
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::addSubresourceAttributeURLs):
- html/HTMLLinkElement.h:
(HTMLLinkElement):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::addSubresourceAttributeURLs):
- html/HTMLObjectElement.h:
(HTMLObjectElement):
- html/HTMLParamElement.cpp:
(WebCore::HTMLParamElement::addSubresourceAttributeURLs):
- html/HTMLParamElement.h:
(HTMLParamElement):
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::addSubresourceAttributeURLs):
- html/HTMLScriptElement.h:
(HTMLScriptElement):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::addSubresourceAttributeURLs):
- html/HTMLStyleElement.h:
(HTMLStyleElement):
- html/HTMLTableCellElement.cpp:
(WebCore::HTMLTableCellElement::addSubresourceAttributeURLs):
- html/HTMLTableCellElement.h:
(HTMLTableCellElement):
- html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::addSubresourceAttributeURLs):
- html/HTMLTableElement.h:
(HTMLTableElement):
- svg/SVGCursorElement.cpp:
(WebCore::SVGCursorElement::addSubresourceAttributeURLs):
- svg/SVGCursorElement.h:
(SVGCursorElement):
- svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::addSubresourceAttributeURLs):
- svg/SVGFEImageElement.h:
(SVGFEImageElement):
- svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::addSubresourceAttributeURLs):
- svg/SVGImageElement.h:
(SVGImageElement):
- svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::addSubresourceAttributeURLs):
- svg/SVGScriptElement.h:
(SVGScriptElement):
- 1:47 PM Changeset in webkit [118962] by
-
- 8 edits in trunk
[EFL] Ewk_Intent_Request's postResult/postFailure should take serialized script values in argument
https://bugs.webkit.org/show_bug.cgi?id=87829
Patch by Christophe Dumez <Christophe Dumez> on 2012-05-30
Reviewed by Adam Barth.
Source/WebKit/efl:
Ewk_Intent_Request's postResult/postFailure methods now take
SerializedScriptValues in argument instead of strings. The client can
now post results of any type, not just strings, which is according to
spec. Those methods are now moved to private header and a helper
function was added to DumpRenderTreeSupportEfl so that the DRT can
still send intent results.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::sendWebIntentResponse):
- WebCoreSupport/DumpRenderTreeSupportEfl.h:
- ewk/ewk_intent_private.h:
(WebCore):
- ewk/ewk_intent_request.cpp:
(ewk_intent_request_result_post):
(ewk_intent_request_failure_post):
- ewk/ewk_intent_request.h:
Tools:
EFL's LayoutTestController now makes uses of the new helper method in
DumpRenderTreeSupportEfl in order to send the intent response. This is
now needed because the Ewk_Intent_Request postResult / postFailure
methods were made private.
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::sendWebIntentResponse):
- 1:30 PM Changeset in webkit [118961] by
-
- 5 edits in trunk/Source/WebCore
Rename offsetTopLeft in RenderBoxModelObject to something better
https://bugs.webkit.org/show_bug.cgi?id=85915
Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-05-30
Reviewed by Darin Adler.
Renamed offsetTopLeft in RenderBoxModelObject to
adjustedPositionRelativeToOffsetParent, because it returns the given
startPoint after adjusting it to be relative to the top-left corner of
the offsetParent. The definition of offsetParent itself is non-trivial
and is documented within the body of RenderObject::offsetParent,
therefore I decided to reuse this term, as-is, in the name of this
function.
No new tests; no functional or visible changes.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::offsetLeft):
(WebCore::RenderBox::offsetTop):
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
(WebCore::RenderBoxModelObject::offsetLeft):
(WebCore::RenderBoxModelObject::offsetTop):
- rendering/RenderBoxModelObject.h:
(RenderBoxModelObject):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::offsetLeft):
(WebCore::RenderInline::offsetTop):
- 1:18 PM Changeset in webkit [118960] by
-
- 2 edits in trunk/Source/JavaScriptCore
ScriptDebugServer wants sourceIDs that are non-zero because that's what HashMaps want, so JSC should placate it
https://bugs.webkit.org/show_bug.cgi?id=87887
Reviewed by Geoffrey Garen.
- parser/SourceProvider.h:
(JSC::SourceProvider::asID):
- 1:17 PM Changeset in webkit [118959] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Merge shared code in CCOcclusionTrackerTest
https://bugs.webkit.org/show_bug.cgi?id=87798
Reviewed by Adrienne Walker.
This patch simple uses a different existing macro function so that
the same thing doesn't exist in multiple places, and so that the
naming is more consistent with gtest's conventions.
- tests/CCOcclusionTrackerTest.cpp:
(WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
(WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
(WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
(WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
(WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
(WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
(WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
(WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
- 12:53 PM Changeset in webkit [118958] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] port webframe_unittest.cc to webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=87796
Reviewed by James Robinson.
Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPage to webkit_unit_tests.
- tests/WebFrameTest.cpp:
(WebKit::TEST_F):
(WebKit): Add tests.
- 12:51 PM Changeset in webkit [118957] by
-
- 4 edits6 adds in trunk
Transformed fixed position layers have an incorrect overlap map entry
https://bugs.webkit.org/show_bug.cgi?id=64201
Reviewed by Darin Adler.
Source/WebCore:
Previously, layers that both had a transform and were fixed position
were not considered as being fixed position in RenderGeometryMap or in
RenderBox::mapLocalToContainer (although this case is not incorrect in
the case of painting, so an external caller likely adjusts for this).
Tests: compositing/layer-creation/fixed-position-and-transform.html
compositing/layer-creation/fixed-position-under-transform.html
- rendering/RenderBox.cpp:
(WebCore::RenderBox::mapLocalToContainer):
- rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::mapToAbsolute):
LayoutTests:
Add a test for a layer with both fixed position and a transform to
verify that this is considered as fixed position with respect to the
root.
Also, add a test with a child layer with fixed position and a parent
with a transform to verify that the child is not considered as fixed
position with respect to the root.
- compositing/layer-creation/fixed-position-and-transform-expected.png: Added.
- compositing/layer-creation/fixed-position-and-transform-expected.txt: Added.
- compositing/layer-creation/fixed-position-and-transform.html: Added.
- compositing/layer-creation/fixed-position-under-transform-expected.png: Added.
- compositing/layer-creation/fixed-position-under-transform-expected.txt: Added.
- compositing/layer-creation/fixed-position-under-transform.html: Added.
- 12:45 PM Changeset in webkit [118956] by
-
- 4 edits3 adds in trunk
DFG does not correctly handle exceptions caught in the LLInt
https://bugs.webkit.org/show_bug.cgi?id=87885
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
Make the DFG use genericThrow, rather than reimplementing a small portion of it.
Also make the LLInt slow paths validate that their PC is correct.
- dfg/DFGOperations.cpp:
- llint/LLIntSlowPaths.cpp:
(LLInt):
LayoutTests:
Pile of code to convince the DFG to throw an exception that ends up being caught
in the LLInt
- fast/js/exception-propagate-from-dfg-to-llint-expected.txt: Added.
- fast/js/exception-propagate-from-dfg-to-llint.html: Added.
- fast/js/script-tests/exception-propagate-from-dfg-to-llint.js: Added.
(o.toString):
(h):
(g):
(f1):
(f2):
- 12:44 PM Changeset in webkit [118955] by
-
- 5 edits2 adds in trunk
[v8] Crash after redefining setter on typed array to a number
https://bugs.webkit.org/show_bug.cgi?id=87862
Patch by Ulan Degenbaev <ulan@chromium.org> on 2012-05-30
Reviewed by Kenneth Russell.
Remove calls to typed array set() method from C++.
Store the copying script as a hidden property of a typed array prototype.
Source/WebCore:
Test: fast/canvas/webgl/array-override-set.html
- bindings/v8/custom/V8ArrayBufferViewCustom.cpp:
(WebCore):
(WebCore::getHiddenCopyMethod):
(WebCore::installHiddenCopyMethod):
(WebCore::copyElements):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore):
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8ArrayBufferViewCustomScript.js:
LayoutTests:
- fast/canvas/webgl/array-override-set-expected.txt: Added.
- fast/canvas/webgl/array-override-set.html: Added.
- 12:40 PM Changeset in webkit [118954] by
-
- 2 edits in trunk/LayoutTests
http/tests/cache/subresource-expiration-2.html is slow on Linux
Unreviewed Chromium test expectations expansion.
- platform/chromium/test_expectations.txt:
- 12:34 PM Changeset in webkit [118953] by
-
- 1 edit1 add in trunk/LayoutTests
fast/dom/Window/mozilla-focus-blur.html is failing on Mac
https://bugs.webkit.org/show_bug.cgi?id=87884
<rdar://problem/11558864>
Unreviewed failing baselines after http://trac.webkit.org/changeset/118916.
- platform/mac/fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
- 12:32 PM Changeset in webkit [118952] by
-
- 2 edits in trunk/LayoutTests
Layout Test perf/mouse-event.html is flaky on Linux
https://bugs.webkit.org/show_bug.cgi?id=87886
Unreviewed Chromium expectations update for perf/mouse-event.html
- platform/chromium/test_expectations.txt:
- 12:22 PM Changeset in webkit [118951] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium epxectations update for http/tests/media/media-source/video-media-source-errors.html
- platform/chromium/test_expectations.txt:
- 12:11 PM Changeset in webkit [118950] by
-
- 5 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=87882
[New Multicolumn] Rename layoutColumns to relayoutForPagination and make it
virtual so that it can be implemented by RenderMultiColumnBlock.
Reviewed by Anders Carlsson.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::relayoutForPagination):
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderMultiColumnBlock.cpp:
(WebCore::RenderMultiColumnBlock::relayoutForPagination):
(WebCore):
- rendering/RenderMultiColumnBlock.h:
(RenderMultiColumnBlock):
- 12:08 PM Changeset in webkit [118949] by
-
- 3 edits in trunk/Source/WebCore
Check for GTK2/GTK3 symbol mismatch earlier
https://bugs.webkit.org/show_bug.cgi?id=87687
Patch by Daniel Drake <dsd@laptop.org> on 2012-05-30
Reviewed by Martin Robinson.
No new tests. Regressions in core behavior are covered by existing
plugin tests and the fix deals with particular aspects of the system
environment that are difficult to test.
Detect plugins that would mix GTK+ symbols earlier, so that the
WebKit can skip them and choose a more appropriate plugin module.
- plugins/gtk/PluginPackageGtk.cpp: Move this code from PluginViewGtk.
(WebCore::moduleMixesGtkSymbols):
(WebCore::PluginPackage::load):
- plugins/gtk/PluginViewGtk.cpp: Move this code to PluginPackageGtk.
(WebCore::PluginView::platformStart):
- 11:57 AM Changeset in webkit [118948] by
-
- 2 edits in trunk/Source/WebKit2
WebProcessMainMac.mm doesn't need to import WKView.h.
Rubber-stamped by Anders Carlsson.
- WebProcess/mac/WebProcessMainMac.mm:
- 11:48 AM Changeset in webkit [118947] by
-
- 5 edits in trunk/Source/WebCore
[Qt] Support IMAGE_DECODER_DOWN_SAMPLING flag.
https://bugs.webkit.org/show_bug.cgi?id=87840
Based on patches by Qi Zhang and Jussi Lehto.
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.
- platform/graphics/Image.cpp:
(WebCore::Image::adjustSourceRectForDownSampling):
- platform/graphics/Image.h:
(Image):
- platform/graphics/openvg/ImageOpenVG.cpp:
(WebCore::BitmapImage::draw):
- platform/graphics/qt/ImageQt.cpp:
(WebCore::Image::drawPattern):
(WebCore::BitmapImage::draw):
- 11:44 AM Changeset in webkit [118946] by
-
- 2 edits in trunk/LayoutTests
- platform/wk2/Skipped: Skipping newly added file-last-modified-after-delete.html, because WTR doesn't implement beginDragWithFiles.
- 11:36 AM Changeset in webkit [118945] by
-
- 5 edits2 adds in trunk
comparePositions in htmlediting should consider nested Shadow DOM.
https://bugs.webkit.org/show_bug.cgi?id=87623
Reviewed by Ryosuke Niwa.
Source/WebCore:
comparePositions in htmlediting.cpp didn't consider nested Shadow DOM.
This patch makes it possible to compare the nodes in nested Shadow DOM.
The algorithm is: we calculate the common tree scope of node A and B, and
adjust the nodes to the treeScope, then compare them. If the adjusted nodes
are the same, we check the shadow descendent of each node.
Test: editing/shadow/compare-positions-in-nested-shadow.html
- dom/TreeScope.cpp:
(WebCore::listTreeScopes):
(WebCore):
(WebCore::commonTreeScope):
- dom/TreeScope.h:
(WebCore):
- editing/htmlediting.cpp:
(WebCore::comparePositions):
LayoutTests:
- editing/shadow/compare-positions-in-nested-shadow-expected.txt: Added.
- editing/shadow/compare-positions-in-nested-shadow.html: Added.
- 11:33 AM Changeset in webkit [118944] by
-
- 4 edits in trunk
[V8] Clean up V8LazyEventListener to use one less function call
https://bugs.webkit.org/show_bug.cgi?id=87785
Reviewed by Kentaro Hara.
Instead of relying on 'arguments' we rely on 'this'. 'this' cannot be intercepted by a
with-statement so it is safe to use that to bind the context objects. This allows us to
remove one layer of function indirection in the generated code.
Source/WebCore:
Covered by existing tests.
- bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::prepareListenerObject):
LayoutTests:
- platform/chromium-win/inspector/debugger/debugger-scripts-expected.txt:
- 11:31 AM Changeset in webkit [118943] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium test expectations for fast/layers/scroll-with-transform-composited-layer.html
- platform/chromium/test_expectations.txt:
- 11:28 AM Changeset in webkit [118942] by
-
- 5 edits in trunk/Source/WebCore
Factor DeferrableOneShotTimer out of GraphicsContextCG/GeneratorGeneratedImage
https://bugs.webkit.org/show_bug.cgi?id=87824
Reviewed by Simon Fraser.
DeferrableOneShotTimer is a timer which takes a class and method to call (as Timer does),
and a delay. It exposes restart(), stop(), and isActive(), and none of the rest of
the TimerBase interface. On restart(), the timer is started with the given delay,
unless it's already running, in which case a flag is set to automatically restart
the timer when it fires instead of calling the given method. This provides a
low-overhead way to implement a deferrable timer.
No new tests, refactoring.
- platform/Timer.h:
(DeferrableOneShotTimer):
(WebCore::DeferrableOneShotTimer::DeferrableOneShotTimer): New class.
(WebCore::DeferrableOneShotTimer::restart):
(WebCore::DeferrableOneShotTimer::fired):
- platform/graphics/GeneratorGeneratedImage.cpp:
(WebCore::GeneratorGeneratedImage::invalidateCacheTimerFired):
- platform/graphics/GeneratorGeneratedImage.h:
(WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage): Make use of DeferrableOneShotTimer.
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::SubimageCacheWithTimer::SubimageCacheWithTimer): Make use of DeferrableOneShotTimer.
(WebCore::SubimageCacheWithTimer::invalidateCacheTimerFired):
- 11:09 AM Changeset in webkit [118941] by
-
- 7 edits4 adds in trunk
Source/WebCore: eventSender.beginDragWithFiles should be implemented in Windows, which blocked drag and drop related tests.
https://bugs.webkit.org/show_bug.cgi?id=86296
Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.
Test: This change was requirement for eventSender.beginDragWithFiles, update win/Skipped file to remove drag and drop related tests will valiate it.
- platform/win/DragDataWin.cpp:
(WebCore::DragData::numberOfFiles):
Tools: eventSender.beginDragWithFiles should be implemented in Windows, which blocked drag and drop related tests.
https://bugs.webkit.org/show_bug.cgi?id=86296
Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.
- DumpRenderTree/win/DRTDataObject.cpp: Added.
(cfHDropFormat):
(cfFileNameWFormat):
(cfUrlWFormat):
(WCEnumFormatEtc):
(WCEnumFormatEtc::WCEnumFormatEtc):
(WCEnumFormatEtc::QueryInterface):
(WCEnumFormatEtc::AddRef):
(WCEnumFormatEtc::Release):
(WCEnumFormatEtc::Next):
(WCEnumFormatEtc::Skip):
(WCEnumFormatEtc::Reset):
(WCEnumFormatEtc::Clone):
(DRTDataObject::createInstance):
(DRTDataObject::DRTDataObject):
(DRTDataObject::~DRTDataObject):
(DRTDataObject::QueryInterface):
(DRTDataObject::AddRef):
(DRTDataObject::Release):
(DRTDataObject::GetData):
(DRTDataObject::GetDataHere):
(DRTDataObject::QueryGetData):
(DRTDataObject::GetCanonicalFormatEtc):
(DRTDataObject::SetData):
(DRTDataObject::CopyMedium):
(DRTDataObject::EnumFormatEtc):
(DRTDataObject::DAdvise):
(DRTDataObject::DUnadvise):
(DRTDataObject::EnumDAdvise):
(DRTDataObject::clearData):
- DumpRenderTree/win/DRTDataObject.h: Added.
(DRTDataObject):
- DumpRenderTree/win/DRTDropSource.cpp: Added.
(DRTDropSource::DRTDropSource):
(DRTDropSource::~DRTDropSource):
(DRTDropSource::QueryInterface):
(DRTDropSource::AddRef):
(DRTDropSource::Release):
(DRTDropSource::createInstance):
(DRTDropSource::QueryContinueDrag):
(DRTDropSource::GiveFeedback):
- DumpRenderTree/win/DRTDropSource.h: Added.
(DRTDropSource):
- DumpRenderTree/win/DumpRenderTree.vcproj:
- DumpRenderTree/win/EventSender.cpp:
(beginDragWithFilesCallback):
LayoutTests: The tests listed in win/Skipped should be removed after this change, but some of these need to rebaseline in Windows, we do that in bug#87610.
https://bugs.webkit.org/show_bug.cgi?id=86296
Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-05-30
Reviewed by Tony Chang.
- platform/win/Skipped:
- 11:07 AM Changeset in webkit [118940] by
-
- 2 edits in trunk/LayoutTests
- fast/files/read-blob-async-expected.txt: Updating results to what Mac WK1 bot sees (two additional "result: null" lines).
- 10:47 AM Changeset in webkit [118939] by
-
- 3 edits in trunk/LayoutTests
mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786
Somehow these weren't included in r118935.
Unreviewed gardening.
- platform/mac-lion/Skipped:
- platform/mac/Skipped:
- 10:43 AM WebKitGTK/1.8.x edited by
- (diff)
- 10:41 AM Changeset in webkit [118938] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium test expectations update.
tex-image-with-format-and-type.html
tex-image-with-format-and-type.html
formaction-attribute.html
terminate-during-sync-operation.html
- platform/chromium/test_expectations.txt:
- 10:29 AM Changeset in webkit [118937] by
-
- 11 edits in trunk
WebKit2: Implement layoutTestController.setPluginsEnabled() in WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=58593
Source/WebKit2:
Adds the ability to change the pluginsEnabled flag in WebCore::Settings
to WebKitTestRunner's LayoutTestController. The flag is modified via the
public C API of the WebProcess.
Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.
- WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleSetPluginsEnabled):
- WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
- WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setPluginsEnabled): Calls the setPluginsEnabled
method for the WebCore::Settings of each WebCore::Page in the current
page group.
(WebKit):
- WebProcess/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
Tools:
Adds the ability to change the pluginsEnabled flag in WebCore::Settings
to WebKitTestRunner's LayoutTestController. The flag is modified via the
public C API of the WebProcess.
Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.
- WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
- WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::setPluginsEnabled): Just calls the
WKBundleSetPluginsEnabled function in the public C API of WebProcess.
- WebKitTestRunner/InjectedBundle/LayoutTestController.h:
LayoutTests:
Unskip passing tests.
Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-30
Reviewed by Darin Adler.
- platform/wk2/Skipped:
- 10:26 AM Changeset in webkit [118936] by
-
- 2 edits in trunk/LayoutTests
Updating test expectations (css3/filters/custom-filter-property-computed-style,
fast/frames/cached-frame-counter).
- platform/chromium/test_expectations.txt:
- 10:25 AM Changeset in webkit [118935] by
-
- 12 edits in trunk/LayoutTests
mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac
https://bugs.webkit.org/show_bug.cgi?id=86786
The test result files below contain slightly improved metrics (usually by a single
pixel) and some other very minor (visually undetectable) pixel changes. To be honest,
I'm not sure what caused all these changes, since a lot of mathml tests have been
skipped or failing for a while. The small metric improvements were not caused by changes
in mathml code - perhaps LayoutUnit rounding or other 1-pixel corrections in logical
width code? At any rate, I'd like to rebaseline these tests, and unskip them and other
mathml tests.
Unreviewed rebaselining/gardening.
- platform/mac-lion/Skipped:
- platform/mac/Skipped:
- platform/mac/mathml/presentation/attributes-expected.png:
- platform/mac/mathml/presentation/fenced-mi-expected.png:
- platform/mac/mathml/presentation/fractions-expected.png:
- platform/mac/mathml/presentation/fractions-expected.txt:
- platform/mac/mathml/presentation/fractions-vertical-alignment-expected.png:
- platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
- platform/mac/mathml/presentation/mo-stretch-expected.png:
- platform/mac/mathml/presentation/mo-stretch-expected.txt:
- platform/mac/mathml/presentation/roots-expected.png:
- platform/mac/mathml/presentation/subsup-expected.png:
- platform/mac/mathml/presentation/subsup-expected.txt:
- 10:18 AM Changeset in webkit [118934] by
-
- 12 edits in trunk/Source
HashTable.h has using directives for std::pair and std::make_pair
https://bugs.webkit.org/show_bug.cgi?id=29919
Reviewed by Darin Adler.
Source/WebCore:
Change code to use std::pair and std::make_pair.
- accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::postNotification):
- html/MediaFragmentURIParser.cpp:
(WebCore::MediaFragmentURIParser::parseFragments):
- html/parser/HTMLMetaCharsetParser.cpp:
(WebCore::HTMLMetaCharsetParser::processMeta):
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::brokenImage):
- page/PageSerializer.cpp:
(WebCore::isCharsetSpecifyingNode):
Source/WebKit2:
Change code to use std::pair and std::make_pair.
- UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.mm:
(WebKit::DynamicLinkerEnvironmentExtractor::processEnvironmentVariable):
- UIProcess/WebContext.cpp:
(WebKit::WebContext::postMessageToInjectedBundle):
Source/WTF:
Change code to use std::pair and std::make_pair. Later patch will remove the
'using' directives.
- wtf/HashTable.h:
(WTF::hashTableSwap):
(HashTable):
- wtf/HashTraits.h:
(PairHashTraits):
(WTF::PairHashTraits::emptyValue):
- 10:17 AM Changeset in webkit [118933] by
-
- 5 edits in trunk
[EFL][DRT] http/tests/navigation/new-window-redirect-history.html does not pass
https://bugs.webkit.org/show_bug.cgi?id=87848
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-30
Reviewed by Csaba Osztrogonác.
Tools:
The reason was that DumpRenderTreeChrome::extraViews() returned copy of the vector
and dumpBackForwardListForWebViews() used iterators belonging actually to different vectors
(browser->extraViews().begin() and browser->extraViews().end()) as if they had belonged to the same vector.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::extraViews):
- DumpRenderTree/efl/DumpRenderTreeChrome.h:
(DumpRenderTreeChrome):
LayoutTests:
- platform/efl/Skipped: Unskipped http/tests/navigation/new-window-redirect-history.html.
- 10:02 AM Changeset in webkit [118932] by
-
- 6 edits in trunk/Source/JavaScriptCore
DFG CFA should infer types and values of captured variables
https://bugs.webkit.org/show_bug.cgi?id=87813
Reviewed by Gavin Barraclough.
Slight speed-up in V8/earley-boyer (~1%).
- bytecode/CodeBlock.h:
(JSC::CodeBlock::argumentsAreCaptured):
(JSC::CodeBlock::argumentIsCaptured):
(CodeBlock):
- dfg/DFGAbstractState.cpp:
(DFG):
(JSC::DFG::AbstractState::beginBasicBlock):
(JSC::DFG::AbstractState::initialize):
(JSC::DFG::AbstractState::endBasicBlock):
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::clobberWorld):
(JSC::DFG::AbstractState::clobberStructures):
(JSC::DFG::AbstractState::mergeStateAtTail):
(JSC::DFG::AbstractState::merge):
(JSC::DFG::AbstractState::mergeToSuccessors):
- dfg/DFGAbstractState.h:
(JSC::DFG::AbstractState::variables):
(AbstractState):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 9:44 AM Changeset in webkit [118931] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed. Build fix for !ENABLE(JIT) after r117823.
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
- 9:14 AM Changeset in webkit [118930] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, removed some tests from the test_expectations file as
they have been regularly passing in the 3 GTK bots for some time.
- platform/gtk/test_expectations.txt:
- 9:07 AM Changeset in webkit [118929] by
-
- 2 edits in trunk/Source/WebKit/wince
Unreviewed WinCE build fix after r115926.
- WebView.cpp:
- 9:06 AM Changeset in webkit [118928] by
-
- 2 edits in trunk/LayoutTests
[Win] REGRESSION(r118018) fast/js/names.html failing due to JavaScriptExperiments not being
enabled on Windows
https://bugs.webkit.org/show_bug.cgi?id=87858
Skip the test on Windows to get the bots greener.
- platform/win/Skipped:
- 8:49 AM Changeset in webkit [118927] by
-
- 2 edits in trunk/Source/WebKit/wince
Unreviewed WinCE build fix after r117470.
- WebCoreSupport/EditorClientWinCE.h:
(EditorClientWinCE):
- 8:45 AM Changeset in webkit [118926] by
-
- 3 edits1 add in trunk/LayoutTests
More Windows test cleanup.
Update the Skipped list and tests for features turned on/off on Windows.
- platform/win/Skipped:
- platform/win/fast/dom/constructed-objects-prototypes-expected.txt: Added.
- platform/win/fast/js/global-constructors-expected.txt:
- 8:26 AM Changeset in webkit [118925] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: disable ExactlyInt feature in InspectorTypeBuilder since it breaks release Windows 7 WK2
https://bugs.webkit.org/show_bug.cgi?id=87857
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-05-30
Reviewed by Yury Semikhatsky.
Code generator is patched to support old style of int parameter.
- inspector/CodeGeneratorInspector.py:
(TypeModel.init_class):
- 8:17 AM Changeset in webkit [118924] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed: Fix wrongly typed Qt slot.
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
- 8:06 AM Changeset in webkit [118923] by
-
- 6 edits in trunk/Source/WebKit2
[Qt] Move ViewportAttribute related methods to the interaction engine.
https://bugs.webkit.org/show_bug.cgi?id=87855
Reviewed by Simon Hausmann.
Move the logic of didChange{ViewportProperties|ContentsSize} to the
interaction engine and update our testing object.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewLegacyPrivate::QQuickWebViewLegacyPrivate):
(QQuickWebViewFlickablePrivate::didChangeViewportProperties):
(QQuickWebViewFlickablePrivate::didChangeContentsSize):
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/qwebkittest.cpp:
(QWebKitTest::contentsScale):
(QWebKitTest::devicePixelRatio):
(QWebKitTest::initialScale):
(QWebKitTest::minimumScale):
(QWebKitTest::maximumScale):
(QWebKitTest::isScalable):
(QWebKitTest::layoutSize):
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::viewportAttributesChanged):
(WebKit):
(WebKit::QtViewportInteractionEngine::pageContentsSizeChanged):
- UIProcess/qt/QtViewportInteractionEngine.h:
(QtViewportInteractionEngine):
- 7:24 AM Changeset in webkit [118922] by
-
- 2 edits in trunk/Source/WTF
Build fix for WinCE after r118603.
- wtf/Atomics.h:
(WTF::weakCompareAndSwap):
- 7:20 AM Changeset in webkit [118921] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Add trace() method to the WorkerConsole
https://bugs.webkit.org/show_bug.cgi?id=87656
Patch by Alexei Filippov <alexeif@chromium.org> on 2012-05-30
Reviewed by Yury Semikhatsky.
- inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotRealWorker.prototype._messageReceived):
- inspector/front-end/HeapSnapshotWorker.js:
(WebInspector.WorkerConsole.prototype.trace):
- 6:57 AM Changeset in webkit [118920] by
-
- 7 edits1 copy3 adds in trunk
File.lastModifiedDate must return null if the modified time info is not available
https://bugs.webkit.org/show_bug.cgi?id=87709
Reviewed by Kentaro Hara.
Source/WebCore:
Per File API spec, File.lastModifiedDate must return null if the
modified time info is not available.
http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate
Test: http/tests/local/fileapi/file-last-modified-after-delete.html
- fileapi/File.cpp:
(WebCore::File::lastModifiedDateForBinding): Added.
(WebCore):
- fileapi/File.h:
(File):
- fileapi/File.idl: Added ImplementedAs=lastModifiedDateForBinding.
LayoutTests:
- http/tests/local/fileapi/file-last-modified-after-delete-expected.txt: Added.
- http/tests/local/fileapi/file-last-modified-after-delete.html: Added.
- http/tests/local/fileapi/resources/temp-file-utils.js: Added.
- http/tests/local/fileapi/script-tests/file-last-modified-after-delete.js: Added.
- http/tests/local/fileapi/script-tests/send-sliced-dragged-file.js: Factored out common temp-file related functions into temp-file-utils.js.
- http/tests/local/fileapi/send-sliced-dragged-file.html:
- 6:56 AM Changeset in webkit [118919] by
-
- 4 edits in trunk/Source/WebKit2
[Qt] Do renames in ViewportInteractionEngine as agreed upon
https://bugs.webkit.org/show_bug.cgi?id=87845
Reviewed by Simon Hausmann.
Mostly moving methods around and renaming them to be more
consistent and avoid terminology clashes.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewFlickablePrivate::didChangeViewportProperties):
(QQuickWebViewFlickablePrivate::pageDidRequestScroll):
(QQuickWebViewFlickablePrivate::didChangeContentsSize):
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::boundPosition):
(WebKit):
(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
(WebKit::QtViewportInteractionEngine::setPageItemRectVisible):
(WebKit::QtViewportInteractionEngine::animatePageItemRectVisible):
(WebKit::QtViewportInteractionEngine::flickMoveStarted):
(WebKit::QtViewportInteractionEngine::flickMoveEnded):
(WebKit::QtViewportInteractionEngine::pageItemPositionChanged):
(WebKit::QtViewportInteractionEngine::pageContentPositionRequest):
(WebKit::QtViewportInteractionEngine::scaleAnimationValueChanged):
(WebKit::QtViewportInteractionEngine::computePosRangeForPageItemAtScale):
(WebKit::QtViewportInteractionEngine::focusEditableArea):
(WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
(WebKit::QtViewportInteractionEngine::nearestValidBounds):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::pinchGestureEnded):
(WebKit::QtViewportInteractionEngine::pageItemSizeChanged):
- UIProcess/qt/QtViewportInteractionEngine.h:
(WebKit::QtViewportInteractionEngine::setDevicePixelRatio):
(QtViewportInteractionEngine):
- 6:55 AM Changeset in webkit [118918] by
-
- 4 edits in trunk
[EFL][DRT] EFL's DRT needs "postProgressFinishedNotification" message
https://bugs.webkit.org/show_bug.cgi?id=87833
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-30
Reviewed by Tor Arne Vestbø.
Tools:
Print "postProgressFinishedNotification" message if frame load finished
to unskip http/tests/loading/progress-finished-callback.html.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameLoadFinished):
LayoutTests:
- platform/efl/Skipped: Unskipped http/tests/loading/progress-finished-callback.html.
- 6:34 AM Changeset in webkit [118917] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Layout Test http/tests/media/media-source/webm/video-media-source-*.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=85952
Unreviewed Chromium expectations update to broaden expectations.
- platform/chromium/test_expectations.txt:
- 6:28 AM Changeset in webkit [118916] by
-
- 20 edits6 adds in trunk
Match Firefox restrictions to window.blur and window.focus
https://bugs.webkit.org/show_bug.cgi?id=86969
Reviewed by Adam Barth.
Source/WebCore:
Disallow window.blur altogether, and only allow window.focus to be
invoked from the context that created this very window.
There's a new setting (windowFocusRestricted) that defaults to true. If
false, the new restrictions are lifted. This can be used by ports that
would prefer to stick with the old behavior.
For tests, this setting is accessible in window.internals.settings
To temporarily allow window.focus(), an object of type
WindowFocusAllowedIndicator can be created. It is currently used to
enable window.focus() during dispatch of the click event for
notifications.
Tests: fast/dom/Window/mozilla-focus-blur.html
fast/notifications/notifications-click-event-focus.html
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- notifications/Notification.cpp:
(WebCore::Notification::dispatchClickEvent):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::focus):
(WebCore::DOMWindow::blur):
- page/DOMWindow.h:
(DOMWindow):
- page/DOMWindow.idl:
- page/Settings.cpp:
(WebCore::Settings::Settings):
- page/Settings.h:
(Settings):
(WebCore::Settings::setWindowFocusRestricted):
(WebCore::Settings::windowFocusRestricted):
- page/WindowFocusAllowedIndicator.cpp: Added.
(WebCore):
(WebCore::WindowFocusAllowedIndicator::windowFocusAllowed):
(WebCore::WindowFocusAllowedIndicator::WindowFocusAllowedIndicator):
(WebCore::WindowFocusAllowedIndicator::~WindowFocusAllowedIndicator):
- page/WindowFocusAllowedIndicator.h: Added.
(WebCore):
(WindowFocusAllowedIndicator):
- testing/InternalSettings.cpp:
(WebCore::InternalSettings::InternalSettings):
(WebCore::InternalSettings::restoreTo):
(WebCore::InternalSettings::setWindowFocusRestricted):
(WebCore):
- testing/InternalSettings.h:
(InternalSettings):
- testing/InternalSettings.idl:
Source/WebKit/chromium:
Allow window.focus() during the dispatch of the click event on
notifications.
- src/WebNotification.cpp:
(WebKit::WebNotification::dispatchClickEvent):
LayoutTests:
- fast/dom/HTMLDocument/hasFocus.html:
- fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
- fast/dom/Window/mozilla-focus-blur.html: Added.
- fast/notifications/notifications-click-event-focus-expected.txt: Added.
- fast/notifications/notifications-click-event-focus.html: Added.
- 6:18 AM Changeset in webkit [118915] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening, updating platform-specific baselines after r118902.
- platform/gtk/fast/js/global-constructors-expected.txt:
- 5:12 AM Changeset in webkit [118914] by
-
- 17 edits in trunk
[EFL][WK2] Fix WebKit2-EFL build
https://bugs.webkit.org/show_bug.cgi?id=83693
Reviewed by Carlos Garcia Campos.
.:
- Source/cmake/OptionsEfl.cmake: Define BUILDING_SOUP to build WebKit2/Efl.
Source/WebCore:
- CMakeLists.txt: Add GestureTapHighlighter.cpp.
Source/WebKit2:
- CMakeLists.txt: Move IDL generator codes to generate port specific *.messages.in.
- PlatformEfl.cmake: Add soup related files after r115411 and includes to fix build break.
- UIProcess/API/efl/PageClientImpl.cpp: Fix build break with ENABLE_TOUCH_EVENTS.
(WebKit):
(WebKit::PageClientImpl::doneWithTouchEvent):
- UIProcess/API/efl/PageClientImpl.h:
(PageClientImpl):
- WebProcess/WebCoreSupport/WebChromeClient.cpp: Fix build break with ENABLE_INPUT_TYPE_COLOR and ENABLE_REGISTER_PROTOCOL_HANDLER.
(WebKit):
(WebKit::WebChromeClient::createColorChooser):
- WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: Fix build break with ENABLE_WEB_INTENTS
(WebKit):
(WebKit::WebFrameLoaderClient::dispatchIntent):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebCore):
(WebFrameLoaderClient):
- WebProcess/WebProcess.cpp: Guard PLATFORM_STRATEGIES codes.
(WebKit::WebProcess::didGetPlugins):
- WebProcess/soup/WebSoupRequestManager.cpp: Try to share with EFL port.
(WebKit::WebSoupRequestManager::didHandleURIRequest):
Tools:
- CMakeLists.txt: Guard Webkit1 related codes with ENABLE_WEBKIT.
- 5:09 AM Changeset in webkit [118913] by
-
- 52 edits in trunk/Source/WebCore
Rename Foo::addSubresourceStyleURLs and Node::addSubresourceAttributeURLs
https://bugs.webkit.org/show_bug.cgi?id=87739
Rubber-stamped by Andreas Kling.
Rename them to collectSubresourceURLs and collectSubresourceURLsFromAttributes to match
the naming conventions.
Move collectSubresourceURLsFromAttributes from Node to Element as only elements have attributes.
- css/CSSFontFaceSrcValue.cpp:
(WebCore::CSSFontFaceSrcValue::collectSubresourceURLs):
- css/CSSFontFaceSrcValue.h:
(CSSFontFaceSrcValue):
- css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::collectSubresourceURLs):
- css/CSSPrimitiveValue.h:
(CSSPrimitiveValue):
- css/CSSReflectValue.cpp:
(WebCore::CSSReflectValue::collectSubresourceURLs):
- css/CSSReflectValue.h:
(CSSReflectValue):
- css/CSSValue.cpp:
(WebCore::CSSValue::collectSubresourceURLs):
- css/CSSValue.h:
(CSSValue):
- css/CSSValueList.cpp:
(WebCore::CSSValueList::collectSubresourceURLs):
- css/CSSValueList.h:
(CSSValueList):
- css/StylePropertySet.cpp:
(WebCore::StylePropertySet::collectSubresourceURLs):
- css/StylePropertySet.h:
(StylePropertySet):
- css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::collectSubresourceURLs):
- css/StyleSheetContents.h:
(StyleSheetContents):
- dom/Element.h:
(WebCore::Element::collectSubresourceURLsFromAttributes):
(Element):
- dom/Node.cpp:
(WebCore::Node::getSubresourceURLs):
- dom/Node.h:
(WebCore):
- dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::collectSubresourceURLsFromAttributes):
- dom/ProcessingInstruction.h:
(ProcessingInstruction):
- dom/StyledElement.cpp:
(WebCore::StyledElement::collectSubresourceURLsFromAttributes):
- dom/StyledElement.h:
(StyledElement):
- html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::collectSubresourceURLsFromAttributes):
- html/HTMLBodyElement.h:
(HTMLBodyElement):
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::collectSubresourceURLsFromAttributes):
- html/HTMLEmbedElement.h:
(HTMLEmbedElement):
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::collectSubresourceURLsFromAttributes):
- html/HTMLImageElement.h:
(HTMLImageElement):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::collectSubresourceURLsFromAttributes):
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::collectSubresourceURLsFromAttributes):
- html/HTMLLinkElement.h:
(HTMLLinkElement):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::collectSubresourceURLsFromAttributes):
- html/HTMLObjectElement.h:
(HTMLObjectElement):
- html/HTMLParamElement.cpp:
(WebCore::HTMLParamElement::collectSubresourceURLsFromAttributes):
- html/HTMLParamElement.h:
(HTMLParamElement):
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::collectSubresourceURLsFromAttributes):
- html/HTMLScriptElement.h:
(HTMLScriptElement):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::collectSubresourceURLsFromAttributes):
- html/HTMLStyleElement.h:
(HTMLStyleElement):
- html/HTMLTableCellElement.cpp:
(WebCore::HTMLTableCellElement::collectSubresourceURLsFromAttributes):
- html/HTMLTableCellElement.h:
(HTMLTableCellElement):
- html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::collectSubresourceURLsFromAttributes):
- html/HTMLTableElement.h:
(HTMLTableElement):
- svg/SVGCursorElement.cpp:
(WebCore::SVGCursorElement::collectSubresourceURLsFromAttributes):
- svg/SVGCursorElement.h:
(SVGCursorElement):
- svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::collectSubresourceURLsFromAttributes):
- svg/SVGFEImageElement.h:
(SVGFEImageElement):
- svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::collectSubresourceURLsFromAttributes):
- svg/SVGImageElement.h:
(SVGImageElement):
- svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::collectSubresourceURLsFromAttributes):
- svg/SVGScriptElement.h:
(SVGScriptElement):
- 4:57 AM Changeset in webkit [118912] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Browser crashed when selecting in textarea
https://bugs.webkit.org/show_bug.cgi?id=87484
The function FatFingers::checkForText() uses host node's whole text
to checkFingerIntersection(). We should not give the text of shadow
nodes to it.
Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-05-30
Reviewed by Antonio Gomes.
- WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::getNodesFromRect): Avoid returning
shadow nodes when the context is Text node.
- 4:01 AM Changeset in webkit [118911] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Fix JS compiler warning
https://bugs.webkit.org/show_bug.cgi?id=87836
Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-30
Reviewed by Yury Semikhatsky.
- inspector/front-end/SettingsScreen.js: Fix method annotation.
- 3:28 AM Changeset in webkit [118910] by
-
- 3 edits in trunk/Source/WebKit2
[Qt] Variable renaming as preparation of further refactoring.
Rubberstamped by Simon Hausmann.
Change m_viewport to m_viewportItem and m_content to m_pageItem.
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
(WebKit::QtViewportInteractionEngine::setItemRectVisible):
(WebKit::QtViewportInteractionEngine::animateItemRectVisible):
(WebKit::QtViewportInteractionEngine::flickableMoveStarted):
(WebKit::QtViewportInteractionEngine::flickableMoveEnded):
(WebKit::QtViewportInteractionEngine::flickableMovingPositionUpdate):
(WebKit::QtViewportInteractionEngine::scaleAnimationStateChanged):
(WebKit::QtViewportInteractionEngine::pagePositionRequest):
(WebKit::QtViewportInteractionEngine::computePosRangeForItemAtScale):
(WebKit::QtViewportInteractionEngine::focusEditableArea):
(WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
(WebKit::QtViewportInteractionEngine::nearestValidBounds):
(WebKit::QtViewportInteractionEngine::reset):
(WebKit::QtViewportInteractionEngine::setCSSScale):
(WebKit::QtViewportInteractionEngine::currentCSSScale):
(WebKit::QtViewportInteractionEngine::scrollAnimationActive):
(WebKit::QtViewportInteractionEngine::panGestureActive):
(WebKit::QtViewportInteractionEngine::panGestureStarted):
(WebKit::QtViewportInteractionEngine::panGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::panGestureEnded):
(WebKit::QtViewportInteractionEngine::panGestureCancelled):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::pinchGestureStarted):
(WebKit::QtViewportInteractionEngine::pinchGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::scaleContent):
- UIProcess/qt/QtViewportInteractionEngine.h:
(QtViewportInteractionEngine):
- 2:37 AM Changeset in webkit [118909] by
-
- 11 edits1 delete in trunk/Source
[Qt] Set WebCore imagedecoders as default and add fallback to QImageDecoder
https://bugs.webkit.org/show_bug.cgi?id=80400
Source/WebCore:
This change modifies the default ImageDecoder for Qt-port from QImageDecoder to WebCore ImageDecoder.
The new behavior is to use QImageDecoder only if WebCoreImageDecoder - and the platform - doesn't support
the requested image type.
The WTF_USE_QT_IMAGE_DECODER macro has been removed, since it is no longer needed.
This change adds build depedency (except Qt-MAC and Qt-WIN platform) for libpng-dev and libjpeg-dev packages,
because PNG and JPEG imagedecoders need not only these libraries, but their headers also. Qmake-config
tests for these libraries were introduced in r110045.
Notice: with using libjpeg-turbo as a system library I measured 10% performance improvement on Methanol benchmark
(collection of popular sites, page-loading benchmark) with this patch.
Reviewed by Simon Hausmann.
No new tests needed.
- Target.pri: Move WebCore ImageDecoder files out of guards. Remove ImageFrameQt.cpp from sources.
- WebCore.pri: Move WebCore ImageDecoder include paths out of guards.
- platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypes): Add WebCore supported and Qt supported MIME types.
(WebCore::initializeSupportedImageMIMETypesForEncoding): Use Qt supported MIME types.
- platform/graphics/ImageSource.cpp: Remove unnecessary includes.
- platform/graphics/ImageSource.h: Remove unnecessary typedefs.
(WebCore):
- platform/graphics/qt/ImageDecoderQt.cpp: Remove ImageDecoder::create, since it is no longer needed.
(WebCore::ImageDecoderQt::filenameExtension): Remove unnecessary semicolon.
(WebCore::ImageDecoderQt::internalHandleCurrentImage): Use QImage and ImageFrame instead of QPixmap.
(WebCore):
(WebCore::ImageFrame::asNewNativeImage): Moved here from removed ImageFrameQt.cpp.
- platform/image-decoders/ImageDecoder.cpp: Reorganize the includes of the header.
(WebCore::ImageDecoder::create): Add platform macro guarded fallback case for QImageDecoder. Add guards
for JPEG, PNG, ICO decoder for Qt-MAC and Qt-WIN platform.
- platform/image-decoders/ImageDecoder.h: Remove Qt-specific codes.
(WebCore::ImageFrame::getAddr): Remove Qt-specific case, since it is no longer needed.
(ImageFrame):
- platform/image-decoders/qt/ImageFrameQt.cpp: Removed. Dead code, other code has been moved to
ImageDecoderQt.cpp.
Source/WebKit/blackberry:
Get rid of QT_IMAGE_DECODER flag.
Reviewed by Simon Hausmann.
- WebCoreSupport/AboutDataEnableFeatures.in:
- 2:34 AM Changeset in webkit [118908] by
-
- 2 edits in trunk/Source/WebKit2
[Qt][WK2] Do not use anonymous variables for ViewportUpdateDeferrer.
https://bugs.webkit.org/show_bug.cgi?id=87831
Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-05-30
Reviewed by Kenneth Rohde Christiansen.
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::pagePositionRequest):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::itemSizeChanged):
- 2:08 AM Changeset in webkit [118907] by
-
- 4 edits in trunk/Source/WebCore
REGRESSION: We should allow null modificationTime when snapshot metadata is given
https://bugs.webkit.org/show_bug.cgi?id=86811
Reviewed by Jian Li.
r117432 has introduced a new File constructor which allows the caller
to pass in a snapshot file metadata. In the change we had considered the
given metadata is valid if "metadata.length >= 0 AND metadata.lastModifiedDate != 0",
but we should drop the latter condition (lastModifiedDate != 0) because
- the value 0 is used to indicate the time information is unavailable in File, and
- it is valid per spec (http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate says the UA must return null if the information is not available).
(Note: the current js/v8 binding returns Date(0) for the time value 0,
which is still valid as epoch time but would fail to indicate the
unavailability of the information. In this patch I added FIXME in
File.idl and filed a separate issue http://webkit.org/b/87709)
No new tests as this change does not affect regular files/filesystems behavior.
(Tests in Chrome OS port should be able to verify this)
- fileapi/File.cpp:
(WebCore::File::lastModifiedDate):
(WebCore::File::size):
(WebCore::File::captureSnapshot):
- fileapi/File.h:
(File):
- 1:32 AM Changeset in webkit [118906] by
-
- 2 edits in trunk/LayoutTests
[Qt] Gardening. Shadow DOM is disabled on Qt.
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-05-30
Reviewed by Csaba Osztrogonác.
- platform/qt/Skipped: Skip fast/dom/shadow/shadow-element.html.
- 1:20 AM Changeset in webkit [118905] by
-
- 7 edits in trunk/LayoutTests
Update test expectations for tests duplicated in Skipped
https://bugs.webkit.org/show_bug.cgi?id=87822
Unreviewed gardening; updating test expectations.
Patch by David Barr <davidbarr@chromium.org> on 2012-05-30
- platform/mac/Skipped:
- platform/mac/test_expectations.txt:
- platform/qt/Skipped:
- platform/qt/test_expectations.txt:
- platform/qt-5.0-wk1/Skipped:
- platform/qt-mac/Skipped:
- 1:17 AM Changeset in webkit [118904] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed. Fix WebKit2GTK+ API tests in the bots.
- UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewCanShowMIMEType): Remove the check for multimedia and
plugins MIME types since they depend on the configuration and they
are not available in the bots.
- 1:04 AM QtWebKitBuildBots edited by
- Update Qt versions on the bots (diff)
- 12:33 AM Changeset in webkit [118903] by
-
- 2 edits in trunk/LayoutTests
[GTK] Update test expectations after r118841.
https://bugs.webkit.org/show_bug.cgi?id=87827
Unreviewed gardening; updating test expectations
Patch by David Barr <davidbarr@chromium.org> on 2012-05-30
- platform/gtk/test_expectations.txt:
- 12:26 AM Changeset in webkit [118902] by
-
- 7 edits in trunk
[Shadow DOM] HTMLContentElement and HTMLShadowElement constructors should be visible.
https://bugs.webkit.org/show_bug.cgi?id=87818
Source/WebCore:
Reviewed by Kentaro Hara.
Added them as DOMWindow properties
Tests: fast/dom/shadow/content-element-api.html
fast/dom/shadow/shadow-element.html
- page/DOMWindow.idl:
LayoutTests:
Added constructor checks.
Reviewed by Kentaro Hara.
- fast/dom/shadow/content-element-api-expected.txt:
- fast/dom/shadow/content-element-api.html:
- fast/dom/shadow/shadow-element-expected.txt:
- fast/dom/shadow/shadow-element.html:
- 12:17 AM Changeset in webkit [118901] by
-
- 6 edits in trunk/Source/JavaScriptCore
Unreviewed, rolling out r118868.
http://trac.webkit.org/changeset/118868
https://bugs.webkit.org/show_bug.cgi?id=87828
introduced ~20 crashes on Mac and Qt bots (Requested by pizlo_
on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-30
- heap/Heap.cpp:
(JSC::Heap::collect):
- heap/MarkedBlock.cpp:
(JSC::MarkedBlock::sweep):
- heap/MarkedBlock.h:
(JSC::MarkedBlock::sweepWeakSet):
(JSC):
- heap/MarkedSpace.cpp:
(JSC::SweepWeakSet::operator()):
(JSC):
(JSC::MarkedSpace::sweepWeakSets):
- heap/MarkedSpace.h:
(MarkedSpace):
- 12:01 AM Changeset in webkit [118900] by
-
- 4 edits2 adds in trunk
CSS3 calc: Implement CSSOM support
https://bugs.webkit.org/show_bug.cgi?id=84551
Reviewed by Ryosuke Niwa.
Source/WebCore:
Adds a pretty printer for the calc expression tree.
Test: css3/calc/cssom.html
- css/CSSCalculationValue.cpp:
(WebCore::CSSCalcValue::customCssText):
(WebCore::CSSCalcPrimitiveValue::customCssText):
(WebCore::CSSCalcBinaryOperation::customCssText):
(CSSCalcBinaryOperation):
- css/CSSCalculationValue.h:
(CSSCalcExpressionNode):
LayoutTests:
- css3/calc/cssom-expected.txt: Added.
- css3/calc/cssom.html: Added.
- 12:00 AM Changeset in webkit [118899] by
-
- 1 edit2 adds in trunk/PerformanceTests
[perf-test] Add a benchmark for querySelector()
https://bugs.webkit.org/show_bug.cgi?id=87742
Reviewed by Ryosuke Niwa.
Now I am optimizing querySelector() (bug 87625).
This patch adds a performance test for querySelector().
query-selector-first.html queries an element that appears
at the head of the document. On the other hand,
query-selector-last.html queries an element that appears
at the tail of the document.
Test results in my desktop:
[query-selector-first.html]
RESULT Parser: query-selector-first= 252.339803014 runs/s
median= 253.646265594 runs/s, stdev= 2.32610873209 runs/s, min= 248.138957816 runs/s, max= 254.777070064 runs/s
RESULT Parser: query-selector-first= 252.688468897 runs/s
median= 252.684876579 runs/s, stdev= 3.60008778708 runs/s, min= 246.002460025 runs/s, max= 258.397932817 runs/s
RESULT Parser: query-selector-first= 253.466019656 runs/s
median= 254.129606099 runs/s, stdev= 1.78002675664 runs/s, min= 247.831474597 runs/s, max= 254.777070064 runs/s
RESULT Parser: query-selector-first= 256.245078189 runs/s
median= 257.06940874 runs/s, stdev= 2.84722072201 runs/s, min= 249.687890137 runs/s, max= 259.74025974 runs/s
RESULT Parser: query-selector-first= 252.203100497 runs/s
median= 252.047989175 runs/s, stdev= 1.75233446036 runs/s, min= 248.138957816 runs/s, max= 255.427841635 runs/s
[query-selector-last.html]
RESULT Parser: query-selector-last= 356.009616076 runs/s
median= 355.781448539 runs/s, stdev= 0.841519086864 runs/s, min= 354.430379747 runs/s, max= 358.056265985 runs/s
RESULT Parser: query-selector-last= 360.735271001 runs/s
median= 361.057532424 runs/s, stdev= 1.12253219867 runs/s, min= 358.514724712 runs/s, max= 362.225097025 runs/s
RESULT Parser: query-selector-last= 359.598592463 runs/s
median= 359.435173299 runs/s, stdev= 0.816538258728 runs/s, min= 358.056265985 runs/s, max= 360.824742268 runs/s
RESULT Parser: query-selector-last= 357.260651715 runs/s
median= 357.598978289 runs/s, stdev= 1.17393159885 runs/s, min= 353.982300885 runs/s, max= 358.974358974 runs/s
RESULT Parser: query-selector-last= 351.696240713 runs/s
median= 351.980025916 runs/s, stdev= 1.14200564038 runs/s, min= 348.692403487 runs/s, max= 353.535353535 runs/s
- Parser/query-selector-first.html: Added.
- Parser/query-selector-last.html: Added.