- 09 Jul, 2010 40 commits
-
-
abarth@webkit.org authored
Reviewed by Adam Barth. r63004 broke some python tests https://bugs.webkit.org/show_bug.cgi?id=42007 AbstractStep now checks options.no_squash and options.squash, so they needed to have real values. Mock would return an object for those, which would then act as if the values were True. * Scripts/webkitpy/tool/commands/commandtest.py: * Scripts/webkitpy/tool/commands/download_unittest.py: * Scripts/webkitpy/tool/commands/stepsequence.py: * Scripts/webkitpy/tool/commands/upload_unittest.py: * Scripts/webkitpy/tool/mocktool.py: * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py: * Scripts/webkitpy/tool/steps/steps_unittest.py: * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py: * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kbr@google.com authored
Reviewed by Nate Chapin. bufferSubData causes crash in WebGLBuffer::associateBufferSubData https://bugs.webkit.org/show_bug.cgi?id=42004 Test: fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html * html/canvas/WebGLBuffer.cpp: (WebCore::WebGLBuffer::associateBufferData): - Allocate m_elementArrayBuffer for entry point taking only size. Guard against allocation failures of m_elementArrayBuffer. (WebCore::WebGLBuffer::associateBufferSubData): - Guard against any possibility of crashes due to m_elementArrayBuffer being NULL. 2010-07-09 Kenneth Russell <kbr@google.com> Reviewed by Nate Chapin. bufferSubData causes crash in WebGLBuffer::associateBufferSubData https://bugs.webkit.org/show_bug.cgi?id=42004 * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data-expected.txt: Added. * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kbr@google.com authored
Reviewed by Dimitri Glazkov. Assertion failure in String::utf8() for certain invalid UTF16 inputs https://bugs.webkit.org/show_bug.cgi?id=41983 * wtf/text/WTFString.cpp: (WebCore::String::utf8): - Fixed assertion when sourceExhausted is returned from convertUTF16ToUTF8. 2010-07-09 Kenneth Russell <kbr@google.com> Reviewed by Dimitri Glazkov. Assertion failure in String::utf8() for certain invalid UTF16 inputs https://bugs.webkit.org/show_bug.cgi?id=41983 * fast/canvas/webgl/invalid-UTF-16-expected.txt: Added. * fast/canvas/webgl/invalid-UTF-16.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
Remove unnecessary includes in header files in WebCore/css. https://bugs.webkit.org/show_bug.cgi?id=41941 * css/CSSComputedStyleDeclaration.h: * css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): * css/CSSFontFaceSource.h: * css/CSSPrimitiveValueMappings.h: * css/StyleMedia.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Get rid of manual case maps in HTMLTreeBuilder https://bugs.webkit.org/show_bug.cgi?id=42000 No functional change, thus no tests. * html/HTMLTreeBuilder.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tonyg@chromium.org authored
Reviewed by Dimitri Glazkov. Implement performance.timing.navigationStart https://bugs.webkit.org/show_bug.cgi?id=41815 * fast/dom/script-tests/webtiming.js: (checkTimingBeforeLoad): (checkWebTimingOnLoad): (checkWebTimingAfterLoad): * fast/dom/webtiming-expected.txt: 2010-07-09 Tony Gentilcore <tonyg@chromium.org> Reviewed by Dimitri Glazkov. Implement performance.timing.navigationStart https://bugs.webkit.org/show_bug.cgi?id=41815 See: http://dev.w3.org/2006/webapi/WebTiming/#nt-navigation-start * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadWithDocumentLoader): * loader/FrameLoaderTypes.h: (WebCore::FrameLoadTimeline::FrameLoadTimeline): * page/Timing.cpp: (WebCore::Timing::navigationStart): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ajwong@chromium.org authored
[chromium] Add in baseline for ietestcenter tests that pass. Also rebaseline two other tests. * platform/chromium-mac/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added. * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added. * platform/chromium-win/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added. * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ajwong@chromium.org authored
Reviewed by NOBODY (OOPS!). Need a short description and bug URL (OOPS!) * platform/chromium-mac/media/video-volume-slider-expected.checksum: * platform/chromium-mac/media/video-volume-slider-expected.png: * platform/chromium-mac/media/video-volume-slider-expected.txt: * platform/chromium-win/http/tests/plugins/plugin-document-has-focus-expected.txt: * platform/chromium-win/plugins/keyboard-events-expected.txt: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ojan@chromium.org authored
Reviewed by Adam Barth. --squash should go away and become the default https://bugs.webkit.org/show_bug.cgi?id=39624 If there are local commits and working copy changes, then prompt the user whether to continue. Setting git config webkit-patch.commit_should_always_squash true bypasses the prompt. --git-commit=HEAD.. operates on working copy changes only. --git-commit=committish operates on a range of commits as a single commit. e.g. --git-commit=HEAD only operates on the HEAD commit. --git-commit=HEAD~4..HEAD~2 will operate on HEAD~3 and HEAD~2 as a single commit. --no-squash and --squash are left in with descriptive error messages if used. * Scripts/check-webkit-style: * Scripts/webkitpy/common/checkout/api.py: * Scripts/webkitpy/common/checkout/api_unittest.py: * Scripts/webkitpy/common/checkout/scm.py: * Scripts/webkitpy/common/checkout/scm_unittest.py: * Scripts/webkitpy/common/net/rietveld.py: * Scripts/webkitpy/common/system/user.py: * Scripts/webkitpy/style/optparser.py: * Scripts/webkitpy/style_references.py: * Scripts/webkitpy/tool/commands/download.py: * Scripts/webkitpy/tool/commands/upload.py: * Scripts/webkitpy/tool/mocktool.py: * Scripts/webkitpy/tool/steps/abstractstep.py: * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py: * Scripts/webkitpy/tool/steps/checkstyle.py: * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Removed. * Scripts/webkitpy/tool/steps/commit.py: * Scripts/webkitpy/tool/steps/options.py: * Scripts/webkitpy/tool/steps/preparechangelog.py: * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: * Scripts/webkitpy/tool/steps/validatereviewer.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Fix SVG tag name casing for HTMLTreeBuilder https://bugs.webkit.org/show_bug.cgi?id=41998 * html5lib/runner-expected-html5.txt: 2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented https://bugs.webkit.org/show_bug.cgi?id=41954 Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive implementation of GraphicsLayerQt::syncCompositingState and which targets the current layer only. * platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly): * platform/graphics/qt/GraphicsLayerQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented https://bugs.webkit.org/show_bug.cgi?id=41954 Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive implementation of GraphicsLayerQt::syncCompositingState and which targets the current layer only. * platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly): * platform/graphics/qt/GraphicsLayerQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=41994 Reviewed by Sam Weinig and Dan Bernstein. * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: Handle NPPVpluginDrawingModel and NPPVpluginEventModel. * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): Initialize m_inNPPNew. (WebKit::NetscapePlugin::~NetscapePlugin): Assert that we aren't still running. (WebKit::NetscapePlugin::fromNPP): New function that returns a NetscapePlugin object given a NPP pointer. (WebKit::NetscapePlugin::initialize): * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: (WebKit::NetscapePlugin::setDrawingModel): Set the drawing model. (WebKit::NetscapePlugin::setEventModel): Set the event model. (WebKit::initializeEvent): (WebKit::NetscapePlugin::platformPaint): Only send the Cocoa event when using the Cocoa event model. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
* BuildSlaveSupport/build.webkit.org-config/config.json: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Darin Adler. Fix build by adding missing html/TimeRanges.idl to CMakeLists.txt. https://bugs.webkit.org/show_bug.cgi?id=41945 No functional changes, thus no tests. * CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ajwong@chromium.org authored
rebaseline_chromium_webkit_tests missing --use_drt option on linux https://bugs.webkit.org/show_bug.cgi?id=41985 This adds in the --use_drt option for rebaseline_chromium_webkit_tests so that it works on linux. This is essentially a "compile-fix" for the script. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=41971weinig@apple.com authored
Add really basic BackForwardList support. Reviewed by Anders Carlsson. * Shared/CoreIPCSupport/WebPageMessageKinds.h: (WebPageMessage::): Add new message kind. * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: (WebPageProxyMessage::): Add new message kinds. Remove DidChangeCanGoBack and DidChangeCanGoForward. * UIProcess/API/C/WKPage.cpp: (WKPageGoToBackForwardListItem): * UIProcess/API/C/WKPage.h: Add function to initiate a navigation to a BackForward item. The BackForward list will be updated to use this as the current item asynchronously. * UIProcess/WebBackForwardList.cpp: (WebKit::WebBackForwardList::WebBackForwardList): (WebKit::WebBackForwardList::addItem): Added. (WebKit::WebBackForwardList::goToItem): Added. (WebKit::WebBackForwardList::itemAtIndex): Added. (WebKit::WebBackForwardList::backListCount): Changed to return int matching WebCore. (WebKit::WebBackForwardList::forwardListCount): Ditto. (WebKit::WebBackForwardList::backListWithLimit): Add cast to int. (WebKit::WebBackForwardList::forwardListWithLimit): Ditto. (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): Ditto. (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit): Ditto. * UIProcess/WebBackForwardList.h: * UIProcess/WebBackForwardListItem.cpp: (WebKit::WebBackForwardListItem::WebBackForwardListItem): * UIProcess/WebBackForwardListItem.h: (WebKit::WebBackForwardListItem::create): (WebKit::WebBackForwardListItem::itemID): Added itemID. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::canGoForward): (WebKit::WebPageProxy::canGoBack): (WebKit::WebPageProxy::goToBackForwardItem): (WebKit::WebPageProxy::didReceiveMessage): (WebKit::WebPageProxy::didReceiveSyncMessage): (WebKit::WebPageProxy::addItemToBackForwardList): (WebKit::WebPageProxy::goToItemInBackForwardList): (WebKit::WebPageProxy::processDidExit): * UIProcess/WebPageProxy.h: - Removed m_canGoBack and m_canGoForward booleans and instead use the BackForwardList. - Forward goToBackForwardItem to the WebProcess. - Respond to messages from the WebBackForwardListProxy in the WebProcess, forwarding to the WebBackForwardList. * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: (WebKit::WebBackForwardControllerClient::createBackForwardList): Start using a WebBackForwardListProxy instead of a BackForwardListImpl. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidAddBackForwardItem): (WebKit::WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): (WebKit::WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): Remove calls backForwardListDidChange() now that we communicate much more information than just this state. * WebProcess/WebPage/WebBackForwardListProxy.cpp: (WebKit::idToHistoryItemMap): (WebKit::historyItemToIDMap): (WebKit::generateHistoryItemID): (WebKit::getIDForHistoryItem): (WebKit::WebBackForwardListProxy::itemForID): Add leaking cached maps of HistoryItems to IDs, the life time of these objects will be improved in a subsequent patch. (WebKit::WebBackForwardListProxy::WebBackForwardListProxy): (WebKit::WebBackForwardListProxy::addItem): (WebKit::WebBackForwardListProxy::goBack): (WebKit::WebBackForwardListProxy::goForward): (WebKit::WebBackForwardListProxy::goToItem): (WebKit::WebBackForwardListProxy::backItem): (WebKit::WebBackForwardListProxy::currentItem): (WebKit::WebBackForwardListProxy::forwardItem): (WebKit::WebBackForwardListProxy::itemAtIndex): (WebKit::WebBackForwardListProxy::backListWithLimit): (WebKit::WebBackForwardListProxy::forwardListWithLimit): (WebKit::WebBackForwardListProxy::capacity): (WebKit::WebBackForwardListProxy::setCapacity): (WebKit::WebBackForwardListProxy::enabled): (WebKit::WebBackForwardListProxy::setEnabled): (WebKit::WebBackForwardListProxy::backListCount): (WebKit::WebBackForwardListProxy::forwardListCount): (WebKit::WebBackForwardListProxy::containsItem): (WebKit::WebBackForwardListProxy::close): (WebKit::WebBackForwardListProxy::closed): (WebKit::WebBackForwardListProxy::removeItem): (WebKit::WebBackForwardListProxy::entries): (WebKit::WebBackForwardListProxy::pushStateItem): * WebProcess/WebPage/WebBackForwardListProxy.h: Forward functions to the UIProcess. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::goToBackForwardItem): (WebKit::WebPage::didReceiveMessage): * WebProcess/WebPage/WebPage.h: Respond to GoToBackForwardItem message. * mac/WebKit2.exp: Add new API function. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Geoffrey Garen. Remove a couple of excess writes from the lexer https://bugs.webkit.org/show_bug.cgi?id=41981 Remove a couple of fields from JSTokenInfo, and rename the remaining ones to something more accurate * parser/JSParser.cpp: (JSC::JSParser::next): (JSC::JSParser::tokenStart): (JSC::JSParser::tokenLine): (JSC::JSParser::tokenEnd): * parser/JSParser.h: (JSC::JSTokenInfo::JSTokenInfo): * parser/Lexer.cpp: (JSC::Lexer::lex): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Implement SVG attribute case mapping for HTMLTreeBuilder https://bugs.webkit.org/show_bug.cgi?id=41949 Update results now that we pass 3 more tests. * html5lib/runner-expected-html5.txt: 2010-07-09 Eric Seidel <eric@webkit.org> Reviewed by Adam Barth. Implement SVG attribute case mapping for HTMLTreeBuilder https://bugs.webkit.org/show_bug.cgi?id=41949 Tested by html5lib/runner.html. * html/HTMLTreeBuilder.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=41984 Reviewed by Sam Weinig. * WebKit2.xcodeproj/project.pbxproj: Add NetscapePluginMac.cpp. * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): Initialize drawing and event models. (WebKit::NetscapePlugin::initialize): Call platformPostInitialize. (WebKit::NetscapePlugin::destroy): Call NPP_Destroy. (WebKit::NetscapePlugin::paint): Call platformPaint. * WebProcess/Plugins/Netscape/NetscapePlugin.h: Add member functions. * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: Added. (WebKit::NetscapePlugin::platformPostInitialize): Set default event and drawing models and verify that they are compatible. (WebKit::NetscapePlugin::platformPaint): Send a paint event (assuming the Cocoa event model currently). * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::paint): Change the paint rect to be in window coordinates. (WebKit::PluginView::viewGeometryDidChange): (WebKit::PluginView::clipRectInWindowCoordinates): * WebProcess/Plugins/PluginView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
Reviewed by Adele Peterson. Remove the workaround for a Core Animation bug on platforms where the bug has been fixed. https://bugs.webkit.org/show_bug.cgi?id=41927 <rdar://problem/7920153> * platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add a compile-time check for platforms that have a Core Animation bug that needs working around. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thakis@chromium.org authored
Unreviewed. Adding myself as committer. * Scripts/webkitpy/common/config/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://webkit.org/b/41788ddkilzer@apple.com authored
Revert "<http://webkit.org/b/41788> commit-log-editor: wrong ChangeLog read when invoked from subdir with git" This reverts commit r62692. * Scripts/commit-log-editor: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kinuko@chromium.org authored
Reviewed by Ojan Vafai. cleanup json_results_generator dependencies so that non-layout-tests can also use it safely https://bugs.webkit.org/show_bug.cgi?id=38693 Introduced a new base class JSONResultsGeneratorBase that doesn't have any dependency on layout_tests packages. Turned JSONResultsGenerator into a wrapper class of the base class so that the old code can work with it during the cleanup. Added json_results_generator_unittest.py. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py: Added git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xji@chromium.org authored
Reviewed by David Levin. Rebaseline bidi-mirror-he-ar.html and bidi-neutral-run.html for Chromium after r62965 https://bugs.webkit.org/show_bug.cgi?id=41974 * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added. * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.png: Added. * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.checksum: * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.png: * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added. * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png: Added. * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added. * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.png: Added. * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tonyg@chromium.org authored
Reviewed by Nate Chapin. Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing https://bugs.webkit.org/show_bug.cgi?id=41332 Expectations are set to FAIL because disabled by default. Passes with --web-timing. * fast/dom/script-tests/webtiming.js: Added. (sleepFiftyMilliseconds): (shouldBeGreaterThanOrEqual): (checkTimingBeforeLoad): (checkWebTimingOnLoad): (checkWebTimingAfterLoad): * fast/dom/webtiming-expected.txt: Added. * fast/dom/webtiming.html: Added. 2010-07-08 Tony Gentilcore <tonyg@chromium.org> Reviewed by Nate Chapin. Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing https://bugs.webkit.org/show_bug.cgi?id=41332 Test: fast/dom/webtiming.html * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): (WebCore::FrameLoader::loadWithDocumentLoader): * loader/FrameLoader.h: (WebCore::FrameLoader::frameLoadTimeline): * loader/FrameLoaderTypes.h: (WebCore::FrameLoadTimeline::FrameLoadTimeline): * page/DOMWindow.cpp: (WebCore::DOMWindow::dispatchLoadEvent): * page/Timing.cpp: (WebCore::Timing::navigationStart): (WebCore::Timing::unloadEventEnd): (WebCore::Timing::loadEventStart): (WebCore::Timing::loadEventEnd): * page/Timing.h: * page/Timing.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
inferno@chromium.org authored
Unreviewed. Marking myself as a committer. * Scripts/webkitpy/common/config/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aa@chromium.org authored
Reviewed by Ojan Vafai. Fix regression from r62876. https://bugs.webkit.org/show_bug.cgi?id=41928 * platform/mac/Skipped: * printing/page-rule-selection.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thakis@chromium.org authored
Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=41580 Fix layout test to be smaller in y direction. Also add explanatory text. * fast/gradients/radial-centered.html: Make divs display:inline-block. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xji@chromium.org authored
Reviewed by David Levin. Rebaseline bidi-mirror-he-ar.html for leopard and snowleopard. https://bugs.webkit.org/show_bug.cgi?id=41974 * platform/mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/mac-snowleopard/platform/mac/fast/text: Removed. * platform/mac-snowleopard/platform/mac/fast/text/international: Removed. * platform/mac-snowleopard/platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed. * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
Remove all unnecessary includes from the header files in WebCore/accessibility/. https://bugs.webkit.org/show_bug.cgi?id=41941 * accessibility/AXObjectCache.h: * accessibility/AccessibilityListBox.cpp: * accessibility/AccessibilityListBox.h: * accessibility/AccessibilityMenuList.h: * accessibility/mac/AccessibilityObjectWrapper.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ajwong@chromium.org authored
[chromium] upstreaming expectations from chromium. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ajwong@chromium.org authored
[chromium] Update test expecations for failing tests. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kent Tamura. [WINCE] Buildfix for EventHandlerWin https://bugs.webkit.org/show_bug.cgi?id=41909 Use Clipboard.h instead of ClipboardWin.h on WinCE. * page/win/EventHandlerWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=41969 Reviewed by Sam Weinig. * WebProcess/Plugins/DummyPlugin.cpp: (WebKit::DummyPlugin::geometryDidChange): * WebProcess/Plugins/DummyPlugin.h: Add clip rect parameter. * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): Initialize m_npWindow. (WebKit::NetscapePlugin::callSetWindow): Call NPP_SetWindow. (WebKit::NetscapePlugin::initialize): Set the window type to NPWindowTypeDrawable for now. (WebKit::NetscapePlugin::geometryDidChange): Update the frame and clip rects and call NPP_SetWindow. * WebProcess/Plugins/Netscape/NetscapePlugin.h: Add an NPWindow member variable. * WebProcess/Plugins/Plugin.h: Add a clipRect parameter to geometryDidChange. * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::PluginView): Add the plug-in element to the constructor. (WebKit::PluginView::viewGeometryDidChange): Compute the clip rect and pass it to the plug-in. * WebProcess/Plugins/PluginView.h: (WebKit::PluginView::create): Pass the plug-in element to the constructor. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::createPlugin): Pass the plug-in element to PluginView::create. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r62946. http://trac.webkit.org/changeset/62946 https://bugs.webkit.org/show_bug.cgi?id=41965 AppCache inspector support should be enabled in WebKit ToT. (Requested by pfeldman_ on #webkit). * inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel): (WebInspector.StoragePanel.prototype.reset): (WebInspector.StoragePanel.prototype.addApplicationCache): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Test for the newly implemented MathML mathcolor & mathbackground attributes https://bugs.webkit.org/show_bug.cgi?id=41895 * mathml/presentation/attributes.xhtml: Added. * platform/mac/mathml/presentation/attributes-expected.checksum: Added. * platform/mac/mathml/presentation/attributes-expected.png: Added. * platform/mac/mathml/presentation/attributes-expected.txt: Added. 2010-07-09 François Sausset <sausset@gmail.com> Reviewed by Kenneth Rohde Christiansen. Implement MathML mathcolor & mathbackground attributes https://bugs.webkit.org/show_bug.cgi?id=41895 Test: mathml/presentation/attributes.xhtml * dom/MappedAttributeEntry.h: (WebCore::): * mathml/MathMLElement.cpp: (WebCore::MathMLElement::MathMLElement): (WebCore::MathMLElement::mapToEntry): (WebCore::MathMLElement::parseMappedAttribute): * mathml/MathMLElement.h: * mathml/mathattrs.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vitalyr@chromium.org authored
Unreviewed. [chromium] Updating expectations. * platform/chromium-win/svg/batik/paints/gradientLimit-expected.txt: * platform/chromium-win/svg/batik/paints/patternPreserveAspectRatioA-expected.txt: * platform/chromium-win/svg/batik/text/textLength-expected.txt: * platform/chromium-win/svg/carto.net/button-expected.txt: * platform/chromium-win/svg/carto.net/colourpicker-expected.txt: * platform/chromium-win/svg/carto.net/combobox-expected.txt: * platform/chromium-win/svg/carto.net/slider-expected.txt: * platform/chromium-win/svg/carto.net/textbox-expected.txt: * platform/chromium-win/svg/carto.net/window-expected.txt: * platform/chromium-win/svg/custom/animate-path-morphing-expected.txt: * platform/chromium-win/svg/custom/coords-relative-units-transforms-expected.txt: * platform/chromium-win/svg/custom/foreign-object-skew-expected.txt: * platform/chromium-win/svg/custom/pattern-rotate-expected.txt: * platform/chromium-win/svg/custom/text-rotated-gradient-expected.txt: * platform/chromium-win/svg/custom/use-detach-expected.txt: * platform/chromium-win/svg/custom/use-font-face-crash-expected.txt: * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt: * platform/chromium-win/svg/custom/use-property-changes-through-svg-dom-expected.txt: * platform/chromium-win/svg/custom/use-referencing-nonexisting-symbol-expected.txt: * platform/chromium-win/svg/custom/use-transform-expected.txt: * platform/chromium-win/svg/hixie/text/003b-expected.txt: * platform/chromium-win/svg/text/foreignObject-repaint-expected.txt: * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.txt: * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: * platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xji@chromium.org authored
Reviewed by David Levin. Fix characters with unicode-bidi-mirror property are not correctly mirrored in Linux. https://bugs.webkit.org/show_bug.cgi?id=41305 Since harfbuzz does not do mirroring, chromium should iterate each character in the string and mirror it if needed before passing the string to harfbuzz for shaping. Test: fast/text/international/bidi-mirror-he-ar.html * platform/graphics/chromium/FontLinux.cpp: (WebCore::TextRunWalker::TextRunWalker): (WebCore::TextRunWalker::~TextRunWalker): (WebCore::TextRunWalker::mirrorCharacters): 2010-07-09 Xiaomei Ji <xji@chromium.org> Reviewed by David Levin. Fix characters with unicode-bidi-mirror property are not correctly mirrored in Linux. https://bugs.webkit.org/show_bug.cgi?id=41305 Since harfbuzz does not do mirroring, chromium should iterate each character in the string and mirror it if needed before passing the string to harfbuzz for shaping. * fast/text/international/bidi-mirror-he-ar.html: Added. * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.checksum: * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.png: * platform/mac-snowleopard/platform/mac/fast/text: Added. * platform/mac-snowleopard/platform/mac/fast/text/international: Added. * platform/mac-snowleopard/platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/mac-tiger/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added. * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png: Added. * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-