WebKit-https.git
10 years agoFix duplicate vsprops name
aroben@apple.com [Tue, 26 Oct 2010 18:04:25 +0000 (18:04 +0000)]
Fix duplicate vsprops name

* win/tools/vsprops/FeatureDefinesCairo.vsprops: Renamed to
"FeatureDefinesCairo" to match the filename.

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

10 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 18:01:25 +0000 (18:01 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Fix minor typo.

        * storage/indexeddb/objectstore-basics-expected.txt:

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

10 years ago2010-10-26 Søren Gjesse <sgjesse@chromium.org>
commit-queue@webkit.org [Tue, 26 Oct 2010 17:54:48 +0000 (17:54 +0000)]
2010-10-26  Søren Gjesse  <sgjesse@chromium.org>

        Reviewed by Dimitri Glazkov.

        Added options --multiple-loads and --js-flags to chromium DumpRenderTree. The option --multiple-loads=X
        is used to have DumpRenderTree load each test it runs X times. To be able to have more fine-grained control
        of how the JavaScript engine behaves for each load the flag --js-flags can specify a list of flag-sets like this

          --js-flags="--xxx,--noxxx --yyy,--noyyy"

        First load will run with --xxx, the second with --yyy and the third without any (the 'no' prefix is handled by
        V8 to turn off the flag).

        The changes to the Python test runner will be in a separate change.

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (runTest):
        (main):
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        (TestShell::runFileTest):
        (TestShell::testFinished):
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::loadCount):
        (TestShell::setLoadCount):
        (TestShell::javaScriptFlagsForLoad):
        (TestShell::setJavaScriptFlags):
        (TestShell::setDumpWhenFinished):

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

10 years ago2010-10-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 26 Oct 2010 17:52:38 +0000 (17:52 +0000)]
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Add another flaky test to expectations.
        https://bugs.webkit.org/show_bug.cgi?id=48341

        * platform/chromium/test_expectations.txt: Added flaky crash.

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

10 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 17:42:41 +0000 (17:42 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Touching inspector controller to kick gtk build, removing comments.

        * inspector/InspectorController.cpp:
        * inspector/front-end/ResourceManager.js:
        * inspector/front-end/ScriptsPanel.js:

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

10 years ago2010-10-26 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 26 Oct 2010 17:28:07 +0000 (17:28 +0000)]
2010-10-26  Kenneth Russell  <kbr@google.com>

        Reviewed by Andreas Kling.

        Valgrind failure in GraphicsContext3DInternal::reshape
        https://bugs.webkit.org/show_bug.cgi?id=48284

        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):

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

10 years agoSet the svn:mime-type property of recently-added PNG files to image/png.
mitz@apple.com [Tue, 26 Oct 2010 17:15:37 +0000 (17:15 +0000)]
Set the svn:mime-type property of recently-added PNG files to image/png.

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

10 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 17:06:55 +0000 (17:06 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        * inspector/front-end/AuditsPanel.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain.populateResourcesForDocuments):
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
        (WebInspector.ExtensionServer.prototype._onGetResources):
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/HAREntry.js:
        (WebInspector.HARLog.prototype.build):
        (WebInspector.HARLog.prototype.buildMainResourceTimings):
        (WebInspector.HARLog.prototype._convertResource):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._reset):
        (WebInspector.NetworkPanel.prototype.get resources):
        (WebInspector.NetworkPanel.prototype.addResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set category):
        * inspector/front-end/ResourceCategory.js:
        (WebInspector.ResourceCategory):
        (WebInspector.ResourceCategory.prototype.toString):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype.willSendRequest):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype.setOverrideContent):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.addResource):
        (WebInspector.ResourcesPanel.prototype.removeResource):
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.addScript):
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
        * inspector/front-end/inspector.js:
        (WebInspector._updateFocusedNode):
        (WebInspector.get networkResources):
        (WebInspector.forAllResources):
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.removeResource):
        (WebInspector.reset):
        (WebInspector.displayNameForURL):
        (WebInspector.linkifyStringAsFragment):
        (WebInspector.resourceURLForRelatedNode.callback):
        (WebInspector.resourceURLForRelatedNode):

2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

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

10 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 17:03:59 +0000 (17:03 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        Test all the changes made in WebCore.

        * storage/indexeddb/constants-expected.txt:
        * storage/indexeddb/constants.html:
        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/index-basics-expected.txt:
        * storage/indexeddb/index-basics.html:
        * storage/indexeddb/index-cursor-expected.txt:
        * storage/indexeddb/index-cursor.html:
        * storage/indexeddb/keyrange-expected.txt:
        * storage/indexeddb/keyrange.html:
        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-cursor-expected.txt:
        * storage/indexeddb/objectstore-cursor.html:
        * storage/indexeddb/open-cursor-expected.txt:
        * storage/indexeddb/open-cursor.html:
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.
        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        If IDBKey returns null, type conversion failed. Handle this case
        in the bindings.

        Change UNKNOWN_ERR to be 1 since 0 is hard coded to mean no error.
        This is just a stop-gap move until we get it figured out in standards
        land.

        IDBObjectStore needs to handle null ranges.

        It's actually OK for m_transaction to be non-null when hitting the
        destructor. We just need to then remove it from the set of pending
        transactions.

        The transaction can become aborted in the middle of processing a
        list of tasks. Fix this.

        All changes (except the last 2 races) are tested in LayoutTests.
        I couldn't find a way to reliably reproduce the races.

        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/test/V8/V8TestObj.cpp:
        (WebCore::TestObjInternal::idbKeyCallback):
        * bindings/v8/IDBBindingUtilities.cpp:
        (WebCore::createIDBKeyFromValue):
        * storage/IDBDatabaseException.h:
        * storage/IDBDatabaseException.idl:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::~IDBRequest):
        (WebCore::IDBRequest::timerFired):
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::taskTimerFired):
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes
        in cursor parameters (which is the correct way). KeyRange knows how
        to convert itself to a WebCore type--even if the value is null.

        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::openCursor):

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

10 years agoLand expected Windows results for new vertical text tests
aroben@apple.com [Tue, 26 Oct 2010 16:55:00 +0000 (16:55 +0000)]
Land expected Windows results for new vertical text tests

* platform/win/fast/blockflow/english-lr-text-expected.checksum: Added.
* platform/win/fast/blockflow/english-lr-text-expected.png: Added.
* platform/win/fast/blockflow/english-lr-text-expected.txt: Added.
* platform/win/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/win/fast/blockflow/english-rl-text-expected.png: Added.
* platform/win/fast/blockflow/english-rl-text-expected.txt: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.checksum: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.png: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.txt: Added.
* platform/win/fast/text/international/vertical-text-metrics-test-expected.txt: Added.

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

10 years ago2010-10-25 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 26 Oct 2010 16:24:43 +0000 (16:24 +0000)]
2010-10-25  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Show cookie data in the request headers in network pane
        https://bugs.webkit.org/show_bug.cgi?id=16531

        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView): Factor out common cookies grid logic to CookiesTable
        (WebInspector.CookieItemsView.prototype._populateDataGrid):
        * inspector/front-end/CookieParser.js: Store cookie type (request/response) within a cookie.
        (WebInspector.CookieParser.prototype.parseCookie):
        (WebInspector.CookieParser.prototype.parseSetCookie):
        (WebInspector.CookieParser.prototype._addCookie):
        (WebInspector.Cookie):
        * inspector/front-end/DataGrid.js:
        (WebInspector.DataGrid.prototype.autoSizeColumns): Optionally, traverse nested nodes when looking for max field widths.
        (WebInspector.DataGrid.prototype._enumerateChildren):
        (WebInspector.DataGrid.prototype.updateWidths): Skip attempt to calculate column widths if grid is not attached to DOM tree yet.
        * inspector/front-end/FontView.js:
        (WebInspector.FontView.prototype.resize):
        * inspector/front-end/ResourceView.js:
        (WebInspector.ResourceView.prototype.resize):
        (WebInspector.ResourceView.prototype._selectTab):
        (WebInspector.ResourceView.prototype._selectCookiesTab):
        (WebInspector.ResourceView.prototype._innerSelectContentTab):
        (WebInspector.ResourceView.prototype._refreshRequestHeaders):
        (WebInspector.ResourceView.prototype._refreshResponseHeaders):
        (WebInspector.ResourceView.prototype._refreshHeaders):
        (WebInspector.ResourceView.prototype._refreshCookies):
        (WebInspector.ResourceCookiesTab):
        (WebInspector.ResourceCookiesTab.prototype.set requestCookies):
        (WebInspector.ResourceCookiesTab.prototype.set responseCookies):
        (WebInspector.ResourceCookiesTab.prototype._populateDataGrid):
        (WebInspector.ResourceCookiesTab.prototype._populateCookies):
        (WebInspector.ResourceCookiesTab.prototype._createFolder):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.resize):
        * inspector/front-end/inspector.css:
        (.resource-view .resource-view-cookies):
        (.resource-view.headers-visible .resource-view-cookies):
        (.resource-view-cookies.table .data-grid):
        (.resource-view-cookies .data-grid .row-group):

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

10 years agoSkip more tests that depend on accelerated compositing when accelerated compositing...
aroben@apple.com [Tue, 26 Oct 2010 16:15:10 +0000 (16:15 +0000)]
Skip more tests that depend on accelerated compositing when accelerated compositing is disabled

Fixes <http://webkit.org/b/48329> Some tests fail when accelerated
compositing is disabled

Reviewed by John Sullivan.

* Scripts/old-run-webkit-tests: Added more tests to skip when
accelerated compositing is disable. The tests all have output that
changes depending on whether accelerated compositing is enabled.

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

10 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
jorlow@chromium.org [Tue, 26 Oct 2010 15:59:05 +0000 (15:59 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70518.
        http://trac.webkit.org/changeset/70518
        https://bugs.webkit.org/show_bug.cgi?id=48332

        Breaks inspector tests. (Requested by pfeldman on #webkit).

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70518.
        http://trac.webkit.org/changeset/70518
        https://bugs.webkit.org/show_bug.cgi?id=48332

        Breaks inspector tests. (Requested by pfeldman on #webkit).

        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        * inspector/front-end/AuditsPanel.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
        (WebInspector.ExtensionServer.prototype._onGetResources):
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/HAREntry.js:
        (WebInspector.HARLog.prototype.build):
        (WebInspector.HARLog.prototype.buildMainResourceTimings):
        (WebInspector.HARLog.prototype._convertResource):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._reset):
        (WebInspector.NetworkPanel.prototype.addResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set category):
        * inspector/front-end/ResourceCategory.js:
        (WebInspector.ResourceCategory):
        (WebInspector.ResourceCategory.prototype.toString):
        (WebInspector.ResourceCategory.prototype.addResource):
        (WebInspector.ResourceCategory.prototype.removeResource):
        (WebInspector.ResourceCategory.prototype.removeAllResources):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype.willSendRequest):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype.setOverrideContent):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.addResource):
        (WebInspector.ResourcesPanel.prototype.removeResource):
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.addScript):
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
        * inspector/front-end/inspector.js:
        (WebInspector._updateFocusedNode):
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.removeResource):
        (WebInspector.reset):
        (WebInspector.displayNameForURL):
        (WebInspector.resourceForURL):
        (WebInspector.linkifyStringAsFragment):
        (WebInspector.resourceURLForRelatedNode):

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

10 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
jorlow@chromium.org [Tue, 26 Oct 2010 15:50:14 +0000 (15:50 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70521.
        http://trac.webkit.org/changeset/70521
        https://bugs.webkit.org/show_bug.cgi?id=48334

        This patch depends on another not yet committed. (Requested by
        jorlow on #webkit).

        * storage/indexeddb/tutorial-expected.txt: Removed.
        * storage/indexeddb/tutorial.html: Removed.

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

10 years ago2010-10-26 Satish Sampath <satish@chromium.org>
satish@chromium.org [Tue, 26 Oct 2010 15:47:29 +0000 (15:47 +0000)]
2010-10-26  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Remove obsolete public/API methods in chromium port.
        https://bugs.webkit.org/show_bug.cgi?id=48330

        * public/WebSpeechInputListener.h:

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

10 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 15:21:32 +0000 (15:21 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        Verify our backing database can handle multiple indexes, objectStores,
        items in the index/object stores, etc within databases of different
        names.

        Also adjust the quota test so it doesn't fail with subtle differences
        in the backing db (which can change the size a bit).

        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/database-quota.html:
        * storage/indexeddb/duplicates-expected.txt: Added.
        * storage/indexeddb/duplicates.html: Added.
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        Merge all databases for each origin into a single SQLiteDatabase.

        Replace the awkward metaData table with a Database table.

        Create a new IDBSQLiteDatabase class that wraps SQLiteDatabase
        and implements weak pointer semantics for IDBFactory. It's ref
        counted so multiple IDBDatabaseBackendImpls can share one.

        Fix uniqueness constraints that were overly conservitive.

        Get rid of the code that blows away existing data every time
        the database is opened.

        Get rid of the fairly useless indexedDB manual test and replace
        it with one that verifies data persists.

        Use name+origin (not just name) in our cache of IDBDatabaseBackend
        objects (so one origin can't access anothers' data).

        Test: storage/indexeddb/duplicates.html

        * WebCore.gypi:
        * manual-tests/indexed-database.html: Removed.
        * manual-tests/indexeddb-persists.html: Added.
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::extractMetaData):
        (WebCore::setMetaData):
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::setDescription):
        (WebCore::IDBDatabaseBackendImpl::sqliteDatabase):
        (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
        (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
        (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
        * storage/IDBDatabaseBackendImpl.h:
        (WebCore::IDBDatabaseBackendImpl::create):
        (WebCore::IDBDatabaseBackendImpl::id):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::removeSQLiteDatabase):
        (WebCore::openSQLiteDatabase):
        (WebCore::createTables):
        (WebCore::IDBFactoryBackendImpl::open):
        (WebCore::IDBFactoryBackendImpl::databaseFileName):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::putObjectStoreData):
        (WebCore::IDBObjectStoreBackendImpl::putInternal):
        * storage/IDBSQLiteDatabase.cpp: Added.
        (WebCore::IDBSQLiteDatabase::IDBSQLiteDatabase):
        (WebCore::IDBSQLiteDatabase::~IDBSQLiteDatabase):
        * storage/IDBSQLiteDatabase.h: Added.
        (WebCore::IDBSQLiteDatabase::create):
        (WebCore::IDBSQLiteDatabase::db):
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        * public/WebIDBFactory.h:
        * public/WebSecurityOrigin.h:
        * src/WebIDBFactory.cpp:
        (WebKit::WebIDBFactory::databaseFileName):
        * src/WebSecurityOrigin.cpp:
        (WebKit::WebSecurityOrigin::get):

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

10 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 15:19:12 +0000 (15:19 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Add IndexedDB test/tutorial
        https://bugs.webkit.org/show_bug.cgi?id=48067

        This document is useful in terms of demonstrating IndexedDB and
        documenting what we do and don't support currently, since I'll be
        maintaining it for at least some time.

        * storage/indexeddb/tutorial-expected.txt: Added.
        * storage/indexeddb/tutorial.html: Added.

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

10 years ago[Qt] Implement SharedMemory for WebKit2
zoltan@webkit.org [Tue, 26 Oct 2010 15:02:21 +0000 (15:02 +0000)]
[Qt] Implement SharedMemory for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=47345

Reviewed by Kenneth Rohde Christiansen.

Implement unimplemented functions in SharedMemoryQt.cpp.
Rename MappedMemory.h to MappedMemoryPool.h, move MappedMemoryPool.{h|cpp} from
Shared/qt to Platform/qt. Modify affected lines of WebKit2.pro.
Move MappedMemory implementation into MappedMemoryPool. Remove unnecessary
methods of MappedMemoryPool.

* Platform/SharedMemory.h: Add a handle member for Qt.
* Platform/qt/MappedMemoryPool.cpp: Copied from WebKit2/Shared/qt/MappedMemoryPool.cpp.
(WebKit::MappedMemoryPool::searchForMappedMemory):
(WebKit::MappedMemoryPool::mapMemory):
(WebKit::MappedMemoryPool::mapFile):
* Platform/qt/MappedMemoryPool.h: Copied from WebKit2/Shared/qt/MappedMemory.h.
(WebKit::MappedMemoryPool::MappedMemory::mapSize):
(WebKit::MappedMemoryPool::MappedMemory::markUsed):
(WebKit::MappedMemoryPool::MappedMemory::markFree):
(WebKit::MappedMemoryPool::MappedMemory::isFree):
(WebKit::MappedMemoryPool::MappedMemory::data):
(WebKit::MappedMemoryPool::MappedMemoryPool):
Move MappedMemory implementation into MappedMemoryPool.
* Platform/qt/SharedMemoryQt.cpp:
(WebKit::SharedMemory::Handle::Handle): Implement.
(WebKit::SharedMemory::Handle::~Handle):
(WebKit::SharedMemory::Handle::isNull): Implement.
(WebKit::SharedMemory::Handle::encode): Implement.
(WebKit::SharedMemory::Handle::decode): Implement.
(WebKit::SharedMemory::create): Implement.
(WebKit::mapProtection): Added.
(WebKit::SharedMemory::~SharedMemory): Implement.
(WebKit::SharedMemory::createHandle): Implement.
(WebKit::SharedMemory::systemPageSize): Implement.
* Shared/qt/MappedMemory.h: Removed.
* Shared/qt/MappedMemoryPool.cpp: Removed.
* Shared/qt/UpdateChunk.cpp:
(WebKit::UpdateChunk::UpdateChunk):
(WebKit::UpdateChunk::decode):
Modify to use MappedMemoryPool.
* Shared/qt/UpdateChunk.h:
* WebKit2.pro:
Modify affected lines.

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

10 years ago2010-10-20 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 26 Oct 2010 14:18:57 +0000 (14:18 +0000)]
2010-10-20  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Inspector needs to use cached resources to display image resources.
        https://bugs.webkit.org/show_bug.cgi?id=16395

        * inspector/Inspector.idl: Add base64Encode parameter to getContent
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::resourceContent):
        * inspector/InspectorResourceAgent.h:
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/ImageView.js:
        (WebInspector.ImageView.prototype.contentTabSelected.onResourceContent):
        (WebInspector.ImageView.prototype.contentTabSelected):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkDataGridNode.prototype._refreshNameCell.):
        (WebInspector.NetworkDataGridNode.prototype._refreshNameCell):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource):
        (WebInspector.Resource.prototype.set finished):
        (WebInspector.Resource.prototype.getContent):
        (WebInspector.Resource.prototype.get contentURL):
        (WebInspector.Resource.prototype._requestContent.onResourceContent):
        (WebInspector.Resource.prototype._requestContent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourceSidebarTreeElement.prototype.createIconElement.):
        (WebInspector.ResourceSidebarTreeElement.prototype.createIconElement):
        * inspector/front-end/Settings.js: Added useDataURLForResourceImageIcons
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):

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

10 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 13:52:40 +0000 (13:52 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

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

10 years ago2010-10-26 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 26 Oct 2010 13:29:04 +0000 (13:29 +0000)]
2010-10-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Protect the frame from being blown away in loadWithDocumentLoader function call.
        dispatchBeforeLoadEvent can cause the frame to be freed, which gets later used in
        continueLoadAfterNavigationPolicy call.
        https://bugs.webkit.org/show_bug.cgi?id=48281

        Test: fast/events/form-iframe-target-before-load-crash.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadWithDocumentLoader):
2010-10-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Tests that submit the form on a removed target iframe does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=48281

        * fast/events/form-iframe-target-before-load-crash-expected.txt: Added.
        * fast/events/form-iframe-target-before-load-crash.html: Added.

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

10 years ago2010-10-26 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 26 Oct 2010 11:37:10 +0000 (11:37 +0000)]
2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Restore another mix-up in copy&paste error. Use height for the
        vertical adjustments instead of width.

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setVerticalAdjustment):

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

10 years ago2010-10-26 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 26 Oct 2010 10:53:22 +0000 (10:53 +0000)]
2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Restore early return accidentally removed in previous
        patch. Should make API tests pass again.

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setHorizontalAdjustment):
        (WebCore::ScrollView::setVerticalAdjustment):

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

10 years agoWebCore:
xan@webkit.org [Tue, 26 Oct 2010 08:37:32 +0000 (08:37 +0000)]
WebCore:

2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port to new GtkScrollable interface in GTK+ 3.x
        https://bugs.webkit.org/show_bug.cgi?id=48202

        The new GtkScrollable API sets the adjustments individually, so
        adjust the code for this fact.

        * platform/ScrollView.h:
        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setHorizontalAdjustment): new method to set the horizontal adjustment.
        (WebCore::ScrollView::setVerticalAdjustment): new method to set the vertical adjustment.
        (WebCore::ScrollView::setGtkAdjustments): make this just call the other two methods.

WebKit/gtk:

2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port to new GtkScrollable interface in GTK+ 3.x
        https://bugs.webkit.org/show_bug.cgi?id=48202

        Use the new GtkScrollable interface when compiling against GTK+
        3.x.

        * webkit/webkitwebview.cpp:
        (setHorizontalAdjustment):
        (setVerticalAdjustment):
        (getHorizontalAdjustment):
        (getVerticalAdjustment):
        (webkit_web_view_get_property):
        (webkit_web_view_set_property):
        (webkit_web_view_class_init):

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

10 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
morrita@google.com [Tue, 26 Oct 2010 08:27:23 +0000 (08:27 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * editing/spelling/spellcheck-attribute-expected.txt:
        * editing/spelling/spellcheck-attribute.html:
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * dom/Element.cpp:
        * dom/Element.h:
        * editing/Editor.cpp:
        (WebCore::markMisspellingsOrBadGrammar):
        (WebCore::Editor::spellCheckingEnabledInFocusedNode):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * editing/Editor.h:
        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):

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

10 years ago2010-10-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Tue, 26 Oct 2010 04:45:34 +0000 (04:45 +0000)]
2010-10-22  MORITA Hajime <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        * editing/spelling/spellcheck-attribute-expected.txt:
        * editing/spelling/spellcheck-attribute.html:
2010-10-24  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        - Added a check for empty string and missing attribute.
        - Extracted the check to Element::spellCheckingEnabled()
        - Introduced SpellcheckAttributeState enum to represent the
          states for spellcheck attributes.

        * dom/Element.cpp:
        (WebCore::Element::spellcheckAttributeState): Added.
        (WebCore::Element::isSpellCheckingEnabled): Added.
        * dom/Element.h:
        * editing/Editor.cpp:
        (WebCore::markMisspellingsOrBadGrammar):
        (WebCore::Editor::isSpellCheckingEnabledInFocusedNode): Renamed, partly extracted to Element::isSpellCheckingEnabled()
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * editing/Editor.h:
        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
2010-10-25  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        Followed API rename in WebCore.

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):

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

10 years ago2010-10-25 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 26 Oct 2010 02:27:22 +0000 (02:27 +0000)]
2010-10-25  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        Refactor HTMLInputElement: Move createRender(), appendFormData(),
        saveFormControlState() and restoreFormControlState() to InputTypes.
        https://bugs.webkit.org/show_bug.cgi?id=47834

        This change adds BaseButtonInputType and BaseCheckableInputType. They
        are super classes of some concrete InputType classes.

        No new tests. Just a code refactoring.

        * CMakeLists.txt: Add BaseButtonInputType and BaseCheckableInputType files.
        * GNUmakefile.am: ditto.
        * WebCore.gypi: ditto.
        * WebCore.pro: ditto.
        * WebCore.vcproj/WebCore.vcproj: ditto.
        * WebCore.xcodeproj/project.pbxproj: ditto.
        * html/BaseButtonInputType.cpp: Added.
        (WebCore::BaseButtonInputType::appendFormData):
        (WebCore::BaseButtonInputType::createRenderer):
        * html/BaseButtonInputType.h: Added.
        (WebCore::BaseButtonInputType::BaseButtonInputType):
        * html/BaseCheckableInputType.cpp: Added.
        (WebCore::BaseCheckableInputType::saveFormControlState):
        (WebCore::BaseCheckableInputType::restoreFormControlState):
        (WebCore::BaseCheckableInputType::appendFormData):
        * html/BaseCheckableInputType.h: Added.
        (WebCore::BaseCheckableInputType::BaseCheckableInputType):
        * html/ButtonInputType.h: Change the super class.
        (WebCore::ButtonInputType::ButtonInputType):
        * html/CheckboxInputType.h: Change the super class.
        (WebCore::CheckboxInputType::CheckboxInputType):
        * html/FileInputType.cpp:
        (WebCore::FileInputType::appendFormData):
        (WebCore::FileInputType::createRenderer):
        * html/FileInputType.h: Change the super class.
        (WebCore::FileInputType::FileInputType):
        * html/HTMLFormControlElement.h:
          Make placeholderShouldBeVisible() public for access from TextFieldInputType.
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::saveFormControlState):
        (WebCore::HTMLInputElement::restoreFormControlState):
        (WebCore::HTMLInputElement::createRenderer):
        (WebCore::HTMLInputElement::appendFormData):
        * html/HTMLInputElement.h:
          Add the following functions for ImageInputType and SubmitInputType.
        (WebCore::HTMLInputElement::xPosition):
        (WebCore::HTMLInputElement::yPosition):
        * html/HiddenInputType.cpp:
        (WebCore::HiddenInputType::createRenderer):
        * html/HiddenInputType.h:
        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::isFormDataAppendable):
        (WebCore::ImageInputType::appendFormData):
        (WebCore::ImageInputType::createRenderer):
        * html/ImageInputType.h: Change the super class.
        (WebCore::ImageInputType::ImageInputType):
        * html/InputType.cpp:
        (WebCore::InputType::saveFormControlState):
        (WebCore::InputType::restoreFormControlState):
        (WebCore::InputType::isFormDataAppendable):
        (WebCore::InputType::appendFormData):
        (WebCore::InputType::createRenderer):
        * html/InputType.h:
        * html/PasswordInputType.cpp:
        (WebCore::PasswordInputType::saveFormControlState):
        (WebCore::PasswordInputType::restoreFormControlState):
        * html/PasswordInputType.h:
        * html/RadioInputType.h: Change the super class.
        (WebCore::RadioInputType::RadioInputType):
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::createRenderer):
        * html/RangeInputType.h:
        * html/ResetInputType.h:
        (WebCore::ResetInputType::ResetInputType):
        * html/SubmitInputType.cpp:
        (WebCore::SubmitInputType::appendFormData):
        * html/SubmitInputType.h: Change the super class.
        (WebCore::SubmitInputType::SubmitInputType):
        * html/TextFieldInputType.cpp:
        (WebCore::TextFieldInputType::createRenderer):
        * html/TextFieldInputType.h:

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

10 years agoWebKit2 callbacks for findString() and countMatchesForString() should report whether...
andersca@apple.com [Tue, 26 Oct 2010 01:51:53 +0000 (01:51 +0000)]
WebKit2 callbacks for findString() and countMatchesForString() should report whether the match count was exceeded
https://bugs.webkit.org/show_bug.cgi?id=48285
<rdar://problem/8576318>

Reviewed by Sam Weinig.

* UIProcess/API/C/WKPage.h:
Add a kWKMoreThanMaximumMatchCount constant.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):
If we get back more matches than allowed, send kWKMoreThanMaximumMatchCount as the match constant.

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

10 years ago2010-10-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Oct 2010 01:06:30 +0000 (01:06 +0000)]
2010-10-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Fix scrolling of noncomposited iframes within composited document
        https://bugs.webkit.org/show_bug.cgi?id=47391

        When an iframe that is painting into a compositing layer is scrolled,
        we need to repaint via the RenderObject (which dirties the compositing layer contents),
        rather than going out to hostWindow.

        Test: compositing/iframes/composited-iframe-scroll.html

        * page/FrameView.cpp:
        (WebCore::FrameView::scrollContentsSlowPath):
        * page/FrameView.h:
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::scrollContents):
        (WebCore::ScrollView::scrollContentsSlowPath):
        * platform/ScrollView.h:

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

10 years ago2010-10-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 26 Oct 2010 00:10:09 +0000 (00:10 +0000)]
2010-10-25  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update. Mark WebGL layout test
        glsl-conformance.html as also failing after Mesa 7.9 upgrade.

        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 26 Oct 2010 00:07:00 +0000 (00:07 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        execCommand('removeFormat') adds extra styles inside tables
        https://bugs.webkit.org/show_bug.cgi?id=29164

        Added a test to ensure RemoveFormat command does not add erroneous style attribute
        when removing styles inside a table cell.

        * editing/execCommand/remove-format-in-table-cell-expected.txt: Added.
        * editing/execCommand/remove-format-in-table-cell.html: Added.

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

10 years agoNon-Carbon build fix.
mitz@apple.com [Mon, 25 Oct 2010 23:52:28 +0000 (23:52 +0000)]
Non-Carbon build fix.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::windowFrameChanged):

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

10 years ago2010-10-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Mon, 25 Oct 2010 23:47:02 +0000 (23:47 +0000)]
2010-10-25  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update. Temporarily WebGL layout
        tests gl-object-get-calls.html and uniform-location.html as
        failing per http://crbug.com/60651 after Mesa 7.9 upgrade until
        the failures can be investigated.

        * platform/chromium/test_expectations.txt:

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

10 years agoStub out WebInspector objects and WKInspectorRef API.
timothy@apple.com [Mon, 25 Oct 2010 23:43:32 +0000 (23:43 +0000)]
Stub out WebInspector objects and WKInspectorRef API.

https://webkit.org/b/48265

Reviewed by Anders Carlsson.

* Platform/CoreIPC/MessageID.h: Added MessageClassWebInspector and MessageClassWebInspectorProxy.
* Shared/API/c/WKBase.h: Added WKInspectorRef.
* Shared/APIObject.h: Added TypeInspector.
* UIProcess/API/C/WKAPICast.h: Added WKInspectorRef to WebInspectorProxy mapping.
* UIProcess/API/C/WKInspector.cpp: Added.
(WKInspectorGetTypeID):
(WKInspectorGetPage):
* UIProcess/API/C/WKInspector.h: Added.
* UIProcess/API/C/WKPage.cpp:
(WKPageGetInspector): Added.
* UIProcess/API/C/WKPage.h:
* UIProcess/WebInspectorProxy.cpp: Added.
(WebKit::WebInspectorProxy::WebInspectorProxy):
(WebKit::WebInspectorProxy::~WebInspectorProxy):
(WebKit::WebInspectorProxy::invalidate):
* UIProcess/WebInspectorProxy.h:
(WebKit::WebInspectorProxy::create):
(WebKit::WebInspectorProxy::page):
(WebKit::WebInspectorProxy::type):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::inspector): Lazily create the WebInspectorProxy.
* UIProcess/WebPageProxy.h:
* WebKit2.pro: Added new files.
* WebKit2.xcodeproj/project.pbxproj: Added new files.
* WebProcess/WebPage/WebInspector.cpp: Added.
(WebKit::WebInspector::WebInspector):
* WebProcess/WebPage/WebInspector.h: Added.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::inspector): Lazily create the WebInspector.
* WebProcess/WebPage/WebPage.h:
* win/WebKit2.vcproj: Added new files.

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

10 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 25 Oct 2010 23:32:12 +0000 (23:32 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Qt build fix for r70496.

        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::numberValue):
        * bridge/qt/qt_pixmapruntime.cpp:
        (JSC::Bindings::QtPixmapWidthField::valueFromInstance):
        (JSC::Bindings::QtPixmapHeightField::valueFromInstance):
        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::convertValueToQVariant):
        (JSC::Bindings::convertQVariantToValue):
        (JSC::Bindings::QtRuntimeMetaMethod::lengthGetter):
        (JSC::Bindings::QtRuntimeConnectionMethod::lengthGetter):

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

10 years ago2010-10-25 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 25 Oct 2010 23:25:51 +0000 (23:25 +0000)]
2010-10-25  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        webkit-patch should clean up svn locks when passed --force-clean
        https://bugs.webkit.org/show_bug.cgi?id=48269

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

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

10 years agoUpdate WebKit2 skipped list.
weinig@apple.com [Mon, 25 Oct 2010 23:22:24 +0000 (23:22 +0000)]
Update WebKit2 skipped list.

Rubber-stamped by Anders Carlsson.

* platform/mac-wk2/Skipped:

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

10 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 25 Oct 2010 23:03:26 +0000 (23:03 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        execCommand removeFormat is blowing away text outside the selection
        https://bugs.webkit.org/show_bug.cgi?id=21843

        Added a test to ensure executing RemoveFormant command on an orphaned list item
        does not remove non-orphaned list items preceding the orphaned item.

        * editing/execCommand/remove-format-orphaned-list-item-expected.txt: Added.
        * editing/execCommand/remove-format-orphaned-list-item.html: Added.

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

10 years agoUpdate the fake Carbon window when the window frame changes
andersca@apple.com [Mon, 25 Oct 2010 22:59:14 +0000 (22:59 +0000)]
Update the fake Carbon window when the window frame changes
https://bugs.webkit.org/show_bug.cgi?id=48273

Reviewed by Dan Bernstein.

* UIProcess/API/mac/WKView.mm:
(screenForWindow):
(-[WKView _updateWindowFrame]):
Pass the window frame in Carbon coordinates.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::windowFrameChanged):
Update the window bounds.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setWindowFrame):
Call the plug-in.

(WebKit::PluginView::platformLayer):
Fix a crash when WebCore asked for the layer before it was initialized.

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

10 years agoUnreviewed.
ossy@webkit.org [Mon, 25 Oct 2010 22:59:08 +0000 (22:59 +0000)]
Unreviewed.

[Qt] DRT sideeffect revealed by r63657
https://bugs.webkit.org/show_bug.cgi?id=42578

Remove incorrect Qt specific expected file for http/tests/security/mixedContent/insecure-css-in-main-frame.html.
Platform independent is the correct one.

Add http/tests/security/mixedContent/insecure-css-in-main-frame.html
to the Skipped list, because it is a flakey test due to this bug.

* platform/qt/Skipped:
* platform/qt/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt: Removed.

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

10 years ago2010-10-25 Andy Estes <aestes@apple.com>
aestes@apple.com [Mon, 25 Oct 2010 22:48:38 +0000 (22:48 +0000)]
2010-10-25  Andy Estes  <aestes@apple.com>

        Reviewed by Simon Fraser.

        Source change by Simon Fraser.

        Setting an element's visibility property to visible has no effect when
        it has a hidden parent.
        https://bugs.webkit.org/show_bug.cgi?id=48267

        Test: fast/layers/visible-layer-with-hidden-parent.html

        When a layer is hidden, there is an optimization that removes it from
        the layer tree. If the layer is made visible again, it would only mark
        its own stacking context's z-order list as dirty. If there are hidden
        parent layers, they need to be marked dirty as well so layers with
        visible descendents are re-added to the layer tree.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::setHasVisibleContent): Dirty the z-order lists of
        all parent stacking context render layers up to and including the first
        visible stacking context.
2010-10-25  Andy Estes  <aestes@apple.com>

        Reviewed by Simon Fraser.

        Setting an element's visibility property to visible has no effect when
        it has a hidden parent.
        https://bugs.webkit.org/show_bug.cgi?id=48267

        * fast/layers/visible-layer-with-hidden-parent-expected.txt: Added.
        * fast/layers/visible-layer-with-hidden-parent.html: Added.

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

10 years ago2010-10-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 25 Oct 2010 22:40:53 +0000 (22:40 +0000)]
2010-10-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove exec and globalData arguments from jsNumber
        https://bugs.webkit.org/show_bug.cgi?id=48270

        Remove the now unused exec and globalData arguments from jsNumber
        and mechanically update all users of jsNumber.

        * API/JSValueRef.cpp:
        (JSValueMakeNumber):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::emitLoad):
        * bytecompiler/NodesCodegen.cpp:
        (JSC::ArrayNode::emitBytecode):
        * jit/JITArithmetic.cpp:
        (JSC::JIT::emit_op_mod):
        * jit/JITArithmetic32_64.cpp:
        (JSC::JIT::emit_op_mod):
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_jfalse):
        (JSC::JIT::emit_op_jtrue):
        * jit/JITStubs.cpp:
        (JSC::DEFINE_STUB_FUNCTION):
        * jsc.cpp:
        (functionRun):
        * runtime/Arguments.cpp:
        (JSC::Arguments::getOwnPropertySlot):
        (JSC::Arguments::getOwnPropertyDescriptor):
        * runtime/ArrayConstructor.cpp:
        (JSC::ArrayConstructor::ArrayConstructor):
        * runtime/ArrayPrototype.cpp:
        (JSC::arrayProtoFuncPop):
        (JSC::arrayProtoFuncPush):
        (JSC::arrayProtoFuncShift):
        (JSC::arrayProtoFuncSplice):
        (JSC::arrayProtoFuncUnShift):
        (JSC::arrayProtoFuncFilter):
        (JSC::arrayProtoFuncMap):
        (JSC::arrayProtoFuncEvery):
        (JSC::arrayProtoFuncForEach):
        (JSC::arrayProtoFuncSome):
        (JSC::arrayProtoFuncReduce):
        (JSC::arrayProtoFuncReduceRight):
        (JSC::arrayProtoFuncIndexOf):
        (JSC::arrayProtoFuncLastIndexOf):
        * runtime/BooleanConstructor.cpp:
        (JSC::BooleanConstructor::BooleanConstructor):
        * runtime/CachedTranscendentalFunction.h:
        (JSC::CachedTranscendentalFunction::operator()):
        * runtime/DateConstructor.cpp:
        (JSC::DateConstructor::DateConstructor):
        (JSC::dateParse):
        (JSC::dateNow):
        (JSC::dateUTC):
        * runtime/DateInstance.cpp:
        (JSC::DateInstance::DateInstance):
        * runtime/DatePrototype.cpp:
        (JSC::dateProtoFuncGetFullYear):
        (JSC::dateProtoFuncGetUTCFullYear):
        (JSC::dateProtoFuncGetMonth):
        (JSC::dateProtoFuncGetUTCMonth):
        (JSC::dateProtoFuncGetDate):
        (JSC::dateProtoFuncGetUTCDate):
        (JSC::dateProtoFuncGetDay):
        (JSC::dateProtoFuncGetUTCDay):
        (JSC::dateProtoFuncGetHours):
        (JSC::dateProtoFuncGetUTCHours):
        (JSC::dateProtoFuncGetMinutes):
        (JSC::dateProtoFuncGetUTCMinutes):
        (JSC::dateProtoFuncGetSeconds):
        (JSC::dateProtoFuncGetUTCSeconds):
        (JSC::dateProtoFuncGetMilliSeconds):
        (JSC::dateProtoFuncGetUTCMilliseconds):
        (JSC::dateProtoFuncGetTimezoneOffset):
        (JSC::dateProtoFuncSetTime):
        (JSC::setNewValueFromTimeArgs):
        (JSC::setNewValueFromDateArgs):
        (JSC::dateProtoFuncSetYear):
        (JSC::dateProtoFuncGetYear):
        * runtime/Error.cpp:
        (JSC::addErrorSourceInfo):
        (JSC::addErrorDivotInfo):
        * runtime/ErrorConstructor.cpp:
        (JSC::ErrorConstructor::ErrorConstructor):
        * runtime/FunctionConstructor.cpp:
        (JSC::FunctionConstructor::FunctionConstructor):
        * runtime/FunctionPrototype.cpp:
        (JSC::FunctionPrototype::FunctionPrototype):
        * runtime/JSArray.cpp:
        (JSC::JSArray::getOwnPropertySlot):
        (JSC::JSArray::getOwnPropertyDescriptor):
        * runtime/JSByteArray.cpp:
        (JSC::JSByteArray::JSByteArray):
        * runtime/JSByteArray.h:
        (JSC::JSByteArray::getIndex):
        * runtime/JSFunction.cpp:
        (JSC::JSFunction::JSFunction):
        (JSC::JSFunction::lengthGetter):
        (JSC::JSFunction::getOwnPropertyDescriptor):
        * runtime/JSGlobalObject.cpp:
        (JSC::JSGlobalObject::reset):
        * runtime/JSGlobalObjectFunctions.cpp:
        (JSC::globalFuncParseInt):
        (JSC::globalFuncParseFloat):
        * runtime/JSNumberCell.h:
        (JSC::JSValue::JSValue):
        (JSC::jsNaN):
        (JSC::JSValue::toJSNumber):
        * runtime/JSONObject.cpp:
        (JSC::unwrapBoxedPrimitive):
        (JSC::PropertyNameForFunctionCall::value):
        (JSC::JSONStringify):
        * runtime/JSString.cpp:
        (JSC::JSString::getStringPropertyDescriptor):
        * runtime/JSString.h:
        (JSC::JSString::getStringPropertySlot):
        * runtime/JSValue.h:
        (JSC::jsDoubleNumber):
        (JSC::jsNumber):
        (JSC::jsNaN):
        (JSC::JSValue::JSValue):
        (JSC::JSValue::toJSNumber):
        * runtime/LiteralParser.cpp:
        (JSC::LiteralParser::parse):
        * runtime/MathObject.cpp:
        (JSC::MathObject::MathObject):
        (JSC::mathProtoFuncAbs):
        (JSC::mathProtoFuncACos):
        (JSC::mathProtoFuncASin):
        (JSC::mathProtoFuncATan):
        (JSC::mathProtoFuncATan2):
        (JSC::mathProtoFuncCeil):
        (JSC::mathProtoFuncCos):
        (JSC::mathProtoFuncExp):
        (JSC::mathProtoFuncFloor):
        (JSC::mathProtoFuncLog):
        (JSC::mathProtoFuncMax):
        (JSC::mathProtoFuncMin):
        (JSC::mathProtoFuncPow):
        (JSC::mathProtoFuncRandom):
        (JSC::mathProtoFuncRound):
        (JSC::mathProtoFuncSin):
        (JSC::mathProtoFuncSqrt):
        (JSC::mathProtoFuncTan):
        * runtime/NativeErrorConstructor.cpp:
        (JSC::NativeErrorConstructor::NativeErrorConstructor):
        * runtime/NumberConstructor.cpp:
        (JSC::NumberConstructor::NumberConstructor):
        (JSC::numberConstructorNaNValue):
        (JSC::numberConstructorNegInfinity):
        (JSC::numberConstructorPosInfinity):
        (JSC::numberConstructorMaxValue):
        (JSC::numberConstructorMinValue):
        (JSC::constructWithNumberConstructor):
        (JSC::callNumberConstructor):
        * runtime/NumberPrototype.cpp:
        (JSC::NumberPrototype::NumberPrototype):
        * runtime/ObjectConstructor.cpp:
        (JSC::ObjectConstructor::ObjectConstructor):
        * runtime/Operations.cpp:
        (JSC::jsAddSlowCase):
        * runtime/Operations.h:
        (JSC::jsAdd):
        * runtime/PrototypeFunction.cpp:
        (JSC::PrototypeFunction::PrototypeFunction):
        * runtime/RegExpConstructor.cpp:
        (JSC::RegExpConstructor::RegExpConstructor):
        (JSC::RegExpMatchesArray::fillArrayInstance):
        * runtime/RegExpObject.cpp:
        (JSC::regExpObjectLastIndex):
        * runtime/StringConstructor.cpp:
        (JSC::StringConstructor::StringConstructor):
        * runtime/StringPrototype.cpp:
        (JSC::StringPrototype::StringPrototype):
        (JSC::stringProtoFuncReplace):
        (JSC::stringProtoFuncCharCodeAt):
        (JSC::stringProtoFuncIndexOf):
        (JSC::stringProtoFuncLastIndexOf):
        (JSC::stringProtoFuncSearch):
        (JSC::stringProtoFuncLocaleCompare):
2010-10-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove exec and globalData arguments from jsNumber
        https://bugs.webkit.org/show_bug.cgi?id=48270

        Don't pass exec to jsNumber

        * JSUtils.cpp:
        (JSObjectKJSValue):
        * UserObjectImp.cpp:
        (UserObjectImp::toPrimitive):
2010-10-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove exec and globalData arguments from jsNumber
        https://bugs.webkit.org/show_bug.cgi?id=48270

        Mechanical removal of exec parameter to jsNumber.

        * bindings/js/JSAudioConstructor.cpp:
        (WebCore::JSAudioConstructor::JSAudioConstructor):
        * bindings/js/JSCSSStyleDeclarationCustom.cpp:
        (WebCore::JSCSSStyleDeclaration::nameGetter):
        * bindings/js/JSCoordinatesCustom.cpp:
        (WebCore::JSCoordinates::altitude):
        (WebCore::JSCoordinates::altitudeAccuracy):
        (WebCore::JSCoordinates::heading):
        (WebCore::JSCoordinates::speed):
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::setTimeout):
        (WebCore::JSDOMWindow::setInterval):
        * bindings/js/JSDeviceMotionEventCustom.cpp:
        (WebCore::createAccelerationObject):
        (WebCore::createRotationRateObject):
        (WebCore::JSDeviceMotionEvent::interval):
        * bindings/js/JSDeviceOrientationEventCustom.cpp:
        (WebCore::JSDeviceOrientationEvent::alpha):
        (WebCore::JSDeviceOrientationEvent::beta):
        (WebCore::JSDeviceOrientationEvent::gamma):
        * bindings/js/JSGeolocationCustom.cpp:
        (WebCore::JSGeolocation::watchPosition):
        * bindings/js/JSHTMLInputElementCustom.cpp:
        (WebCore::JSHTMLInputElement::selectionStart):
        (WebCore::JSHTMLInputElement::selectionEnd):
        * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
        (WebCore::JSHTMLOptionsCollection::length):
        * bindings/js/JSIDBKeyCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::createInjectedScript):
        (WebCore::JSInjectedScriptHost::pushNodePathToFrontend):
        * bindings/js/JSOptionConstructor.cpp:
        (WebCore::JSOptionConstructor::JSOptionConstructor):
        * bindings/js/JSSQLResultSetRowListCustom.cpp:
        (WebCore::JSSQLResultSetRowList::item):
        * bindings/js/JSSVGLengthCustom.cpp:
        (WebCore::JSSVGLength::value):
        * bindings/js/JSScriptProfileNodeCustom.cpp:
        (WebCore::JSScriptProfileNode::callUID):
        * bindings/js/JSWebGLRenderingContextCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSWorkerContextCustom.cpp:
        (WebCore::JSWorkerContext::setTimeout):
        (WebCore::JSWorkerContext::setInterval):
        * bindings/js/JSWorkerContextErrorHandler.cpp:
        (WebCore::JSWorkerContextErrorHandler::handleEvent):
        * bindings/js/ScriptFunctionCall.cpp:
        (WebCore::ScriptCallArgumentHandler::appendArgument):
        * bindings/js/SerializedScriptValue.cpp:
        (WebCore::CloneDeserializer::readTerminal):
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/c/c_instance.cpp:
        (JSC::Bindings::CInstance::numberValue):
        * bridge/c/c_utility.cpp:
        (JSC::Bindings::convertNPVariantToValue):
        * bridge/jni/jsc/JNIBridgeJSC.cpp:
        (JavaField::valueFromInstance):
        (JavaArray::valueAt):
        * bridge/jni/jsc/JavaInstanceJSC.cpp:
        (JavaInstance::numberValue):
        (JavaInstance::invokeMethod):
        * bridge/objc/objc_instance.mm:
        (ObjcInstance::numberValue):
        * bridge/objc/objc_utility.mm:
        (JSC::Bindings::convertObjcValueToValue):
        * bridge/runtime_array.cpp:
        (JSC::RuntimeArray::lengthGetter):
        * bridge/runtime_method.cpp:
        (JSC::RuntimeMethod::lengthGetter):
2010-10-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove exec and globalData arguments from jsNumber
        https://bugs.webkit.org/show_bug.cgi?id=48270

        Mechanical removal of exec parameter to jsNumber

        * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
        (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):
        * Plugins/Hosted/ProxyInstance.mm:
        (WebKit::ProxyInstance::numberValue):
2010-10-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove exec and globalData arguments from jsNumber
        https://bugs.webkit.org/show_bug.cgi?id=48270

        Mechanical removal of exec parameter to jsNumber

        * WebProcess/Plugins/NPRuntimeObjectMap.cpp:
        (WebKit::NPRuntimeObjectMap::convertNPVariantToJSValue):

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

10 years ago2010-10-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 25 Oct 2010 22:21:48 +0000 (22:21 +0000)]
2010-10-25  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Snow Leopard rebaseline of animations, compositing, css1,
        css3, dom, and fast/backgrounds.

        * platform/mac-leopard/animations/state-at-end-event-expected.checksum: Copied from LayoutTests/platform/mac/animations/state-at-end-event-expected.checksum.
        * platform/mac-leopard/animations/state-at-end-event-expected.png: Copied from LayoutTests/platform/mac/animations/state-at-end-event-expected.png.
        * platform/mac-leopard/compositing/generated-content-expected.checksum: Copied from LayoutTests/platform/mac/compositing/generated-content-expected.checksum.
        * platform/mac-leopard/compositing/generated-content-expected.png: Copied from LayoutTests/platform/mac/compositing/generated-content-expected.png.
        * platform/mac-leopard/compositing/geometry/composited-html-size-expected.checksum: Copied from LayoutTests/platform/mac/compositing/geometry/composited-html-size-expected.checksum.
        * platform/mac-leopard/compositing/geometry/composited-html-size-expected.png: Copied from LayoutTests/platform/mac/compositing/geometry/composited-html-size-expected.png.
        * platform/mac-leopard/compositing/geometry/outline-change-expected.checksum: Copied from LayoutTests/platform/mac/compositing/geometry/outline-change-expected.checksum.
        * platform/mac-leopard/compositing/geometry/outline-change-expected.png: Copied from LayoutTests/platform/mac/compositing/geometry/outline-change-expected.png.
        * platform/mac-leopard/compositing/iframes/composited-iframe-alignment-expected.checksum: Copied from LayoutTests/platform/mac/compositing/iframes/composited-iframe-alignment-expected.checksum.
        * platform/mac-leopard/compositing/iframes/composited-iframe-alignment-expected.png: Copied from LayoutTests/platform/mac/compositing/iframes/composited-iframe-alignment-expected.png.
        * platform/mac-leopard/compositing/iframes/iframe-in-composited-layer-expected.checksum: Copied from LayoutTests/platform/mac/compositing/iframes/iframe-in-composited-layer-expected.checksum.
        * platform/mac-leopard/compositing/iframes/iframe-in-composited-layer-expected.png: Copied from LayoutTests/platform/mac/compositing/iframes/iframe-in-composited-layer-expected.png.
        * platform/mac-leopard/compositing/overflow/parent-overflow-expected.checksum: Copied from LayoutTests/platform/mac/compositing/overflow/parent-overflow-expected.checksum.
        * platform/mac-leopard/compositing/overflow/parent-overflow-expected.png: Copied from LayoutTests/platform/mac/compositing/overflow/parent-overflow-expected.png.
        * platform/mac-leopard/compositing/sibling-positioning-expected.checksum: Copied from LayoutTests/platform/mac/compositing/sibling-positioning-expected.checksum.
        * platform/mac-leopard/compositing/sibling-positioning-expected.png: Copied from LayoutTests/platform/mac/compositing/sibling-positioning-expected.png.
        * platform/mac-leopard/css1/box_properties/acid_test-expected.checksum: Copied from LayoutTests/platform/mac/css1/box_properties/acid_test-expected.checksum.
        * platform/mac-leopard/css1/box_properties/acid_test-expected.png: Copied from LayoutTests/platform/mac/css1/box_properties/acid_test-expected.png.
        * platform/mac-leopard/css1/box_properties/float_margin-expected.checksum: Copied from LayoutTests/platform/mac/css1/box_properties/float_margin-expected.checksum.
        * platform/mac-leopard/css1/box_properties/float_margin-expected.png: Copied from LayoutTests/platform/mac/css1/box_properties/float_margin-expected.png.
        * platform/mac-leopard/css1/box_properties/width-expected.checksum: Copied from LayoutTests/platform/mac/css1/box_properties/width-expected.checksum.
        * platform/mac-leopard/css1/box_properties/width-expected.png: Copied from LayoutTests/platform/mac/css1/box_properties/width-expected.png.
        * platform/mac-leopard/css1/conformance/forward_compatible_parsing-expected.checksum: Copied from LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.checksum.
        * platform/mac-leopard/css1/conformance/forward_compatible_parsing-expected.png: Copied from LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.png.
        * platform/mac-leopard/css1/font_properties/font_variant-expected.checksum: Copied from LayoutTests/platform/mac/css1/font_properties/font_variant-expected.checksum.
        * platform/mac-leopard/css1/font_properties/font_variant-expected.png: Copied from LayoutTests/platform/mac/css1/font_properties/font_variant-expected.png.
        * platform/mac-leopard/css3/css3-modsel-33-expected.checksum: Copied from LayoutTests/platform/mac/css3/css3-modsel-33-expected.checksum.
        * platform/mac-leopard/css3/css3-modsel-33-expected.png: Copied from LayoutTests/platform/mac/css3/css3-modsel-33-expected.png.
        * platform/mac-leopard/css3/css3-modsel-35-expected.checksum: Copied from LayoutTests/platform/mac/css3/css3-modsel-35-expected.checksum.
        * platform/mac-leopard/css3/css3-modsel-35-expected.png: Copied from LayoutTests/platform/mac/css3/css3-modsel-35-expected.png.
        * platform/mac-leopard/css3/css3-modsel-36-expected.checksum: Copied from LayoutTests/platform/mac/css3/css3-modsel-36-expected.checksum.
        * platform/mac-leopard/css3/css3-modsel-36-expected.png: Copied from LayoutTests/platform/mac/css3/css3-modsel-36-expected.png.
        * platform/mac-leopard/css3/css3-modsel-37-expected.checksum: Copied from LayoutTests/platform/mac/css3/css3-modsel-37-expected.checksum.
        * platform/mac-leopard/css3/css3-modsel-37-expected.png: Copied from LayoutTests/platform/mac/css3/css3-modsel-37-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/documentgetinputencoding03-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/documentgetinputencoding03-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/documentgetinputencoding03-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/documentgetinputencoding03-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/entitygetinputencoding02-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/entitygetinputencoding02-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/entitygetinputencoding02-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/entitygetinputencoding02-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/entitygetxmlversion02-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/entitygetxmlversion02-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/entitygetxmlversion02-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/entitygetxmlversion02-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri05-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri05-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri05-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri05-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri07-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri07-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri07-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri07-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri09-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri09-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri09-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri09-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri10-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri10-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri10-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri10-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri11-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri11-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri11-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri11-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri15-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri15-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri15-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri15-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri17-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri17-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri17-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri17-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri18-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri18-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodegetbaseuri18-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodegetbaseuri18-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.png.
        * platform/mac-leopard/dom/xhtml/level3/core/nodelookupprefix19-expected.checksum: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodelookupprefix19-expected.checksum.
        * platform/mac-leopard/dom/xhtml/level3/core/nodelookupprefix19-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/nodelookupprefix19-expected.png.
        * platform/mac-leopard/fast/backgrounds/001-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/001-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/001-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/001-expected.png.
        * platform/mac-leopard/fast/backgrounds/animated-gif-as-background-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/animated-gif-as-background-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/animated-gif-as-background-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/animated-gif-as-background-expected.png.
        * platform/mac-leopard/fast/backgrounds/background-clip-text-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/background-clip-text-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/background-clip-text-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/background-clip-text-expected.png.
        * platform/mac-leopard/fast/backgrounds/background-inherit-color-bug-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/background-inherit-color-bug-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.png.
        * platform/mac-leopard/fast/backgrounds/background-origin-root-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/background-origin-root-element-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/background-origin-root-element-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/background-origin-root-element-expected.png.
        * platform/mac-leopard/fast/backgrounds/background-position-1-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/background-position-1-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/background-position-1-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/background-position-1-expected.png.
        * platform/mac-leopard/fast/backgrounds/background-position-rounding-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/background-position-rounding-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/background-position-rounding-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/background-position-rounding-expected.png.
        * platform/mac-leopard/fast/backgrounds/body-generated-image-propagated-to-root-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/body-generated-image-propagated-to-root-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/body-generated-image-propagated-to-root-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/body-generated-image-propagated-to-root-expected.png.
        * platform/mac-leopard/fast/backgrounds/opacity-on-document-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/opacity-on-document-element-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/opacity-on-document-element-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/opacity-on-document-element-expected.png.
        * platform/mac-leopard/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png.
        * platform/mac-leopard/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize02-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize02-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize02-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize02-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize04-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize04-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize04-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize04-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize13-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize13-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize13-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize13-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize14-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize14-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize14-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize14-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize15-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize15-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize15-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize15-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize16-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/backgroundSize16-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/backgroundSize16-expected.png.
        * platform/mac-leopard/fast/backgrounds/size/zero-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/size/zero-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/size/zero-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/size/zero-expected.png.
        * platform/mac-leopard/fast/backgrounds/solid-color-context-restore-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/solid-color-context-restore-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/solid-color-context-restore-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/solid-color-context-restore-expected.png.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-1-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-1-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-1-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-3-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-3-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-3-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-5-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-5-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-5-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-5-expected.png.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-6-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-6-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-6-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-background-6-expected.png.
        * platform/mac-leopard/fast/backgrounds/svg-as-mask-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-mask-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/svg-as-mask-expected.png: Copied from LayoutTests/platform/mac/fast/backgrounds/svg-as-mask-expected.png.
        * platform/mac/animations/state-at-end-event-expected.checksum:
        * platform/mac/animations/state-at-end-event-expected.png:
        * platform/mac/compositing/generated-content-expected.checksum:
        * platform/mac/compositing/generated-content-expected.png:
        * platform/mac/compositing/geometry/composited-html-size-expected.checksum:
        * platform/mac/compositing/geometry/composited-html-size-expected.png:
        * platform/mac/compositing/geometry/outline-change-expected.checksum:
        * platform/mac/compositing/geometry/outline-change-expected.png:
        * platform/mac/compositing/geometry/tall-page-composited-expected.checksum: Added.
        * platform/mac/compositing/geometry/tall-page-composited-expected.png: Added.
        * platform/mac/compositing/iframes/composited-iframe-alignment-expected.checksum:
        * platform/mac/compositing/iframes/composited-iframe-alignment-expected.png:
        * platform/mac/compositing/iframes/iframe-in-composited-layer-expected.checksum:
        * platform/mac/compositing/iframes/iframe-in-composited-layer-expected.png:
        * platform/mac/compositing/overflow/parent-overflow-expected.checksum:
        * platform/mac/compositing/overflow/parent-overflow-expected.png:
        * platform/mac/compositing/sibling-positioning-expected.checksum:
        * platform/mac/compositing/sibling-positioning-expected.png:
        * platform/mac/css1/box_properties/acid_test-expected.checksum:
        * platform/mac/css1/box_properties/acid_test-expected.png:
        * platform/mac/css1/box_properties/float_margin-expected.checksum:
        * platform/mac/css1/box_properties/float_margin-expected.png:
        * platform/mac/css1/box_properties/width-expected.checksum:
        * platform/mac/css1/box_properties/width-expected.png:
        * platform/mac/css1/conformance/forward_compatible_parsing-expected.checksum:
        * platform/mac/css1/conformance/forward_compatible_parsing-expected.png:
        * platform/mac/css1/font_properties/font_variant-expected.checksum:
        * platform/mac/css1/font_properties/font_variant-expected.png:
        * platform/mac/css3/css3-modsel-33-expected.checksum:
        * platform/mac/css3/css3-modsel-33-expected.png:
        * platform/mac/css3/css3-modsel-35-expected.checksum:
        * platform/mac/css3/css3-modsel-35-expected.png:
        * platform/mac/css3/css3-modsel-36-expected.checksum:
        * platform/mac/css3/css3-modsel-36-expected.png:
        * platform/mac/css3/css3-modsel-37-expected.checksum:
        * platform/mac/css3/css3-modsel-37-expected.png:
        * platform/mac/dom/xhtml/level3/core/documentgetinputencoding03-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/documentgetinputencoding03-expected.png:
        * platform/mac/dom/xhtml/level3/core/entitygetinputencoding02-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/entitygetinputencoding02-expected.png:
        * platform/mac/dom/xhtml/level3/core/entitygetxmlversion02-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/entitygetxmlversion02-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri05-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri05-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri07-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri07-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri09-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri09-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri10-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri10-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri11-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri11-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri15-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri15-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri17-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri17-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri18-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodegetbaseuri18-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodelookupnamespaceuri01-expected.png:
        * platform/mac/dom/xhtml/level3/core/nodelookupprefix19-expected.checksum:
        * platform/mac/dom/xhtml/level3/core/nodelookupprefix19-expected.png:
        * platform/mac/fast/backgrounds/001-expected.checksum:
        * platform/mac/fast/backgrounds/001-expected.png:
        * platform/mac/fast/backgrounds/animated-gif-as-background-expected.checksum:
        * platform/mac/fast/backgrounds/animated-gif-as-background-expected.png:
        * platform/mac/fast/backgrounds/background-clip-text-expected.checksum:
        * platform/mac/fast/backgrounds/background-clip-text-expected.png:
        * platform/mac/fast/backgrounds/background-inherit-color-bug-expected.checksum:
        * platform/mac/fast/backgrounds/background-inherit-color-bug-expected.png:
        * platform/mac/fast/backgrounds/background-origin-root-element-expected.checksum:
        * platform/mac/fast/backgrounds/background-origin-root-element-expected.png:
        * platform/mac/fast/backgrounds/background-position-1-expected.checksum:
        * platform/mac/fast/backgrounds/background-position-1-expected.png:
        * platform/mac/fast/backgrounds/background-position-rounding-expected.checksum:
        * platform/mac/fast/backgrounds/background-position-rounding-expected.png:
        * platform/mac/fast/backgrounds/body-generated-image-propagated-to-root-expected.checksum:
        * platform/mac/fast/backgrounds/body-generated-image-propagated-to-root-expected.png:
        * platform/mac/fast/backgrounds/opacity-on-document-element-expected.checksum:
        * platform/mac/fast/backgrounds/opacity-on-document-element-expected.png:
        * platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.checksum:
        * platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
        * platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum:
        * platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize02-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize02-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize04-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize04-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize13-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize13-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize14-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize14-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize15-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize15-expected.png:
        * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum:
        * platform/mac/fast/backgrounds/size/backgroundSize16-expected.png:
        * platform/mac/fast/backgrounds/size/zero-expected.checksum:
        * platform/mac/fast/backgrounds/size/zero-expected.png:
        * platform/mac/fast/backgrounds/solid-color-context-restore-expected.checksum:
        * platform/mac/fast/backgrounds/solid-color-context-restore-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-1-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-1-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-3-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-3-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.png:
        * platform/mac/fast/backgrounds/svg-as-mask-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-mask-expected.png:

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

10 years ago2010-10-25 Satish Sampath <satish@chromium.org>
satish@chromium.org [Mon, 25 Oct 2010 22:19:40 +0000 (22:19 +0000)]
2010-10-25  Satish Sampath  <satish@chromium.org>

        Unreviewed, fix for a build break caused by my earlier patch.

        * public/WebSpeechInputListener.h:
        (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.

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

10 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 25 Oct 2010 22:17:46 +0000 (22:17 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Ojan Vafai.

        Unformat deletes images
        https://bugs.webkit.org/show_bug.cgi?id=17926

        * editing/execCommand/remove-format-image-expected.txt: Added.
        * editing/execCommand/remove-format-image.html: Added.

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

10 years ago2010-10-25 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 25 Oct 2010 21:37:34 +0000 (21:37 +0000)]
2010-10-25  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Added expectations for r70482.
        https://bugs.webkit.org/show_bug.cgi?id=48257

        * platform/chromium-linux/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-linux/fast/blockflow/english-rl-text-expected.checksum: Added.
        * platform/chromium-mac/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.png: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.txt: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.png: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.txt: Added.

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

10 years agoReplace matchCountDidChange with didFindString/didFailToFindString
andersca@apple.com [Mon, 25 Oct 2010 21:29:32 +0000 (21:29 +0000)]
Replace matchCountDidChange with didFindString/didFailToFindString
https://bugs.webkit.org/show_bug.cgi?id=48262
<rdar://problem/8568928>

Reviewed by Darin Adler.

* UIProcess/API/C/WKPage.h:
* UIProcess/WebFindClient.cpp:
(WebKit::WebFindClient::didFindString):
(WebKit::WebFindClient::didFailToFindString):
* UIProcess/WebFindClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFindString):
(WebKit::WebPageProxy::didFailToFindString):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):

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

10 years ago2010-10-21 Satish Sampath <satish@chromium.org>
satish@chromium.org [Mon, 25 Oct 2010 21:10:27 +0000 (21:10 +0000)]
2010-10-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Allow embedder to pass on all the speech recognition results to the input element.
        https://bugs.webkit.org/show_bug.cgi?id=48068

        No new tests added as functionality has not changed, tests will be added in the next
        patch where these results are exposed as an attribute to scripts.

        * Android.mk: Added new source files.
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * page/SpeechInput.cpp:
        (WebCore::SpeechInput::setRecognitionResult): Accept an array instead of a single string.
        * page/SpeechInput.h:
        * page/SpeechInputListener.h:
        * page/SpeechInputResult.cpp: Added, defines a class for managing a speech input result.
        (WebCore::SpeechInputResult::create):
        (WebCore::SpeechInputResult::SpeechInputResult):
        (WebCore::SpeechInputResult::confidence):
        (WebCore::SpeechInputResult::utterance):
        * page/SpeechInputResult.h: Added.
        * platform/mock/SpeechInputClientMock.cpp:
        (WebCore::SpeechInputClientMock::timerFired):
        * rendering/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
        * rendering/TextControlInnerElements.h:
2010-10-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Allow embedder to pass on all the speech recognition results to the input element.
        https://bugs.webkit.org/show_bug.cgi?id=48068

        * WebKit.gyp: Added new files
        * public/WebSpeechInputListener.h:
        * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
        (WebKit::WebSpeechInputResult::WebSpeechInputResult):
        (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
        * src/SpeechInputClientImpl.cpp:
        (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
        * src/SpeechInputClientImpl.h:
        * src/WebSpeechInputControllerMockImpl.cpp:
        (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
        * src/WebSpeechInputControllerMockImpl.h:
        * src/WebSpeechInputResult.cpp: Added.
        (WebKit::WebSpeechInputResult::reset):
        (WebKit::WebSpeechInputResult::WebSpeechInputResult):
        (WebKit::WebSpeechInputResult::set):
        (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):

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

10 years ago2010-10-25 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 25 Oct 2010 21:02:15 +0000 (21:02 +0000)]
2010-10-25  Dimitri Glazkov  <dglazkov@chromium.org>

        Added more flakiness expectations.
        https://bugs.webkit.org/show_bug.cgi?id=48263

        * platform/chromium/test_expectations.txt: Added flaky timeout.

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

10 years agoSupport appending an ArrayBuffer object in BlobBuilder
jianli@chromium.org [Mon, 25 Oct 2010 20:45:07 +0000 (20:45 +0000)]
Support appending an ArrayBuffer object in BlobBuilder
https://bugs.webkit.org/show_bug.cgi?id=47701

Reviewed by David Levin.

WebCore:

Test cases have been added to read-blob-test-cases.js.

* fileapi/BlobBuilder.cpp:
(WebCore::BlobBuilder::getBuffer):
(WebCore::BlobBuilder::append): Removed bool return values since they
weren't used.
* fileapi/BlobBuilder.h:
* fileapi/BlobBuilder.idl:

LayoutTests:

* fast/files/read-blob-async-expected.txt:
* fast/files/resources/read-blob-test-cases.js:
(testReadingSingleArrayBufferBlob):
(testReadingSlicedArrayBufferBlob):
(testReadingMultipleArrayBufferBlob):
(testReadingHybridBlob):
(testReadingSlicedHybridBlob):
(testReadingTripleSlicedHybridBlob):
* fast/files/workers/worker-read-blob-async-expected.txt:
* fast/files/workers/worker-read-blob-sync-expected.txt:

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

10 years ago2010-10-25 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Mon, 25 Oct 2010 20:43:25 +0000 (20:43 +0000)]
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Glue layer (WebCoreSupport) changes to allow connecting TextureMapper to a Qt PageClient, i.e.
        a QWebView or a QGraphicsWebView. This enables the new type, TextureMapperPlatformLayer, to be recognized both by
        the compositor and by the page client.
        Note that this is temporarily an opt-in, under USE(TEXTURE_MAPPER)

        No new tests: the existing tests under LayoutTests/compositing already cover this.

        * platform/graphics/GraphicsLayer.h:
        * platform/qt/QWebPageClient.h:
        (QWebPageClient::setRootGraphicsLayer):
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Glue layer (WebCoreSupport) changes to allow connecting TextureMapper to a Qt PageClient, i.e.
        a QWebView or a QGraphicsWebView. This enables the new type, TextureMapperPlatformLayer, to be recognized both by
        the compositor and by the page client.
        Note that this is temporarily an opt-in, under USE(TEXTURE_MAPPER)

        * Api/qwebframe.h:
        * Api/qwebframe_p.h:
        (QWebFramePrivate::QWebFramePrivate):
        * Api/qwebpage.cpp:
        (QWebPage::setView):
        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::attachRootGraphicsLayer):
        * WebCoreSupport/PageClientQt.cpp:
        (WebCore::PlatformLayerProxyQt::PlatformLayerProxyQt):
        (WebCore::PlatformLayerProxyQt::~PlatformLayerProxyQt):
        (WebCore::PlatformLayerProxyQt::setSizeChanged):
        (WebCore::PlatformLayerProxyQWidget::PlatformLayerProxyQWidget):
        (WebCore::PlatformLayerProxyQWidget::eventFilter):
        (WebCore::PlatformLayerProxyQWidget::setNeedsDisplay):
        (WebCore::PlatformLayerProxyQWidget::setNeedsDisplayInRect):
        (WebCore::PlatformLayerProxyQGraphicsObject::PlatformLayerProxyQGraphicsWidget):
        (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplay):
        (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplayInRect):
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
        (WebCore::PageClientQWidget::markForSync):
        (WebCore::PageClientQWidget::syncLayers):
        (WebCore::PageClientQGraphicsWidget::updateCompositingScrollPosition):
        (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
        * WebCoreSupport/PageClientQt.h:
        (WebCore::PageClientQWidget::PageClientQWidget):
        (WebCore::PageClientQWidget::allowsAcceleratedCompositing):
        (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):

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

10 years agoUpdate WebKit2 skipped list.
weinig@apple.com [Mon, 25 Oct 2010 20:36:03 +0000 (20:36 +0000)]
Update WebKit2 skipped list.

Rubber-stamped by Jon Honeycutt.

* platform/mac-wk2/Skipped:

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

10 years ago2010-10-25 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Mon, 25 Oct 2010 20:20:15 +0000 (20:20 +0000)]
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Add a config flag and a define (WTF_USE_TEXTURE_MAPPER) to WebCore, to enable opt-in compilation of texture-mapper with Qt.

        No new tests: WIP for a new implementation.

        * WebCore.pro:

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

10 years agoCalling FileReader.abort during reading could cause crash
jianli@chromium.org [Mon, 25 Oct 2010 20:11:11 +0000 (20:11 +0000)]
Calling FileReader.abort during reading could cause crash
https://bugs.webkit.org/show_bug.cgi?id=48163

Reviewed by David Levin.

WebCore:

Test: fast/files/file-reader-abort.html

* fileapi/FileReader.cpp:
(WebCore::delayedAbort):
(WebCore::FileReader::abort): Schedule to do the abort later to work
around the case that abort() could be called from event handler.
(WebCore::FileReader::doAbort):
(WebCore::FileReader::didFail): Do not go with normal error handling
when we are in the process of aborting.
(WebCore::FileReader::failed):
(WebCore::FileReader::readyState):
* fileapi/FileReader.h:

LayoutTests:

* fast/files/file-reader-abort-expected.txt: Added.
* fast/files/file-reader-abort.html: Added.

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

10 years ago2010-10-25 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 25 Oct 2010 20:08:06 +0000 (20:08 +0000)]
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Buildfix for NetworkStateNotifier
        https://bugs.webkit.org/show_bug.cgi?id=48240

        WinCE does not support RegisterWaitForSingleObject, so disable it for now.

        * platform/network/win/NetworkStateNotifierWin.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=48257
hyatt@apple.com [Mon, 25 Oct 2010 20:06:04 +0000 (20:06 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48257

Reviewed by Dan Bernstein.

WebCore:

Make "rl" and "bt" writing-modes work for blocks and lines.  InlineTextBox is refactored to compute the correct
top left corner and left baseline edge once so that can be passed down to all the painting functions instead of
tx and ty.

adjustment helpers have been added that can be called before painting children or lines and that fix up
the coordinates from flipped to physical.

Added fast/blockflow/english-rl-text.html and fast/blockflow/english-bt-text.html

* rendering/InlineBox.cpp:
(WebCore::InlineBox::adjustForFlippedBlocksWritingMode):
* rendering/InlineBox.h:
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
* rendering/InlineTextBox.cpp:
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintCompositionBackground):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
(WebCore::InlineTextBox::paintTextMatchMarker):
(WebCore::InlineTextBox::computeRectForReplacementMarker):
(WebCore::InlineTextBox::paintDocumentMarkers):
(WebCore::InlineTextBox::paintCompositionUnderline):
* rendering/InlineTextBox.h:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintChildren):
(WebCore::RenderBlock::paintFloats):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::adjustForFlippedBlocksWritingMode):
* rendering/RenderBox.h:
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::isFlippedBlocksWritingMode):

LayoutTests:

Make "rl" and "bt" writing-modes work for blocks and lines.  InlineTextBox is refactored to compute the correct
top left corner and left baseline edge once so that can be passed down to all the painting functions instead of
tx and ty.

adjustment helpers have been added that can be called before painting children or lines and that fix up
the coordinates from flipped to physical.

Added fast/blockflow/english-rl-text.html and fast/blockflow/english-bt-text.html
* fast/blockflow/english-bt-text.html: Added.
* fast/blockflow/english-rl-text.html: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.png: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.txt: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.png: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.txt: Added.

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

10 years ago2010-10-25 Chang Shu <chang.shu@nokia.com>
chang.shu@nokia.com [Mon, 25 Oct 2010 20:04:20 +0000 (20:04 +0000)]
2010-10-25  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        Should use eventSender for simulating keyboard events instead of using js
        event.initKeyboardEvent. Otherwise, inside WebCore, the keyboardevent
        object does not have a "PlatformKeyboardEvent" associated with it and this
        results different behavior as the real key press.
        This code change unveils that test snav-multiple-select.html is broken. It
        alos causes snav-single-select.html hangs on Mac. These will be fixed in
        seperate patches.
        https://bugs.webkit.org/show_bug.cgi?id=48134

        * fast/events/spatial-navigation/resources/spatial-navigation-utils.js:
        (doMove):
        * fast/events/spatial-navigation/snav-multiple-select-expected.txt:
        * platform/mac/Skipped:

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

10 years agoAdd a pageDidScroll BundleUIClient callback
andersca@apple.com [Mon, 25 Oct 2010 19:54:56 +0000 (19:54 +0000)]
Add a pageDidScroll BundleUIClient callback
https://bugs.webkit.org/show_bug.cgi?id=48260
<rdar://problem/8531159>

Reviewed by Adam Roben.

WebKit2:

* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
(WebKit::InjectedBundlePageUIClient::pageDidScroll):
Call the pageDidScroll callback.

* WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::invalidateContentsForSlowScroll):
(WebKit::WebChromeClient::scroll):
Call pageDidScroll.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::pageDidScroll):
Hide the find banner UI and call the BundleUIClient pageDidScroll callback.

WebKitTools:

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):

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

10 years agoControl + Mousewheel shouldn't be handled in WebKit2
bweinstein@apple.com [Mon, 25 Oct 2010 19:49:43 +0000 (19:49 +0000)]
Control + Mousewheel shouldn't be handled in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=48253

Reviewed by Adam Roben.

Don't handle a wheel event if Control is pressed, pass the message back to DefWindowProc.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onWheelEvent):

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

10 years ago2010-10-25 Ben Murdoch <benm@google.com>
benm@google.com [Mon, 25 Oct 2010 19:48:47 +0000 (19:48 +0000)]
2010-10-25  Ben Murdoch  <benm@google.com>

        Reviewed by Steve Block.

        Build break with ENABLE(BLOB) and not ENABLE(3D_CANVAS)
        https://bugs.webkit.org/show_bug.cgi?id=48243

        Build fix only so no new tests.

        * bindings/generic/RuntimeEnabledFeatures.h: Guard appropriately.
        * bindings/v8/custom/V8ArrayBufferViewCustom.h: ditto.

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

10 years ago2010-10-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 25 Oct 2010 19:37:54 +0000 (19:37 +0000)]
2010-10-25  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed checksum rebaseline for Snow Leopard.

        * platform/mac-leopard/compositing/overflow/ancestor-overflow-expected.checksum: Copied from LayoutTests/platform/mac/compositing/overflow/ancestor-overflow-expected.checksum.
        * platform/mac-leopard/compositing/overflow/ancestor-overflow-expected.png: Added.
        * platform/mac-leopard/compositing/overflow/scrollbar-painting-expected.checksum: Copied from LayoutTests/platform/mac/compositing/overflow/scrollbar-painting-expected.checksum.
        * platform/mac-leopard/compositing/overflow/scrollbar-painting-expected.png: Added.
        * platform/mac-leopard/compositing/transitions/singular-scale-transition-expected.checksum: Copied from LayoutTests/platform/mac/compositing/transitions/singular-scale-transition-expected.checksum.
        * platform/mac-leopard/compositing/transitions/singular-scale-transition-expected.png: Added.
        * platform/mac-leopard/editing/selection/select-text-overflow-ellipsis-expected.checksum: Copied from LayoutTests/platform/mac/editing/selection/select-text-overflow-ellipsis-expected.checksum.
        * platform/mac-leopard/editing/selection/select-text-overflow-ellipsis-expected.png: Added.
        * platform/mac-leopard/editing/selection/transformed-selection-rects-expected.checksum: Copied from LayoutTests/platform/mac/editing/selection/transformed-selection-rects-expected.checksum.
        * platform/mac-leopard/editing/selection/transformed-selection-rects-expected.png: Added.
        * platform/mac-leopard/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.png: Added.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-compat-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/float/avoidance-percent-width-compat-expected.checksum.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-compat-expected.png: Added.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-strict-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/float/avoidance-percent-width-strict-expected.checksum.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-backgrounds-and-text-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-backgrounds-and-text-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-backgrounds-and-text-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-background-image-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-background-image-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-background-image-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-backgrounds-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-backgrounds-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-backgrounds-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-box-shadow-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-box-shadow-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-box-shadow-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-text-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-text-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-text-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-text-shadow-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-text-shadow-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-text-shadow-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-untagged-images-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-untagged-images-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-untagged-images-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-comments-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-comments-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-comments-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-empty-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-empty-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-empty-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-escapes-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-escapes-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-escapes-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-invalid-at-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-invalid-at-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-invalid-at-expected.png: Added.
        * platform/mac-leopard/fast/css/variables/misplaced-import-test-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/variables/misplaced-import-test-expected.checksum.
        * platform/mac-leopard/fast/css/variables/misplaced-import-test-expected.png: Added.
        * platform/mac-leopard/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum.
        * platform/mac-leopard/fast/fast-mobile-scrolling/fixed-position-element-expected.png: Added.
        * platform/mac-leopard/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum: Copied from LayoutTests/platform/mac/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum.
        * platform/mac-leopard/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.png: Added.
        * platform/mac-leopard/fast/lists/anonymous-items-expected.checksum: Copied from LayoutTests/platform/mac/fast/lists/anonymous-items-expected.checksum.
        * platform/mac-leopard/fast/lists/anonymous-items-expected.png: Added.
        * platform/mac-leopard/fast/overflow/line-clamp-expected.checksum: Copied from LayoutTests/platform/mac/fast/overflow/line-clamp-expected.checksum.
        * platform/mac-leopard/fast/overflow/line-clamp-expected.png: Added.
        * platform/mac-leopard/fast/overflow/position-fixed-transform-clipping-expected.checksum: Copied from LayoutTests/platform/mac/fast/overflow/position-fixed-transform-clipping-expected.checksum.
        * platform/mac-leopard/fast/overflow/position-fixed-transform-clipping-expected.png: Added.
        * platform/mac-leopard/fast/reflections/abs-position-in-reflection-expected.checksum: Copied from LayoutTests/platform/mac/fast/reflections/abs-position-in-reflection-expected.checksum.
        * platform/mac-leopard/fast/reflections/abs-position-in-reflection-expected.png: Added.
        * platform/mac-leopard/fast/reflections/opacity-reflection-transform-expected.checksum: Copied from LayoutTests/platform/mac/fast/reflections/opacity-reflection-transform-expected.checksum.
        * platform/mac-leopard/fast/reflections/opacity-reflection-transform-expected.png: Added.
        * platform/mac-leopard/fast/repaint/line-in-scrolled-clipped-block-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/line-in-scrolled-clipped-block-expected.checksum.
        * platform/mac-leopard/fast/repaint/line-in-scrolled-clipped-block-expected.png: Added.
        * platform/mac-leopard/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum.
        * platform/mac-leopard/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png: Added.
        * platform/mac-leopard/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum.
        * platform/mac-leopard/fast/repaint/rel-positioned-inline-with-overflow-expected.png: Added.
        * platform/mac-leopard/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum.
        * platform/mac-leopard/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Added.
        * platform/mac-leopard/fast/repaint/subtree-layoutstate-transform-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/subtree-layoutstate-transform-expected.checksum.
        * platform/mac-leopard/fast/repaint/subtree-layoutstate-transform-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-inside-percent-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-div-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-small-percent-width-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-small-percent-width-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-small-percent-width-expected.png: Added.
        * platform/mac-leopard/fast/text/sticky-typesetting-features-expected.checksum: Copied from LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.checksum.
        * platform/mac-leopard/fast/text/sticky-typesetting-features-expected.png: Added.
        * platform/mac-leopard/http/tests/misc/slow-loading-mask-expected.checksum: Copied from LayoutTests/platform/mac/http/tests/misc/slow-loading-mask-expected.checksum.
        * platform/mac-leopard/http/tests/misc/slow-loading-mask-expected.png: Added.
        * platform/mac-leopard/plugins/embed-attributes-style-expected.checksum: Copied from LayoutTests/platform/mac/plugins/embed-attributes-style-expected.checksum.
        * platform/mac-leopard/plugins/embed-attributes-style-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-1-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug106158-1-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-1-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-2-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug106158-2-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-2-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug34176-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug34176-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug34176-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug6674-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug6674-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug6674-expected.png: Added.
        * platform/mac-leopard/transforms/2d/transform-fixed-container-expected.checksum: Copied from LayoutTests/platform/mac/transforms/2d/transform-fixed-container-expected.checksum.
        * platform/mac-leopard/transforms/2d/transform-fixed-container-expected.png: Added.
        * platform/mac/compositing/masks/direct-image-mask-expected.checksum:
        * platform/mac/compositing/overflow/ancestor-overflow-expected.checksum:
        * platform/mac/compositing/overflow/scrollbar-painting-expected.checksum:
        * platform/mac/compositing/transitions/singular-scale-transition-expected.checksum:
        * platform/mac/editing/selection/select-text-overflow-ellipsis-expected.checksum:
        * platform/mac/editing/selection/transformed-selection-rects-expected.checksum:
        * platform/mac/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum:
        * platform/mac/fast/block/float/avoidance-percent-width-compat-expected.checksum:
        * platform/mac/fast/block/float/avoidance-percent-width-strict-expected.checksum:
        * platform/mac/fast/css/color-correction-backgrounds-and-text-expected.checksum:
        * platform/mac/fast/css/color-correction-expected.checksum:
        * platform/mac/fast/css/color-correction-on-background-image-expected.checksum:
        * platform/mac/fast/css/color-correction-on-backgrounds-expected.checksum:
        * platform/mac/fast/css/color-correction-on-box-shadow-expected.checksum:
        * platform/mac/fast/css/color-correction-on-text-expected.checksum:
        * platform/mac/fast/css/color-correction-on-text-shadow-expected.checksum:
        * platform/mac/fast/css/color-correction-untagged-images-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-comments-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-empty-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-escapes-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-invalid-at-expected.checksum:
        * platform/mac/fast/css/variables/misplaced-import-test-expected.checksum:
        * platform/mac/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum:
        * platform/mac/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum:
        * platform/mac/fast/lists/anonymous-items-expected.checksum:
        * platform/mac/fast/overflow/line-clamp-expected.checksum:
        * platform/mac/fast/overflow/position-fixed-transform-clipping-expected.checksum:
        * platform/mac/fast/reflections/abs-position-in-reflection-expected.checksum:
        * platform/mac/fast/reflections/opacity-reflection-transform-expected.checksum:
        * platform/mac/fast/repaint/line-in-scrolled-clipped-block-expected.checksum:
        * platform/mac/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum:
        * platform/mac/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum:
        * platform/mac/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum:
        * platform/mac/fast/repaint/subtree-layoutstate-transform-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-small-percent-width-expected.checksum:
        * platform/mac/fast/text/sticky-typesetting-features-expected.checksum:
        * platform/mac/http/tests/misc/slow-loading-mask-expected.checksum:
        * platform/mac/plugins/embed-attributes-style-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug106158-1-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug106158-2-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug34176-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug6674-expected.checksum:
        * platform/mac/transforms/2d/transform-fixed-container-expected.checksum:
        * platform/mac/transitions/move-after-transition-expected.checksum:

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

10 years ago2010-10-25 David Tapuska <dtapuska@rim.com>
commit-queue@webkit.org [Mon, 25 Oct 2010 19:30:04 +0000 (19:30 +0000)]
2010-10-25  David Tapuska  <dtapuska@rim.com>

        Reviewed by David Kilzer.

        Enable VFP if our compiler settings indicated we had a hardware
        VFP.

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

        * assembler/MacroAssemblerARM.cpp:
        (JSC::isVFPPresent):

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

10 years ago2010-10-25 Cris Neckar <cdn@chromium.org>
inferno@chromium.org [Mon, 25 Oct 2010 19:17:16 +0000 (19:17 +0000)]
2010-10-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Added check to ensure that events with the type "mousedown" are mouse events before dispatching.
        https://bugs.webkit.org/show_bug.cgi?id=48159

        Test: fast/events/keyboardevent-mousedown-crash.html

        * dom/Node.cpp:
        (WebCore::Node::defaultEventHandler):
2010-10-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Tests for a crash when an event with the type "mousedown" is not a MouseEvent.
        https://bugs.webkit.org/show_bug.cgi?id=48159

        * fast/events/keyboardevent-mousedown-crash-expected.txt: Added.
        * fast/events/keyboardevent-mousedown-crash.html: Added.

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

10 years agoUnreviewed build fix for r70400.
kseo@webkit.org [Mon, 25 Oct 2010 19:14:04 +0000 (19:14 +0000)]
Unreviewed build fix for r70400.

Add dummy setCookieStoragePrivateBrowsingEnabled.

* platform/brew/TemporaryLinkStubs.cpp: Added.
(WebCore::setCookieStoragePrivateBrowsingEnabled):

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

10 years ago2010-10-25 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 25 Oct 2010 19:07:26 +0000 (19:07 +0000)]
2010-10-25  Dimitri Glazkov  <dglazkov@chromium.org>

        Add a flaky test to expectations.
        https://bugs.webkit.org/show_bug.cgi?id=48256

        * platform/chromium/test_expectations.txt: Moar flakes :(.

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

10 years ago2010-10-25 Johnny Ding <jnd@chromium.org>
commit-queue@webkit.org [Mon, 25 Oct 2010 19:03:08 +0000 (19:03 +0000)]
2010-10-25  Johnny Ding  <jnd@chromium.org>

        Reviewed by Tony Chang.

        Dump the gesture status of frame in frame load callbacks in DumpRenderTree
        by adding a new method dumpUserGestureInFrameLoadCallbacks.
        Now only dump the gesture status in "DidStartProvisionalLoad" callback.
        https://bugs.webkit.org/show_bug.cgi?id=47849

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::dumpUserGestureInFrameLoader):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (drtPrintFrameUserGestureStatus):
        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
        (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
        (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
        (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
        * WebCoreSupport/FrameLoaderClientQt.h:
2010-10-25  Johnny Ding  <jnd@chromium.org>

        Reviewed by Tony Chang.

        Dump the gesture status of frame in frame load callbacks in DumpRenderTree
        by adding a new method dumpUserGestureInFrameLoadCallbacks.
        Now only dump the gesture status in "DidStartProvisionalLoad" callback.
        https://bugs.webkit.org/show_bug.cgi?id=47849

        * DumpRenderTree/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (dumpUserGestureInFrameLoadCallbacksCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
        (LayoutTestController::setDumpUserGestureInFrameLoadCallbacks):
        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
        (LayoutTestController::reset):
        * DumpRenderTree/chromium/LayoutTestController.h:
        (LayoutTestController::shouldDumpUserGestureInFrameLoadCallbacks):
        (LayoutTestController::setShouldDumpUserGestureInFrameLoadCallbacks):
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::shouldDumpUserGestureInFrameLoadCallbacks):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::didStartProvisionalLoad):
        (WebViewHost::printFrameUserGestureStatus):
        * DumpRenderTree/chromium/WebViewHost.h:
        * DumpRenderTree/mac/FrameLoadDelegate.mm:
        (-[WebFrame _drt_printFrameUserGestureStatus]):
        (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
        (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
        (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
        (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
        (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
        (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
        (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::reset):
        (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

10 years ago2010-10-25 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 25 Oct 2010 18:45:22 +0000 (18:45 +0000)]
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Use default implementation of AXObjectCache::platformGenerateAXID
        https://bugs.webkit.org/show_bug.cgi?id=48239

        WinCE does not support NotifyWinEvent, so use the default implementation.

        * accessibility/AXObjectCache.cpp:

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

10 years agoNeed WebKit2 API to figure out if a frame can provide source
weinig@apple.com [Mon, 25 Oct 2010 18:44:34 +0000 (18:44 +0000)]
Need WebKit2 API to figure out if a frame can provide source
<rdar://problem/8424632>
https://bugs.webkit.org/show_bug.cgi?id=48252

Reviewed by Anders Carlsson.

* WebCore.exp.in:

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

10 years agocancelledError for WebKit2 on windows should use kCFErrorDomainCFNetwork instead...
weinig@apple.com [Mon, 25 Oct 2010 18:41:29 +0000 (18:41 +0000)]
cancelledError for WebKit2 on windows should use kCFErrorDomainCFNetwork instead of webKitErrorDomain
https://bugs.webkit.org/show_bug.cgi?id=48254

Reviewed by Dan Bernstein.

* WebProcess/WebCoreSupport/win/WebErrorsWin.cpp:
(WebKit::cancelledError): Use kCFErrorDomainCFNetwork instead of webKitErrorDomain and switch over
to using kCFURLErrorCancelled instead of a hard coded constant.

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

10 years agoNeed WebKit2 API to figure out if a frame can provide source
weinig@apple.com [Mon, 25 Oct 2010 18:22:40 +0000 (18:22 +0000)]
Need WebKit2 API to figure out if a frame can provide source
<rdar://problem/8424632>
https://bugs.webkit.org/show_bug.cgi?id=48252

Reviewed by Anders Carlsson.

* UIProcess/API/C/WKFrame.cpp:
(WKFrameCanProvideSource):
* UIProcess/API/C/WKFrame.h:
* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::canProvideSource):
* UIProcess/WebFrameProxy.h:
Add API to figure out if a frame can provide source based on its
MIME type.

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

10 years ago2010-10-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 25 Oct 2010 18:20:00 +0000 (18:20 +0000)]
2010-10-25  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed checksum rebaseline for animations/ and compositing/ for Snow
        Leopard.

        * platform/mac-leopard/animations/3d/state-at-end-event-transform-expected.checksum: Copied from LayoutTests/platform/mac/animations/3d/state-at-end-event-transform-expected.checksum.
        * platform/mac-leopard/animations/3d/state-at-end-event-transform-expected.png: Added.
        * platform/mac/animations/3d/change-transform-in-end-event-expected.checksum:
        * platform/mac/animations/3d/state-at-end-event-transform-expected.checksum:
        * platform/mac/compositing/animation/state-at-end-event-transform-layer-expected.checksum:
        * platform/mac/compositing/compositing-visible-descendant-expected.checksum:
        * platform/mac/compositing/geometry/abs-position-inside-opacity-expected.checksum:
        * platform/mac/compositing/geometry/fixed-position-expected.checksum:
        * platform/mac/compositing/geometry/horizontal-scroll-composited-expected.checksum:
        * platform/mac/compositing/geometry/partial-layout-update-expected.checksum:
        * platform/mac/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.checksum:
        * platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.checksum:
        * platform/mac/compositing/reflections/reflection-in-composited-expected.checksum:
        * platform/mac/compositing/reflections/reflection-ordering-expected.checksum:
        * platform/mac/compositing/reflections/simple-composited-reflections-expected.checksum:
        * platform/mac/compositing/repaint/become-overlay-composited-layer-expected.checksum:
        * platform/mac/compositing/repaint/content-into-overflow-expected.checksum:
        * platform/mac/compositing/repaint/layer-repaint-expected.checksum:
        * platform/mac/compositing/repaint/layer-repaint-rects-expected.checksum:
        * platform/mac/compositing/repaint/opacity-between-absolute-expected.checksum:
        * platform/mac/compositing/repaint/opacity-between-absolute2-expected.checksum:
        * platform/mac/compositing/repaint/overflow-into-content-expected.checksum:

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

10 years agoJava applets don't display on the page
andersca@apple.com [Mon, 25 Oct 2010 17:58:25 +0000 (17:58 +0000)]
Java applets don't display on the page
https://bugs.webkit.org/show_bug.cgi?id=48251
<rdar://problem/8483759>

Reviewed by Dan Bernstein.

Add WKPreferencesSetJavaEnabled and initialize it to true by default, matching old WebKit.

* Shared/WebPreferencesStore.cpp:
(WebKit::WebPreferencesStore::WebPreferencesStore):
Initialize javaEnabled.

(WebKit::WebPreferencesStore::encode):
Encode javaEnabled.

(WebKit::WebPreferencesStore::decode):
Decode javaEnabled.

* Shared/WebPreferencesStore.h:
Add javaEnabled.

* UIProcess/API/C/WKPreferences.cpp:
(WKPReferencesSetJavaEnabled):
(WKPReferencesGetJavaEnabled):
Call the WebPreferences functions.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createJavaAppletWidget):
Just call createPlugin.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
Call Settings::setJavaEnabled.

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

10 years ago2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 25 Oct 2010 17:44:32 +0000 (17:44 +0000)]
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70451.
        http://trac.webkit.org/changeset/70451
        https://bugs.webkit.org/show_bug.cgi?id=48249

        Broke set-unloaded-frame-location.html under Qt (Requested by
        caseq on #webkit).

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/text/TextPosition.h: Removed.
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70451.
        http://trac.webkit.org/changeset/70451
        https://bugs.webkit.org/show_bug.cgi?id=48249

        Broke set-unloaded-frame-location.html under Qt (Requested by
        caseq on #webkit).

        * ForwardingHeaders/wtf/text/TextPosition.h: Removed.
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70451.
        http://trac.webkit.org/changeset/70451
        https://bugs.webkit.org/show_bug.cgi?id=48249

        Broke set-unloaded-frame-location.html under Qt (Requested by
        caseq on #webkit).

        * ForwardingHeaders/wtf/text/TextPosition.h: Removed.
        * bindings/js/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::ScheduledAction):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::eventHandlerLineNumber):
        (WebCore::ScriptController::eventHandlerColumnNumber):
        * bindings/v8/ScriptController.h:
        * bindings/v8/ScriptEventListener.cpp:
        (WebCore::createAttributeEventListener):
        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        (WebCore::ScriptSourceCode::startLine):
        * bindings/v8/V8LazyEventListener.cpp:
        (WebCore::V8LazyEventListener::V8LazyEventListener):
        (WebCore::V8LazyEventListener::prepareListenerObject):
        * bindings/v8/V8LazyEventListener.h:
        (WebCore::V8LazyEventListener::create):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::evaluate):
        (WebCore::V8Proxy::runScript):
        * bindings/v8/V8Proxy.h:
        * bindings/v8/WorkerContextExecutionProxy.cpp:
        (WebCore::WorkerContextExecutionProxy::evaluate):
        (WebCore::WorkerContextExecutionProxy::runScript):
        * bindings/v8/WorkerContextExecutionProxy.h:
        * bindings/v8/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::evaluate):
        * dom/PendingScript.cpp:
        (WebCore::PendingScript::releaseElementAndClear):
        * dom/PendingScript.h:
        (WebCore::PendingScript::PendingScript):
        (WebCore::PendingScript::operator=):
        (WebCore::PendingScript::startingLineNumber):
        * dom/ScriptableDocumentParser.h:
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        (WebCore::XMLDocumentParser::startElementNs):
        (WebCore::XMLDocumentParser::endElementNs):
        (WebCore::XMLDocumentParser::lineNumber):
        (WebCore::XMLDocumentParser::columnNumber):
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        (WebCore::XMLDocumentParser::parseStartElement):
        (WebCore::XMLDocumentParser::parseEndElement):
        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder):
        (WebCore::HTMLDocumentParser::columnNumber):
        * html/parser/HTMLDocumentParser.h:
        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::sourceFromPendingScript):
        (WebCore::HTMLScriptRunner::execute):
        (WebCore::HTMLScriptRunner::runScript):
        * html/parser/HTMLScriptRunner.h:
        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
        (WebCore::HTMLTreeBuilder::takeScriptToProcess):
        (WebCore::HTMLTreeBuilder::processEndTag):
        (WebCore::HTMLTreeBuilder::processScriptStartTag):
        * html/parser/HTMLTreeBuilder.h:
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70451.
        http://trac.webkit.org/changeset/70451
        https://bugs.webkit.org/show_bug.cgi?id=48249

        Broke set-unloaded-frame-location.html under Qt (Requested by
        caseq on #webkit).

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::executeScript):
        (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
        (WebKit::WebFrameImpl::executeScriptAndReturnValue):

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

10 years ago2010-10-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 25 Oct 2010 17:25:23 +0000 (17:25 +0000)]
2010-10-25  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed rebaseline for fast/block for Snow Leopard.

        * platform/mac-leopard/fast/block/basic/001-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/001-expected.checksum.
        * platform/mac-leopard/fast/block/basic/001-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/001-expected.png.
        * platform/mac-leopard/fast/block/basic/002-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/002-expected.checksum.
        * platform/mac-leopard/fast/block/basic/002-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/002-expected.png.
        * platform/mac-leopard/fast/block/basic/003-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/003-expected.checksum.
        * platform/mac-leopard/fast/block/basic/003-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/003-expected.png.
        * platform/mac-leopard/fast/block/basic/004-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/004-expected.checksum.
        * platform/mac-leopard/fast/block/basic/004-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/004-expected.png.
        * platform/mac-leopard/fast/block/basic/005-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/005-expected.checksum.
        * platform/mac-leopard/fast/block/basic/005-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/005-expected.png.
        * platform/mac-leopard/fast/block/basic/006-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/006-expected.checksum.
        * platform/mac-leopard/fast/block/basic/006-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/006-expected.png.
        * platform/mac-leopard/fast/block/basic/007-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/007-expected.checksum.
        * platform/mac-leopard/fast/block/basic/007-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/007-expected.png.
        * platform/mac-leopard/fast/block/basic/008-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/008-expected.checksum.
        * platform/mac-leopard/fast/block/basic/008-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/008-expected.png.
        * platform/mac-leopard/fast/block/basic/009-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/009-expected.checksum.
        * platform/mac-leopard/fast/block/basic/009-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/009-expected.png.
        * platform/mac-leopard/fast/block/basic/011-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/011-expected.checksum.
        * platform/mac-leopard/fast/block/basic/011-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/011-expected.png.
        * platform/mac-leopard/fast/block/basic/012-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/012-expected.checksum.
        * platform/mac-leopard/fast/block/basic/012-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/012-expected.png.
        * platform/mac-leopard/fast/block/basic/013-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/013-expected.checksum.
        * platform/mac-leopard/fast/block/basic/013-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/013-expected.png.
        * platform/mac-leopard/fast/block/basic/014-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/014-expected.checksum.
        * platform/mac-leopard/fast/block/basic/014-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/014-expected.png.
        * platform/mac-leopard/fast/block/basic/015-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/015-expected.checksum.
        * platform/mac-leopard/fast/block/basic/015-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/015-expected.png.
        * platform/mac-leopard/fast/block/basic/018-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/018-expected.checksum.
        * platform/mac-leopard/fast/block/basic/018-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/018-expected.png.
        * platform/mac-leopard/fast/block/basic/019-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/019-expected.checksum.
        * platform/mac-leopard/fast/block/basic/019-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/019-expected.png.
        * platform/mac-leopard/fast/block/basic/020-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/020-expected.checksum.
        * platform/mac-leopard/fast/block/basic/020-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/020-expected.png.
        * platform/mac-leopard/fast/block/basic/021-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/021-expected.checksum.
        * platform/mac-leopard/fast/block/basic/021-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/021-expected.png.
        * platform/mac-leopard/fast/block/basic/adding-near-anonymous-block-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum.
        * platform/mac-leopard/fast/block/basic/adding-near-anonymous-block-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png.
        * platform/mac-leopard/fast/block/basic/fieldset-stretch-to-legend-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.checksum.
        * platform/mac-leopard/fast/block/basic/fieldset-stretch-to-legend-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png.
        * platform/mac-leopard/fast/block/basic/quirk-height-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/quirk-height-expected.checksum.
        * platform/mac-leopard/fast/block/basic/quirk-height-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/quirk-height-expected.png.
        * platform/mac-leopard/fast/block/basic/text-indent-rtl-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/text-indent-rtl-expected.checksum.
        * platform/mac-leopard/fast/block/basic/text-indent-rtl-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/text-indent-rtl-expected.png.
        * platform/mac-leopard/fast/block/basic/white-space-pre-wraps-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/white-space-pre-wraps-expected.checksum.
        * platform/mac-leopard/fast/block/basic/white-space-pre-wraps-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/white-space-pre-wraps-expected.png.
        * platform/mac/fast/block/basic/001-expected.checksum:
        * platform/mac/fast/block/basic/001-expected.png:
        * platform/mac/fast/block/basic/002-expected.checksum:
        * platform/mac/fast/block/basic/002-expected.png:
        * platform/mac/fast/block/basic/003-expected.checksum:
        * platform/mac/fast/block/basic/003-expected.png:
        * platform/mac/fast/block/basic/004-expected.checksum:
        * platform/mac/fast/block/basic/004-expected.png:
        * platform/mac/fast/block/basic/005-expected.checksum:
        * platform/mac/fast/block/basic/005-expected.png:
        * platform/mac/fast/block/basic/006-expected.checksum:
        * platform/mac/fast/block/basic/006-expected.png:
        * platform/mac/fast/block/basic/007-expected.checksum:
        * platform/mac/fast/block/basic/007-expected.png:
        * platform/mac/fast/block/basic/008-expected.checksum:
        * platform/mac/fast/block/basic/008-expected.png:
        * platform/mac/fast/block/basic/009-expected.checksum:
        * platform/mac/fast/block/basic/009-expected.png:
        * platform/mac/fast/block/basic/011-expected.checksum:
        * platform/mac/fast/block/basic/011-expected.png:
        * platform/mac/fast/block/basic/012-expected.checksum:
        * platform/mac/fast/block/basic/012-expected.png:
        * platform/mac/fast/block/basic/013-expected.checksum:
        * platform/mac/fast/block/basic/013-expected.png:
        * platform/mac/fast/block/basic/014-expected.checksum:
        * platform/mac/fast/block/basic/014-expected.png:
        * platform/mac/fast/block/basic/015-expected.checksum:
        * platform/mac/fast/block/basic/015-expected.png:
        * platform/mac/fast/block/basic/018-expected.checksum:
        * platform/mac/fast/block/basic/018-expected.png:
        * platform/mac/fast/block/basic/019-expected.checksum:
        * platform/mac/fast/block/basic/019-expected.png:
        * platform/mac/fast/block/basic/020-expected.checksum:
        * platform/mac/fast/block/basic/020-expected.png:
        * platform/mac/fast/block/basic/021-expected.checksum:
        * platform/mac/fast/block/basic/021-expected.png:
        * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum:
        * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png:
        * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.checksum:
        * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png:
        * platform/mac/fast/block/basic/quirk-height-expected.checksum:
        * platform/mac/fast/block/basic/quirk-height-expected.png:
        * platform/mac/fast/block/basic/text-indent-rtl-expected.checksum:
        * platform/mac/fast/block/basic/text-indent-rtl-expected.png:
        * platform/mac/fast/block/basic/white-space-pre-wraps-expected.checksum:
        * platform/mac/fast/block/basic/white-space-pre-wraps-expected.png:

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

10 years agoUnreviewed build fix for r70095.
kseo@webkit.org [Mon, 25 Oct 2010 17:13:07 +0000 (17:13 +0000)]
Unreviewed build fix for r70095.

Provide platformDefaultLanguage().

* platform/brew/LanguageBrew.cpp: Added.
(WebCore::platformDefaultLanguage):
* platform/brew/LocalizedStringsBrew.cpp:

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

10 years ago2010-10-25 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 25 Oct 2010 17:03:24 +0000 (17:03 +0000)]
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        Replace _countof with WTF_ARRAY_LENGTH
        https://bugs.webkit.org/show_bug.cgi?id=48229

        * wtf/Platform.h:
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        Replace _countof with WTF_ARRAY_LENGTH
        https://bugs.webkit.org/show_bug.cgi?id=48229

        * platform/win/FileSystemWin.cpp:
        (WebCore::openTemporaryFile):
        * platform/wince/FileSystemWinCE.cpp:
        (WebCore::openTemporaryFile):
        * plugins/win/PluginDatabaseWin.cpp:
        (WebCore::addPluginPathsFromRegistry):
        (WebCore::addWindowsMediaPlayerPluginDirectory):
        (WebCore::addMacromediaPluginDirectories):
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        Replace _countof with WTF_ARRAY_LENGTH
        https://bugs.webkit.org/show_bug.cgi?id=48229

        * WebCoreSupport/WebContextMenuClient.cpp:
        (isPreInspectElementTagSafari):
        * WebView.cpp:
        (WebView::interpretKeyEvent):
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        Replace _countof with WTF_ARRAY_LENGTH
        https://bugs.webkit.org/show_bug.cgi?id=48229

        * WebCoreSupport/EditorClientWinCE.cpp:
        (WebKit::EditorClientWinCE::interpretKeyEvent):
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        Replace _countof with WTF_ARRAY_LENGTH
        https://bugs.webkit.org/show_bug.cgi?id=48229

        * UIProcess/Launcher/win/ProcessLauncherWin.cpp:
        (WebKit::ProcessLauncher::launchProcess):
        * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
        (WebKit::safariPluginsDirectory):
        (WebKit::addMozillaPluginDirectories):
        (WebKit::addWindowsMediaPlayerPluginDirectory):
        (WebKit::addAdobeAcrobatPluginDirectory):
        (WebKit::addMacromediaPluginDirectories):
        (WebKit::addPluginPathsFromRegistry):
        * WebProcess/WebPage/win/WebPageWin.cpp:
        (WebKit::WebPage::interpretKeyEvent):

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

10 years agoStop copying .messages.in files into WebKit2's framework bundle
aroben@apple.com [Mon, 25 Oct 2010 16:29:49 +0000 (16:29 +0000)]
Stop copying .messages.in files into WebKit2's framework bundle

Fixes <http://webkit.org/b/48232> Several .messages.in files end up in
WebKit2's framework bundle

Reviewed by Dan Bernstein.

* WebKit2.xcodeproj/project.pbxproj:

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

10 years ago2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 25 Oct 2010 16:12:33 +0000 (16:12 +0000)]
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70442.
        http://trac.webkit.org/changeset/70442
        https://bugs.webkit.org/show_bug.cgi?id=48248

        http locking doesn't work on Windows (Requested by Ossy on
        #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

10 years ago2010-10-25 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Mon, 25 Oct 2010 16:08:20 +0000 (16:08 +0000)]
2010-10-25  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] Fix the WebKit2 build after sheriffbot messed up the rollout patch.
        https://bugs.webkit.org/show_bug.cgi?id=48238

        * Shared/qt/MappedMemory.h: Renamed from WebKit2/Platform/qt/MappedMemoryPool.h.
        (WebKit::MappedMemory::mapSize):
        (WebKit::MappedMemory::markUsed):
        (WebKit::MappedMemory::markFree):
        (WebKit::MappedMemory::isFree):
        (WebKit::MappedMemory::data):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=48246
hyatt@apple.com [Mon, 25 Oct 2010 16:05:03 +0000 (16:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48246

Reviewed by Sam Weinig.

Make selectionRect() on InlineTextBox give the right value for a vertical line.  Selection is still too broken
to test anything though.

* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::selectionRect):

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

10 years ago2010-10-25 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Mon, 25 Oct 2010 16:04:32 +0000 (16:04 +0000)]
2010-10-25  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Antonio Gomes.

        Typo in the TextureMapperGL
        https://bugs.webkit.org/show_bug.cgi?id=48241

        Fix the typo.

        * platform/graphics/opengl/TextureMapperGL.cpp:
        (WebCore::TextureMapperGL::TextureMapperGL):

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

10 years ago2010-10-25 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 25 Oct 2010 16:01:34 +0000 (16:01 +0000)]
2010-10-25  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: slowly make old resources panel optional (continued).
        https://bugs.webkit.org/show_bug.cgi?id=48207

        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set url):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel.prototype.get toolbarItemLabel):
        (WebInspector.StoragePanel.prototype.showResource):
        (WebInspector.StoragePanel.prototype.searchMatchFound):
        (WebInspector.StoragePanel.prototype._findTreeElementForResource):
        (WebInspector.StoragePanel.prototype._findTreeElementForResource.getParent):
        (WebInspector.BaseStorageTreeElement.prototype.onattach):
        * inspector/front-end/inspector.css:
        (.storage.panel .sidebar):
        (.storage.panel .sidebar li):
        (.storage.panel .sidebar li.parent):
        (.storage.panel .sidebar li.selected):
        (.storage.panel .sidebar li .selection):
        (.storage.panel .sidebar :focus li .selection):
        (body.inactive .storage.panel .sidebar li .selection):
        (.storage.panel .sidebar .icon):

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

10 years ago2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 25 Oct 2010 15:14:02 +0000 (15:14 +0000)]
2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70450.
        http://trac.webkit.org/changeset/70450
        https://bugs.webkit.org/show_bug.cgi?id=48238

        Causes WTR to crash on tests which use SharedMemory.
        (Requested by bbandix on #webkit).

        * Platform/SharedMemory.h:
        * Platform/qt/MappedMemoryPool.cpp: Removed.
        * Platform/qt/SharedMemoryQt.cpp:
        (WebKit::SharedMemory::Handle::Handle):
        (WebKit::SharedMemory::Handle::~Handle):
        (WebKit::SharedMemory::Handle::encode):
        (WebKit::SharedMemory::Handle::decode):
        (WebKit::SharedMemory::create):
        (WebKit::SharedMemory::~SharedMemory):
        (WebKit::SharedMemory::createHandle):
        (WebKit::SharedMemory::systemPageSize):
        * Shared/qt/MappedMemory.h: Renamed from WebKit2/Platform/qt/MappedMemoryPool.h.
        (WebKit::MappedMemory::mapSize):
        (WebKit::MappedMemory::markUsed):
        (WebKit::MappedMemory::markFree):
        (WebKit::MappedMemory::isFree):
        (WebKit::MappedMemory::data):
        * Shared/qt/MappedMemoryPool.cpp: Added.
        (WebKit::MappedMemoryPool::MappedMemoryPool):
        (WebKit::MappedMemoryPool::instance):
        (WebKit::MappedMemoryPool::size):
        (WebKit::MappedMemoryPool::at):
        (WebKit::MappedMemoryPool::append):
        (WebKit::MappedMemoryPool::cleanUp):
        * Shared/qt/UpdateChunk.cpp:
        (WebKit::mapMemory):
        (WebKit::mapFile):
        (WebKit::UpdateChunk::UpdateChunk):
        (WebKit::UpdateChunk::decode):
        * Shared/qt/UpdateChunk.h:
        * WebKit2.pro:

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

10 years ago2010-10-25 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Mon, 25 Oct 2010 14:53:19 +0000 (14:53 +0000)]
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        This patch adds the OpenGL implementation of TextureMapper. See the other entries from bug 47070 for details.
        https://bugs.webkit.org/show_bug.cgi?id=47070

        No new tests. Part of a new implementation.

        * platform/graphics/opengl/TextureMapperGL.cpp: Added.
        * platform/graphics/opengl/TextureMapperGL.h: Added.

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

10 years ago2010-10-25 Peter Rybin <peter.rybin@gmail.com>
caseq@chromium.org [Mon, 25 Oct 2010 14:15:43 +0000 (14:15 +0000)]
2010-10-25  Peter Rybin  <peter.rybin@gmail.com>

        Reviewed by Adam Barth.

        HTML parser should provide script column position within HTML document to JavaScript engine
        https://bugs.webkit.org/show_bug.cgi?id=45271

        Adds TextPosition* classes -- a structure that stores line/column/generation
        level coordinates inside text document. Adds *BasedNumber classes -- typesafe int
        wrappers that emphasize whether int number is used as zero-based or
        one-based.

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/text/TextPosition.h: Added.
        (WTF::TextPosition::TextPosition):
        (WTF::TextPosition::minimumPosition):
        (WTF::TextPosition::belowRangePosition):
        (WTF::ZeroBasedNumber::fromZeroBasedInt):
        (WTF::ZeroBasedNumber::ZeroBasedNumber):
        (WTF::ZeroBasedNumber::zeroBasedInt):
        (WTF::ZeroBasedNumber::base):
        (WTF::ZeroBasedNumber::belowBase):
        (WTF::OneBasedNumber::fromOneBasedInt):
        (WTF::OneBasedNumber::OneBasedNumber):
        (WTF::OneBasedNumber::oneBasedInt):
        (WTF::OneBasedNumber::convertAsZeroBasedInt):
        (WTF::OneBasedNumber::convertToZeroBased):
        (WTF::OneBasedNumber::base):
        (WTF::OneBasedNumber::belowBase):
        (WTF::toZeroBasedTextPosition):
        (WTF::toOneBasedTextPosition):
        (WTF::ZeroBasedNumber::convertToOneBased):

2010-10-25  Peter Rybin  <peter.rybin@gmail.com>

        Reviewed by Adam Barth.

        HTML parser should provide script column position within HTML document to JavaScript engine
        https://bugs.webkit.org/show_bug.cgi?id=45271

        Replaces line number with TextPosition struct so that script engine
        gets script starting line/column.

        * ForwardingHeaders/wtf/text/TextPosition.h: Added.
        * bindings/js/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::ScheduledAction):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::eventHandlerPosition):
        * bindings/v8/ScriptController.h:
        * bindings/v8/ScriptEventListener.cpp:
        (WebCore::createAttributeEventListener):
        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        (WebCore::ScriptSourceCode::startLine):
        (WebCore::ScriptSourceCode::startPosition):
        * bindings/v8/V8LazyEventListener.cpp:
        (WebCore::V8LazyEventListener::V8LazyEventListener):
        (WebCore::V8LazyEventListener::prepareListenerObject):
        * bindings/v8/V8LazyEventListener.h:
        (WebCore::V8LazyEventListener::create):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::evaluate):
        (WebCore::V8Proxy::runScript):
        * bindings/v8/V8Proxy.h:
        * bindings/v8/WorkerContextExecutionProxy.cpp:
        (WebCore::WorkerContextExecutionProxy::evaluate):
        (WebCore::WorkerContextExecutionProxy::runScript):
        * bindings/v8/WorkerContextExecutionProxy.h:
        * bindings/v8/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::evaluate):
        * dom/PendingScript.cpp:
        (WebCore::PendingScript::releaseElementAndClear):
        * dom/PendingScript.h:
        (WebCore::PendingScript::PendingScript):
        (WebCore::PendingScript::operator=):
        (WebCore::PendingScript::startingPosition):
        * dom/ScriptableDocumentParser.h:
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        (WebCore::XMLDocumentParser::startElementNs):
        (WebCore::XMLDocumentParser::endElementNs):
        (WebCore::XMLDocumentParser::lineNumber):
        (WebCore::XMLDocumentParser::columnNumber):
        (WebCore::XMLDocumentParser::textPosition):
        (WebCore::XMLDocumentParser::textPositionOneBased):
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        (WebCore::XMLDocumentParser::textPosition):
        (WebCore::XMLDocumentParser::parseStartElement):
        (WebCore::XMLDocumentParser::parseEndElement):
        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder):
        (WebCore::HTMLDocumentParser::textPosition):
        * html/parser/HTMLDocumentParser.h:
        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::sourceFromPendingScript):
        (WebCore::HTMLScriptRunner::execute):
        (WebCore::HTMLScriptRunner::runScript):
        * html/parser/HTMLScriptRunner.h:
        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::uninitializedPositionValue1):
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
        (WebCore::HTMLTreeBuilder::takeScriptToProcess):
        (WebCore::HTMLTreeBuilder::processEndTag):
        (WebCore::HTMLTreeBuilder::processScriptStartTag):
        * html/parser/HTMLTreeBuilder.h:

2010-10-25  Peter Rybin  <peter.rybin@gmail.com>

        Reviewed by Adam Barth.

        HTML parser should provide script column position within HTML document to JavaScript engine
        https://bugs.webkit.org/show_bug.cgi?id=45271

        Replaces script line number with TextPosition structure.

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::executeScript):
        (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
        (WebKit::WebFrameImpl::executeScriptAndReturnValue):

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

10 years ago[Qt] Implement SharedMemory for WebKit2
zoltan@webkit.org [Mon, 25 Oct 2010 13:48:58 +0000 (13:48 +0000)]
[Qt] Implement SharedMemory for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=47345

Reviewed by Kenneth Rohde Christiansen.

Implement unimplemented functions in SharedMemoryQt.cpp.
Rename MappedMemory.h to MappedMemoryPool.h, move MappedMemoryPool.{h|cpp} from
Shared/qt to Platform/qt. Modify affected lines of WebKit2.pro.
Move MappedMemory implementation into MappedMemoryPool. Remove unnecessary
methods of MappedMemoryPool.

* Platform/SharedMemory.h: Add a handle member for Qt.
* Platform/qt/MappedMemoryPool.cpp: Copied from WebKit2/Shared/qt/MappedMemoryPool.cpp.
(WebKit::MappedMemoryPool::searchForMappedMemory):
(WebKit::MappedMemoryPool::mapMemory):
(WebKit::MappedMemoryPool::mapFile):
* Platform/qt/MappedMemoryPool.h: Copied from WebKit2/Shared/qt/MappedMemory.h.
(WebKit::MappedMemoryPool::MappedMemory::mapSize):
(WebKit::MappedMemoryPool::MappedMemory::markUsed):
(WebKit::MappedMemoryPool::MappedMemory::markFree):
(WebKit::MappedMemoryPool::MappedMemory::isFree):
(WebKit::MappedMemoryPool::MappedMemory::data):
(WebKit::MappedMemoryPool::MappedMemoryPool):
Move MappedMemory implementation into MappedMemoryPool.
* Platform/qt/SharedMemoryQt.cpp:
(WebKit::SharedMemory::Handle::Handle): Implement.
(WebKit::SharedMemory::Handle::~Handle):
(WebKit::SharedMemory::Handle::isNull): Implement.
(WebKit::SharedMemory::Handle::encode): Implement.
(WebKit::SharedMemory::Handle::decode): Implement.
(WebKit::SharedMemory::create): Implement.
(WebKit::mapProtection): Added.
(WebKit::SharedMemory::~SharedMemory): Implement.
(WebKit::SharedMemory::createHandle): Implement.
(WebKit::SharedMemory::systemPageSize): Implement.
* Shared/qt/MappedMemory.h: Removed.
* Shared/qt/MappedMemoryPool.cpp: Removed.
* Shared/qt/UpdateChunk.cpp:
(WebKit::UpdateChunk::UpdateChunk):
(WebKit::UpdateChunk::decode):
Modify to use MappedMemoryPool.
* Shared/qt/UpdateChunk.h:
* WebKit2.pro:
Modify affected lines.

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

10 years agoLand new XP results for backslash-to-yen-sign-euc.html
aroben@apple.com [Mon, 25 Oct 2010 13:34:05 +0000 (13:34 +0000)]
Land new XP results for backslash-to-yen-sign-euc.html

These match the changes made in r69568 for other platforms.

* platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.txt:

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

10 years ago2010-10-25 Benjamin Kalman <kalman@chromium.org>
commit-queue@webkit.org [Mon, 25 Oct 2010 12:31:13 +0000 (12:31 +0000)]
2010-10-25  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Kent Tamura.

        Make editing/deleting/5390681.html and
        editing/deleting/delete-mixed-editable-content-001.html use Markup
        instead of render tree.
        https://bugs.webkit.org/show_bug.cgi?id=48112

        * editing/deleting/5390681-expected.txt: Added.
        * editing/deleting/5390681.html: Updated to use Markup instead of
        render tree.
        * editing/deleting/delete-mixed-editable-content-001-expected.txt: Added.
        * editing/deleting/delete-mixed-editable-content-001.html: Updated to
        use Markup instead of render tree.
        * platform/chromium-linux/editing/deleting/5390681-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/5390681-expected.png: Removed.
        * platform/chromium-linux/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed.
        * platform/chromium-win/editing/deleting/5390681-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/5390681-expected.png: Removed.
        * platform/chromium-win/editing/deleting/5390681-expected.txt: Removed.
        * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed.
        * platform/gtk/editing/deleting/5390681-expected.txt: Removed.
        * platform/mac-leopard/editing/deleting/5390681-expected.checksum: Removed.
        * platform/mac-leopard/editing/deleting/5390681-expected.png: Removed.
        * platform/mac/editing/deleting/5390681-expected.checksum: Removed.
        * platform/mac/editing/deleting/5390681-expected.png: Removed.
        * platform/mac/editing/deleting/5390681-expected.txt: Removed.
        * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed.
        * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed.
        * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed.
        * platform/qt/editing/deleting/5390681-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed.

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

10 years ago2010-10-25 Ariya Hidayat <ariya@sencha.com>
ariya@webkit.org [Mon, 25 Oct 2010 10:09:04 +0000 (10:09 +0000)]
2010-10-25  Ariya Hidayat  <ariya@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Update the baseline for blur shadow test
        https://bugs.webkit.org/show_bug.cgi?id=48223

        After the blur radius fix in r68145, the baseline needs to be updated.

        * platform/qt/fast/box-shadow/basic-shadows-expected.checksum:
        * platform/qt/fast/box-shadow/basic-shadows-expected.png:

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

10 years ago2010-10-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 25 Oct 2010 09:50:25 +0000 (09:50 +0000)]
2010-10-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: slowly make old resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48207

        * inspector/front-end/AuditsPanel.js:
        (WebInspector.AuditsPanel.prototype._reloadResources):
        (WebInspector.AuditsPanel.prototype.show):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
        * inspector/front-end/ResourcesPanel.js:
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._sourceFrameForScriptOrResource):
        (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
        * inspector/front-end/inspector.js:
        (WebInspector._createPanels):
        (WebInspector.doLoadedDone.populateInspectorState):
        (WebInspector.doLoadedDone):
        (WebInspector.openResource):
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.removeResource):
        (WebInspector.displayNameForURL):
        (WebInspector._choosePanelToShowSourceLine):
        (WebInspector.doPerformSearch):

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

10 years ago2010-10-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 25 Oct 2010 09:36:59 +0000 (09:36 +0000)]
2010-10-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: add support for errors, warnings and search to the storage panel.
        https://bugs.webkit.org/show_bug.cgi?id=48206

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        (WebInspector.ConsoleView.prototype.clearMessages):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set errors):
        (WebInspector.Resource.prototype.set warnings):
        (WebInspector.Resource.prototype.get searchMatches):
        (WebInspector.Resource.prototype.set searchMatches):
        (WebInspector.Resource.prototype.clearErrorsAndWarnings):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager):
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype._createResource):
        (WebInspector.ResourceManager.prototype._appendRedirect):
        (WebInspector.ResourceManager.prototype.didReceiveResponse):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype.didCommitLoadForFrame):
        (WebInspector.ResourceManager.prototype.frameDetachedFromParent):
        (WebInspector.ResourceManager.prototype._addFramesRecursively):
        (WebInspector.ResourceManager.prototype.resourceForURL):
        (WebInspector.ResourceManager.prototype.addConsoleMessage):
        (WebInspector.ResourceManager.prototype.clearConsoleMessages):
        (WebInspector.ResourceTreeModel):
        (WebInspector.ResourceTreeModel.prototype.addOrUpdateFrame):
        (WebInspector.ResourceTreeModel.prototype.didCommitLoadForFrame):
        (WebInspector.ResourceTreeModel.prototype.frameDetachedFromParent):
        (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
        (WebInspector.ResourceTreeModel.prototype.addResourceToFrame):
        (WebInspector.ResourceTreeModel.prototype._clearResources):
        (WebInspector.ResourceTreeModel.prototype._bindResourceURL):
        (WebInspector.ResourceTreeModel.prototype._unbindResourceURL):
        (WebInspector.ResourceTreeModel.prototype.resourceForURL):
        (WebInspector.ResourceTreeModel.prototype.forAllResources):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.get toolbarItemLabel):
        (WebInspector.StoragePanel.prototype.reset):
        (WebInspector.StoragePanel.prototype.removeFrame):
        (WebInspector.StoragePanel.prototype.canShowSourceLine):
        (WebInspector.StoragePanel.prototype.showSourceLine):
        (WebInspector.StoragePanel.prototype.showResource):
        (WebInspector.StoragePanel.prototype._showResourceView):
        (WebInspector.StoragePanel.prototype.updateMainViewWidth):
        (WebInspector.StoragePanel.prototype.get searchableViews.callback):
        (WebInspector.StoragePanel.prototype.get searchableViews):
        (WebInspector.StoragePanel.prototype._forAllResourceTreeElements):
        (WebInspector.StoragePanel.prototype.searchMatchFound):
        (WebInspector.StoragePanel.prototype.searchCanceled.callback):
        (WebInspector.StoragePanel.prototype.searchCanceled):
        (WebInspector.StoragePanel.prototype.performSearch):
        (WebInspector.StoragePanel.prototype.showView):
        (WebInspector.BaseStorageTreeElement.prototype.onattach):
        (WebInspector.BaseStorageTreeElement.prototype.set titleText):
        (WebInspector.BaseStorageTreeElement.prototype.isEventWithinDisclosureTriangle):
        (WebInspector.FrameResourceTreeElement):
        (WebInspector.FrameResourceTreeElement.prototype.onselect):
        (WebInspector.FrameResourceTreeElement.prototype.ondblclick):
        (WebInspector.FrameResourceTreeElement.prototype.onattach):
        (WebInspector.FrameResourceTreeElement.prototype._ondragstart):
        (WebInspector.FrameResourceTreeElement.prototype._setBubbleText):
        (WebInspector.FrameResourceTreeElement.prototype._resetBubble):
        (WebInspector.FrameResourceTreeElement.prototype._searchMatchesUpdated):
        (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsUpdated):
        * inspector/front-end/inspector.css:
        (.storage.panel .sidebar):
        (.storage.panel .outline-disclosure li):
        (.storage.panel .outline-disclosure li.parent):
        (.storage.panel .outline-disclosure li .selection):
        (.storage.panel .outline-disclosure .icon):
        (.storage.panel .base-storage-tree-element-title):
        (.storage.panel .status):
        (.storage.panel li .status .bubble):
        (li .status):
        (li .status:empty):
        (li .status .bubble):
        (li .status .bubble:empty):
        (li.selected .status .bubble):
        (:focus li.selected .status .bubble):
        (body.inactive li.selected .status .bubble):
        (li.selected .bubble.search-matches):
        (:focus li.selected .bubble.search-matches):
        (body.inactive li.selected .bubble.search-matches):

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

10 years ago2010-10-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Mon, 25 Oct 2010 09:11:01 +0000 (09:11 +0000)]
2010-10-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        editing/spelling/spellcheck-attribute.html now passes for Mac.

        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Mon, 25 Oct 2010 09:06:50 +0000 (09:06 +0000)]
2010-10-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        fast/frames/frame-src-attribute.html now passes for Mac.

        * platform/chromium/test_expectations.txt:

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

10 years agoMake http locking default in NRWT.
ossy@webkit.org [Mon, 25 Oct 2010 07:56:44 +0000 (07:56 +0000)]
Make http locking default in NRWT.
https://bugs.webkit.org/show_bug.cgi?id=48053

Patch by Gabor Rapcsanyi <rgabor@inf.u-szeged.hu> on 2010-10-25
Reviewed by Ojan Vafai.

* Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

10 years ago<http://webkit.org/b/48185> build-webkit: add support for --progress-tag switch
ossy@webkit.org [Mon, 25 Oct 2010 07:25:06 +0000 (07:25 +0000)]
<webkit.org/b/48185> build-webkit: add support for --progress-tag switch
(Re-landing r70413 after Qt minimal buildfix: r70440.)

Patch by David Kilzer <ddkilzer@apple.com> on 2010-10-25
Reviewed by Kenneth Rohde Christiansen.

* Scripts/build-webkit: Added support for --progress-tag switch.
It should have been added with r57051.

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

10 years agoFix Qt minimal build break revealed by r70413.
ossy@webkit.org [Mon, 25 Oct 2010 07:16:28 +0000 (07:16 +0000)]
Fix Qt minimal build break revealed by r70413.
https://bugs.webkit.org/show_bug.cgi?id=48185

Reviewed by David Kilzer.

* rendering/RenderMeter.h: Missing include added, needless include removed.

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

10 years ago2010-10-20 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Mon, 25 Oct 2010 05:53:35 +0000 (05:53 +0000)]
2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Jian Li.

        Renumber FileError/FileException error codes per latest File API spec changes
        https://bugs.webkit.org/show_bug.cgi?id=47936

        * public/WebFileError.h:
        * src/AssertMatchingEnums.cpp:
        * src/AsyncFileWriterChromium.cpp:
        (WebCore::AsyncFileWriterChromium::didFail):
2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Jian Li.

        Renumber FileError/FileException error codes per latest File API spec changes
        https://bugs.webkit.org/show_bug.cgi?id=47936

        * bindings/js/JSDOMBinding.cpp:
        (WebCore::setDOMException): Added FileExceptionType case.
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::setDOMException): Added FileExceptionType case.
        * dom/ExceptionCode.cpp:
        (WebCore::getExceptionCodeDescription): Added code for FileException.
        * dom/ExceptionCode.h:
        * fileapi/AsyncFileWriterClient.h:
        * fileapi/DirectoryEntry.cpp:
        (WebCore::DirectoryEntry::getFile):
        (WebCore::DirectoryEntry::getDirectory):
        (WebCore::DirectoryEntry::removeRecursively):
        * fileapi/DirectoryEntrySync.cpp:
        (WebCore::DirectoryEntrySync::getFile):
        (WebCore::DirectoryEntrySync::getDirectory):
        (WebCore::DirectoryEntrySync::removeRecursively):
        * fileapi/DirectoryReaderSync.cpp:
        (WebCore::DirectoryReaderSync::readEntries):
        * fileapi/Entry.cpp:
        (WebCore::Entry::getMetadata):
        (WebCore::Entry::moveTo):
        (WebCore::Entry::copyTo):
        (WebCore::Entry::remove):
        (WebCore::Entry::getParent):
        * fileapi/EntrySync.cpp:
        (WebCore::EntrySync::getMetadata):
        (WebCore::EntrySync::moveTo):
        (WebCore::EntrySync::copyTo):
        (WebCore::EntrySync::remove):
        * fileapi/FileError.h: Added error code enum.
        (WebCore::FileError::create):
        (WebCore::FileError::code):
        (WebCore::FileError::FileError):
        * fileapi/FileError.idl: Rebased error code numbers.
        * fileapi/FileException.h: Added exception code enum.
        (WebCore::FileException::ErrorCodeToExceptionCode): Added.
        * fileapi/FileException.idl: Rebased exception code numbers.
        * fileapi/FileReader.cpp:
        (WebCore::FileReader::abort):
        (WebCore::FileReader::failed):
        (WebCore::FileReader::httpStatusCodeToErrorCode): Changed from
        httpStatuCodeToExceptionCode.
        * fileapi/FileReader.h:
        * fileapi/FileReaderSync.cpp:
        (WebCore::FileReaderSyncLoader::start):
        * fileapi/FileSystemCallbacks.cpp:
        (WebCore::FileSystemCallbacksBase::didFail):
        * fileapi/FileWriter.cpp:
        (WebCore::FileWriter::write):
        (WebCore::FileWriter::seek):
        (WebCore::FileWriter::truncate):
        (WebCore::FileWriter::abort):
        (WebCore::FileWriter::didFail):
        (WebCore::FileWriter::setError):
        * fileapi/FileWriter.h:
        * fileapi/SyncCallbackHelper.h:
        (WebCore::SyncCallbackHelper::SyncCallbackHelper):
        (WebCore::SyncCallbackHelper::getResult):
        (WebCore::SyncCallbackHelper::setError):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::requestFileSystem):
        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::requestFileSystem):
        (WebCore::WorkerContext::requestFileSystemSync):
2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Jian Li.

        Renumber FileError/FileException error codes per latest File API spec changes
        https://bugs.webkit.org/show_bug.cgi?id=47936

        Updated test expectations to match with the new error code.

        * fast/files/read-blob-async-expected.txt:
        * fast/files/read-file-async-expected.txt:
        * fast/files/workers/worker-read-blob-async-expected.txt:
        * fast/files/workers/worker-read-blob-sync-expected.txt:
        * fast/files/workers/worker-read-file-async-expected.txt:
        * fast/files/workers/worker-read-file-sync-expected.txt:
        * fast/filesystem/op-copy-expected.txt:
        * fast/filesystem/op-get-entry-expected.txt:
        * fast/filesystem/op-move-expected.txt:
        * fast/filesystem/op-remove-expected.txt:
        * fast/filesystem/op-restricted-chars-expected.txt:
        * fast/filesystem/op-restricted-names-expected.txt:

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

10 years ago2010-10-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 25 Oct 2010 05:29:53 +0000 (05:29 +0000)]
2010-10-24  Adam Barth  <abarth@webkit.org>

        Reviewed by David Kilzer.

        webkit-patch upload fails when the patch removes a file
        https://bugs.webkit.org/show_bug.cgi?id=48187

        We need to use "--" to separate file names from the rest of the
        command.

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

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

10 years agoBuild fix.
mitz@apple.com [Mon, 25 Oct 2010 05:28:50 +0000 (05:28 +0000)]
Build fix.

* Interfaces/WebKit.idl: Touched.

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

10 years agoExpose HitTestResult::absoluteMediaURL() via WebKit API
mitz@apple.com [Mon, 25 Oct 2010 05:17:54 +0000 (05:17 +0000)]
Expose HitTestResult::absoluteMediaURL() via WebKit API
https://bugs.webkit.org/show_bug.cgi?id=48219

Reviewed by Anders Carlsson.

WebCore:

* WebCore.exp.in: Export HitTestResult::absoluteMediaURL().

WebKit/mac:

* Misc/WebElementDictionary.mm:
(+[WebElementDictionary initializeLookupTable]): Map WebElementMediaURLKey to
_absoluteMediaURL.
(-[WebElementDictionary _absoluteMediaURL]): Added. Returns absoluteMediaURL().
* WebKit.exp: Export WebElementMediaURLKey.
* WebView/WebView.mm: Define WebElementMediaURLKey.
* WebView/WebViewPrivate.h: Declare WebElementMediaURLKey.

WebKit/win:

* Interfaces/IWebView.idl: Added WebElementMediaURLKey.
* WebElementPropertyBag.cpp:
(WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().

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