1. 29 Apr, 2009 40 commits
    • mrowe@apple.com's avatar
      Ignore the --use-remote-links-to-tests option for GTK as it leads to · 10918587
      mrowe@apple.com authored
      perl errors being spewed at the end of run-webkit-tests.
      
      * Scripts/run-webkit-tests:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43017 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      10918587
    • mrowe@apple.com's avatar
      Implement test-result-archive for GTK. · 61f55ffd
      mrowe@apple.com authored
      * BuildSlaveSupport/test-result-archive:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43016 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      61f55ffd
    • eric@webkit.org's avatar
      2009-03-27 Benjamin C Meyer <benjamin.meyer@torchmobile.com> · df4a2f37
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Update the page actions when a finishing loading even if the frame is
              not the top frame such as when browsing inside of a website with frames.
              https://bugs.webkit.org/show_bug.cgi?id=24890
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
              * tests/qwebpage/frametest/frame_a.html: Added.
              * tests/qwebpage/frametest/index.html: Added.
              * tests/qwebpage/tst_qwebpage.cpp:
              (tst_QWebPage::backActionUpdate):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43015 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      df4a2f37
    • eric@webkit.org's avatar
      2009-04-29 Mike Belshe <mike@belshe.com> · 6e82feb0
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Update location while page is loading.
              https://bugs.webkit.org/show_bug.cgi?id=21597
      
              Tested by:
              - fast/dom/location-new-window-no-crash
              - fast/dom/Window/window-open-pending-url
      
              * page/Location.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43014 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6e82feb0
    • kov@webkit.org's avatar
      2009-04-29 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 2194040a
      kov@webkit.org authored
              Rubber-stamped by Mark Rowe.
      
              Disable failing tests to make the bot green for its new debut, so
              that we can more easily track regressions.
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43013 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2194040a
    • eric@webkit.org's avatar
      2009-04-29 Feng Qian <feng@chromium.org> · 5bfa2e77
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add Android port files to WebCore/platform.
              https://bugs.webkit.org/show_bug.cgi?id=23296
      
              * platform/android: Added.
              * platform/android/ClipboardAndroid.cpp: Added.
              * platform/android/ClipboardAndroid.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43012 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5bfa2e77
    • eric@webkit.org's avatar
      2009-04-29 Feng Qian <feng@chromium.org> · ce506c76
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add Android-specific files to the WebCore/page directory.
              https://bugs.webkit.org/show_bug.cgi?id=23295
      
              * page/android: Added.
              * page/android/DragControllerAndroid.cpp: Added.
              * page/android/EventHandlerAndroid.cpp: Added.
              * page/android/InspectorControllerAndroid.cpp: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43011 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ce506c76
    • eric@webkit.org's avatar
      2009-04-29 Pavel Feldman <pfeldman@chromium.org> · 4bacb8c1
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Extract PageGroupLoadDeferrer from Chrome.cpp
      
              * GNUmakefile.am: added PageGroupLoadDeferrer
              * WebCore.pro: ditto
              * WebCore.scons: ditto
              * WebCore.vcproj/WebCore.vcproj: ditto
              * WebCore.xcodeproj/project.pbxproj: ditto
              * WebCoreSources.bkl: ditto
              * page/Chrome.cpp: PageGroupLoadDeferrer impl moved to a separate class.
              * page/PageGroupLoadDeferrer.cpp: Added.
              (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
              (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
              * page/PageGroupLoadDeferrer.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43010 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4bacb8c1
    • kdecker@apple.com's avatar
      Reviewed by Anders Carlson. · 7c286111
      kdecker@apple.com authored
              Allow WKN_CheckIfAllowedToLoadURL() to take an optional void* context parameter.
              
              * Plugins/WebNetscapeContainerCheckContextInfo.h:
              * Plugins/WebNetscapeContainerCheckContextInfo.mm:
              (-[WebNetscapeContainerCheckContextInfo initWithCheckRequestID:callbackFunc:context:]):
              (-[WebNetscapeContainerCheckContextInfo callback]):
              (-[WebNetscapeContainerCheckContextInfo context]):
              * Plugins/WebNetscapeContainerCheckPrivate.h:
              * Plugins/WebNetscapeContainerCheckPrivate.mm:
              (browserContainerCheckFuncs):
              * Plugins/WebNetscapePluginView.h:
              * Plugins/WebNetscapePluginView.mm:
              (-[WebNetscapePluginView checkIfAllowedToLoadURL:frame:callbackFunc:context:]):
              (-[WebNetscapePluginView _containerCheckResult:contextInfo:]):
              * Plugins/npapi.mm:
              (WKN_CheckIfAllowedToLoadURL):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43009 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7c286111
    • eric@webkit.org's avatar
      2009-04-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> · d93606fb
      eric@webkit.org authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=25334
      
              Fix Qt build when ENABLE_JIT is explicitly set to 1
              to overrule defaults.
      
              * JavaScriptCore.pri:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43008 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d93606fb
    • ojan@chromium.org's avatar
      Reviewed by Dan Bernstein. · 882f7556
      ojan@chromium.org authored
              Make textarea and text input metrics more closely match IEs.
      
              This involves:
              -set text input width to size*avgCharWidth + maxCharWidth - avgCharWidth
              -set textarea width to cols*avgCharWidth
              -Make default CSS match IEs
              -Correctly initializing m_avgCharWidth and m_maxCharWidth for each platform and SVG.
      
              Those values for textarea and inputs were derived by doing a ton of manual
              testing of IE's width values for various textareas and fonts. On Windows we match
              IE exactly except for a couple fonts of the ~12 tested.
      
              To get the average and max character width of a font, we do the following
              for each platform:
              -Win: TextMetrics expose avgCharWidth and maxCharWidth
              -SVG: avgCharWidth = width of an '0', fallback on width of a space glyph, then m_xHeight
                  maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent
              -Linux: avgCharWidth = width of an '0', fallback on m_xHeight
                  maxCharWidth = max of avgCharWidth and m_ascent
              -Mac: Calculate the avgCharWidth and grab the maxCharWidth off the font.
                  If either one is non-positive, then calculate the value using the Linux approach.
      
              Tests: fast/forms/text-control-intrinsic-widths.html
                     fast/forms/textarea-metrics.html
                     svg/custom/svg-fonts-in-text-controls.html
      
              * css/html4.css:
              * css/themeWin.css:
              * platform/graphics/SimpleFontData.cpp:
              (WebCore::SimpleFontData::SimpleFontData):
              (WebCore::SimpleFontData::initCharWidths):
              * platform/graphics/SimpleFontData.h:
              (WebCore::SimpleFontData::maxCharWidth):
              (WebCore::SimpleFontData::avgCharWidth):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/chromium/SimpleFontDataLinux.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/gtk/SimpleFontDataGtk.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/gtk/SimpleFontDataPango.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/mac/SimpleFontDataMac.mm:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/qt/SimpleFontDataQt.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataCGWin.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataCairoWin.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformCharWidthInit):
              * platform/graphics/win/SimpleFontDataWin.cpp:
              (WebCore::SimpleFontData::initGDIFont):
              * platform/graphics/wx/SimpleFontDataWx.cpp:
              (WebCore::SimpleFontData::platformCharWidthInit):
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::calcPrefWidths):
              * rendering/RenderTextControlMultiLine.cpp:
              (WebCore::RenderTextControlMultiLine::createInnerTextStyle):
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::preferredContentWidth):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43007 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      882f7556
    • oliver@apple.com's avatar
      Crash in profiler due to incorrect assuming displayName would be a string. · aa8bec2f
      oliver@apple.com authored
      Reviewed by Steve Falkenburg
      
      Fixed by adding a type guard.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43006 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      aa8bec2f
    • beidson@apple.com's avatar
      2009-04-29 Brady Eidson <beidson@apple.com> · 8344ff32
      beidson@apple.com authored
              Reviewed by Darin Adler.
      
              * bindings/objc/DOMCSS.mm:
              (kitClass):  Added CSS_INITIAL to the switch statement, and changed to use the WebCore
                type and not the binding type.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43005 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8344ff32
    • eric@webkit.org's avatar
      2009-04-29 John Abd-El-Malek <jam@google.com> · ef5332bb
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Reverted my previous change to add resetChromiumPluginCache().
              https://bugs.webkit.org/show_bug.cgi?id=25318
      
              * plugins/chromium/PluginDataChromium.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43004 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ef5332bb
    • beidson@apple.com's avatar
      2009-04-29 Brady Eidson <beidson@apple.com> · 47be55f0
      beidson@apple.com authored
              Reviewed by Darin Adler
      
              <rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail
      
              Roll out trac.webkit.org/changeset/35867 which fixed <rdar://problem/6153432>
      
              Cloned <rdar://problem/6153432> to <rdar://problem/6839881> to find a better fix for that Tiger Mail bug.
      
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::subresource): Remove the preload referenced check.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      47be55f0
    • eric@webkit.org's avatar
      2009-04-29 Alpha Lam <hclam@chromium.org> · 265ffdc5
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25430
      
              Provide style sheet for UI controls of media elements for Chromium port.
      
              * rendering/RenderThemeChromiumWin.cpp:
              (WebCore::RenderThemeChromiumWin::extraMediaControlsStyleSheet):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      265ffdc5
    • eric@webkit.org's avatar
      2009-04-29 John Abd-El-Malek <jam@chromium.org> · 7c59cf7f
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Expose sudden termination to Chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=25457
      
              * platform/SuddenTermination.h:
              * platform/chromium/ChromiumBridge.h:
              * platform/chromium/SuddenTerminationChromium.cpp: Added.
              (WebCore::disableSuddenTermination):
              (WebCore::enableSuddenTermination):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43001 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7c59cf7f
    • weinig@apple.com's avatar
      2009-04-29 Sam Weinig <sam@webkit.org> · 3fca1506
      weinig@apple.com authored
              Reviewed by Dimitri Glazkov.
      
              Remove unused EventListeners.
      
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@43000 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3fca1506
    • hyatt@apple.com's avatar
      2009-04-29 David Hyatt <hyatt@apple.com> · 0dd092fa
      hyatt@apple.com authored
              Reviewed by John Sullivan.
      
              Fix for <rdar://problem/6835573>, Find Banner turns invisible when WebView is resized.  Make sure
              not to resize the interior views of a WebView in response to its bounds changing when not using
              viewless WebKit.  Auto-resizing rules were already in place to handle size adjustments for us.
              Just mark as needing layout and do nothing else.
      
              This does mean viewless WebKit is broken with the Find Banner, and that will likely require a
              Safari change (using a new API that will enable clients to define the edges of the content area as offsets
              from the sides of the WebView).
      
              * WebView/WebView.mm:
              (-[WebView _boundsChanged]):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42999 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0dd092fa
    • eric.carlson@apple.com's avatar
      2009-04-29 Eric Carlson <eric.carlson@apple.com> · 45869a2d
      eric.carlson@apple.com authored
              Disable media/video-zoom-controls.html on Windows for now.
      
              * platform/win/Skipped: add media/video-zoom-controls.html.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42998 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      45869a2d
    • timothy@apple.com's avatar
      Reveal current execution line once SourceFrame content is loaded. · 3497dbb2
      timothy@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=25448
      
              Reviewed by Timothy Hatcher.
      
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._loaded):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42997 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3497dbb2
    • ariya@webkit.org's avatar
      WebCore: · a024281b
      ariya@webkit.org authored
      2009-04-29  Ariya Hidayat  <ariya.hidayat@nokia.com>
      
              Reviewed by Simon Fraser.
      
              [Qt] Initialize GraphicsContext's and ImageBuffer's QPainter to match
              the default values of canvas attributes.
      
              * platform/graphics/qt/ImageBufferQt.cpp:
              (WebCore::ImageBufferData::ImageBufferData):
      
      LayoutTests:
      
      2009-04-29  Ariya Hidayat  <ariya.hidayat@nokia.com>
      
              Reviewed by Simon Fraser.
      
              Updated expected results after Qt's GraphicsContext fixes.
      
              * platform/qt/fast/canvas/set-colors-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42996 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a024281b
    • ariya@webkit.org's avatar
      2009-04-29 Ariya Hidayat <ariya.hidayat@nokia.com> · b7297d10
      ariya@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Implement QWebElement::evaluateScript.
      
              * Api/qwebelement.cpp:
              (setupScriptContext):
              (QWebElement::evaluateScript):
              * Api/qwebelement.h:
              * tests/qwebelement/tst_qwebelement.cpp:
              (tst_QWebElement::evaluateScript):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42995 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b7297d10
    • hausmann@webkit.org's avatar
      2009-04-29 Simon Hausmann <simon.hausmann@nokia.com> · 2bb5409c
      hausmann@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Replaced QWebElementCollection with QList<QWebElement>.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42994 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2bb5409c
    • hausmann@webkit.org's avatar
      Fix the Qt build · 05604217
      hausmann@webkit.org authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42993 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      05604217
    • ap@webkit.org's avatar
      Fix the test for <https://bugs.webkit.org/show_bug.cgi?id=25420> - I broke it when · 01f1fefc
      ap@webkit.org authored
              experimenting with other aspects of the issue, so it didn't check what it should have checked.
      
              * http/tests/xmlhttprequest/detaching-frame-2.html:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42992 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      01f1fefc
    • ggaren@apple.com's avatar
      2009-04-28 Geoffrey Garen <ggaren@apple.com> · 146d28c4
      ggaren@apple.com authored
              Rubber stamped by Beth Dakin.
              
              Missed one.
      
              * UserObjectImp.cpp:
              (UserObjectImp::callAsFunction):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42991 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      146d28c4
    • ggaren@apple.com's avatar
      2009-04-28 Geoffrey Garen <ggaren@apple.com> · e2ffe6e5
      ggaren@apple.com authored
              Rubber stamped by Beth Dakin.
              
              Missed one.
      
              * bindings/scripts/CodeGeneratorJS.pm:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e2ffe6e5
    • ggaren@apple.com's avatar
      JavaScriptCore: · e98cea97
      ggaren@apple.com authored
      2009-04-28  Geoffrey Garen  <ggaren@apple.com>
      
              Rubber stamped by Beth Dakin.
              
              Removed scaffolding supporting dynamically converting between 32bit and
              64bit value representations. 
      
              * API/JSCallbackConstructor.cpp:
              (JSC::constructJSCallback):
              * API/JSCallbackFunction.cpp:
              (JSC::JSCallbackFunction::call):
              * API/JSCallbackObjectFunctions.h:
              (JSC::::construct):
              (JSC::::call):
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::dump):
              * bytecode/CodeBlock.h:
              (JSC::CodeBlock::getConstant):
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitEqualityOp):
              * interpreter/CallFrame.cpp:
              (JSC::CallFrame::thisValue):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::callEval):
              (JSC::Interpreter::throwException):
              (JSC::Interpreter::createExceptionScope):
              (JSC::Interpreter::privateExecute):
              (JSC::Interpreter::retrieveArguments):
              * interpreter/Register.h:
              (JSC::Register::):
              (JSC::Register::Register):
              (JSC::Register::jsValue):
              (JSC::Register::marked):
              (JSC::Register::mark):
              (JSC::Register::i):
              (JSC::Register::activation):
              (JSC::Register::arguments):
              (JSC::Register::callFrame):
              (JSC::Register::codeBlock):
              (JSC::Register::function):
              (JSC::Register::propertyNameIterator):
              (JSC::Register::scopeChain):
              (JSC::Register::vPC):
              * jit/JITStubs.cpp:
              (JSC::JITStubs::cti_op_call_NotJSFunction):
              (JSC::JITStubs::cti_op_load_varargs):
              (JSC::JITStubs::cti_op_call_eval):
              * jsc.cpp:
              (functionPrint):
              (functionDebug):
              (functionRun):
              (functionLoad):
              * runtime/ArgList.h:
              (JSC::ArgList::at):
              * runtime/Arguments.cpp:
              (JSC::Arguments::copyToRegisters):
              (JSC::Arguments::fillArgList):
              (JSC::Arguments::getOwnPropertySlot):
              * runtime/ArrayConstructor.cpp:
              (JSC::constructArrayWithSizeQuirk):
              * runtime/ArrayPrototype.cpp:
              (JSC::arrayProtoFuncJoin):
              (JSC::arrayProtoFuncConcat):
              (JSC::arrayProtoFuncPush):
              (JSC::arrayProtoFuncSlice):
              (JSC::arrayProtoFuncSort):
              (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::constructBoolean):
              (JSC::callBooleanConstructor):
              * runtime/DateConstructor.cpp:
              (JSC::constructDate):
              (JSC::dateParse):
              (JSC::dateUTC):
              * runtime/DatePrototype.cpp:
              (JSC::formatLocaleDate):
              (JSC::fillStructuresUsingTimeArgs):
              (JSC::fillStructuresUsingDateArgs):
              (JSC::dateProtoFuncSetTime):
              (JSC::dateProtoFuncSetYear):
              * runtime/ErrorConstructor.cpp:
              (JSC::constructError):
              * runtime/FunctionConstructor.cpp:
              (JSC::constructFunction):
              * runtime/FunctionPrototype.cpp:
              (JSC::functionProtoFuncApply):
              (JSC::functionProtoFuncCall):
              * runtime/JSArray.cpp:
              (JSC::JSArray::JSArray):
              (JSC::constructArray):
              * runtime/JSArray.h:
              * runtime/JSGlobalObjectFunctions.cpp:
              (JSC::encode):
              (JSC::decode):
              (JSC::globalFuncEval):
              (JSC::globalFuncParseInt):
              (JSC::globalFuncParseFloat):
              (JSC::globalFuncIsNaN):
              (JSC::globalFuncIsFinite):
              (JSC::globalFuncEscape):
              (JSC::globalFuncUnescape):
              (JSC::globalFuncJSCPrint):
              * runtime/MathObject.cpp:
              (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::mathProtoFuncRound):
              (JSC::mathProtoFuncSin):
              (JSC::mathProtoFuncSqrt):
              (JSC::mathProtoFuncTan):
              * runtime/NativeErrorConstructor.cpp:
              (JSC::NativeErrorConstructor::construct):
              * runtime/NumberConstructor.cpp:
              (JSC::constructWithNumberConstructor):
              (JSC::callNumberConstructor):
              * runtime/NumberPrototype.cpp:
              (JSC::numberProtoFuncToString):
              (JSC::numberProtoFuncToFixed):
              (JSC::numberProtoFuncToExponential):
              (JSC::numberProtoFuncToPrecision):
              * runtime/ObjectConstructor.cpp:
              (JSC::constructObject):
              * runtime/ObjectPrototype.cpp:
              (JSC::objectProtoFuncHasOwnProperty):
              (JSC::objectProtoFuncIsPrototypeOf):
              (JSC::objectProtoFuncDefineGetter):
              (JSC::objectProtoFuncDefineSetter):
              (JSC::objectProtoFuncLookupGetter):
              (JSC::objectProtoFuncLookupSetter):
              (JSC::objectProtoFuncPropertyIsEnumerable):
              * runtime/PropertySlot.h:
              (JSC::PropertySlot::getValue):
              * runtime/RegExpConstructor.cpp:
              (JSC::constructRegExp):
              * runtime/RegExpObject.cpp:
              (JSC::RegExpObject::match):
              * runtime/RegExpPrototype.cpp:
              (JSC::regExpProtoFuncCompile):
              * runtime/StringConstructor.cpp:
              (JSC::stringFromCharCodeSlowCase):
              (JSC::stringFromCharCode):
              (JSC::constructWithStringConstructor):
              (JSC::callStringConstructor):
              * runtime/StringPrototype.cpp:
              (JSC::stringProtoFuncReplace):
              (JSC::stringProtoFuncCharAt):
              (JSC::stringProtoFuncCharCodeAt):
              (JSC::stringProtoFuncConcat):
              (JSC::stringProtoFuncIndexOf):
              (JSC::stringProtoFuncLastIndexOf):
              (JSC::stringProtoFuncMatch):
              (JSC::stringProtoFuncSearch):
              (JSC::stringProtoFuncSlice):
              (JSC::stringProtoFuncSplit):
              (JSC::stringProtoFuncSubstr):
              (JSC::stringProtoFuncSubstring):
              (JSC::stringProtoFuncLocaleCompare):
              (JSC::stringProtoFuncFontcolor):
              (JSC::stringProtoFuncFontsize):
              (JSC::stringProtoFuncAnchor):
              (JSC::stringProtoFuncLink):
      
      WebCore:
      
      2009-04-28  Geoffrey Garen  <ggaren@apple.com>
      
              Rubber stamped by Beth Dakin.
              
              Removed scaffolding supporting dynamically converting between 32bit and
              64bit value representations. 
      
              * bindings/js/JSAudioConstructor.cpp:
              (WebCore::constructAudio):
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              (WebCore::JSCanvasRenderingContext2D::setFillColor):
              (WebCore::JSCanvasRenderingContext2D::setStrokeColor):
              (WebCore::JSCanvasRenderingContext2D::strokeRect):
              (WebCore::JSCanvasRenderingContext2D::drawImage):
              (WebCore::JSCanvasRenderingContext2D::drawImageFromRect):
              (WebCore::JSCanvasRenderingContext2D::setShadow):
              (WebCore::JSCanvasRenderingContext2D::createPattern):
              (WebCore::JSCanvasRenderingContext2D::putImageData):
              (WebCore::JSCanvasRenderingContext2D::fillText):
              (WebCore::JSCanvasRenderingContext2D::strokeText):
              * bindings/js/JSClipboardCustom.cpp:
              (WebCore::JSClipboard::clearData):
              (WebCore::JSClipboard::getData):
              (WebCore::JSClipboard::setData):
              (WebCore::JSClipboard::setDragImage):
              * bindings/js/JSDOMApplicationCacheCustom.cpp:
              (WebCore::JSDOMApplicationCache::hasItem):
              (WebCore::JSDOMApplicationCache::add):
              (WebCore::JSDOMApplicationCache::remove):
              (WebCore::JSDOMApplicationCache::addEventListener):
              (WebCore::JSDOMApplicationCache::removeEventListener):
              * bindings/js/JSDOMStringListCustom.cpp:
              (WebCore::JSDOMStringList::item):
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::open):
              (WebCore::JSDOMWindow::showModalDialog):
              (WebCore::JSDOMWindow::postMessage):
              (WebCore::JSDOMWindow::setTimeout):
              (WebCore::JSDOMWindow::setInterval):
              (WebCore::JSDOMWindow::atob):
              (WebCore::JSDOMWindow::btoa):
              (WebCore::JSDOMWindow::addEventListener):
              (WebCore::JSDOMWindow::removeEventListener):
              * bindings/js/JSDatabaseCustom.cpp:
              (WebCore::JSDatabase::changeVersion):
              (WebCore::JSDatabase::transaction):
              * bindings/js/JSElementCustom.cpp:
              (WebCore::JSElement::setAttribute):
              (WebCore::JSElement::setAttributeNode):
              (WebCore::JSElement::setAttributeNS):
              (WebCore::JSElement::setAttributeNodeNS):
              * bindings/js/JSGeolocationCustom.cpp:
              (WebCore::JSGeolocation::getCurrentPosition):
              (WebCore::JSGeolocation::watchPosition):
              * bindings/js/JSHTMLCollectionCustom.cpp:
              (WebCore::callHTMLCollection):
              (WebCore::JSHTMLCollection::item):
              (WebCore::JSHTMLCollection::namedItem):
              * bindings/js/JSHTMLDocumentCustom.cpp:
              (WebCore::documentWrite):
              * bindings/js/JSHTMLInputElementCustom.cpp:
              (WebCore::JSHTMLInputElement::setSelectionRange):
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              (WebCore::JSHTMLOptionsCollection::add):
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              (WebCore::JSHTMLSelectElement::remove):
              * bindings/js/JSImageConstructor.cpp:
              (WebCore::constructImage):
              * bindings/js/JSInspectorControllerCustom.cpp:
              (WebCore::JSInspectorController::highlightDOMNode):
              (WebCore::JSInspectorController::addResourceSourceToFrame):
              (WebCore::JSInspectorController::addSourceToFrame):
              (WebCore::JSInspectorController::getResourceDocumentNode):
              (WebCore::JSInspectorController::search):
              (WebCore::JSInspectorController::databaseTableNames):
              (WebCore::JSInspectorController::setting):
              (WebCore::JSInspectorController::setSetting):
              (WebCore::JSInspectorController::wrapCallback):
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              (WebCore::JSJavaScriptCallFrame::evaluate):
              * bindings/js/JSLocationCustom.cpp:
              (WebCore::JSLocation::replace):
              (WebCore::JSLocation::assign):
              * bindings/js/JSMessagePortCustom.cpp:
              (WebCore::JSMessagePort::startConversation):
              (WebCore::JSMessagePort::addEventListener):
              (WebCore::JSMessagePort::removeEventListener):
              * bindings/js/JSNodeCustom.cpp:
              (WebCore::JSNode::insertBefore):
              (WebCore::JSNode::replaceChild):
              (WebCore::JSNode::removeChild):
              (WebCore::JSNode::appendChild):
              (WebCore::JSNode::addEventListener):
              (WebCore::JSNode::removeEventListener):
              * bindings/js/JSNodeFilterCustom.cpp:
              (WebCore::JSNodeFilter::acceptNode):
              * bindings/js/JSNodeListCustom.cpp:
              (WebCore::callNodeList):
              * bindings/js/JSOptionConstructor.cpp:
              (WebCore::constructHTMLOptionElement):
              * bindings/js/JSQuarantinedObjectWrapper.cpp:
              (WebCore::JSQuarantinedObjectWrapper::construct):
              (WebCore::JSQuarantinedObjectWrapper::call):
              * bindings/js/JSSQLResultSetRowListCustom.cpp:
              (WebCore::JSSQLResultSetRowList::item):
              * bindings/js/JSSQLTransactionCustom.cpp:
              (WebCore::JSSQLTransaction::executeSql):
              * bindings/js/JSSVGElementInstanceCustom.cpp:
              (WebCore::JSSVGElementInstance::addEventListener):
              (WebCore::JSSVGElementInstance::removeEventListener):
              * bindings/js/JSSVGLengthCustom.cpp:
              (WebCore::JSSVGLength::convertToSpecifiedUnits):
              * bindings/js/JSSVGMatrixCustom.cpp:
              (WebCore::JSSVGMatrix::rotateFromVector):
              * bindings/js/JSSVGPathSegListCustom.cpp:
              (WebCore::JSSVGPathSegList::initialize):
              (WebCore::JSSVGPathSegList::getItem):
              (WebCore::JSSVGPathSegList::insertItemBefore):
              (WebCore::JSSVGPathSegList::replaceItem):
              (WebCore::JSSVGPathSegList::removeItem):
              (WebCore::JSSVGPathSegList::appendItem):
              * bindings/js/JSSVGPointListCustom.cpp:
              (WebCore::JSSVGPointList::initialize):
              (WebCore::JSSVGPointList::getItem):
              (WebCore::JSSVGPointList::insertItemBefore):
              (WebCore::JSSVGPointList::replaceItem):
              (WebCore::JSSVGPointList::removeItem):
              (WebCore::JSSVGPointList::appendItem):
              * bindings/js/JSSVGTransformListCustom.cpp:
              (WebCore::JSSVGTransformList::initialize):
              (WebCore::JSSVGTransformList::getItem):
              (WebCore::JSSVGTransformList::insertItemBefore):
              (WebCore::JSSVGTransformList::replaceItem):
              (WebCore::JSSVGTransformList::removeItem):
              (WebCore::JSSVGTransformList::appendItem):
              * bindings/js/JSWebKitCSSMatrixConstructor.cpp:
              (WebCore::constructWebKitCSSMatrix):
              * bindings/js/JSWebKitPointConstructor.cpp:
              (WebCore::constructWebKitPoint):
              * bindings/js/JSWorkerConstructor.cpp:
              (WebCore::constructWorker):
              * bindings/js/JSWorkerContextCustom.cpp:
              (WebCore::JSWorkerContext::importScripts):
              (WebCore::JSWorkerContext::addEventListener):
              (WebCore::JSWorkerContext::removeEventListener):
              (WebCore::JSWorkerContext::setTimeout):
              (WebCore::JSWorkerContext::setInterval):
              * bindings/js/JSWorkerCustom.cpp:
              (WebCore::JSWorker::addEventListener):
              (WebCore::JSWorker::removeEventListener):
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::open):
              (WebCore::JSXMLHttpRequest::setRequestHeader):
              (WebCore::JSXMLHttpRequest::send):
              (WebCore::JSXMLHttpRequest::getResponseHeader):
              (WebCore::JSXMLHttpRequest::overrideMimeType):
              (WebCore::JSXMLHttpRequest::addEventListener):
              (WebCore::JSXMLHttpRequest::removeEventListener):
              * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
              (WebCore::JSXMLHttpRequestUpload::addEventListener):
              (WebCore::JSXMLHttpRequestUpload::removeEventListener):
              * bindings/js/JSXSLTProcessorCustom.cpp:
              (WebCore::JSXSLTProcessor::importStylesheet):
              (WebCore::JSXSLTProcessor::transformToFragment):
              (WebCore::JSXSLTProcessor::transformToDocument):
              (WebCore::JSXSLTProcessor::setParameter):
              (WebCore::JSXSLTProcessor::getParameter):
              (WebCore::JSXSLTProcessor::removeParameter):
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::create):
              (WebCore::ScheduledAction::ScheduledAction):
              * bindings/js/ScheduledAction.h:
              * bindings/js/ScriptCallFrame.cpp:
              (WebCore::ScriptCallFrame::ScriptCallFrame):
              * bindings/js/ScriptCallFrame.h:
              * bindings/js/ScriptCallStack.cpp:
              (WebCore::ScriptCallStack::ScriptCallStack):
              (WebCore::ScriptCallStack::initialize):
              * bridge/c/c_instance.cpp:
              (JSC::Bindings::CInstance::invokeMethod):
              (JSC::Bindings::CInstance::invokeDefaultMethod):
              (JSC::Bindings::CInstance::invokeConstruct):
              * bridge/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bridge/objc/objc_instance.mm:
              (ObjcInstance::invokeMethod):
              (ObjcInstance::invokeDefaultMethod):
      
      WebKit/mac:
      
      2009-04-28  Geoffrey Garen  <ggaren@apple.com>
      
              Rubber stamped by Beth Dakin.
              
              Removed scaffolding supporting dynamically converting between 32bit and
              64bit value representations. 
      
              * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
              (WebKit::NetscapePluginInstanceProxy::marshalValues):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42989 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e98cea97
    • ddkilzer@apple.com's avatar
      A little more hardening for UString · a84a94d2
      ddkilzer@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Revised fix for <rdar://problem/5861045> in r42644.
      
              * runtime/UString.cpp:
              (JSC::newCapacityWithOverflowCheck): Added.
              (JSC::concatenate): Used newCapacityWithOverflowCheck().
              (JSC::UString::append): Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a84a94d2
    • ddkilzer@apple.com's avatar
      2009-04-28 David Carson <dacarson@apple.com> · 0763416b
      ddkilzer@apple.com authored
              Reviewed by David Hyatt.
      
              Restore alignment to device pixel boundaries.
              https://bugs.webkit.org/show_bug.cgi?id=25458
      
              Adjust the adjusted destination rect to be device pixel aligned.
      
              * platform/graphics/cg/ImageCG.cpp:
              (WebCore::BitmapImage::draw):
      
      2009-04-28  David Carson  <dacarson@apple.com>
      
              Reviewed by David Kilzer.
      
              Restore alignment to device pixel boundaries.
              https://bugs.webkit.org/show_bug.cgi?id=25458
      
              Updated test results with progressions.
      
              * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum:
              * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
              Yin-yang image shifted slightly to pixel boundaries.
      
              * platform/mac/svg/custom/focus-ring-expected.checksum:
              * platform/mac/svg/custom/focus-ring-expected.png:
              Focus rings drawn around rotated "focus text" and checkered
              images shifted slightly to pixel boundaries.
      
              * platform/mac/svg/custom/image-small-width-height-expected.checksum:
              * platform/mac/svg/custom/image-small-width-height-expected.png:
              Checkered images shifted slightly to pixel boundaries.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0763416b
    • ddkilzer@apple.com's avatar
      Added missing pixel test results. · 3dac9d91
      ddkilzer@apple.com authored
              * platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.checksum: Added.
              * platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.png: Added.
              * platform/mac/fast/table/cell-coalescing-expected.checksum: Added.
              * platform/mac/fast/table/cell-coalescing-expected.png: Added.
              * platform/mac/webarchive/adopt-attribute-styled-body-webarchive-expected.checksum: Added.
              * platform/mac/webarchive/adopt-attribute-styled-body-webarchive-expected.png: Added.
              * platform/mac/webarchive/adopt-attribute-styled-node-webarchive-expected.checksum: Added.
              * platform/mac/webarchive/adopt-attribute-styled-node-webarchive-expected.png: Added.
              * platform/mac/webarchive/adopt-inline-styled-node-webarchive-expected.checksum: Added.
              * platform/mac/webarchive/adopt-inline-styled-node-webarchive-expected.png: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42986 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3dac9d91
    • weinig@apple.com's avatar
      2009-04-28 Sam Weinig <sam@webkit.org> · b69d6162
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              Move unimplemented captureEvents and releaseEvents from JSDOMWindow
              to DOMWindow.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::captureEvents):
              (WebCore::DOMWindow::releaseEvents):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42985 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b69d6162
    • ap@webkit.org's avatar
      816518f6
    • ap@webkit.org's avatar
      Reviewed by Sam Weinig. · 67ea898e
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=25420
              <rdar://problem/6829570> REGRESSION: XMLHttpRequest allows loading from another origin
      
              Test: http/tests/xmlhttprequest/detaching-frame-2.html
      
              This was caused by faulty DOMWindow::document(), which could return a new document from
              the window's frame after navigation.
      
              * bindings/js/JSDOMWindowCustom.h: (WebCore::JSDOMWindowBase::allowsAccessFromPrivate):
              Removed an obsolete check that allowed access when document was null. Contrary to what a
              comment said, that can happen for a window that is no longer in frame, not to one whose
              document is not constructed yet.
      
              * bindings/js/JSXMLHttpRequestConstructor.cpp: (WebCore::constructXMLHttpRequest): Bail
              out if context was not found. This currently happens due to a shortcoming in
              DOMWindow::document() - when it is fixed, the XMLHttpRequest object in included regression
              test will be constructed successfully, but won't be sent, because its context will be
              frameless.
      
              * page/DOMWindow.cpp: (WebCore::DOMWindow::document): Check that the window in frame hasn't
              been replaced yet. Added FIXME comments about how this may be better fixed in the future.
      
              * bindings/js/JSAudioConstructor.cpp:
              (WebCore::JSAudioConstructor::document):
              (WebCore::constructAudio):
              * bindings/js/JSImageConstructor.cpp:
              (WebCore::JSImageConstructor::document):
              (WebCore::constructImage):
              * bindings/js/JSMessageChannelConstructor.cpp:
              (WebCore::JSMessageChannelConstructor::construct):
              * bindings/js/JSOptionConstructor.cpp:
              (WebCore::JSOptionConstructor::document):
              (WebCore::constructHTMLOptionElement):
              Make matching changes to other constructors that hold a reference to global object.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42983 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      67ea898e
    • oliver@apple.com's avatar
      Bring back r42969, this time with correct codegen · e8420b29
      oliver@apple.com authored
      Reviewed by Gavin Barraclough.
      
      Add logic to the codegen for right shift to avoid jumping to a helper function
      when shifting a small floating point value.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42982 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e8420b29
    • kevino@webkit.org's avatar
      wxMSW build fix. Switch JSCore build back to static. · 254d1d8f
      kevino@webkit.org authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      254d1d8f
    • ddkilzer@apple.com's avatar
      2009-04-28 Pierre d'Herbemont <pdherbemont@apple.com> · a199e848
      ddkilzer@apple.com authored
              Reviewed by David Kilzer.
      
              https://bugs.webkit.org/show_bug.cgi?id=25462
      
              Make sure "--pixel --add-platform-exceptions" produces platform
              specific pixel test results.
      
              * Scripts/run-webkit-tests: Support "--pixel
              --add-platform-exceptions"
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42979 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a199e848
    • oliver@apple.com's avatar
      Roll out r42969, due to hangs in build bot. · e100184f
      oliver@apple.com authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e100184f
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 13cfdad8
      eric@webkit.org authored
              Add a couple table hit tests
              https://bugs.webkit.org/show_bug.cgi?id=21892
      
              * svg/hittest/svg-inside-display-table-expected.txt: Added.
              * svg/hittest/svg-inside-display-table.xhtml: Added.
              * svg/hittest/svg-inside-table-expected.txt: Added.
              * svg/hittest/svg-inside-table.xhtml: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      13cfdad8