WebKit-https.git
9 years agoRevert revision change.
lforschler@apple.com [Thu, 17 Nov 2011 19:16:37 +0000 (19:16 +0000)]
Revert revision change.

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

9 years ago[chromium] stop spamming features warning on every build
tony@chromium.org [Thu, 17 Nov 2011 19:12:32 +0000 (19:12 +0000)]
[chromium] stop spamming features warning on every build
https://bugs.webkit.org/show_bug.cgi?id=72629

Reviewed by Ojan Vafai.

We toggle $blobSupport on if $mediaStreamSupport is on.  Since
$mediaStreamSupport is on by default for chromium, make the default
for $blobSupport also on.

* Scripts/build-webkit:

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

9 years agoVersioning.
lforschler@apple.com [Thu, 17 Nov 2011 19:11:04 +0000 (19:11 +0000)]
Versioning.

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

9 years agoRemove extra quoting of call stacks and types passed to run-leaks by NRWT
aroben@apple.com [Thu, 17 Nov 2011 18:55:37 +0000 (18:55 +0000)]
Remove extra quoting of call stacks and types passed to run-leaks by NRWT

Fixes <http://webkit.org/b/72623> REGRESSION (NRWT): run-webkit-tests --leaks reports leaks
that are supposed to be ignored

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/port/leakdetector.py:
(LeakDetector._leaks_args): Removed extra quoting of call stacks and types. Quoting is only
required when passing arguments via the shell (which we aren't doing here). It is not
required by Perl's option-parsing code (as the comment I removed mistakenly claimed).

* Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
(LeakDetectorTest.test_leaks_args): Updated expectations.

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

9 years ago[Chromium] fast/filesystem/file-writer-abort-depth.html crashes occasionally on Win dbg
steveblock@google.com [Thu, 17 Nov 2011 18:29:44 +0000 (18:29 +0000)]
[Chromium] fast/filesystem/file-writer-abort-depth.html crashes occasionally on Win dbg
https://bugs.webkit.org/show_bug.cgi?id=72631

Add a CRASH expectation for
fast/filesystem/file-writer-abort-depth.html

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[GTK] Remove the last remaining WebKit1 gtkdoc warnings
mrobinson@webkit.org [Thu, 17 Nov 2011 18:24:44 +0000 (18:24 +0000)]
[GTK] Remove the last remaining WebKit1 gtkdoc warnings
https://bugs.webkit.org/show_bug.cgi?id=72627

Reviewed by Philippe Normand.

* webkit/webkitdownload.h: Add missing enum documentation.
* webkit/webkiterror.h: Ditto.
* webkit/webkitwebview.h: Ditto.

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

9 years agoWebKitTestRunner needs to support accessibility-related DRT APIs
cfleizach@apple.com [Thu, 17 Nov 2011 18:07:29 +0000 (18:07 +0000)]
WebKitTestRunner needs to support accessibility-related DRT APIs
https://bugs.webkit.org/show_bug.cgi?id=42131

Unreviewed layout test fix.

I hadn't realized that selection-value-changes-for-aria-textbox.html was being skipped on Lion,
so this test started failing on snow leopard on the bots.

* platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt:

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

9 years ago[GTK] plugins/get-url-notify-with-url-that-fails-to-load.html on bots after r100466
sergio@webkit.org [Thu, 17 Nov 2011 17:49:30 +0000 (17:49 +0000)]
[GTK] plugins/get-url-notify-with-url-that-fails-to-load.html on bots after r100466
https://bugs.webkit.org/show_bug.cgi?id=72613

Reviewed by Martin Robinson.

Source/WebCore:

Do not assume that a SoupRequest always exists, it is not
generated for example when the provided URL is
invalid. ResourceHandle::platformSetDefersLoading was crashing
because of that.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::ResourceHandle::platformSetDefersLoading):

LayoutTests:

Added a test that times out in WK2.

* platform/gtk-wk2/Skipped: added plugins/get-url-notify-with-url-that-fails-to-load.html

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

9 years agoASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit...
steveblock@google.com [Thu, 17 Nov 2011 17:40:26 +0000 (17:40 +0000)]
ASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit-tests)
https://bugs.webkit.org/show_bug.cgi?id=59552

Added a CRASH expectation for
fast/dom/null-document-location-put-crash.html

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoRebaseline
steveblock@google.com [Thu, 17 Nov 2011 17:31:27 +0000 (17:31 +0000)]
Rebaseline
fast/css-generated-content/nested-tables-with-before-after-content-crash.html
for Chromium Linux. Also remove a duplicated text expectation.

Unreviewed gardening.

* platform/chromium-linux/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.png: Added
* platform/chromium-win/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.txt: Removed

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

9 years ago[Chromium] Layout test failures under Snow Leopard
steveblock@google.com [Thu, 17 Nov 2011 17:17:40 +0000 (17:17 +0000)]
[Chromium] Layout test failures under Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=54322

Rebaseline transforms/no_transform_hit_testing.html. It looks like the
expected results still aren't quite right after
http://trac.webkit.org/changeset/100615.

* platform/chromium-mac-snowleopard/transforms/no_transform_hit_testing-expected.png: Added.

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

9 years agoUnreviewed, run-bindings-tests fix after r91028.
philn@webkit.org [Thu, 17 Nov 2011 17:16:48 +0000 (17:16 +0000)]
Unreviewed, run-bindings-tests fix after r91028.

* Scripts/run-bindings-tests: Use scm.detection module.

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

9 years agoWeb Inspector: Remove onlineDetectionEnabled from Preferences
vsevik@chromium.org [Thu, 17 Nov 2011 17:14:17 +0000 (17:14 +0000)]
Web Inspector: Remove onlineDetectionEnabled from Preferences
https://bugs.webkit.org/show_bug.cgi?id=72617

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/ApplicationCacheItemsView.js:
(WebInspector.ApplicationCacheItemsView):
(WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
* inspector/front-end/Settings.js:

Source/WebKit/chromium:

* src/js/DevTools.js:

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

9 years ago[Chromium] http/tests/inspector/resource-tree/resource-tree-no-xhrs.html fails occasi...
steveblock@google.com [Thu, 17 Nov 2011 17:09:19 +0000 (17:09 +0000)]
[Chromium] http/tests/inspector/resource-tree/resource-tree-no-xhrs.html fails occasionally
https://bugs.webkit.org/show_bug.cgi?id=72622

Add MISSING and TEXT expectations for
http/tests/inspector/resource-tree/resource-tree-no-xhrs.html.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[Qt] Unreviewed gardening.
ossy@webkit.org [Thu, 17 Nov 2011 16:53:55 +0000 (16:53 +0000)]
[Qt] Unreviewed gardening.

* platform/qt/Skipped: Skip a failing test temporarily.

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

9 years agoUnreviewed, GTK baselines for new css3 tests and an accessibility test.
philn@webkit.org [Thu, 17 Nov 2011 16:49:14 +0000 (16:49 +0000)]
Unreviewed, GTK baselines for new css3 tests and an accessibility test.

* platform/gtk/accessibility/loading-iframe-sends-notification-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-blending-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-invalidation-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-simple-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-sizing-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-tiled-expected.txt: Added.
* platform/gtk/fast/borders/border-mixed-alpha-expected.txt: Added.
* platform/gtk/fast/css/getComputedStyle/computed-style-cross-fade-expected.txt: Added.

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

9 years ago[Gtk] Ensure the parent for the webView's a11y object is set.
mario@webkit.org [Thu, 17 Nov 2011 16:45:19 +0000 (16:45 +0000)]
[Gtk] Ensure the parent for the webView's a11y object is set.

This should fix some accessibility related GTK API tests.

Rubber-stamped by Philippe Normand.

* webkit/webkitwebview.cpp:
(webkit_web_view_get_accessible): Always set the parent to make
navigation across GTK and WebKit worlds work properly.

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

9 years agoCrash from nested tables with generated content
inferno@chromium.org [Thu, 17 Nov 2011 16:43:06 +0000 (16:43 +0000)]
Crash from nested tables with generated content
https://bugs.webkit.org/show_bug.cgi?id=68811

Patch by Ken Buchanan <kenrb@chromium.org> on 2011-11-17
Reviewed by David Hyatt.

Source/WebCore:

When adding a child to a table that has generated content, this change
ensures that we leave alone any generated content renderers that belong
to descendants in the tree. They don't need to be touched, and doing so
can create confusion about who the content belongs to.

This patch also simplifies some existing code for finding pseudoelement
renderers.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::addChild):
(WebCore::RenderObject::isBeforeAfterContentGeneratedByAncestor): Added
* rendering/RenderObject.h:
(WebCore::RenderObject::findAfterContentRenderer): Deleted
(WebCore::RenderObject::findBeforeContentRenderer): Deleted
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::beforePseudoElementRenderer):
(WebCore::RenderObjectChildList::afterPseudoElementRenderer):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::addChild):
* rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::addChild):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::addChild):

LayoutTests:

Layout test for nesting tables with generated content and forcing a
style recalculation.

* fast/css-generated-content/nested-tables-with-before-after-content-crash.html: Added
* platform/chromium-win/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.png: Added
* platform/chromium-win/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.txt: Added
* platform/mac/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.png: Added
* platform/mac/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.txt: Added

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

9 years ago[Qt][WK2] Don't export the private QQuickView.
alexis.menard@openbossa.org [Thu, 17 Nov 2011 16:40:31 +0000 (16:40 +0000)]
[Qt][WK2] Don't export the private QQuickView.

Reviewed by Kenneth Rohde Christiansen.

We don't need to export that class anymore as the experimental QML plugin
does not expose this object anymore.

* UIProcess/API/qt/qquickwebview_p_p.h:

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

9 years agoUnreviewed WinCE build fix for r94119.
paroga@webkit.org [Thu, 17 Nov 2011 16:32:22 +0000 (16:32 +0000)]
Unreviewed WinCE build fix for r94119.

MSVC throws multiply defined symbols linker error when using local class in inline function.

* bindings/js/JSDictionary.h:
(WebCore::JSDictionary::IdentitySetter::identitySetter):
(WebCore::JSDictionary::tryGetProperty):

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

9 years ago[Qt] Unreviewed gardening.
ossy@webkit.org [Thu, 17 Nov 2011 16:27:53 +0000 (16:27 +0000)]
[Qt] Unreviewed gardening.

* platform/qt/plugins/plugin-javascript-access-expected.txt: Updated.

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

9 years agoSeveral animations/ tests flakily fail due to fragile setTimeout()-based framework
steveblock@google.com [Thu, 17 Nov 2011 16:26:12 +0000 (16:26 +0000)]
Several animations/ tests flakily fail due to fragile setTimeout()-based framework
https://bugs.webkit.org/show_bug.cgi?id=66953

Remove expectation for animations/missing-values-last-keyframe.html from
platform/chromium-cg-mac-snowleopard. This was incorrectly added by the
rebaseline tool in r100611.

Unreviewed gardening.

* platform/chromium-cg-mac-snowleopard/animations/missing-values-last-keyframe-expected.txt: Removed.

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

9 years agoSilence a warning about control reaching the end of a non-void function
jochen@chromium.org [Thu, 17 Nov 2011 16:15:59 +0000 (16:15 +0000)]
Silence a warning about control reaching the end of a non-void function
https://bugs.webkit.org/show_bug.cgi?id=72616

Reviewed by Tony Gentilcore.

* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::verticalScrollbar):

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

9 years ago[chromium] add gyp-mac-tool to .gitignore
jochen@chromium.org [Thu, 17 Nov 2011 16:10:30 +0000 (16:10 +0000)]
[chromium] add gyp-mac-tool to .gitignore
https://bugs.webkit.org/show_bug.cgi?id=72603

Reviewed by Tony Gentilcore.

This file is generated by the make-based build of the chromium/mac port

* .: Modified property svn:ignore.
* .gitignore:

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

9 years ago[Qt] Expose setUseTraditionalDesktopBehaviour() in QML experimental API
caio.oliveira@openbossa.org [Thu, 17 Nov 2011 15:50:34 +0000 (15:50 +0000)]
[Qt] Expose setUseTraditionalDesktopBehaviour() in QML experimental API
https://bugs.webkit.org/show_bug.cgi?id=72610

Reviewed by Kenneth Rohde Christiansen.

* UIProcess/API/qt/qquickwebview_p.h:

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

9 years ago[Qt] Enable skipped but now passing tests (http/tests)
ossy@webkit.org [Thu, 17 Nov 2011 15:42:31 +0000 (15:42 +0000)]
[Qt] Enable skipped but now passing tests (http/tests)
https://bugs.webkit.org/show_bug.cgi?id=71911

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2011-11-17
Reviewed by Csaba Osztrogonác.

* platform/qt/Skipped: Unskip 24 tests.

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

9 years agoPrint warning for the Qt port when a process crashes and is relaunched
kenneth@webkit.org [Thu, 17 Nov 2011 15:38:14 +0000 (15:38 +0000)]
Print warning for the Qt port when a process crashes and is relaunched
https://bugs.webkit.org/show_bug.cgi?id=72607

Reviewed by Antonio Gomes.

Make the QtViewInterface::processDidCrash take a URL string argument,
for being able to say which url was the origin of the crash.

We now additionally store the load state and url at process exit. This
is needed for printing the warning and for further crash handling.

* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::processDidCrash):
* UIProcess/qt/QtViewInterface.cpp:
(WebKit::QtViewInterface::processDidCrash):
(WebKit::QtViewInterface::didRelaunchProcess):
* UIProcess/qt/QtViewInterface.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::processDidCrash):
* UIProcess/qt/QtWebPageProxy.h:

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

9 years agoASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit...
steveblock@google.com [Thu, 17 Nov 2011 15:05:54 +0000 (15:05 +0000)]
ASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit-tests)
https://bugs.webkit.org/show_bug.cgi?id=59552

Add a CRASH expectation for fast/frames/frame-unload-crash.html on
SnowLeopard dbg.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[Qt] The experimental plugin doesn't work after being renamed.
alexis.menard@openbossa.org [Thu, 17 Nov 2011 14:55:47 +0000 (14:55 +0000)]
[Qt] The experimental plugin doesn't work after being renamed.

Reviewed by Tor Arne Vestbø.

It was renamed from private to experimental but the qmldir file
was forgotten.

* declarative/experimental/qmldir:

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

9 years agoIgnore some leaks in frameworks we link against on Lion
aroben@apple.com [Thu, 17 Nov 2011 14:53:02 +0000 (14:53 +0000)]
Ignore some leaks in frameworks we link against on Lion

Fixes <http://webkit.org/b/72609> Lion Leaks bot complains about a bunch of leaks that
aren't WebKit's fault

Reviewed by Antti Koivisto.

* Scripts/old-run-webkit-tests:
(countAndPrintLeaks):
* Scripts/webkitpy/layout_tests/port/leakdetector.py:
(LeakDetector._callstacks_to_exclude_from_leaks):
Added some call stacks to exclude on Lion that represent leaks in lower-level frameworks.

* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.is_lion): Added.

* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(MacPortTest.test_is_version_methods): Added tests for the is_leopard/is_snowleopard/is_lion
methods.

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

9 years ago[Qt][WK2] Cleanup dead code in QtWebPageProxy.
alexis.menard@openbossa.org [Thu, 17 Nov 2011 14:51:52 +0000 (14:51 +0000)]
[Qt][WK2] Cleanup dead code in QtWebPageProxy.
https://bugs.webkit.org/show_bug.cgi?id=72608

Reviewed by Simon Hausmann.

Remove some dead code after we merged our views.
QQuickWebView is now using AC which means that this
path is never called now.

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::didReceiveDownloadResponse):
* UIProcess/qt/QtWebPageProxy.h:

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

9 years agoTextTrackList not sorted correctly
eric.carlson@apple.com [Thu, 17 Nov 2011 14:49:35 +0000 (14:49 +0000)]
TextTrackList not sorted correctly
https://bugs.webkit.org/show_bug.cgi?id=72545

Reviewed by Darin Adler.

Source/WebCore:

Test: media/track/track-texttracks.html

* WebCore.xcodeproj/project.pbxproj: Add TextTrack.h to WebCore private headers because
    it is included by HTMLMediaElement.h.
* html/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::LoadableTextTrack): Pass track type to base class constructor.
(WebCore::LoadableTextTrack::trackElementIndex): New, return the <track> element's tree order
    for sorting.
* html/LoadableTextTrack.h:

* html/TextTrack.cpp:
(WebCore::TextTrack::TextTrack): Set track type.
* html/TextTrack.h:
(WebCore::TextTrack::create): Ditto.
(WebCore::TextTrack::trackType): Ditto.

* html/track/TextTrackList.cpp:
(TextTrackList::length): Update to deal with two TextTrack vectors.
(TextTrackList::item): Ditto.
(TextTrackList::append): Ditto.
(TextTrackList::remove): Ditto
* html/track/TextTrackList.h: Store the two types of TextTracks in separate Vectors to make
    it simpler to keep them in the correct order.

LayoutTests:

* media/track/track-texttracks-expected.txt: Added.
* media/track/track-texttracks.html: Added.

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

9 years ago[Chromium] Layout test failures under Snow Leopard
steveblock@google.com [Thu, 17 Nov 2011 14:42:10 +0000 (14:42 +0000)]
[Chromium] Layout test failures under Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=54322

Rebaseline transforms/no_transform_hit_testing.html. It looks like the
expected results aren't quite right after
http://trac.webkit.org/changeset/100507.

Unreviewed gardening.

* platform/chromium-cg-mac-snowleopard/transforms/no_transform_hit_testing-expected.png: Added.

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

9 years ago[Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
hausmann@webkit.org [Thu, 17 Nov 2011 14:23:49 +0000 (14:23 +0000)]
[Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
https://bugs.webkit.org/show_bug.cgi?id=72596

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

We don't need to use QWebSettings here, because we now propagate the DNS prefetch
setting to WebCore::Settings and the rest of WebCore checks the setting before calling
WebCore::prefetchDNS.

* platform/network/qt/DnsPrefetchHelper.cpp:
(WebCore::prefetchDNS): Removed the use of QWebSettings.
* platform/network/qt/DnsPrefetchHelper.h: Remove offending qwebsettings.h inclusion.

Source/WebKit/qt:

* Api/qwebsettings.cpp:
(QWebSettingsPrivate::apply): Propagate the DNS prefetch setting to WebCore::Settings.

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

9 years ago[Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
hausmann@webkit.org [Thu, 17 Nov 2011 14:22:48 +0000 (14:22 +0000)]
[Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
https://bugs.webkit.org/show_bug.cgi?id=72594

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Move the cache for the resource pixmaps into ImageQt.cpp.

* platform/graphics/Image.h: Add Qt specific setter for resource pixmaps.
* platform/graphics/qt/ImageQt.cpp: Moved resource pixmap hash from qwebsettings.
(earlyClearGraphics):
(graphics):
(loadResourcePixmap):
(WebCore::Image::setPlatformResource):

Source/WebKit/qt:

Move resource pixmap cache into ImageQt.cpp.

* Api/qwebsettings.cpp:
(resourceNameForWebGraphic): Helper function to translate between public API enums and
resource names.
(QWebSettings::setWebGraphic): Call the new ImageQt::setPlatformResource setter.
(QWebSettings::webGraphic): Call Image::loadPlatformResource to read from the cache
in WebCore.

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

9 years ago[Qt][WK2] Touch/Mouse events are delivered with wrong coordinates.
zeno.albisser@nokia.com [Thu, 17 Nov 2011 14:15:36 +0000 (14:15 +0000)]
[Qt][WK2] Touch/Mouse events are delivered with wrong coordinates.
https://bugs.webkit.org/show_bug.cgi?id=72604

When using the QtViewportInterationEngine for zooming/panning,
no additional scroll offset should be applied to input events
by the ScrollView.

This patch is based on work by Andreas Kling.

Reviewed by Kenneth Rohde Christiansen.

* platform/ScrollView.cpp:
(WebCore::ScrollView::windowToContents):
(WebCore::ScrollView::contentsToWindow):

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

9 years agoSeveral animations/ tests flakily fail due to fragile setTimeout()-based framework
steveblock@google.com [Thu, 17 Nov 2011 13:39:03 +0000 (13:39 +0000)]
Several animations/ tests flakily fail due to fragile setTimeout()-based framework
https://bugs.webkit.org/show_bug.cgi?id=66953

Rebaselined missing-values-first-keyframe.html,
missing-values-last-keyframe.html and opacity-transform-animation.html.
Looks like these weren't quite right after
http://trac.webkit.org/changeset/100520.

Unreviewed gardening.

* platform/chromium-cg-mac-snowleopard/animations/missing-values-last-keyframe-expected.txt: Copied from LayoutTests/animations/missing-values-last-keyframe-expected.txt.
* platform/chromium-linux/animations/missing-values-first-keyframe-expected.png: Removed.
* platform/chromium-linux/animations/missing-values-last-keyframe-expected.png: Removed.
* platform/chromium-linux/animations/opacity-transform-animation-expected.png: Removed.
* platform/chromium-mac-snowleopard/animations/missing-values-first-keyframe-expected.png: Removed.
* platform/chromium-mac-snowleopard/animations/missing-values-last-keyframe-expected.png: Removed.
* platform/chromium-mac-snowleopard/animations/opacity-transform-animation-expected.png: Removed.
* platform/chromium-mac/animations/missing-values-first-keyframe-expected.png: Removed.
* platform/chromium-mac/animations/missing-values-last-keyframe-expected.png: Removed.
* platform/chromium-mac/animations/opacity-transform-animation-expected.png: Removed.
* platform/chromium/animations/missing-values-first-keyframe-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/missing-values-first-keyframe-expected.png.
* platform/chromium/animations/missing-values-last-keyframe-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/missing-values-last-keyframe-expected.png.
* platform/chromium/animations/opacity-transform-animation-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/opacity-transform-animation-expected.png.
* platform/mac/animations/missing-values-first-keyframe-expected.txt: Renamed from LayoutTests/animations/missing-values-first-keyframe-expected.txt.
* platform/mac/animations/missing-values-last-keyframe-expected.txt: Renamed from LayoutTests/animations/missing-values-last-keyframe-expected.txt.

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

9 years ago[Qt] Prospective build fix for WebKit2 on Linux
vestbo@webkit.org [Thu, 17 Nov 2011 13:22:00 +0000 (13:22 +0000)]
[Qt] Prospective build fix for WebKit2 on Linux

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

9 years agoUnreviewed build fix.
benm@google.com [Thu, 17 Nov 2011 13:19:48 +0000 (13:19 +0000)]
Unreviewed build fix.

Fix the Windows builds by adding WorkerEventQueue.cpp|h to the
vcproj. Build break was introduced in
https://bugs.webkit.org/show_bug.cgi?id=72528

* WebCore.vcproj/WebCore.vcproj: Add missing files.

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

9 years agoREGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore https://bugs.webkit.org...
loki@webkit.org [Thu, 17 Nov 2011 13:04:45 +0000 (13:04 +0000)]
REGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore https://bugs.webkit.org/show_bug.cgi?id=72602

Unreviewed gardening after r100510.

* platform/qt/Skipped:

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

9 years ago[Qt] Remove forwarding header for WebKit2 C API
vestbo@webkit.org [Thu, 17 Nov 2011 13:02:36 +0000 (13:02 +0000)]
[Qt] Remove forwarding header for WebKit2 C API

The Qt port of WebKit does not provide a C-API for the View classes.

Reviewed by Simon Hausmann.

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

9 years ago[Chromium] perf/array-binary-search.html fails as MISSING
steveblock@google.com [Thu, 17 Nov 2011 13:01:15 +0000 (13:01 +0000)]
[Chromium] perf/array-binary-search.html fails as MISSING
https://bugs.webkit.org/show_bug.cgi?id=63057

This is really a TEXT failure, but is reported as MISSING due to Bug
63104. Addding both MISSING and TEXT expectations to keep the tree green
working if/when Bug 63104 is fixed.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[GTK] Disable ref tests
philn@webkit.org [Thu, 17 Nov 2011 12:53:37 +0000 (12:53 +0000)]
[GTK] Disable ref tests
https://bugs.webkit.org/show_bug.cgi?id=72599

Reviewed by Xan Lopez.

* Scripts/webkitpy/layout_tests/port/gtk.py: Enforce disabled ref
tests to avoid massive flakiness.

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

9 years agoCSS Exclusions: parse the wrap-margin and wrap-padding properties
mihnea@adobe.com [Thu, 17 Nov 2011 12:46:16 +0000 (12:46 +0000)]
CSS Exclusions: parse the wrap-margin and wrap-padding properties
https://bugs.webkit.org/show_bug.cgi?id=71900

Reviewed by Dean Jackson.

Source/WebCore:

Tests: fast/exclusions/wrap-margin-parsing.html
       fast/exclusions/wrap-padding-parsing.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::isSimpleLengthPropertyID):
(WebCore::CSSParser::parseValue):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::wrapPadding):
(WebCore::InheritedFlags::setWrapPadding):
(WebCore::InheritedFlags::initialWrapPadding):
(WebCore::InheritedFlags::wrapMargin):
(WebCore::InheritedFlags::setWrapMargin):
(WebCore::InheritedFlags::initialWrapMargin):
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:

LayoutTests:

* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/exclusions/script-tests/wrap-margin-parsing.js: Added.
* fast/exclusions/script-tests/wrap-padding-parsing.js: Added.
* fast/exclusions/wrap-margin-parsing-expected.txt: Added.
* fast/exclusions/wrap-margin-parsing.html: Added.
* fast/exclusions/wrap-padding-parsing-expected.txt: Added.
* fast/exclusions/wrap-padding-parsing.html: Added.
* 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:
* svg/css/getComputedStyle-basic-expected.txt:

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

9 years ago[Qt] Resolve import and web-process paths automatically for QML tests
vestbo@webkit.org [Thu, 17 Nov 2011 12:28:16 +0000 (12:28 +0000)]
[Qt] Resolve import and web-process paths automatically for QML tests

Reviewed by Kenneth Rohde Christiansen.

* UIProcess/API/qt/tests/qmltests/qmltests.pro:
* UIProcess/API/qt/tests/qmltests/tst_qmltests.cpp:
(main):

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

9 years ago[Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of...
vestbo@webkit.org [Thu, 17 Nov 2011 12:27:55 +0000 (12:27 +0000)]
[Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that

A new extension object has been added to QQuickWebView (the same approach should be used
for other API classes that need experimental APIs). The QML extension mechanism is then
built on top of the experimental object.

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

Reviewed by Simon Hausmann.

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

9 years ago[chromium] don't call fontconfig twice in complex text path
bashi@chromium.org [Thu, 17 Nov 2011 12:16:57 +0000 (12:16 +0000)]
[chromium] don't call fontconfig twice in complex text path
https://bugs.webkit.org/show_bug.cgi?id=38701

Source/WebCore:

Adds a new API for getting font family. For now, FontCacheLinux calls the new API, but don't use additional properties for compatibility. The old API will be removed when Chromium is ready to use new API.

Reviewed by Tony Chang.

No new tests. No behavior changes for now.

* platform/chromium/PlatformSupport.h: Added FontFamily struct and changed the declaration of getFontFamilyForCharacters().
* platform/graphics/chromium/FontCacheLinux.cpp:
(WebCore::FontCache::getFontDataForCharacters): Uses new PlatformSupport::getFontFamilyForCharacters().
* platform/graphics/chromium/FontPlatformDataLinux.h:
(WebCore::FontPlatformData::setFakeBold): Added.
(WebCore::FontPlatformData::setFakeItalic): Added.

Source/WebKit/chromium:

Reviewed by Tony Chang.

Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.

* public/linux/WebFontFamily.h: Added.
* public/linux/WebFontInfo.h: Add a new API.
* public/linux/WebSandboxSupport.h:
(WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto.
* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto.
* src/linux/WebFontInfo.cpp:
(WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally.

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

9 years agoCSS3 cross-fade tests failing on Chromium after r100535
steveblock@google.com [Thu, 17 Nov 2011 12:06:14 +0000 (12:06 +0000)]
CSS3 cross-fade tests failing on Chromium after r100535
https://bugs.webkit.org/show_bug.cgi?id=72598

Update test expectations.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed build fix.
kenneth@webkit.org [Thu, 17 Nov 2011 11:57:08 +0000 (11:57 +0000)]
Unreviewed build fix.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):

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

9 years agoCompositing LayoutTests failing on Chromium Mac
steveblock@google.com [Thu, 17 Nov 2011 11:51:11 +0000 (11:51 +0000)]
Compositing LayoutTests failing on Chromium Mac
https://bugs.webkit.org/show_bug.cgi?id=72487

Update test expectations.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
mario@webkit.org [Thu, 17 Nov 2011 11:50:07 +0000 (11:50 +0000)]
[GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
https://bugs.webkit.org/show_bug.cgi?id=72525

Reviewed by Xan Lopez.

Source/WebCore:

* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(webkit_accessible_get_parent): Call to the implementation of
atk_object_get_parent in AtkObject class to check whether a parent
AtkObject has been previously set, before trying to find one.

Source/WebKit/gtk:

* tests/testatk.c:
(testWebkitAtkSetParentForObject): New unit test to check that
calls to atk_object_get_parent() over a WebKitGTK's accessibility
wrapper object returns its parent AtkObject if previously set.
(main): Added new test.

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

9 years ago[GTK] ATK API tests failing because of patch for bug 72390
mario@webkit.org [Thu, 17 Nov 2011 11:47:31 +0000 (11:47 +0000)]
[GTK] ATK API tests failing because of patch for bug 72390
https://bugs.webkit.org/show_bug.cgi?id=72592

Reviewed by Philippe Normand.

* tests/testatk.c:
(testWebkitAtkParentForRootObject): Remove the offending line in
the unit test, which is not actually required to test the new
functionality and causes problems in some scenarios, due to the
lazy creation mechanism of AtkObjects.

* tests/testatkroles.c:
(finish_loading): Reflect that the document frame object is no
longer the root accessibility object (a scroll pane from now on),
but the only child of that one. Thus, skip that root object.

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

9 years agoNot reviewed: fix IE user agents strings in the inspector.
pfeldman@chromium.org [Thu, 17 Nov 2011 11:27:39 +0000 (11:27 +0000)]
Not reviewed: fix IE user agents strings in the inspector.

* inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen.prototype._createUserAgentSelectRowElement.get const):

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

9 years agoMake use-fixed-layout work reliable
kenneth@webkit.org [Thu, 17 Nov 2011 11:26:29 +0000 (11:26 +0000)]
Make use-fixed-layout work reliable
https://bugs.webkit.org/show_bug.cgi?id=72511

Reviewed by Simon Hausmann.

Source/WebCore:

Always send a viewport update per page load as we depend on that,
to reset all viewport handling before doing layout.

* page/Page.cpp:
(WebCore::Page::updateViewportArguments):

Source/WebKit2:

The code handling use-fixed-layout wasn't 100% reliable. The code
was changed to make sure the value is always correct.

It also doesn't set the value by looking at the previous FrameView,
as that wouldn't work in cases, such as when the web process has
crashes.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::setResizesToContentsUsingLayoutSize):
(WebKit::WebPage::setUseFixedLayout):
* WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::useFixedLayout):

    Store the state as m_useFixedLayout so that it can be used
    from the WebFrameLoaderClient.

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

9 years ago[chromium] Support CoreAnimation plugin model on Mac
steveblock@google.com [Thu, 17 Nov 2011 11:13:48 +0000 (11:13 +0000)]
[chromium] Support CoreAnimation plugin model on Mac
https://bugs.webkit.org/show_bug.cgi?id=47925

Update test expectations.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoMove test_results_uploader.py out of layout_package
abarth@webkit.org [Thu, 17 Nov 2011 11:01:53 +0000 (11:01 +0000)]
Move test_results_uploader.py out of layout_package
https://bugs.webkit.org/show_bug.cgi?id=72590

Reviewed by Eric Seidel.

Most of the lines of code in this file are wrong, but I've restrained
myself and only changed a few of them to generalized this class to the
common package.

This is part of a series of patches to remove layout_package.

* Scripts/webkitpy/common/net/file_uploader.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py.
* Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
* Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py: Removed.

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

9 years agoUnreviewed. Fix style nits in printing.py.
abarth@webkit.org [Thu, 17 Nov 2011 10:58:56 +0000 (10:58 +0000)]
Unreviewed. Fix style nits in printing.py.

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

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

9 years ago[Qt][WK2] Do not apply new viewport properties until after the first visually non...
commit-queue@webkit.org [Thu, 17 Nov 2011 10:56:26 +0000 (10:56 +0000)]
[Qt][WK2] Do not apply new viewport properties until after the first visually non-empty layout.
https://bugs.webkit.org/show_bug.cgi?id=72508

Delay applying viewport properties on the viewport item until after the first visually non-empty
layout finished. It enables the viewport to be intact until the new page is ready to be rendered.

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2011-11-17
Reviewed by Kenneth Rohde Christiansen.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):
(QQuickWebViewPrivate::loadDidCommit):
(QQuickWebViewPrivate::didFinishFirstNonEmptyLayout):
(QQuickWebViewPrivate::didChangeContentsSize):
(QQuickWebViewPrivate::didChangeViewportProperties):
(QQuickWebViewPrivate::updateViewportSize):
(QQuickWebViewPrivate::computeViewportConstraints):
* UIProcess/API/qt/qquickwebview_p.h:
(PostTransitionState::isTransitioningToNewPage):
* UIProcess/qt/ClientImpl.cpp:
(qt_wk_didFirstVisuallyNonEmptyLayoutForFrame):
(setupPageLoaderClient):
* UIProcess/qt/QtViewInterface.cpp:
(WebKit::QtViewInterface::didFinishFirstNonEmptyLayout):
(WebKit::QtViewInterface::didChangeContentsSize):
(WebKit::QtViewInterface::didChangeViewportProperties):
(WebKit::QtViewInterface::startDrag):
* UIProcess/qt/QtViewInterface.h:
* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::reset):
(WebKit::QtViewportInteractionEngine::applyConstraints):
* UIProcess/qt/QtViewportInteractionEngine.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::didFinishFirstNonEmptyLayout):
(QtWebPageProxy::didChangeContentsSize):
(QtWebPageProxy::didChangeViewportProperties):
(QtWebPageProxy::startDrag):
* UIProcess/qt/QtWebPageProxy.h:

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

9 years agoMinor style nits in run_webkit_tests.py
abarth@webkit.org [Thu, 17 Nov 2011 10:12:11 +0000 (10:12 +0000)]
Minor style nits in run_webkit_tests.py
https://bugs.webkit.org/show_bug.cgi?id=72583

Reviewed by Eric Seidel.

This patch just fixes some minor style issues as I work my way back
into this code.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years agoWeb Inspector: inspector follows javascript: hrefs as relative
apavlov@chromium.org [Thu, 17 Nov 2011 10:10:14 +0000 (10:10 +0000)]
Web Inspector: inspector follows javascript: hrefs as relative
https://bugs.webkit.org/show_bug.cgi?id=72373

Source/WebCore:

javascript: hrefs should never be linkified for security.

Reviewed by Yury Semikhatsky.

* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
* inspector/front-end/ResourceUtils.js:
(WebInspector.completeURL):

LayoutTests:

Reviewed by Yury Semikhatsky.

* inspector/styles/styles-url-linkify-expected.txt:
* inspector/styles/styles-url-linkify.html:

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

9 years agoMove test_result_writer out of layout_package
abarth@webkit.org [Thu, 17 Nov 2011 10:09:21 +0000 (10:09 +0000)]
Move test_result_writer out of layout_package
https://bugs.webkit.org/show_bug.cgi?id=72586

Rubber-stamped by Eric Seidel.

This is part of a series of patches to remove layout_package.

* Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
* Scripts/webkitpy/layout_tests/controllers/test_result_writer.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py.
* Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: Removed.
* Scripts/webkitpy/tool/commands/rebaseline.py:

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

9 years ago2011-11-17 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 17 Nov 2011 10:08:40 +0000 (10:08 +0000)]
2011-11-17  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Fix 32bit builds.

        * platform/ClockGeneric.cpp:
        (ClockGeneric::now): Use narrowPrecisionToFloat.
        * rendering/FilterEffectRenderer.cpp:
        (WebCore::FilterEffectRenderer::build): Use it correctly.

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

9 years agosvn-apply shouldn't magically move files into Source anymore
abarth@webkit.org [Thu, 17 Nov 2011 10:04:48 +0000 (10:04 +0000)]
svn-apply shouldn't magically move files into Source anymore
https://bugs.webkit.org/show_bug.cgi?id=72579

Reviewed by Eric Seidel.

The Source directory has existed for long enough that we don't need
svn-apply to magically re-write old-style patches anymore.

* Scripts/VCSUtils.pm:
(parseGitDiffHeader):
(parseSvnDiffHeader):

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

9 years agoAccessibility: Chromium requires an AX notification when an iframe loads.
dmazzoni@google.com [Thu, 17 Nov 2011 09:44:01 +0000 (09:44 +0000)]
Accessibility: Chromium requires an AX notification when an iframe loads.
https://bugs.webkit.org/show_bug.cgi?id=72239

Source/WebCore:

When a document finishes loading, we were sending an AXLoadComplete if it
was the top document. Now, if it's a document in an iframe, send an
AXLayoutComplete on the iframe.

Reviewed by Chris Fleizach.

Test: accessibility/loading-iframe-sends-notification.html

* dom/Document.cpp:
(WebCore::Document::implicitClose):

LayoutTests:

Reviewed by Chris Fleizach.

* accessibility/loading-iframe-sends-notification.html: Added.
* platform/chromium/accessibility/loading-iframe-sends-notification-expected.txt: Added.

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

9 years agoPatch by Eunmi Lee <eunmi15.lee@samsung.com> on 2011-11-17
commit-queue@webkit.org [Thu, 17 Nov 2011 09:27:43 +0000 (09:27 +0000)]
Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2011-11-17
Reviewed by Martin Robinson.

[WK2] Move gtk/BackingStoreGtk.cpp to cairo/BackingStoreCairo.cpp to share with EFL port.
https://bugs.webkit.org/show_bug.cgi?id=62444

Rename gtk/BackingStoreGtk.cpp to cairo/BackingStoreCairo.cpp to share with EFL port.
The gtk/BackingStoreGtk.cpp only has cairo dependency, so it can be shared with other port
that uses cairo.

* GNUmakefile.am:
* UIProcess/BackingStore.h:
* UIProcess/cairo/BackingStoreCairo.cpp: Renamed from Source/WebKit2/UIProcess/gtk/BackingStoreGtk.cpp.
(WebKit::BackingStore::paint):
(WebKit::BackingStore::incorporateUpdate):
(WebKit::BackingStore::scroll):

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

9 years ago[Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecur...
abarth@webkit.org [Thu, 17 Nov 2011 09:27:04 +0000 (09:27 +0000)]
[Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
https://bugs.webkit.org/show_bug.cgi?id=72580

Reviewed by Darin Fisher.

We've removed the concept of empty security origins from WebKit because
it doesn't exist in the specs.  Now it's time to remove it from the API.

* public/WebSecurityOrigin.h:
(WebKit::WebSecurityOrigin::isUnique):

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

9 years ago<http://webkit.org/b/72574> Remove unnecessary use of CarbonCore APIs from Audio...
mrowe@apple.com [Thu, 17 Nov 2011 09:21:46 +0000 (09:21 +0000)]
<webkit.org/b/72574> Remove unnecessary use of CarbonCore APIs from Audio code

Reviewed by Andy Estes.

* platform/audio/mac/AudioDestinationMac.cpp:
(WebCore::AudioDestinationMac::AudioDestinationMac): Switch from using the Carbon Component Manager
to using AudioUnit's own component interface.
(WebCore::AudioDestinationMac::~AudioDestinationMac): Ditto.
* platform/audio/mac/AudioFileReaderMac.cpp:
(WebCore::AudioFileReader::AudioFileReader): Remove an unncessary trip through the Carbon File Manager
when converting a char* path to a CFURLRef representing the same.

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

9 years ago[WebKit2][gtk] Add few more properties to WebKitSettings
commit-queue@webkit.org [Thu, 17 Nov 2011 09:10:53 +0000 (09:10 +0000)]
[WebKit2][gtk] Add few more properties to WebKitSettings
https://bugs.webkit.org/show_bug.cgi?id=72468

Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-11-17
Reviewed by Martin Robinson.

Add 'enable-private-browsing', 'enable-developer-extras, 'enable-resizable-text-areas'
and 'enable-tabs-to-links' properties to WebKitSettings.

* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsSetProperty): Add new set functions.
(webKitSettingsGetProperty): Add new get functions.
(webkit_settings_class_init): Add new properties.
(webkit_settings_get_enable_private_browsing): Get 'enable-private-browsing' property.
(webkit_settings_set_enable_private_browsing): Set 'enable-private-browsing' property.
(webkit_settings_get_enable_developer_extras): Get 'enable-developer-extras' property.
(webkit_settings_set_enable_developer_extras): Set 'enable-developer-extras' property.
(webkit_settings_get_enable_resizable_text_areas): Get 'enable-resizable-text-areas' property.
(webkit_settings_set_enable_resizable_text_areas): Set 'enable-resizable-text-areas' property.
(webkit_settings_get_enable_tabs_to_links): Get 'enable-tabs-to-links' property.
(webkit_settings_set_enable_tabs_to_links): Set 'enable-tabs-to-links' property.
* UIProcess/API/gtk/WebKitSettings.h: New public APIs added.
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: New APIs added.
* UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
(testWebKitSettings): Add new tests.

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

9 years agoUnreviewed. Fix WebKit2 GTK+ build after r100569.
carlosgc@webkit.org [Thu, 17 Nov 2011 09:02:54 +0000 (09:02 +0000)]
Unreviewed. Fix WebKit2 GTK+ build after r100569.

* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::DownloadClient::didReceiveResponse):

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

9 years ago[WebKit2][gtk] Fix assert while running TestWebKitSettings
commit-queue@webkit.org [Thu, 17 Nov 2011 08:53:07 +0000 (08:53 +0000)]
[WebKit2][gtk] Fix assert while running TestWebKitSettings
https://bugs.webkit.org/show_bug.cgi?id=72469

Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-11-17
Reviewed by Martin Robinson.

* UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
(testWebKitSettings): Correct the test.

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

9 years agoCSP report-only mode doesn't work from an HTTP header
abarth@webkit.org [Thu, 17 Nov 2011 08:25:40 +0000 (08:25 +0000)]
CSP report-only mode doesn't work from an HTTP header
https://bugs.webkit.org/show_bug.cgi?id=71958

Reviewed by Eric Seidel.

Source/WebCore:

"It's tested or it's broken." -- Adam Leventhal

Test: http/tests/security/contentSecurityPolicy/report-only-from-header.php

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::didBeginDocument):

LayoutTests:

Test that X-WebKit-CSP-Report-Only actually sends reports.

* http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/report-only-from-header.php: Added.

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

9 years agoWeb Inspector: introduce Debugger domain capabilities concept.
pfeldman@chromium.org [Thu, 17 Nov 2011 08:16:44 +0000 (08:16 +0000)]
Web Inspector: introduce Debugger domain capabilities concept.
https://bugs.webkit.org/show_bug.cgi?id=72393

Many of the Preferences that we have in Settings.js and override in DevTools.js
are really not preferences, but capabilities. Protocol clients should have a way
of figuring out whether some capability is present before using it.

Reviewed by Yury Semikhatsky.

Source/WebCore:

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::canSetScriptSource):
* bindings/js/ScriptDebugServer.h:
* bindings/v8/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::canSetScriptSource):
* bindings/v8/ScriptDebugServer.h:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::getCapabilities):
* inspector/InspectorDebuggerAgent.h:
* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel):
(WebInspector.DebuggerModel.prototype.enableDebugger):
(WebInspector.DebuggerModel.prototype.canSetScriptSource):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
* inspector/front-end/Settings.js:

Source/WebKit/chromium:

* src/js/DevTools.js:

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

9 years agoCSS exclusions: parse the wrap-flow and wrap-through properties
mihnea@adobe.com [Thu, 17 Nov 2011 08:08:31 +0000 (08:08 +0000)]
CSS exclusions: parse the wrap-flow and wrap-through properties
https://bugs.webkit.org/show_bug.cgi?id=71904

Reviewed by Dean Jackson.

Source/WebCore:

Tests: fast/exclusions/wrap-flow-parsing.html
       fast/exclusions/wrap-through-parsing.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator WrapFlow):
(WebCore::CSSPrimitiveValue::operator WrapThrough):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSValueKeywords.in:
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::wrapFlow):
(WebCore::InheritedFlags::wrapThrough):
(WebCore::InheritedFlags::setWrapFlow):
(WebCore::InheritedFlags::setWrapThrough):
(WebCore::InheritedFlags::initialWrapFlow):
(WebCore::InheritedFlags::initialWrapThrough):
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:

LayoutTests:

* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/exclusions/script-tests/wrap-flow-parsing.js: Added.
* fast/exclusions/script-tests/wrap-through-parsing.js: Added.
* fast/exclusions/wrap-flow-parsing-expected.txt: Added.
* fast/exclusions/wrap-flow-parsing.html: Added.
* fast/exclusions/wrap-through-parsing-expected.txt: Added.
* fast/exclusions/wrap-through-parsing.html: Added.
* 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:
* svg/css/getComputedStyle-basic-expected.txt:

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

9 years ago[GTK] Use a URI instead of local path to create download destination in WebKit2
carlosgc@webkit.org [Thu, 17 Nov 2011 07:59:04 +0000 (07:59 +0000)]
[GTK] Use a URI instead of local path to create download destination in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=72500

Reviewed by Philippe Normand.

* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::DownloadClient::didReceiveResponse): Use
g_file_new_for_uri() instad of g_file_new_for_path(). Also use
adoptGRef to fix a memory leak.

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

9 years agoImplement filter function shorthands
dino@apple.com [Thu, 17 Nov 2011 07:24:01 +0000 (07:24 +0000)]
Implement filter function shorthands
https://bugs.webkit.org/show_bug.cgi?id=68475

Reviewed by Simon Fraser.

Source/WebCore:

Implement the shorthand functions for filter effects.
This includes grayscale, sepia, invert, hue-rotate, saturate,
opacity, gamma, drop-shadow and blur. At the moment sharpen
and url are not supported.

CSSParser needed to be updated because it was mistakenly
clamping saturation values to [0,1]. Any positive number
is allowed so you can produce super-saturated images.

The biggest change was the API to FilterEffectRenderer. It now
builds a list of effects and applies the filter itself.

Note that the drop-shadow and blur operations don't yet
provide accurate results because they produce an output image
that is larger than the input. See
https://bugs.webkit.org/show_bug.cgi?id=71929
https://bugs.webkit.org/show_bug.cgi?id=71930

While I was there, I fixed a small style issue in
CustomFilterOperation.

Tests: css3/filters/effect-blur.html
       css3/filters/effect-combined.html
       css3/filters/effect-drop-shadow.html
       css3/filters/effect-gamma.html
       css3/filters/effect-grayscale.html
       css3/filters/effect-hue-rotate.html
       css3/filters/effect-invert.html
       css3/filters/effect-opacity.html
       css3/filters/effect-saturate.html
       css3/filters/effect-sepia.html

* WebCore.xcodeproj/project.pbxproj: Add StyleShader.h to
the project (missing from earlier commit).
* css/CSSParser.cpp:
(WebCore::CSSParser::isValidFilterArgument): Don't clamp
saturate to [0,1]
* platform/graphics/filters/CustomFilterOperation.h:
* rendering/FilterEffectRenderer.cpp:
(WebCore::endMatrixRow):
(WebCore::lastMatrixRow):
(WebCore::FilterEffectRenderer::FilterEffectRenderer):
(WebCore::FilterEffectRenderer::inputContext):
(WebCore::FilterEffectRenderer::build):
(WebCore::FilterEffectRenderer::prepare):
(WebCore::FilterEffectRenderer::apply):
* rendering/FilterEffectRenderer.h:
(WebCore::FilterEffectRenderer::setSourceImageRect):
(WebCore::FilterEffectRenderer::output):
(WebCore::FilterEffectRenderer::setMaxEffectRects):
(WebCore::FilterEffectRenderer::lastEffect):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
(WebCore::RenderLayer::updateOrRemoveFilterEffect):
(WebCore::RenderLayer::updateFilterBackingStore):

LayoutTests:

Test the shorthand functions for filter effects.
This includes grayscale, sepia, invert, hue-rotate, saturate,
opacity, gamma, drop-shadow and blur. At the moment sharpen
and url are not supported.

Note that the drop-shadow and blur operations don't yet
provide accurate results because they produce an output image
that is larger than the input. See
https://bugs.webkit.org/show_bug.cgi?id=71929
https://bugs.webkit.org/show_bug.cgi?id=71930

* css3/filters/effect-blur-expected.png: Added.
* css3/filters/effect-blur-expected.txt: Added.
* css3/filters/effect-blur.html: Added.
* css3/filters/effect-combined-expected.png: Added.
* css3/filters/effect-combined-expected.txt: Added.
* css3/filters/effect-combined.html: Added.
* css3/filters/effect-drop-shadow-expected.png: Added.
* css3/filters/effect-drop-shadow-expected.txt: Added.
* css3/filters/effect-drop-shadow.html: Added.
* css3/filters/effect-gamma-expected.png: Added.
* css3/filters/effect-gamma-expected.txt: Added.
* css3/filters/effect-gamma.html: Added.
* css3/filters/effect-grayscale-expected.png: Added.
* css3/filters/effect-grayscale-expected.txt: Added.
* css3/filters/effect-grayscale.html: Added.
* css3/filters/effect-hue-rotate-expected.png: Added.
* css3/filters/effect-hue-rotate-expected.txt: Added.
* css3/filters/effect-hue-rotate.html: Added.
* css3/filters/effect-invert-expected.png: Added.
* css3/filters/effect-invert-expected.txt: Added.
* css3/filters/effect-invert.html: Added.
* css3/filters/effect-opacity-expected.png: Added.
* css3/filters/effect-opacity-expected.txt: Added.
* css3/filters/effect-opacity.html: Added.
* css3/filters/effect-saturate-expected.png: Added.
* css3/filters/effect-saturate-expected.txt: Added.
* css3/filters/effect-saturate.html: Added.
* css3/filters/effect-sepia-expected.png: Added.
* css3/filters/effect-sepia-expected.txt: Added.
* css3/filters/effect-sepia.html: Added.
* css3/filters/resources/reference.png: Added.
* css3/filters/script-tests/filter-property-parsing-invalid.js:
* css3/filters/script-tests/filter-property-parsing.js:

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

9 years agoRemove all custom constructors of Events from JSC
haraken@chromium.org [Thu, 17 Nov 2011 07:11:34 +0000 (07:11 +0000)]
Remove all custom constructors of Events from JSC
https://bugs.webkit.org/show_bug.cgi?id=72577

Reviewed by Adam Barth.

- Makes CodeGeneratorJS.pm generate Event constructors
if [ConstructorTemplate=Event] IDL is specified.
- Removes EventConstructors.h and JSEventConstructors.cpp.
- Replaces all JSC custom constructors of Events
with the generated code by [ConstructorTemplate=Event] IDL.

Tests: fast/events/constructors/before-load-event-constructor.html
       fast/events/constructors/close-event-constructor.html
       fast/events/constructors/custom-event-constructor.html
       fast/events/constructors/error-event-constructor.html
       fast/events/constructors/event-constructors.html
       fast/events/constructors/hash-change-event-constructor.html
       fast/events/constructors/message-event-constructor.html
       fast/events/constructors/overflow-event-constructor.html
       fast/events/constructors/page-transition-event-constructor.html
       fast/events/constructors/pop-state-event-constructor.html
       fast/events/constructors/progress-event-constructor.html
       fast/events/constructors/track-event-constructor.html
       fast/events/constructors/webkit-animation-event-constructor.html
       fast/events/constructors/webkit-transition-event-constructor.html

* bindings/generic/EventConstructors.h: Removed. This is what we wanted to do in this patch.
* bindings/js/JSEventConstructors.cpp: Ditto.
* GNUmakefile.list.am: Removed EventConstructors.h and JSEventConstructors.cpp.
* Target.pri: Ditto.
* UseJSC.cmake: Ditto.
* WebCore.gypi: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* bindings/js/JSBindingsAllInOne.cpp: Ditto.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader): Added JSDictionary.h.
(GenerateConstructorDeclaration): Added a header for fillXXXXEventInit(...).
(GenerateConstructorDefinition): Generates an Event constructor. The generated code is the same as the code that had been written in JSEventConstructors.cpp.
(IsConstructable): Judges if a given interface is constructable.
(IsConstructorTemplate): Judges if a given interface has a given template, e.g. judges if an interface has [ConstructorTemplate=Event].

* bindings/scripts/test/TestEventConstructor.idl: Changed 'CustomConstructor=Event' to 'ConstructorTemplate=Event'. We should have changed this in r100108.
* bindings/scripts/test/JS/JSTestEventConstructor.cpp: Updated a run-bindings-tests result.
(WebCore::JSTestEventConstructorConstructor::constructJSTestEventConstructor):
(WebCore::fillTestEventConstructorInit):
* bindings/scripts/test/JS/JSTestEventConstructor.h: Ditto.
* bindings/scripts/test/V8/V8TestEventConstructor.cpp: Ditto.
(WebCore::V8TestEventConstructor::constructorCallback):
(WebCore::fillTestEventConstructorInit):
* bindings/scripts/test/V8/V8TestEventConstructor.h: Ditto.

* dom/BeforeLoadEvent.idl: In essence, replaced [JSCustomConstructor] IDL with [JSConstructorTemplate=Event] IDL.
* dom/CustomEvent.idl: Ditto.
* dom/ErrorEvent.idl: Ditto.
* dom/Event.idl: Ditto.
* dom/HashChangeEvent.idl: Ditto.
* dom/MessageEvent.idl: Ditto.
* dom/OverflowEvent.idl: Ditto.
* dom/PageTransitionEvent.idl: Ditto.
* dom/PopStateEvent.idl: Ditto.
* dom/ProgressEvent.idl: Ditto.
* dom/WebKitAnimationEvent.idl: Ditto.
* dom/WebKitTransitionEvent.idl: Ditto.
* html/track/TrackEvent.idl: Ditto.
* websockets/CloseEvent.idl: Ditto.

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

9 years agoBuild fix for Apple WebKit due to r100560.
dino@apple.com [Thu, 17 Nov 2011 06:33:22 +0000 (06:33 +0000)]
Build fix for Apple WebKit due to r100560.
When I removed the violating header file it lost the
reference to Color.

No review.

* platform/graphics/filters/FilterOperation.h:

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

9 years agoAdd a list of contribution areas
rniwa@webkit.org [Thu, 17 Nov 2011 06:22:13 +0000 (06:22 +0000)]
Add a list of contribution areas
https://bugs.webkit.org/show_bug.cgi?id=72566

Reviewed by Eric Seidel.

Added ContributionAreas class.

* Scripts/webkitpy/common/config/contributionareas.py: Added.
* Scripts/webkitpy/common/config/contributionareas_unittest.py: Added.

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

9 years agoRefactor ChangeLogTest.test_parse_reviewer_text
rniwa@webkit.org [Thu, 17 Nov 2011 06:20:27 +0000 (06:20 +0000)]
Refactor ChangeLogTest.test_parse_reviewer_text
https://bugs.webkit.org/show_bug.cgi?id=72572

Reviewed by Eric Seidel.

Refactored the test code by introduing two helper functions.

* Scripts/webkitpy/common/checkout/changelog_unittest.py:

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

9 years agoDropShadowFilterOperation violates platform isolation
dino@apple.com [Thu, 17 Nov 2011 05:24:42 +0000 (05:24 +0000)]
DropShadowFilterOperation violates platform isolation
https://bugs.webkit.org/show_bug.cgi?id=72544

Reviewed by Simon Fraser.

Move ShadowData properties into the DropShadowFilterOperation
to avoid depending on something outside platform.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::valueForFilter):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::createFilterOperations):
* platform/graphics/filters/FilterOperation.h:
(WebCore::DropShadowFilterOperation::create):
(WebCore::DropShadowFilterOperation::x):
(WebCore::DropShadowFilterOperation::y):
(WebCore::DropShadowFilterOperation::stdDeviation):
(WebCore::DropShadowFilterOperation::color):
(WebCore::DropShadowFilterOperation::operator==):
(WebCore::DropShadowFilterOperation::DropShadowFilterOperation):

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

9 years ago[chromium] Update more chromium baselines and expectations
jamesr@google.com [Thu, 17 Nov 2011 05:14:53 +0000 (05:14 +0000)]
[chromium] Update more chromium baselines and expectations

* platform/chromium-cg-mac-snowleopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added.
* platform/chromium-linux/fast/repaint/block-selection-gap-in-composited-layer-expected.png:
* platform/chromium-mac-leopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added.
* platform/chromium-win/fast/repaint/block-selection-gap-in-composited-layer-expected.png:
* platform/chromium/test_expectations.txt:

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

9 years agoAdd SCMDetector object to make scm detection mockable
eric@webkit.org [Thu, 17 Nov 2011 05:08:57 +0000 (05:08 +0000)]
Add SCMDetector object to make scm detection mockable
https://bugs.webkit.org/show_bug.cgi?id=72247

Reviewed by Adam Barth.

I think SCM detection may eventually be rolled into Checkout,
but this patch at least makes it possible to mock code-paths
which rely on scm detection.
In the process of replacing callers of these free-functions
I found that one of the functions was no longer used,
and that one of the callers could instead just use the SCM
object it already had access to through port.host.scm().
I also discovered that I was not calling Host._initialize_scm()
and thus host.scm() was always returning None!

* Scripts/check-webkit-style:
* Scripts/webkitpy/common/checkout/checkout_unittest.py:
* Scripts/webkitpy/common/checkout/deps.py:
* Scripts/webkitpy/common/checkout/scm/__init__.py:
* Scripts/webkitpy/common/checkout/scm/detection.py:
* Scripts/webkitpy/common/checkout/scm/git.py:
* Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
* Scripts/webkitpy/common/checkout/scm/svn.py:
* Scripts/webkitpy/common/host.py:
* Scripts/webkitpy/common/host_mock.py:
* Scripts/webkitpy/layout_tests/controllers/manager.py:
* Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
* Scripts/webkitpy/layout_tests/port/base.py:
* Scripts/webkitpy/layout_tests/port/mock_drt.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
* Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
* Scripts/webkitpy/tool/servers/rebaselineserver.py:

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

9 years ago[chromium] Update baselines for compositing tests with video and canvas
jamesr@google.com [Thu, 17 Nov 2011 04:51:02 +0000 (04:51 +0000)]
[chromium] Update baselines for compositing tests with video and canvas

* platform/chromium-cg-mac-leopard/compositing/geometry/clipped-video-controller-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/geometry/video-opacity-overlay-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/layers-inside-overflow-scroll-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-cg-mac-leopard/compositing/self-painting-layers-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-cg-mac/compositing/geometry/clipped-video-controller-expected.png: Removed.
* platform/chromium-cg-mac/compositing/geometry/video-opacity-overlay-expected.png: Removed.
* platform/chromium-gpu-cg-mac/compositing/geometry/clipped-video-controller-expected.png: Added.
* platform/chromium-gpu-cg-mac/compositing/geometry/video-fixed-scrolling-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/compositing/geometry/video-fixed-scrolling-expected.png.
* platform/chromium-gpu-cg-mac/compositing/geometry/video-opacity-overlay-expected.png: Added.
* platform/chromium-gpu-cg-mac/compositing/layers-inside-overflow-scroll-expected.png: Added.
* platform/chromium-gpu-cg-mac/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-gpu-cg-mac/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-gpu-cg-mac/compositing/self-painting-layers-expected.png: Added.
* platform/chromium-linux/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-linux/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-linux/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-linux/compositing/self-painting-layers-expected.png:
* platform/chromium-mac-leopard/compositing/geometry/clipped-video-controller-expected.png: Added.
* platform/chromium-mac-leopard/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/chromium-mac-leopard/compositing/geometry/video-opacity-overlay-expected.png: Added.
* platform/chromium-mac-leopard/compositing/layers-inside-overflow-scroll-expected.png: Added.
* platform/chromium-mac-leopard/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-mac-leopard/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-mac-leopard/compositing/self-painting-layers-expected.png: Added.
* platform/chromium-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png: Added.
* platform/chromium-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/chromium-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Added.
* platform/chromium-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-mac/compositing/geometry/clipped-video-controller-expected.png: Removed.
* platform/chromium-mac/compositing/geometry/video-fixed-scrolling-expected.png: Removed.
* platform/chromium-mac/compositing/geometry/video-opacity-overlay-expected.png: Removed.
* platform/chromium-mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed.
* platform/chromium-win/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-win/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-win/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-win/compositing/self-painting-layers-expected.png:
* platform/chromium/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium/compositing/self-painting-layers-expected.png:
* platform/chromium/compositing/video-page-visibility-expected.png: Added.
* platform/chromium/test_expectations.txt:
* platform/mac-lion/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Renamed from LayoutTests/platform/mac-snowleopard/compositing/layer-creation/spanOverlapsCanvas-expected.txt.
* platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed.

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

9 years agoCode block jettisoning should be part of the GC's transitive closure
fpizlo@apple.com [Thu, 17 Nov 2011 03:58:48 +0000 (03:58 +0000)]
Code block jettisoning should be part of the GC's transitive closure
https://bugs.webkit.org/show_bug.cgi?id=72467

Reviewed by Geoff Garen.

Replaced JettisonedCodeBlocks with DFGCodeBlocks. The latter knows about all
DFG code blocks (i.e. those that may be jettisoned, and may have inlined weak
references) and helps track what state each of those code blocks is in during
GC. The state consists of two flags; mayBeExecuting, which tells if the code block
is live from call frames; and isJettisoned, which tells if the code block is
not owned by any executable and thus should be deleted as soon as it is not
mayBeExecuting.

- Not executing, Not jettisoned: The code block may or may not be reachable from
  any executables, but it is owned by an executable, and hence should be
  kept alive if its executable is live and if all of its weak references are
  live. Otherwise it should be deleted during the current GC cycle, and its
  outgoing references should not be scanned.

- Not executing but jettisoned: The code block should be deleted as soon as
  possible and none of its outgoing references should be scanned.

- Executing but not jettisoned: The code block should be kept alive during this
  GC cycle, and all of its outgoing references (including the weak ones)
  should be scanned and marked strongly. The mayBeExecuting bit will be cleared at
  the end of the GC cycle.

- Executing and jettisoned: The code block should be kept alive during this
  GC cycle, and all of its outgoing references (including the weak ones)
  should be scanned and marked strongly. However, on the next GC cycle, it
  will have its mayBeExecuting bit cleared and hence it will become a candidate
  for immediate deletion provided it is not executing again.

This is performance-neutral.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::~CodeBlock):
* bytecode/CodeBlock.h:
(JSC::CodeBlock::setJITCode):
(JSC::CodeBlock::DFGData::DFGData):
(JSC::DFGCodeBlocks::mark):
* heap/ConservativeRoots.cpp:
(JSC::ConservativeRoots::add):
* heap/ConservativeRoots.h:
* heap/DFGCodeBlocks.cpp: Added.
(JSC::DFGCodeBlocks::DFGCodeBlocks):
(JSC::DFGCodeBlocks::~DFGCodeBlocks):
(JSC::DFGCodeBlocks::jettison):
(JSC::DFGCodeBlocks::clearMarks):
(JSC::DFGCodeBlocks::deleteUnmarkedJettisonedCodeBlocks):
(JSC::DFGCodeBlocks::traceMarkedCodeBlocks):
* heap/DFGCodeBlocks.h: Added.
* heap/Heap.cpp:
(JSC::Heap::jettisonDFGCodeBlock):
(JSC::Heap::markRoots):
(JSC::Heap::collect):
* heap/Heap.h:
* heap/JettisonedCodeBlocks.cpp: Removed.
* heap/JettisonedCodeBlocks.h: Removed.
* interpreter/RegisterFile.cpp:
(JSC::RegisterFile::gatherConservativeRoots):
* interpreter/RegisterFile.h:
* runtime/Executable.cpp:
(JSC::jettisonCodeBlock):

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

9 years agoUse a simple page client for user consent in getUserMedia()
commit-queue@webkit.org [Thu, 17 Nov 2011 03:50:56 +0000 (03:50 +0000)]
Use a simple page client for user consent in getUserMedia()
https://bugs.webkit.org/show_bug.cgi?id=70897

Patch by Adam Bergkvist <adam.bergkvist@ericsson.com> on 2011-11-16
Reviewed by Adam Barth.

This is one in a series of patches that update the MediaStream feature
to use WebCore platform interfaces.

Covered by existing tests.

* GNUmakefile.list.am:
* WebCore.gypi:
* mediastream/MediaStreamClient.h: Removed.
* mediastream/MediaStreamController.cpp: Removed.
* mediastream/MediaStreamController.h: Removed.
* mediastream/MediaStreamFrameController.cpp: Removed.
* mediastream/MediaStreamFrameController.h: Removed.
* mediastream/UserMediaClient.h: Added.
(WebCore::UserMediaClient::~UserMediaClient):
* mediastream/UserMediaRequest.cpp: Added.
(WebCore::UserMediaRequest::create):
(WebCore::UserMediaRequest::UserMediaRequest):
(WebCore::UserMediaRequest::~UserMediaRequest):
(WebCore::UserMediaRequest::start):
(WebCore::UserMediaRequest::mediaStreamSourcesQueryCompleted):
(WebCore::UserMediaRequest::succeed):
(WebCore::UserMediaRequest::fail):
(WebCore::UserMediaRequest::contextDestroyed):
(WebCore::UserMediaRequest::parseOptions):
* mediastream/UserMediaRequest.h: Added.
(WebCore::UserMediaRequest::audio):
(WebCore::UserMediaRequest::video):
(WebCore::UserMediaRequest::cameraPreferenceUser):
(WebCore::UserMediaRequest::cameraPreferenceEnvironment):
(WebCore::UserMediaRequest::successCallback):
(WebCore::UserMediaRequest::errorCallback):
* page/CallbackTask.h: Removed.
* page/Frame.cpp:
(WebCore::Frame::Frame):
(WebCore::Frame::~Frame):
(WebCore::Frame::pageDestroyed):
(WebCore::Frame::transferChildFrameToNewDocument):
* page/Frame.h:
* page/Navigator.cpp:
(WebCore::Navigator::webkitGetUserMedia):
* page/NavigatorUserMediaErrorCallback.h:
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::~Page):
(WebCore::Page::PageClients::PageClients):
* page/Page.h:
(WebCore::Page::userMediaClient):

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

9 years ago[chromium] Fix duplicate expectations for chromium mac leopard
jamesr@google.com [Thu, 17 Nov 2011 03:42:41 +0000 (03:42 +0000)]
[chromium] Fix duplicate expectations for chromium mac leopard

* platform/chromium/test_expectations.txt:

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

9 years agoFix the build.
mrowe@apple.com [Thu, 17 Nov 2011 03:32:02 +0000 (03:32 +0000)]
Fix the build.

The C++ standard library interferes with Objective-C exceptions when built with -fno-exceptions.
Apply the workaround that we use in other projects to WebKitTestRunner.

* WebKitTestRunner/Configurations/Base.xcconfig: Use the prefix header for all targets.
* WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Ditto.
* WebKitTestRunner/WebKitTestRunnerPrefix.h: Work around the C++ standard library obnoxiousness.

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

9 years agoinstantiate WorkerEventQueue in WorkerContext
dgrogan@chromium.org [Thu, 17 Nov 2011 03:22:09 +0000 (03:22 +0000)]
instantiate WorkerEventQueue in WorkerContext
https://bugs.webkit.org/show_bug.cgi?id=72528

Reviewed by David Levin.

No new tests - nothing uses it yet.

* workers/WorkerContext.cpp:
(WebCore::WorkerContext::WorkerContext):
Instantiate WorkerEventQueue in InitializerList

* workers/WorkerEventQueue.h:
Don't inherit from RefCounted, WorkerContext has an OwnPtr to it

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

9 years agoUnreviewed. Rebaselined run-bindings-tests results.
haraken@chromium.org [Thu, 17 Nov 2011 03:13:47 +0000 (03:13 +0000)]
Unreviewed. Rebaselined run-bindings-tests results.

* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructor::JSTestEventConstructor):
(WebCore::JSTestEventConstructorOwner::finalize):
* bindings/scripts/test/JS/JSTestEventConstructor.h:
(WebCore::JSTestEventConstructor::impl):
(WebCore::JSTestEventConstructor::releaseImpl):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterface::JSTestInterface):
(WebCore::JSTestInterfaceOwner::finalize):
* bindings/scripts/test/JS/JSTestInterface.h:
(WebCore::JSTestInterface::impl):
(WebCore::JSTestInterface::releaseImpl):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
(WebCore::JSTestMediaQueryListListenerOwner::finalize):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
(WebCore::JSTestMediaQueryListListener::impl):
(WebCore::JSTestMediaQueryListListener::releaseImpl):
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructor::JSTestNamedConstructor):
(WebCore::JSTestNamedConstructorOwner::finalize):
* bindings/scripts/test/JS/JSTestNamedConstructor.h:
(WebCore::JSTestNamedConstructor::impl):
(WebCore::JSTestNamedConstructor::releaseImpl):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::JSTestObj::JSTestObj):
(WebCore::JSTestObjOwner::finalize):
* bindings/scripts/test/JS/JSTestObj.h:
(WebCore::JSTestObj::impl):
(WebCore::JSTestObj::releaseImpl):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
(WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
(WebCore::JSTestSerializedScriptValueInterface::impl):
(WebCore::JSTestSerializedScriptValueInterface::releaseImpl):

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

9 years agoMake sure MHTML documents use the domain of the MHTML file.
jcivelli@chromium.org [Thu, 17 Nov 2011 03:08:21 +0000 (03:08 +0000)]
Make sure MHTML documents use the domain of the MHTML file.
https://bugs.webkit.org/show_bug.cgi?id=72445

Reviewed by Adam Barth.

Source/WebCore:

* dom/Document.h:
(WebCore::Document::setBaseURL):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::receivedFirstData):

LayoutTests:

* mhtml/check_domain-expected.txt: Added.
* mhtml/check_domain.mht: Added.

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

9 years ago[Qt] Fix build after WTR AX support
caio.oliveira@openbossa.org [Thu, 17 Nov 2011 03:06:36 +0000 (03:06 +0000)]
[Qt] Fix build after WTR AX support
https://bugs.webkit.org/show_bug.cgi?id=72560

Reviewed by Geoffrey Garen.

Source/WebKit2:

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKAccessibilityRootObject):
(WKAccessibilityFocusedObject):

Tools:

* WebKitTestRunner/InjectedBundle/DerivedSources.pri:
* WebKitTestRunner/InjectedBundle/Target.pri:

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

9 years agorepurpose the flexbox bot for grid layout
tony@chromium.org [Thu, 17 Nov 2011 02:58:59 +0000 (02:58 +0000)]
repurpose the flexbox bot for grid layout
https://bugs.webkit.org/show_bug.cgi?id=72557

Reviewed by Ryosuke Niwa.

Since new flexbox is enabled everywhere, we don't need this bot
anymore.  However, work on grid layout has begun, so we can use this
bot to compile with ENABLE_CSS_GRID_LAYOUT.

* BuildSlaveSupport/build.webkit.org-config/config.json: Just rename
the bot on the waterfall, I will change the slave config to enable
the compile flag and tests.

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

9 years ago[EFL] Use standard booleand data type in struct.
gyuyoung.kim@samsung.com [Thu, 17 Nov 2011 02:54:21 +0000 (02:54 +0000)]
[EFL] Use standard booleand data type in struct.
https://bugs.webkit.org/show_bug.cgi?id=72565

Reviewed by Martin Robinson.

Change *Eina_Bool* usages with *bool* in member variables of internal struct.

* ewk/ewk_contextmenu.cpp:
* ewk/ewk_frame.cpp:
* ewk/ewk_tiled_backing_store.cpp:
* ewk/ewk_view.cpp:

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

9 years agoUpdate supported display list after -webkit-grid and -webkit-inline-grid addition
jchaffraix@webkit.org [Thu, 17 Nov 2011 02:20:40 +0000 (02:20 +0000)]
Update supported display list after -webkit-grid and -webkit-inline-grid addition
https://bugs.webkit.org/show_bug.cgi?id=72559

Reviewed by Tony Chang.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Added the 2 new supported
values (forgotten in the previous change).

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

9 years ago[chromium] Expose mock scrollbars to window.internals
enne@google.com [Thu, 17 Nov 2011 02:09:26 +0000 (02:09 +0000)]
[chromium] Expose mock scrollbars to window.internals
https://bugs.webkit.org/show_bug.cgi?id=72195

Reviewed by James Robinson.

.:

* Source/autotools/symbols.filter:

Source/WebCore:

* testing/Internals.cpp:
(WebCore::Internals::setMockScrollbarsEnabled):
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit/chromium:

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
* src/WebSettingsImpl.h:

Source/WebKit2:

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

Tools:

Because mock scrollbars are a global setting, reset between runs.

* DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::applyTo):

LayoutTests:

Change a small number of initial tests that are failing on Chromium
due to small scrollbar pixel differences to use mock scrollbars. These
tests will be rebaselined once they have run through the bots.

* compositing/geometry/fixed-position.html:
* compositing/geometry/horizontal-scroll-composited.html:
* compositing/geometry/vertical-scroll-composited.html:
* compositing/overflow/fixed-position-ancestor-clip.html:
* compositing/resources/mock_scrollbars.js: Added.

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

9 years agoUnreviewed, build fix for 32-bit.
fpizlo@apple.com [Thu, 17 Nov 2011 02:00:06 +0000 (02:00 +0000)]
Unreviewed, build fix for 32-bit.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoApplicationCache manifest should work with any MIME type.
michaeln@google.com [Thu, 17 Nov 2011 01:46:17 +0000 (01:46 +0000)]
ApplicationCache manifest should work with any MIME type.
https://bugs.webkit.org/show_bug.cgi?id=72082

Source/WebCore:

Reviewed by Alexey Proskuryakov.

* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::didReceiveManifestResponse): Remove the test for a particular type.

LayoutTests:

Update the wrong-content-type test to expect the appcache to succeed given a text/plain contentType.

Reviewed by Alexey Proskuryakov.

* http/tests/appcache/wrong-content-type-expected.txt:
* http/tests/appcache/wrong-content-type.html:
* platform/chromium/test_expectations.txt: Temporarily skip this test in chromium.
* platform/chromium-cg-mac/http/tests/appcache/wrong-content-type-expected.txt: Removed.
* platform/chromium-mac/http/tests/appcache/wrong-content-type-expected.txt: Removed.
* platform/chromium-win/http/tests/appcache/wrong-content-type-expected.txt: Removed.

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

9 years agoSome CachedCall cleanup, in preparation for reversing argument order.
ggaren@apple.com [Thu, 17 Nov 2011 01:43:48 +0000 (01:43 +0000)]
Some CachedCall cleanup, in preparation for reversing argument order.

Reviewed by Gavin Barraclough.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::stronglyVisitWeakReferences): A build fix for the interpreter,
so I can test it.

* interpreter/CachedCall.h:
(JSC::CachedCall::CachedCall): Renamed argCount to argumentCount because
we are not that desperate for character saving.

(JSC::CachedCall::setThis):
(JSC::CachedCall::setArgument): Adopted new 0-based argument indexing for
CallFrameClosure.

* interpreter/CallFrameClosure.h:
(JSC::CallFrameClosure::setThis):
(JSC::CallFrameClosure::setArgument):
(JSC::CallFrameClosure::resetCallFrame): Provide 0-based argument indexing,
with an explicit setter for 'this', since that's how most clients think.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::prepareForRepeatCall):
* interpreter/Interpreter.h: Change argCount to argumentCountIncludingThis,
for clarity.

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

9 years agoSkip failing ref tests on gtk and mac.
tony@chromium.org [Thu, 17 Nov 2011 01:43:14 +0000 (01:43 +0000)]
Skip failing ref tests on gtk and mac.

* platform/gtk/Skipped:
* platform/mac/Skipped:

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

9 years agoDe-virtualize ScriptExecutable::unlinkCalls
mhahnenberg@apple.com [Thu, 17 Nov 2011 01:33:42 +0000 (01:33 +0000)]
De-virtualize ScriptExecutable::unlinkCalls
https://bugs.webkit.org/show_bug.cgi?id=72546

Reviewed by Geoffrey Garen.

* runtime/Executable.cpp:
(JSC::FunctionExecutable::~FunctionExecutable): Added an empty explicit virtual destructor to prevent a very odd compilation error
due to the fact that the compiler was trying to generate the implicit inline destructor in every translation unit, some of which
didn't have complete type information on the things that needed to be destructed in the implicit destructor.
* runtime/Executable.h:
(JSC::EvalExecutable::createStructure): Used new type value from JSType
(JSC::ProgramExecutable::createStructure): Ditto
(JSC::FunctionExecutable::createStructure): Ditto
(JSC::ScriptExecutable::unlinkCalls): Condition upon the type value, cast and call the corresponding unlinkCalls implementation.
* runtime/JSType.h: Added new values for EvalExecutable, ProgramExecutable, and FunctionExecutable.  Remove explicit numbers, since
that just adds noise to patches and they currently have no significance.

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