- 22 Aug, 2013 16 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115248 Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-08-22 Reviewed by Alexandru Chiculita. * fast/regions/region-min-max-width-support-expected.txt: Added. * fast/regions/region-min-max-width-support.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
* rendering/RenderWidget.cpp: (WebCore::RenderWidget::destroy): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
* WebCoreSupport/ChromeClientEfl.cpp: (kit): Source/WebKit/win: Windows build juice. * WebDataSource.cpp: (WebDataSource::representation): (WebDataSource::webFrame): * WebElementPropertyBag.cpp: (WebElementPropertyBag::Read): * WebFramePolicyListener.cpp: (WebFramePolicyListener::receivedPolicyDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=120146 Reviewed by Andreas Kling. For the upcoming replacement for webkit-test-results.appspot.com, new-run-webkit-tests needs to use a new JSON format that contains the full summary of the test run including information about passed tests. Add this ability to NRWT so that I can start testing this feature. This patch adds the following optoins to NRWT: --build-slave --got-revision --results-server-host The last option is somewhat ambigious with --test-results-server but we're intending to deprecate the old server so we should be able to delete --test-results-server in time. * Scripts/webkitpy/layout_tests/controllers/manager.py: (Manager.run): (Manager._upload_json_files): (Manager): (Manager.upload_results): * Scripts/webkitpy/layout_tests/models/test_run_results.py: (summarize_results): * Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py: (summarized_results): (SummarizedResultsTest.test_summarized_results_wontfix): (SummarizedResultsTest): (SummarizedResultsTest.test_summarized_results_include_passes): * Scripts/webkitpy/layout_tests/run_webkit_tests.py: (parse_args): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/120158> Reviewed by Anders Carlsson. These two are never null so change them to return references. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
* Scripts/webkitpy/tool/bot/irc_command.py: (Hi.execute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abucur@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=119923 Reviewed by Antti Koivisto. Port of https://chromium.googlesource.com/chromium/blink/+/949d7d7e7b8685454742a55cf0ca912bb9a7b177. Original patch by Elliott Sprehn. RenderNamedFlowThread should not create NodeRenderingContext objects RenderNamedFlowThread is using NodeRenderingContext to get the original parent renderer, but should just be using NodeRenderingTraversal::parent instead (which is what NodeRenderingContext does internally anyway). Tests: No change in functionality. No new tests. * rendering/RenderNamedFlowThread.cpp: (WebCore::RenderNamedFlowThread::isChildAllowed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Update the test expectation accordingly. * platform/mac-wk2/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Add the failing test expectation to webaudio/codec-tests/mp3/128kbps-44khz.html on Lion Release WK2. The failure is tracked by the bug 120161. * platform/mac-wk2/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
allan.jensen@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=120151 Reviewed by Simon Hausmann. Since QtInstance had an implementation of getOwnPropertySlot and not getOwnPropertyDescriptor, the behavior of getOwnPropertyDescriptor changed when it got implemented using getOwnPropertySlot in r154300. DRT relied on getOwnPropertyDescriptor returning undefined for JS set properties to distinguish between native Qt methods and JSC bound methods. This patch changes the check to see if the property is writable since the Qt methods are ReadOnly. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (DumpRenderTree::initJSObjects): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=120155 Reviewed by Andreas Kling. Introduce a SVGUnknownElement class and have it override rendererIsNeeded() to return false. We now use SVGUnknownElement type (instead of SVGElement) for unknown SVG elements: - Unknown Elements in SVG namespace - Registered custom tag elements in SVG namespace: http://www.w3.org/TR/2013/WD-custom-elements-20130514/#registering-custom-elements As a consequence, SVGElement::rendererIsNeeded() is not longer required to return false and it will be able to behave as SVGStyledElement::rendererIsNeeded() once we merge SVGStyledElement into SVGElement. This is a pre-requirement to merging SVGStyledElement into SVGElement. No new tests, no behavior change. * GNUmakefile.list.am: * Target.pri: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * dom/CustomElementConstructor.cpp: (WebCore::CustomElementConstructor::createElementInternal): * dom/make_names.pl: (defaultParametersHash): (printJSElementIncludes): (printWrapperFunctions): (printWrapperFactoryCppFile): * svg/SVGElement.cpp: * svg/SVGElement.h: * svg/SVGUnknownElement.h: Added. (WebCore::SVGUnknownElement::create): (WebCore::SVGUnknownElement::SVGUnknownElement): * svg/svgtags.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=120107 Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-08-22 Reviewed by Yong Li. EncodedJSValue parameters must be aligned to even registers for MIPS and ARM EABI. * dfg/DFGSpeculativeJIT.h: (JSC::DFG::SpeculativeJIT::callOperation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=118056 Reviewed by Ryosuke Niwa. Source/WebCore: The assert is hit in Debug mode because the DocumentOrderedMap in HTMLDocument::m_windowNamedItem includes matched SVG elements, but the WindowNameCollection used to collect the elements does not. This means the HTMLCollection stripped of SVG elements could end up hitting the empty or single item assertion, which the testcase verifies. To fix this change WindowNameCollection to include both SVG and HTML elements so it matches DocumentOrderedMap. Tests: svg/custom/document-all-includes-svg.html svg/custom/window-named-item-lookup.html * html/HTMLCollection.cpp: (WebCore::isMatchingElement): (WebCore::HTMLCollection::updateNameCache): LayoutTests: Add test to verify that SVG and HTML elements with id's are both found when using document.all or named properties. * svg/custom/document-all-includes-svg-expected.txt: Add...
-
gyuyoung.kim@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=120153 Reviewed by Andreas Kling. As a step to clean-up static_cast<SVGXXX>, toSVGRadialGradientElement() is added to clean-up static_cast<SVGRadialGradientElement*>. * rendering/svg/RenderSVGResourceRadialGradient.cpp: (WebCore::RenderSVGResourceRadialGradient::collectGradientAttributes): * rendering/svg/SVGRenderTreeAsText.cpp: (WebCore::writeSVGResourceContainer): * svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::collectGradientAttributes): * svg/SVGRadialGradientElement.h: (WebCore::toSVGRadialGradientElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
reni@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=119672 Reviewed by Darin Adler. Source/WebCore: The last extractedStyle parameter of removeInlineStyleFromElement() is not mandatory and it's set to default 0. This way we have to check its existence before the usage. Test: editing/execCommand/extracted_style_assert.html * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): LayoutTests: Test with NULL extractedStyle. * editing/execCommand/extracted_style_assert-expected.txt: Added. * editing/execCommand/extracted_style_assert.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sergio@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=119552 Reviewed by Darin Adler. Based on Blink r148922 & r149060 by <jchaffraix@chromium.org> The old testing code was a huge copy&paste of big testing code blocks. Refactor it in some new utility functions so that we could reduce the size of the layout test file and ease the maintenance. * fast/css-grid-layout/grid-item-column-row-get-set-expected.txt: * fast/css-grid-layout/grid-item-column-row-get-set.html: * fast/css-grid-layout/grid-item-end-after-get-set-expected.txt: * fast/css-grid-layout/grid-item-end-after-get-set.html: * fast/css-grid-layout/grid-item-start-before-get-set-expected.txt: * fast/css-grid-layout/grid-item-start-before-get-set.html: * fast/css-grid-layout/resources/grid-item-column-row-parsing-utils.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Aug, 2013 24 commits
-
-
rniwa@webkit.org authored
* platform/mac-wk2/TestExpectations: * platform/mac/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/154416 https://bugs.webkit.org/show_bug.cgi?id=120147 Broke Windows builds (Requested by rniwa on #webkit). Source/JavaScriptCore: * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.make: * JavaScriptCore.vcxproj/LLInt/LLIntAssembly/LLIntAssembly.make: * JavaScriptCore.vcxproj/LLInt/LLIntAssembly/build-LLIntAssembly.sh: * JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/LLIntDesiredOffsets.make: * JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: * JavaScriptCore.vcxproj/build-generated-files.sh: Source/WebCore: * WebCore.vcxproj/WebCoreGenerated.make: * WebCore.vcxproj/WebCoreGeneratedWinCairo.make: * WebCore.vcxproj/WebCoreGeneratedWinCairoCommon.props: * WebCore.vcxproj/build-generated-files.sh: * WebCore.vcxproj/copyForwardingHeaders.cmd: * WebCore.vcxproj/copyWebCoreResourceFiles.cmd: Source/WebKit: * WebKit.vcxproj/WebKit/WebKitPostBuild.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorBuildCmd.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorPostBuild.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorPreBuild.cmd: Source/WTF: * WTF.vcxproj/WTFGenerated.make: * WTF.vcxproj/build-generated-files.sh: WebKitLibraries: * win/tools/vsprops/common.props: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
* rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::hasFilters): Added CSS_FILTERS guard. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120144 Reviewed by Sam Weinig. Add methods to JSGlobalObject to declare vars, consts, and functions. * runtime/Executable.cpp: (JSC::ProgramExecutable::initializeGlobalProperties): * runtime/Executable.h: - Moved declaration code to JSGlobalObject * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::addGlobalVar): - internal implementation of addVar, addConst, addFunction * runtime/JSGlobalObject.h: (JSC::JSGlobalObject::addVar): (JSC::JSGlobalObject::addConst): (JSC::JSGlobalObject::addFunction): - Added methods to declare vars, consts, and functions git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120145 <rdar://problem/14650652> Reviewed by Simon Fraser. convertImageToBitmap can legitimately return null, so don't dereference it. * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: (WebKit::WebDragClient::startDrag): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120135 Source/WebCore: Reviewed by Jer Noble. When removing a filter on an inline child of a compositing layer, the inline loses its RenderLayer and compositing layer, but we fail to repaint the compositing layer that the inline is now painting into. This worked correctly for opacity, because opacity toggles cause layouts (which then paint the correct layer), so do the same for filters. Test: css3/filters/remove-filter-repaint.html * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::changeRequiresLayout): Return true if we toggled between having filters and not. Drive-by cleanup, making use of new convenience function for hasOpacity(). * rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::hasFilters): Returns true if we have any filters. * rendering/style/StyleRareNonInheritedData.h: (WebCore::StyleRareNonInheritedData::hasOpacity): Convenience function that returns true if opacity is < 1. LayoutTests: Reviewed by Jer Noble. Ref test for removing a filter on an inline. * css3/filters/remove-filter-repaint-expected.html: Added. * css3/filters/remove-filter-repaint.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Exception in global setter doesn't unwind correctly Patch by Yi Shen <max.hong.shen@gmail.com> on 2013-08-21 Reviewed by Geoffrey Garen. Source/JavaScriptCore: Call VM_THROW_EXCEPTION_AT_END in op_put_to_scope if the setter throws exception. * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): LayoutTests: Add test for calling global setter which throws exception. * fast/js/script-tests/throw-exception-in-global-setter.js: Added. (g): * fast/js/throw-exception-in-global-setter-expected.txt: Added. * fast/js/throw-exception-in-global-setter.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/120140bdakin@apple.com authored
happen before didLayout Reviewed by Anders Carlsson. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLayout): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
* WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Remove hard-coded settings covered by our configuration files. * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Use the %PlatformArchitecture% macro to support 32- and 64-bit builds. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120138 Reviewed by Geoffrey Garen. setButterfly becomes setStructureAndButterfly. Also removed the Butterfly* argument from setStructure and just implicitly used m_butterfly internally since that's what every single client of setStructure was doing already. * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): * runtime/JSObject.cpp: (JSC::JSObject::notifyPresenceOfIndexedAccessors): (JSC::JSObject::createInitialUndecided): (JSC::JSObject::createInitialInt32): (JSC::JSObject::createInitialDouble): (JSC::JSObject::createInitialContiguous): (JSC::JSObject::createArrayStorage): (JSC::JSObject::convertUndecidedToInt32): (JSC::JSObject::convertUndecidedToDouble): (JSC::JSObject::convertUndecidedToContiguous): (JSC::JSObject::convertUndecidedToArrayStorage): (JSC::JSObject::convertInt32ToDouble): (JSC::JSObject::convertInt32ToContiguous): (JSC::JSObject::convertInt32ToArrayStorage): (JSC::JSObject::genericConvertDoubleToContiguous): (JSC::JSObject::convertDoubleToArrayStorage): (JSC::JSObject::convertContiguousToArrayStorage): (JSC::JSObject::switchToSlowPutArrayStorage): (JSC::JSObject::setPrototype): (JSC::JSObject::putDirectAccessor): (JSC::JSObject::seal): (JSC::JSObject::freeze): (JSC::JSObject::preventExtensions): (JSC::JSObject::reifyStaticFunctionsForDelete): (JSC::JSObject::removeDirect): * runtime/JSObject.h: (JSC::JSObject::setStructureAndButterfly): (JSC::JSObject::setStructure): (JSC::JSObject::putDirectInternal): (JSC::JSObject::setStructureAndReallocateStorageIfNecessary): (JSC::JSObject::putDirectWithoutTransition): * runtime/Structure.cpp: (JSC::Structure::flattenDictionaryStructure): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=73694 http/tests/cookies/simple-cookies-max-age.html sometimes fails on Lion Intel Release (Tests) https://bugs.webkit.org/show_bug.cgi?id=73695 http/tests/cookies/single-quoted-value.html intermittently fails on Mac https://bugs.webkit.org/show_bug.cgi?id=105603 Reviewed by Dan Bernstein. Woark around a CFNetwork issue by using Max-Age=-1 instead of Max-Age=0. Since it's WebKit that we are testing and not the lower level networking, this does not change test coverage. * http/tests/cookies/resources/clearCookies.cgi: * http/tests/cookies/resources/cookies-test-pre.js: * http/tests/cookies/simple-cookies-max-age.html: * http/tests/websocket/tests/hybi/httponly-cookie.pl: * platform/mac-wk2/TestExpectations: * platform/mac/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
* platform/win/TestExpectations: Renable some tests git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Remove JSObject::propertyIsEnumerable Unreviewed typo fix * runtime/JSObject.h: - fix typo git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
PropertyDescriptor argument to define methods should be const Rubber stamped by Sam Weinig. This should never be modified, and this way we can use rvalues. Source/JavaScriptCore: * debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::defineOwnProperty): * debugger/DebuggerActivation.h: * runtime/Arguments.cpp: (JSC::Arguments::defineOwnProperty): * runtime/Arguments.h: * runtime/ClassInfo.h: * runtime/JSArray.cpp: (JSC::JSArray::defineOwnProperty): * runtime/JSArray.h: * runtime/JSArrayBuffer.cpp: (JSC::JSArrayBuffer::defineOwnProperty): * runtime/JSArrayBuffer.h: * runtime/JSArrayBufferView.cpp: (JSC::JSArrayBufferView::defineOwnProperty): * runtime/JSArrayBufferView.h: * runtime/JSCell.cpp: (JSC::JSCell::defineOwnProperty): * runtime/JSCell.h: * runtime/JSFunction.cpp: (JSC::JSFunction::defineOwnProperty): * runtime/JSFunction.h: * runtime/JSGenericTypedArrayView.h: * runtime/JSGenericTypedArrayViewInlines.h: (JSC::::defineOwnProperty): * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::defineOwnProperty): * runtime/JSGlobalObject.h: * runtime/JSObject.cpp: (JSC::JSObject::putIndexedDescriptor): (JSC::JSObject::defineOwnIndexedProperty): (JSC::putDescriptor): (JSC::JSObject::defineOwnNonIndexProperty): (JSC::JSObject::defineOwnProperty): * runtime/JSObject.h: * runtime/JSProxy.cpp: (JSC::JSProxy::defineOwnProperty): * runtime/JSProxy.h: * runtime/RegExpMatchesArray.h: (JSC::RegExpMatchesArray::defineOwnProperty): * runtime/RegExpObject.cpp: (JSC::RegExpObject::defineOwnProperty): * runtime/RegExpObject.h: * runtime/StringObject.cpp: (JSC::StringObject::defineOwnProperty): * runtime/StringObject.h: - make PropertyDescriptor const Source/WebCore: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::defineOwnProperty): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::defineOwnProperty): (WebCore::JSLocationPrototype::defineOwnProperty): * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): - make PropertyDescriptor const git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/120125bfulgham@apple.com authored
Reviewed by Anders Carlsson. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runOpenPanel): Make sure valid strings are passed to the File Open API call. * WebView.cpp: (WebView::setToolTip): Correct tooltip text (avoid passing address to temporary return value.) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
It was freaking lint-test-expectations out. * TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=119872 Source/JavaScriptCore: Reviewed by Mark Hahnenberg. Apparently, unsigned + signed = unsigned. Work around it with a cast. * dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::parseBlock): LayoutTests: Reviewed by Mark Hahnenberg. * fast/js/dfg-switch-imm-negative-expected.txt: Added. * fast/js/dfg-switch-imm-negative.html: Added. * fast/js/jsc-test-list: * fast/js/script-tests/dfg-switch-imm-negative.js: Added. (foo): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/120123zhajiang@rim.com authored
<https://webkit.org/b/120123> [BlackBerry] Incorrect origin of indexOfTile in LayerTiler can cause unnecessary texture jobs and waste memory Patch by Jacky Jiang <zhajiang@blackberry.com> on 2013-08-21 Reviewed by Yong Li. Internally reviewed by Arvid Nilsson. JIRA 481356 The origin of indexOfTile(origin) is incorrect in these two places. For example, if the maxXMaxYCorner of the rect is (768, 768), there can be three other redundant indexOfTile (0, 1), (1, 0), (1, 1) which can cause unnecessary texture jobs and waste memory. The origin should be the top left of the bottom right pixel of a rect. * platform/graphics/blackberry/LayerTiler.cpp: (WebCore::LayerTiler::updateTextureContentsIfNeeded): (WebCore::LayerTiler::processTextureJob): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/116901simon.fraser@apple.com authored
Reviewed by Beth Dakin. In order to make decisions about compositing, the m_hasVisibleDescendant bit on RenderLayers needs to be up-to-date when RenderLayerCompositor::computeCompositingRequirements is recursing over the RenderLayer tree. However, was possible for computeCompositingRequirements() to hit a layer whose m_visibleDescendantStatusDirty bit was set; we only clear this bit from collectLayers() (when updating z-order lists), and from styleChanged() which requires that style changed on the layer itself. Fix by always calling updateDescendantDependentFlags() from computeCompositingRequirements(). Wasn't able to easily get a reduced testcase. * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::computeCompositingRequirements): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/120137achristensen@apple.com authored
Reviewed by Brent Fulgham. Source/JavaScriptCore: * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.make: * JavaScriptCore.vcxproj/LLInt/LLIntAssembly/LLIntAssembly.make: * JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/LLIntDesiredOffsets.make: Pass PlatformArchitecture as a command line parameter to bash scripts. * JavaScriptCore.vcxproj/LLInt/LLIntAssembly/build-LLIntAssembly.sh: * JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: * JavaScriptCore.vcxproj/build-generated-files.sh: Use PlatformArchitecture from command line to determine which object directory to use (obj32 or obj64). Source/WebCore: * WebCore.vcxproj/WebCoreGenerated.make: * WebCore.vcxproj/WebCoreGeneratedWinCairo.make: Pass PlatformArchitecture as a command line parameter to bash scripts and use PlatformArchitecture to determine which directory to delete while cleaning (obj32 or obj64). * WebCore.vcxproj/WebCoreGeneratedWinCairoCommon.props: Export PlatformArchitecture to be used by make and cmd scripts. * WebCore.vcxproj/build-generated-files.sh: Use PlatformArchitecture from command line to determine which object directory to use (obj32 or obj64). * WebCore.vcxproj/copyForwardingHeaders.cmd: * WebCore.vcxproj/copyWebCoreResourceFiles.cmd: Use PlatformArchitecture to determine which directory to copy to (obj32 or obj64). Source/WebKit: * WebKit.vcxproj/WebKit/WebKitPostBuild.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorBuildCmd.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorPostBuild.cmd: * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorPreBuild.cmd: Use PlatformArchitecture to determine correct object directory (obj32 or obj64). Source/WTF: * WTF.vcxproj/WTFGenerated.make: Pass PlatformArchitecture as a command line parameter to bash scripts. * WTF.vcxproj/build-generated-files.sh: Use PlatformArchitecture from command line to determine which object directory to use (obj32 or obj64). WebKitLibraries: * win/tools/vsprops/common.props: Export PlatformArchitecture to be used by make and cmd scripts. Use PlatformArchitecture to determine correct build directory (lib32/bin32/obj32 or lib64/bin64/obj64). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=119282 Missed the review comments, whoops. * platform/graphics/ca/mac/TileController.h: * platform/graphics/ca/mac/TileController.mm: (WebCore::TileController::prepopulateRect): (WebCore::TileController::revalidateTiles): (WebCore::TileController::ensureTilesForRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://webkit.org/b/120115akling@apple.com authored
Reviewed by Antti Koivisto. Simplify SVGElement construction by making them opt in to custom style resolve callbacks by default, and removing the ability to pass a custom ConstructionType to some subclass constructors. * dom/Node.h: Add HasCustomStyleResolveCallbacksFlag to the CreateSVGElement mask. * svg/SVGElement.cpp: (WebCore::SVGElement::SVGElement): * svg/SVGElement.h: * svg/SVGGElement.cpp: (WebCore::SVGGElement::SVGGElement): * svg/SVGGElement.h: * svg/SVGGraphicsElement.cpp: (WebCore::SVGGraphicsElement::SVGGraphicsElement): * svg/SVGGraphicsElement.h: * svg/SVGImageElement.cpp: (WebCore::SVGImageElement::SVGImageElement): * svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::SVGStyledElement): * svg/SVGStyledElement.h: Remove calls to setHasCustomStyleResolveCallbacks() in SVGElement and subclasses. Also remove unnecessary ConstructionType argument from subclasses since nobody overrides it and everyone just uses CreateSVGElement. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=119282 Reviewed by Simon Fraser. No new tests, just a refactoring. The bodies of ensureTilesForRect and revalidateTiles are nearly equivalent. * platform/graphics/ca/mac/TileController.h: Add an enum, NewTileType, to note whether the tiles created by ensureTilesForRect will be primary coverage tiles or secondary out-of-view tiles. * platform/graphics/ca/mac/TileController.mm: (WebCore::TileController::prepopulateRect): Move the code to see if we already have the requisite tiles in the primary coverage rect, as well as our call to updateTileCoverageMap, out into prepopulateRect, to generalize ensureTilesForRect. (WebCore::TileController::revalidateTiles): Make use of ensureTilesForRect. The platformCALayerDidCreateTiles call will happen there, now. (WebCore::TileController::ensureTilesForRect): Make ensureTilesForRect return the rect that it created tiles for, and only put tiles in a cohort if we're creating secondary tiles. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120031 <rdar://problem/14606819> Reviewed by Simon Fraser. Hit-test for plugin obscurity in the root document. To do this, we also need to convert the indicator rectangle into root view coordinates before hit testing its edges. This resolves the case where an iframe which clips its content was reporting the indicator as not obscured, despite the fact that it was obscured from the point of view of the user. Updated test plugins/unavailable-plugin-indicator-obscurity.html * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::isReplacementObscured): Update the unavailable plugin indicator test to also ensure that plugins are correctly known to be obscured when contained within and clipped by an <iframe>. * plugins/unavailable-plugin-indicator-obscurity-expected.txt: * plugins/unavailable-plugin-indicator-obscurity.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-