1. 21 Nov, 2011 12 commits
    • noel.gordon@gmail.com's avatar
      Update .gitignore for latest WebKitLibraries · ce421f93
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72851
      
      Reviewed by Andreas Kling.
      
      * .gitignore: updates to silence 'git status' about WebKitLibraries files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce421f93
    • carlosgc@webkit.org's avatar
      [GTK] Update NEWS and configure.ac for 1.7.2 release · f1fee405
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72868
      
      Reviewed by Xan Lopez.
      
      .:
      
      * configure.ac: Bumped version number.
      
      Source/WebKit/gtk:
      
      * NEWS: Added release notes for 1.7.2.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1fee405
    • steveblock@google.com's avatar
      ASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit-tests) · e18ad15d
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=59552
      
      Add CRASH expectation for jquery/offset.html.
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e18ad15d
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r100856. · 17a81472
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/100856
      https://bugs.webkit.org/show_bug.cgi?id=72867
      
      New test fast/css/style-tag-display-none.html fails on
      Chromium (Requested by steveblock on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-21
      
      Source/WebCore:
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::matchUARules):
      
      LayoutTests:
      
      * fast/css/style-tag-display-none-expected.txt: Removed.
      * fast/css/style-tag-display-none.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17a81472
    • jochen@chromium.org's avatar
      Implement Meta referrer · 4761ef58
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72674
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      http://wiki.whatwg.org/wiki/Meta_referrer
      
      Tests: http/tests/security/referrer-policy-always.html
             http/tests/security/referrer-policy-default.html
             http/tests/security/referrer-policy-https-always.html
             http/tests/security/referrer-policy-https-default.html
             http/tests/security/referrer-policy-https-never.html
             http/tests/security/referrer-policy-https-origin.html
             http/tests/security/referrer-policy-never.html
             http/tests/security/referrer-policy-origin.html
             http/tests/security/referrer-policy-redirect.html
             http/tests/security/referrer-policy-rel-noreferrer.html
      
      * WebCore.exp.in: updated
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::processReferrerPolicy):
      * dom/Document.h:
      (WebCore::Document::referrerPolicy):
      * html/HTMLAnchorElement.cpp:
      (WebCore::HTMLAnchorElement::handleClick):
      * html/HTMLMetaElement.cpp:
      (WebCore::HTMLMetaElement::process):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadFrameRequest):
      (WebCore::FrameLoader::loadResourceSynchronously):
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage):
      (WebCore::PingLoader::sendPing):
      (WebCore::PingLoader::reportContentSecurityPolicyViolation):
      * loader/SubframeLoader.cpp:
      (WebCore::SubframeLoader::loadSubframe):
      * loader/SubresourceLoader.cpp:
      (WebCore::SubresourceLoader::create):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::generateReferrerHeader):
      * page/SecurityPolicy.h:
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * public/WebFrame.h:
      * public/WebReferrerPolicy.h: Added.
      * public/WebSecurityPolicy.h:
      * src/AssertMatchingEnums.cpp:
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::referrerPolicy):
      (WebKit::WebFrameImpl::setReferrerForRequest):
      * src/WebFrameImpl.h:
      * src/WebSecurityPolicy.cpp:
      (WebKit::WebSecurityPolicy::generateReferrerHeader):
      
      Source/WebKit/mac:
      
      * Plugins/Hosted/HostedNetscapePluginStream.mm:
      (WebKit::HostedNetscapePluginStream::HostedNetscapePluginStream):
      * Plugins/WebNetscapePluginStream.mm:
      (WebNetscapePluginStream::WebNetscapePluginStream):
      
      Source/WebKit2:
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::loadURL):
      
      LayoutTests:
      
      * http/tests/security/referrer-policy-always-expected.txt: Added.
      * http/tests/security/referrer-policy-always.html: Added.
      * http/tests/security/referrer-policy-default-expected.txt: Added.
      * http/tests/security/referrer-policy-default.html: Added.
      * http/tests/security/referrer-policy-https-always-expected.txt: Added.
      * http/tests/security/referrer-policy-https-always.html: Added.
      * http/tests/security/referrer-policy-https-default-expected.txt: Added.
      * http/tests/security/referrer-policy-https-default.html: Added.
      * http/tests/security/referrer-policy-https-never-expected.txt: Added.
      * http/tests/security/referrer-policy-https-never.html: Added.
      * http/tests/security/referrer-policy-https-origin-expected.txt: Added.
      * http/tests/security/referrer-policy-https-origin.html: Added.
      * http/tests/security/referrer-policy-never-expected.txt: Added.
      * http/tests/security/referrer-policy-never.html: Added.
      * http/tests/security/referrer-policy-origin-expected.txt: Added.
      * http/tests/security/referrer-policy-origin.html: Added.
      * http/tests/security/referrer-policy-redirect-expected.txt: Added.
      * http/tests/security/referrer-policy-redirect.html: Added.
      * http/tests/security/referrer-policy-rel-noreferrer-expected.txt: Added.
      * http/tests/security/referrer-policy-rel-noreferrer.html: Added.
      * http/tests/security/resources/referrer-policy-log.php: Added.
      * http/tests/security/resources/referrer-policy-redirect.html: Added.
      * http/tests/security/resources/referrer-policy-start.html: Added.
      * http/tests/security/resources/rel-noreferrer.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4761ef58
    • vsevik@chromium.org's avatar
      Web Inspector: ApplicationCache view should show navigator.onLine indicator. · e4a09265
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72618
      
      Reviewed by Pavel Feldman.
      
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::enable):
      * inspector/front-end/ApplicationCacheItemsView.js:
      (WebInspector.ApplicationCacheItemsView):
      (WebInspector.ApplicationCacheItemsView.prototype.wasShown):
      * inspector/front-end/ApplicationCacheModel.js:
      (WebInspector.ApplicationCacheModel):
      (WebInspector.ApplicationCacheModel.prototype.get onLine):
      (WebInspector.ApplicationCacheModel.prototype._networkStateUpdated):
      * inspector/front-end/ResourcesPanel.js:
      (WebInspector.ResourcesPanel.prototype.showApplicationCache):
      (WebInspector.ResourcesPanel.prototype._applicationCacheNetworkStateChanged):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4a09265
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix make distcheck build. · 65b2f7e7
      carlosgc@webkit.org authored
      Source/WebCore:
      
      * GNUmakefile.list.am:
      
      Source/WebKit2:
      
      * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65b2f7e7
    • dmazzoni@google.com's avatar
      Accessibility: Multiselect list boxes need to report the active option in... · 3c863ea5
      dmazzoni@google.com authored
      Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
      https://bugs.webkit.org/show_bug.cgi?id=72479
      
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      Test: accessibility/multiselect-list-reports-active-option.html
      
      * accessibility/AccessibilityListBoxOption.cpp:
      (WebCore::AccessibilityListBoxOption::isSelectedOptionActive):
      * accessibility/AccessibilityListBoxOption.h:
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::isSelectedOptionActive):
      
      Source/WebKit/chromium:
      
      Test: accessibility/multiselect-list-reports-active-option.html
      
      * public/WebAccessibilityObject.h:
      * src/WebAccessibilityObject.cpp:
      (WebKit::WebAccessibilityObject::isSelectedOptionActive):
      
      Tools:
      
      * DumpRenderTree/AccessibilityUIElement.cpp:
      (getIsSelectedOptionActiveCallback):
      (AccessibilityUIElement::getJSClass):
      * DumpRenderTree/AccessibilityUIElement.h:
      * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
      (AccessibilityUIElement::AccessibilityUIElement):
      (AccessibilityUIElement::isSelectedOptionActiveGetterCallback):
      * DumpRenderTree/chromium/AccessibilityUIElement.h:
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      (AccessibilityUIElement::isSelectedOptionActive):
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (AccessibilityUIElement::isSelectedOptionActive):
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (AccessibilityUIElement::isSelectedOptionActive):
      
      LayoutTests:
      
      * accessibility/multiselect-list-reports-active-option.html: Added.
      * platform/chromium/accessibility/multiselect-list-reports-active-option-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c863ea5
    • yutak@chromium.org's avatar
      [Qt] WebSocket close tests are failing · 455450f8
      yutak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72865
      
      Reviewed by Simon Hausmann.
      
      Source/WebCore:
      
      * platform/network/qt/SocketStreamHandleQt.cpp:
      (WebCore::SocketStreamHandlePrivate::close):
      Emit didCloseSocketStream() callback even before the connection is established.
      Call m_socket->abort() to prevent "connected" signal from firing.
      
      LayoutTests:
      
      * platform/qt/Skipped:
      Unskip five WebSocket tests. Remove "failing websocket tests" section,
      as there are no tests in this section.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      455450f8
    • commit-queue@webkit.org's avatar
      Refactoring: SpellChecker::requestCheckingFor should take Range instead of Node. · 385a2709
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72847
      
      Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-21
      Reviewed by Hajime Morita.
      
      Covered by existing test.
      
      * editing/Editor.cpp:
      (WebCore::Editor::replaceSelectionWithFragment):
        Passes Range to requestCheckingFor instead of Node.
      * editing/SpellChecker.cpp:
        Changed argument type from Node to Range.
        The corresponding changes are also done in dependent methods.
      (WebCore::SpellChecker::initRequest):
      (WebCore::SpellChecker::clearRequest):
      (WebCore::SpellChecker::canCheckAsynchronously):
      (WebCore::SpellChecker::isBusy):
      (WebCore::SpellChecker::isValid):
      (WebCore::SpellChecker::isCheckable):
      (WebCore::SpellChecker::requestCheckingFor):
        Changed argument type from Node to Range.
      (WebCore::SpellChecker::doRequestCheckingFor):
      (WebCore::SpellChecker::didCheck):
      * editing/SpellChecker.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      385a2709
    • commit-queue@webkit.org's avatar
      Use Host().port_factory instead of webkitpy.layout_tests.port.factory. · fc2c6f38
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72859
      
      Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-11-21
      Reviewed by Eric Seidel.
      
      * Scripts/new-run-webkit-websocketserver:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc2c6f38
    • fpizlo@apple.com's avatar
      Another attempt at a build fix. · f06d26c4
      fpizlo@apple.com authored
      * dfg/DFGRepatch.h:
      (JSC::DFG::dfgResetGetByID):
      (JSC::DFG::dfgResetPutByID):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f06d26c4
  2. 20 Nov, 2011 19 commits
    • commit-queue@webkit.org's avatar
      [Chromium] Layout test does not return correct misspelling positions if there... · 9d1543a2
      commit-queue@webkit.org authored
      [Chromium] Layout test does not return correct misspelling positions if there are multiple misspelled words.
      https://bugs.webkit.org/show_bug.cgi?id=72655
      
      Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-20
      Reviewed by Hajime Morita.
      
      Tools:
      
      Fixed the calculation of offset.
      
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::finishLastTextCheck):
      
      LayoutTests:
      
      Fixed the calculation of offset, and added test cases having multiple misspelled words.
      
      * editing/spelling/script-tests/spellcheck-paste.js:
        Added test cases having multiple misspelled words.
      (verifyMarker):
      (tests):
      * editing/spelling/spellcheck-paste-expected.txt: Recreated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d1543a2
    • bashi@chromium.org's avatar
      [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs. · 615df753
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72844
      
      Source/WebCore:
      
      Respects bold and italic properties that is given by fontconfig.
      
      Reviewed by Darin Fisher.
      
      * platform/graphics/chromium/FontCacheLinux.cpp:
      (WebCore::FontCache::getFontDataForCharacters): Removed #if and old logic.
      
      Source/WebKit/chromium:
      
      Removes old APIs for getting font family for given characters.
      
      Reviewed by Darin Fisher.
      
      * public/linux/WebFontInfo.h: Removed old familyForChars().
      * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function.
      * src/linux/WebFontInfo.cpp: Removes old familyForChars().
      
      LayoutTests:
      
      Font selection mechanism of Chromium Linux port has been improved. Rebaselines affected tests.
      
      Reviewed by Darin Fisher.
      
      * platform/chromium-linux/fast/text/cg-fallback-bolding-expected.png:
      * platform/chromium-linux/fast/text/cg-fallback-bolding-expected.txt:
      * platform/chromium-linux/fast/text/international/khmer-selection-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      615df753
    • commit-queue@webkit.org's avatar
      Rebaseline for border change in r100528 · a5c095f9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72689
      
      Patch by Ben Wells <benwells@chromium.org> on 2011-11-20
      Reviewed by Stephen White.
      
      * platform/chromium-cg-mac-snowleopard/fast/borders/mixed-border-styles-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/borders/border-mixed-alpha-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/borders/mixed-border-styles-expected.png: Added.
      * platform/chromium-mac/fast/borders/mixed-border-styles-expected.png: Removed.
      * platform/chromium-win/fast/borders/border-mixed-alpha-expected.png: Added.
      * platform/chromium-win/fast/borders/mixed-border-styles-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5c095f9
    • noel.gordon@gmail.com's avatar
      [chromium] Remove qt/QtMobileWebStyle from the gyp projects · d7371af6
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72843
      
      Reviewed by Antonio Gomes.
      
      platform/qt/QtMobileWebStyle.{h,cpp} were removed in r100123
      
      * WebCore.gypi: remove platform/qt/QtMobileWebStyle.{h,cpp}
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7371af6
    • fpizlo@apple.com's avatar
      Unreviewed interpreter build fix. · 84c90d90
      fpizlo@apple.com authored
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::finalizeUnconditionally):
      * dfg/DFGRepatch.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84c90d90
    • haraken@chromium.org's avatar
      Unreviewed. Rebaselined run-bindings-tests results. · d200a80c
      haraken@chromium.org authored
      * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp:
      (WebDOMFloat64Array::WebDOMFloat64Array):
      (WebDOMFloat64Array::impl):
      (toWebCore):
      (toWebKit):
      * bindings/scripts/test/CPP/WebDOMFloat64Array.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d200a80c
    • yuqiang.xian@intel.com's avatar
      Improve modulo operation on 32bit platforms · 92ab8752
      yuqiang.xian@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72501
      
      Reviewed by Filip Pizlo.
      
      Extend softModulo to support X86 and MIPS in baseline JIT.
      Apply the same optimization to 32bit DFG JIT.
      1% gain on Kraken, tested on Linux Core i7 Nehalem 32bit.
      
      * dfg/DFGSpeculativeJIT.h:
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compileSoftModulo):
      (JSC::DFG::SpeculativeJIT::compile):
      * jit/JITArithmetic32_64.cpp:
      (JSC::JIT::emit_op_mod):
      (JSC::JIT::emitSlow_op_mod):
      * jit/JITOpcodes32_64.cpp:
      (JSC::JIT::softModulo):
      * wtf/Platform.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92ab8752
    • fpizlo@apple.com's avatar
      Inline caches that refer to otherwise dead objects should be cleared · a147a4d3
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72311
      
      Reviewed by Geoff Garen.
      
      DFG code blocks now participate in the weak reference harvester fixpoint
      so that they only consider themselves to be live if either they are
      currently executing, or their owner is live and all of their weak references
      are live. If not, the relevant code blocks are jettisoned.
      
      Inline caches in both the old JIT and the DFG are now cleared if any of
      their references are not marked at the end of a GC.
      
      This is performance-neutral on SunSpider, V8, and Kraken. With the clear-
      all-code-on-GC policy that we currently have, it shows a slight reduction
      in memory usage. If we turn that policy off, it's pretty easy to come up
      with an example program that will cause ToT to experience linear heap
      growth, while with this patch, the heap stays small and remains at a
      constant size.
      
      * assembler/ARMv7Assembler.h:
      (JSC::ARMv7Assembler::readCallTarget):
      * assembler/MacroAssemblerARMv7.h:
      (JSC::MacroAssemblerARMv7::readCallTarget):
      * assembler/MacroAssemblerX86.h:
      (JSC::MacroAssemblerX86::readCallTarget):
      * assembler/MacroAssemblerX86_64.h:
      (JSC::MacroAssemblerX86_64::readCallTarget):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::visitAggregate):
      (JSC::CodeBlock::performTracingFixpointIteration):
      (JSC::CodeBlock::visitWeakReferences):
      (JSC::CodeBlock::finalizeUnconditionally):
      (JSC::CodeBlock::stronglyVisitStrongReferences):
      (JSC::MethodCallLinkInfo::reset):
      (JSC::ProgramCodeBlock::jettison):
      (JSC::EvalCodeBlock::jettison):
      (JSC::FunctionCodeBlock::jettison):
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::reoptimize):
      (JSC::CodeBlock::shouldImmediatelyAssumeLivenessDuringScan):
      * bytecode/Instruction.h:
      (JSC::PolymorphicAccessStructureList::visitWeak):
      * bytecode/StructureStubInfo.cpp:
      (JSC::StructureStubInfo::visitWeakReferences):
      * bytecode/StructureStubInfo.h:
      (JSC::isGetByIdAccess):
      (JSC::isPutByIdAccess):
      (JSC::StructureStubInfo::reset):
      * dfg/DFGJITCompiler.cpp:
      (JSC::DFG::JITCompiler::link):
      * dfg/DFGOperations.cpp:
      * dfg/DFGRepatch.cpp:
      (JSC::DFG::dfgRepatchByIdSelfAccess):
      (JSC::DFG::dfgResetGetByID):
      (JSC::DFG::dfgResetPutByID):
      * dfg/DFGRepatch.h:
      (JSC::DFG::dfgResetGetByID):
      (JSC::DFG::dfgResetPutByID):
      * jit/JIT.h:
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::resetPatchGetById):
      (JSC::JIT::resetPatchPutById):
      * jit/JITPropertyAccess32_64.cpp:
      (JSC::JIT::resetPatchGetById):
      (JSC::JIT::resetPatchPutById):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * jit/JITWriteBarrier.h:
      (JSC::JITWriteBarrierBase::clearToMaxUnsigned):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a147a4d3
    • fpizlo@apple.com's avatar
      Showing the data overlay in OpenStreetMap doesn't work, zooming partially broken · 5da687a7
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71505
      
      Source/JavaScriptCore:
      
      Reviewed by Oliver Hunt.
      
      The bytecode generator was assuming that call_varargs never reuses the base register
      (i.e. the function being called) for the result. This is no longer true.
      
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::emitCallVarargs):
      * bytecompiler/BytecodeGenerator.h:
      * bytecompiler/NodesCodegen.cpp:
      (JSC::ApplyFunctionCallDotNode::emitBytecode):
      
      LayoutTests:
      
      Reviewed by Oliver Hunt.
      
      * fast/js/function-dot-apply-replace-base-expected.txt: Added.
      * fast/js/function-dot-apply-replace-base.html: Added.
      * fast/js/script-tests/cross-global-object-inline-global-var.js:
      (done):
      * fast/js/script-tests/function-dot-apply-replace-base.js: Added.
      (foo):
      (bar):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5da687a7
    • fpizlo@apple.com's avatar
      DFG 32_64 should directly store double virtual registers on SetLocal · 42e40b7a
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72845
      
      Reviewed by Oliver Hunt.
              
      2% win on Kraken.
      
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42e40b7a
    • abarth@webkit.org's avatar
      REGRESSION(r100691): Safari error pages and Growl notifications fail to load stylesheets · e05e41a7
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72836
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      This patch removes a (minor) security mitigation.  Previously, we tried
      sequester "directory listings" into unique origins to make it more
      difficult for an attacker to crawl the user's local file system.
      Unfortunately, this mitigation doesn't really buy us much security
      because if the attacker has access to local files, we've probably lost
      anyway.
      
      The larger problem, however, is that this condition is overly
      complicated and has broken in sublte ways several times in its
      (relatively short) lifetime.  In the cases reported in this bug, we see
      that this check affects error pages in Safari and Growl notifications,
      even those have nothing to do with directory listings.
      
      If we have our heart set on this directory listing mitigation, we'll
      need a more robust way of triggering the behavior than examining URLs
      and guess whether they contain directory listings.  For example, if we
      implement Allow-From or Access-Control-Deny-Origin, then the embedder
      can supply those policies along with the directory listings.  Those
      seem like much better solutions than the in-engine hack this patch
      removes.
      
      * page/SecurityOrigin.cpp:
      (WebCore::shouldTreatAsUniqueOrigin):
      
      LayoutTests:
      
      Update test results to show that XMLHttpRequets for directory listings
      aren't blocked.
      
      * fast/xmlhttprequest/resources/xmlhttprequest-nonexistent-file-real.html:
      * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e05e41a7
    • noel.gordon@gmail.com's avatar
      [chromium] Remove DFG::JITCodeGenerator from the gyp projects · 95b658c3
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72842
      
      Reviewed by Filip Pizlo.
      
      dfg/DFGJITCodeGenerator.{h,cpp} were removed in r100244
      
      * JavaScriptCore.gypi: remove dfg/DFGJITCodeGenerator.{h,cpp}
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95b658c3
    • ojan@chromium.org's avatar
      Change the final place where we use version 3 of the results json output · b2703a3d
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72838
      
      Reviewed by Adam Barth.
      
      This converts the json from being a flat map of test name --> results
      to being hierarchical by directory. This will make the json files
      considerably smaller.
      
      Also cleaned up some functions that were returning/checking boolean values
      that were always True.
      
      * TestResultServer/model/jsonresults.py:
      * TestResultServer/model/jsonresults_unittest.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2703a3d
    • tonikitoo@webkit.org's avatar
      2011-10-17 Antonio Gomes <agomes@rim.com> · 73c1c052
      tonikitoo@webkit.org authored
              Pass a Frame* parameter in EditorClient::respondToChangedSelection
              https://bugs.webkit.org/show_bug.cgi?id=70248
      
              Reviewed by Ryosuke Niwa.
      
              Most of the port specific implementations of EditorClient::respondToChangedSelection
              (like EditorClient{Qt,Gtk,etc}) are wrongly relying on FocusController::focusedOrMainFrame
              method to get the Frame where the selection is happening on.
      
              It is not right, since a selection can be easily triggered in an inner
              frame that is not focused.
      
              No new tests since it is a hard thing to test without
              to hook into editor client in layout tests. We could
              change the "Dumped Delegate" messages, but it would
              require a rebasile of +1200 for a minor change.
      
              No new tests since it is a hard thing to test without
              to hook into editor client in layout tests. We could
              change the "Dumped Delegate" messages, but it would
              require a rebasile of +1200 for a minor change.
      
              Source/WebCore:
              * editing/Editor.cpp: Pass the Frame on where the selection is changing to the client.
              (WebCore::Editor::respondToChangedSelection): Ditto.
              (WebCore::Editor::changeSelectionAfterCommand): Ditto.
              (WebCore::EmptyEditorClient::respondToChangedSelection):
              * page/EditorClient.h:  Pass Frame* to indicate where the selection is happening.
              * loader/EmptyClients.h: Changed signature as per base class change.
      
              Source/WebKit/chromium:
              * src/EditorClientImpl.cpp: Make use of the newly added Frame* parameter.
              (WebKit::EditorClientImpl::respondToChangedSelection):
              * src/EditorClientImpl.h:
      
              Source/WebKit/efl:
              * WebCoreSupport/EditorClientEfl.cpp: Make use of the newly added Frame* parameter.
              (WebCore::EditorClientEfl::respondToChangedSelection):
              * WebCoreSupport/EditorClientEfl.h:
      
              Source/WebKit/gtk:
              * WebCoreSupport/EditorClientGtk.cpp: Make use of the newly added Frame* parameter.
              (WebKit::EditorClient::respondToChangedSelection):
              * WebCoreSupport/EditorClientGtk.h:
      
              Source/WebKit/mac:
              * WebCoreSupport/WebEditorClient.h: Make use of the newly added Frame* parameter.
              * WebCoreSupport/WebEditorClient.mm:
              (WebEditorClient::respondToChangedSelection):
      
              Source/WebKit/qt:
              * WebCoreSupport/EditorClientQt.cpp: Make use of the newly added Frame* parameter.
              (WebCore::EditorClientQt::respondToChangedSelection):
              * WebCoreSupport/EditorClientQt.h:
      
              Source/WebKit/win:
              * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
              (WebEditorClient::respondToChangedSelection):
              * WebCoreSupport/WebEditorClient.h:
      
              Source/WebKit/wx:
              * WebKitSupport/EditorClientWx.cpp: Make use of the newly added Frame* parameter.
              (WebCore::EditorClientWx::respondToChangedSelection):
              * WebKitSupport/EditorClientWx.h:
      
              Source/WebKit2:
              * WebProcess/WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
              (WebKit::WebEditorClient::respondToChangedSelection):
              * WebProcess/WebCoreSupport/WebEditorClient.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73c1c052
    • ojan@chromium.org's avatar
      Include the master name when querying the test results server. · 816bf2ca
      ojan@chromium.org authored
      This will soon be required since leaving the master name out mean
      that multiple files could match the query.
      
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      816bf2ca
    • mrowe@apple.com's avatar
      <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily · 319ca883
      mrowe@apple.com authored
      switch away from the deprecated APIs.
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      * platform/mac/WebCoreNSStringExtras.mm:
      * platform/network/cf/SocketStreamHandleCFNet.cpp:
      (WebCore::SocketStreamHandle::reportErrorToClient):
      
      Source/WebKit/mac:
      
      * Plugins/WebBasePluginPackage.mm:
      * Plugins/WebNetscapePluginPackage.mm:
      (-[WebNetscapePluginPackage _tryLoad]):
      
      Source/WebKit2:
      
      * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      319ca883
    • abarth@webkit.org's avatar
      Add WebNode::hasEventListeners for Android · 313e2a05
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72817
      
      Reviewed by Darin Fisher.
      
      Expose this EventTarget interface in the Chromium WebKit API for use by
      Android.
      
      * public/WebNode.h:
      * src/WebNode.cpp:
      (WebKit::WebNode::hasEventListeners):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      313e2a05
    • abarth@webkit.org's avatar
      [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android · e808045f
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72819
      
      Reviewed by Darin Fisher.
      
      These gesture types are used with FlingAnimator for scrolling.
      
      * public/WebInputEvent.h:
      (WebKit::WebInputEvent::isScrollGestureEventType):
      (WebKit::WebGestureEvent::WebGestureEvent):
      * src/WebPopupMenuImpl.cpp:
      (WebKit::WebPopupMenuImpl::handleInputEvent):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::handleInputEvent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e808045f
    • abarth@webkit.org's avatar
      [Chromium] Add WebInputEventFactory for Android · ebc55083
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67890
      
      Reviewed by Darin Fisher.
      
      Like every Chromium OS, Android needs a WebInputFactory.
      
      * WebKit.gyp:
      * public/android/WebInputEventFactory.h: Added.
      * src/android/WebInputEventFactory.cpp: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebc55083
  3. 19 Nov, 2011 9 commits
    • kevino@webkit.org's avatar
      [wx] Build fix after GeneratedImage refactoring. · fc896c6b
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc896c6b
    • kevino@webkit.org's avatar
      [wx] C++ bindings build fix for move of array classes to WTF. · e51845f5
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e51845f5
    • jamesr@google.com's avatar
      [chromium] Update various compositing baselines and expectations. · b7db412a
      jamesr@google.com authored
      * platform/chromium-cg-mac-leopard/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/chromium-cg-mac-leopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/chromium-cg-mac-leopard/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png:
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Removed.
      * platform/chromium-cg-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Removed.
      * platform/chromium-cg-mac-snowleopard/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
      * platform/chromium-cg-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
      * platform/chromium-linux/compositing/scaling/tiled-layer-recursion-expected.png:
      * platform/chromium-mac-leopard/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/chromium-mac-leopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/chromium-mac-leopard/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png:
      * platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
      * platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
      * platform/chromium-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Removed.
      * platform/chromium-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Removed.
      * platform/chromium-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
      * platform/chromium-mac/compositing/scaling/tiled-layer-recursion-expected.png: Removed.
      * platform/chromium-win/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/chromium-win/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
      * platform/chromium-win/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Copied from LayoutTests/platform/chromium-linux/compositing/scaling/tiled-layer-recursion-expected.png.
      * platform/chromium-win/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
      * platform/chromium-win/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-win/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
      * platform/chromium/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/chromium/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
      * platform/chromium/compositing/geometry/video-fixed-scrolling-expected.png: Added.
      * platform/chromium/compositing/geometry/video-opacity-overlay-expected.png: Added.
      * platform/chromium/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Renamed from LayoutTests/platform/chromium-win/compositing/layer-creation/spanOverlapsCanvas-expected.txt.
      * platform/chromium/compositing/overflow/overflow-compositing-descendant-expected.png:
      * platform/chromium/compositing/overflow/scroll-ancestor-update-expected.png:
      * platform/chromium/compositing/scaling/tiled-layer-recursion-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/compositing/scaling/tiled-layer-recursion-expected.png.
      * platform/chromium/compositing/self-painting-layers-expected.png:
      * platform/chromium/compositing/video-page-visibility-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7db412a
    • ojan@chromium.org's avatar
      Fix jsonp callback code to add the callback if json content · eb3d7fa7
      ojan@chromium.org authored
      is not jsonp.
      * TestResultServer/handlers/testfilehandler.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb3d7fa7
    • ojan@chromium.org's avatar
      Modify dashboard_base.js to optionally accept version 4 results json. · 7f791577
      ojan@chromium.org authored
      Patch by Alice Boxhall <aboxhall@chromium.org> on 2011-11-19
      Reviewed by Ojan Vafai.
      
      * TestResultServer/static-dashboards/dashboard_base.js:
      (ADD_RESULTS):
      (flattenTrie):
      * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
      (testFlattenTrie):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f791577
    • ojan@chromium.org's avatar
      Stop storing results files as jsonp in the test results server · 73f67fdb
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72814
      
      Reviewed by Adam Barth.
      
      * TestResultServer/model/jsonresults.py:
      * TestResultServer/model/jsonresults_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73f67fdb
    • ojan@chromium.org's avatar
      Remove the dependence on jsonp from more of new-run-webkit-tests and the test results server · 025a9d22
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72813
      
      Reviewed by Adam Barth.
      
      Once this lands, we can start storing pure json in the test results server and then
      we can delete the code with all the FIXMEs added here.
      
      * Scripts/webkitpy/layout_tests/controllers/manager.py:
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
      Only add jsonp for full_results.json.
      * TestResultServer/model/jsonresults.py:
      * TestResultServer/model/jsonresults_unittest.py:
      Accept pure json uploads.
      * TestResultServer/static-dashboards/dashboard_base.js:
      (appendJSONScriptElementFor):
      Use the callback parameter so that the server can start returning pure json if it's left out.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      025a9d22
    • ojan@chromium.org's avatar
      Allow json NRWT downloads to be pure json and not jsonp · 135a0399
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72809
      
      Reviewed by Adam Barth.
      
      I'm moving the server to storing and serving up raw json instead of jsonp.
      You can still get the jsonp by passing a "callback" parameter, but there's no
      need for run-webkit-tests to get jsonp when all it wants is the raw json.
      
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
      Make the wrapper stripping only happen if the json is actually wrapped.
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      135a0399
    • commit-queue@webkit.org's avatar
      Move gamepad to Modules/ (+ some cleanup) · 963ac560
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72785
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-11-19
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Move main files from page/ to Modules/gamepad/. #include guard the
      gamepad header inclusions in Navigator.cpp to avoid including for
      ports that do not enable GAMEPAD.
      
      * Modules/gamepad/Gamepad.cpp: Renamed from Source/WebCore/page/Gamepad.cpp.
      (WebCore::Gamepad::Gamepad):
      (WebCore::Gamepad::axes):
      (WebCore::Gamepad::buttons):
      (WebCore::Gamepad::~Gamepad):
      * Modules/gamepad/Gamepad.h: Renamed from Source/WebCore/page/Gamepad.h.
      * Modules/gamepad/Gamepad.idl: Renamed from Source/WebCore/page/Gamepad.idl.
      * Modules/gamepad/GamepadList.cpp: Renamed from Source/WebCore/page/GamepadList.cpp.
      (WebCore::GamepadList::~GamepadList):
      (WebCore::GamepadList::set):
      (WebCore::GamepadList::length):
      (WebCore::GamepadList::item):
      * Modules/gamepad/GamepadList.h: Renamed from Source/WebCore/page/GamepadList.h.
      (WebCore::GamepadList::create):
      (WebCore::GamepadList::GamepadList):
      * Modules/gamepad/GamepadList.idl: Renamed from Source/WebCore/page/GamepadList.idl.
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * page/Navigator.cpp:
      
      LayoutTests:
      
      Use standard pre/post js test harness rather than custom one.
      
      * gamepad/gamepad-api-expected.txt:
      * gamepad/gamepad-api.html:
      * gamepad/gamepad-test.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      963ac560