Timeline
Feb 3, 2014:
- 11:41 PM WebKitGTK/2.2.x edited by
- (diff)
- 9:50 PM Changeset in webkit [163366] by
-
- 2 edits in trunk/Source/JavaScriptCore
Lift the FTL tier-up threshold from 25000 to 100000
https://bugs.webkit.org/show_bug.cgi?id=128158
Rubber stamped by Michael Saboff.
- runtime/Options.h:
- 9:44 PM Changeset in webkit [163365] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed build fix after http://trac.webkit.org/changeset/163364
- DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp:
(WebKit::getObjectStoreStatement): Args need the new names, and I need to save the file before committing. :(
- 9:42 PM Changeset in webkit [163364] by
-
- 2 edits in trunk/Source/WebKit2
IDB: HTML5 Rocks Indexed Database demo fails
https://bugs.webkit.org/show_bug.cgi?id=128157
Reviewed by Anders Carlsson (Provisional review by Jon Lee)
- DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp:
(WebKit::getIndexStatement): Only increment the open/closed counters if those keys exist.
Fix order of statements for no lower key.
(WebKit::getObjectStoreStatement): Only increment the open/closed counters if those keys exist.
- 9:10 PM Changeset in webkit [163363] by
-
- 2 edits2 adds in trunk/LayoutTests
Need regression test for the debugger modifying locals in a DFG frame.
https://bugs.webkit.org/show_bug.cgi?id=128120.
Reviewed by Geoffrey Garen.
Regression test for https://bugs.webkit.org/show_bug.cgi?id=128112.
This test does the following:
- Warm up a DFG function.
- Sets a breakpoint in a function breakpointBasic() that will be called by the DFG function, but has never been called yet.
- Call a driver function which in turn calls the DFG function, and expect the debugger to break.
- At the breakpoint in breakpointBasic(), evaluate an expression on its caller i.e. the DFG function, and change a local variable in it.
- Resume from the debugger, and let the DFG function and its driver function run to completion. The DFG function will return a value computed using the modified local.
- At the end of the driver function, verify that the returned computed value reflects the modified value.
This test has been verified with tracing enabled to ensure that the test
DFG function was indeed DFG compiled, and that the test passed with the
expected results.
- inspector-protocol/debugger/resources/breakpoint.js:
(notInlineable2):
(dfgWithoutInline2):
(callNotInlineable2):
- inspector-protocol/debugger/setBreakpoint-dfg-and-modify-local-expected.txt: Added.
- inspector-protocol/debugger/setBreakpoint-dfg-and-modify-local.html: Added.
- 9:05 PM Changeset in webkit [163362] by
-
- 2 edits in trunk/Source/WebKit2
Use nullptr in ShareableBitmap
https://bugs.webkit.org/show_bug.cgi?id=128153
Reviewed by Gyuyoung Kim.
- Shared/ShareableBitmap.cpp:
(WebKit::ShareableBitmap::create):
(WebKit::ShareableBitmap::createShareable):
- 8:13 PM Changeset in webkit [163361] by
-
- 1 edit2 adds in trunk/LayoutTests
Need regression test to ensure that the debugger does not attempt to execute a bad script from its console.
<https://webkit.org/b/128121>
Reviewed by Geoffrey Garen.
Regression test for https://bugs.webkit.org/show_bug.cgi?id=127600.
- inspector-protocol/debugger/breakpoint-condition-with-bad-script-expected.txt: Added.
- inspector-protocol/debugger/breakpoint-condition-with-bad-script.html: Added.
- Sets up a breakpoint with a condition script. The condition script will fail to parse with a syntax error. I've tested that without the fix in http://trac.webkit.org/r162752, this will crash the VM. With the fix, it works fine.
- 8:08 PM Changeset in webkit [163360] by
-
- 2 edits in trunk/Source/WebCore
Remove stray vestige from ::-webkit-distributed selector.
<https://webkit.org/b/128154>
Reviewed by Anders Carlsson.
- css/CSSSelector.cpp:
(WebCore::CSSSelector::extractPseudoType):
- 7:47 PM Changeset in webkit [163359] by
-
- 22 edits3 deletes in trunk/Source/WebCore
Remove the CSS @host rule.
<https://webkit.org/b/128146>
The @host rule is no longer part of the spec, and besides this code
was behind ENABLE(SHADOW_DOM) so nobody was building it.
Reviewed by Anders Carlsson.
- CMakeLists.txt:
- DerivedSources.cpp:
- DerivedSources.make:
- GNUmakefile.list.am:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJS):
- bindings/objc/DOMCSS.mm:
(kitClass):
- css/CSSAllInOne.cpp:
- css/CSSGrammar.y.in:
- css/CSSHostRule.cpp: Removed.
- css/CSSHostRule.h: Removed.
- css/CSSHostRule.idl: Removed.
- css/CSSParser.cpp:
(WebCore::CSSParser::detectDashToken):
(WebCore::CSSParser::detectAtToken):
- css/CSSParser.h:
- css/CSSRule.h:
- css/CSSRule.idl:
- css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):
- css/StyleResolver.h:
- css/StyleRule.cpp:
(WebCore::StyleRuleBase::destroy):
(WebCore::StyleRuleBase::copy):
(WebCore::StyleRuleBase::createCSSOMWrapper):
- css/StyleRule.h:
- css/StyleSheetContents.cpp:
(WebCore::childRulesHaveFailedOrCanceledSubresources):
- inspector/InspectorStyleSheet.cpp:
(flattenSourceData):
(WebCore::asCSSRuleList):
- 7:10 PM Changeset in webkit [163358] by
-
- 4 edits in trunk/Source/WebKit2
Add title and hasOnlySecureContent properties to WKWebView
https://bugs.webkit.org/show_bug.cgi?id=128152
Reviewed by Dan Bernstein.
- UIProcess/API/Cocoa/WKWebView.h:
- UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView title]):
(-[WKWebView hasOnlySecureContent]):
- UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::didChangeIsLoading):
(WebKit::NavigationState::willChangeTitle):
(WebKit::NavigationState::didChangeTitle):
(WebKit::NavigationState::willChangeHasOnlySecureContent):
(WebKit::NavigationState::didChangeHasOnlySecureContent):
- 7:04 PM Changeset in webkit [163357] by
-
- 5 edits in trunk/Source/WebCore
Subpixel rendering: Do not query the scaling factor when the graphics context is invalid.
https://bugs.webkit.org/show_bug.cgi?id=128131
Reviewed by Simon Fraser.
No existing context to test it.
- platform/graphics/GraphicsContext.h:
- platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::platformInit):
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
- platform/graphics/wince/GraphicsContextWinCE.cpp:
(WebCore::GraphicsContext::platformInit):
- 7:00 PM Changeset in webkit [163356] by
-
- 5 edits in tags/Safari-538.16.1/Source
Versioning.
- 6:58 PM Changeset in webkit [163355] by
-
- 2 edits in trunk/Source/WebKit2
Fix spelling.
- Shared/WebPreferencesStore.h:
- 6:56 PM Changeset in webkit [163354] by
-
- 1 copy in tags/Safari-538.16.1
New tag.
- 6:52 PM Changeset in webkit [163353] by
-
- 2 edits in trunk/Source/WebKit2
[WebKit2, iOS] Enable frame flattening by default on iOS
<rdar://problem/15975983>
https://bugs.webkit.org/show_bug.cgi?id=128151
Reviewed by Tim Horton.
- Shared/WebPreferencesStore.h:
- 6:09 PM Changeset in webkit [163352] by
-
- 2 edits in trunk/Source/WebKit2
[iOS][wk2] Temporarily disable accelerated drawing for canvas
https://bugs.webkit.org/show_bug.cgi?id=128147
Reviewed by Simon Fraser.
- Shared/WebPreferencesStore.h:
Temporarily disable accelerated canvas for WebKit2 on iOS.
- 6:08 PM Changeset in webkit [163351] by
-
- 3 edits in trunk/Source/JavaScriptCore
LLInt: Regex for pseudo-instructions is too big
https://bugs.webkit.org/show_bug.cgi?id=128148
Reviewed by Mark Lam.
- offlineasm/instructions.rb:
- offlineasm/parser.rb:
- 6:02 PM Changeset in webkit [163350] by
-
- 4 edits in trunk/Source/WebKit2
Add loading property to WKWebView
https://bugs.webkit.org/show_bug.cgi?id=128144
Reviewed by Dan Bernstein.
- UIProcess/API/Cocoa/WKWebView.h:
- UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView isLoading]):
- UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::willChangeIsLoading):
(WebKit::NavigationState::didChangeIsLoading):
- 5:13 PM Changeset in webkit [163349] by
-
- 2 edits in trunk/Source/WTF
Fix Windows build.
- wtf/text/StringImpl.h:
(WTF::StringImpl::tailOffset):
- 5:07 PM Changeset in webkit [163348] by
-
- 2 edits in trunk/Source/WebCore
[Cairo] GraphicsContext::m_pixelSnappingFactor is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=128102
Patch by Hunseop Jeong <Hunseop Jeong> on 2014-02-03
Reviewed by Csaba Osztrogonác.
Initalize m_pixelSnappingFactor to 1
- platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::GraphicsContext): Initialized pixelSnappingFactor to 1 and
fixed the coding style violation.
- 5:03 PM Changeset in webkit [163347] by
-
- 2 edits in trunk/Source/WTF
StringImpl::tailOffset() should return the offset right after m_hashAndFlags
https://bugs.webkit.org/show_bug.cgi?id=128141
Reviewed by Andreas Kling.
- wtf/text/StringImpl.h:
(WTF::StringImpl::tailOffset):
- 5:02 PM Changeset in webkit [163346] by
-
- 8 edits10 adds in trunk/Source
Fix for 128110
- 4:54 PM Changeset in webkit [163345] by
-
- 8 edits in trunk/Source/JavaScriptCore
Fix the cloop due to GenGC
https://bugs.webkit.org/show_bug.cgi?id=128137
Reviewed by Geoffrey Garen.
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::llint_write_barrier_slow):
- llint/LLIntSlowPaths.h:
- llint/LowLevelInterpreter.cpp:
(JSC::CLoopRegister::operator JSCell*):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- offlineasm/cloop.rb:
- offlineasm/instructions.rb:
- 4:45 PM Changeset in webkit [163344] by
-
- 2 edits in trunk/Source/WebCore
Remove unused code in CSSParser.cpp
https://bugs.webkit.org/show_bug.cgi?id=128135
Reviewed by Darin Adler.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
- 4:40 PM Changeset in webkit [163343] by
-
- 4 edits in branches/safari-537.75-branch/Source/WebCore
Unreviewed build fix after r162860.
- platform/graphics/MediaPlayer.cpp: Prevent 64-bit build from using QuickTime SDK.
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: Ditto.
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: Ditto.
- 4:37 PM Changeset in webkit [163342] by
-
- 2 edits in trunk/Source/JavaScriptCore
REGRESSION (r163011-r163031): Web Inspector: Latest nightly crashes when showing the Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=127901
Reviewed by Geoffrey Garen.
Set VM::topCallFrame before making calls to possible C++ code in
generateProtoChainAccessStub() and tryBuildGetByIDList().
- jit/Repatch.cpp:
(JSC::generateProtoChainAccessStub):
(JSC::tryBuildGetByIDList):
- 4:37 PM Changeset in webkit [163341] by
-
- 3 edits in trunk/Source/WTF
More tail pointer consolidation
https://bugs.webkit.org/show_bug.cgi?id=128139
Reviewed by Andreas Kling.
Add a new tailOffset() function and reimplement allocationSize() and tailPointer()
in terms of it. Use tailPointer() instead of reinterpret_cast-ing this + 1.
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::createUninitializedInternalNonEmpty):
- wtf/text/StringImpl.h:
(WTF::StringImpl::StringImpl):
(WTF::StringImpl::requiresCopy):
(WTF::StringImpl::allocationSize):
(WTF::StringImpl::tailOffset):
(WTF::StringImpl::tailPointer):
- 4:29 PM Changeset in webkit [163340] by
-
- 2 edits in trunk/Tools
kill-old-processes doesn't kill plugin processes
https://bugs.webkit.org/show_bug.cgi?id=128138
Reviewed by Andreas Kling.
Add plugin process names to the list of processes to kill.
- BuildSlaveSupport/kill-old-processes:
(main):
- 4:26 PM Changeset in webkit [163339] by
-
- 2 edits in trunk/Source/WTF
[GTK][CMake] Enable SUBPIXEL_LAYOUT in FeatureDefines.h like EFL does
https://bugs.webkit.org/show_bug.cgi?id=128136
Reviewed by Martin Robinson.
- wtf/FeatureDefines.h: enable SUBPIXEL_LAYOUT if it's not set, for GTK+.
- 4:21 PM AddingFiles created by
- 4:17 PM Changeset in webkit [163338] by
-
- 2 edits in trunk/Source/WebCore
[Mac] WK1 Clients Only Latch on Momentum Scroll
https://bugs.webkit.org/show_bug.cgi?id=128133
Reviewed by Simon Fraser.
- platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::useLatchedEventElement): Update
predicate to recognize the start and change phases of the wheel
event as latchable (not just momentum start/change).
- 4:13 PM Changeset in webkit [163337] by
-
- 3 edits in trunk/Source/JavaScriptCore
Keep only captured symbols in CodeBlock symbol tables.
<https://webkit.org/b/128050>
Discard all uncaptured symbols at the end of codegen since only
the captured ones will be used after that point.
~2MB progression on Membuster OSUS.
Reviewed by Geoffrey Garen.
- bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedCodeBlock::setSymbolTable):
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::generate):
- 4:00 PM Changeset in webkit [163336] by
-
- 2 edits in trunk/Source/WebKit2
Allow WK2 to read from NSUserDefaults when it has no prefs identifier
https://bugs.webkit.org/show_bug.cgi?id=128124
Reviewed by Sam Weinig.
WebPreferences would never read from NSUserDefaults if no identifier
had been set, but this prevents us from reading useful debugging prefs.
Fix to read pref names using a "WebKit2" prefix when no identifier
is set.
- UIProcess/mac/WebPreferencesMac.mm:
(WebKit::makeKey):
(WebKit::WebPreferences::platformInitializeStore):
- 3:58 PM WikiStart edited by
- add link: adding files (diff)
- 3:39 PM Changeset in webkit [163335] by
-
- 5 edits in trunk/Source/WebKit2
[WK2] Remove the VideoPluginProxyEnabled preference in WK2
https://bugs.webkit.org/show_bug.cgi?id=128128
Reviewed by Brady Eidson.
The plugin proxy is iOS WK1 only, and has no meaning in WebKit2. Just set the preference to false.
- Shared/WebPreferencesStore.h:
- UIProcess/API/C/WKPreferences.cpp:
- UIProcess/API/C/WKPreferencesRef.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
- 3:36 PM Changeset in webkit [163334] by
-
- 3 edits in trunk/Source/JavaScriptCore
Fix the LLInt C loop
Rubber stamped by Mark Lam.
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::llint_write_barrier_slow):
- llint/LLIntSlowPaths.h:
- 3:35 PM Changeset in webkit [163333] by
-
- 37 edits in trunk
Feature flag for shape-inside
https://bugs.webkit.org/show_bug.cgi?id=128001
Reviewed by Simon Fraser.
Source/JavaScriptCore:
Add CSS_SHAPE_INSIDE flag.
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
Add CSS_SHAPE_INSIDE flag.
I wrapped everything that is specific to shape-inside in
this flag. It is now possible to build with CSS Shapes enabled
but shape-inside disabled. CSS_SHAPE_INSIDE is dependent on
CSS_SHAPES, so disabling the latter should also disable the former.
- Configurations/FeatureDefines.xcconfig:
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseShapeProperty):
- css/CSSPropertyNames.in:
- css/DeprecatedStyleBuilder.cpp:
(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::loadPendingImages):
- page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
- rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
- rendering/LayoutState.h:
(WebCore::LayoutState::LayoutState):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::updateShapesBeforeBlockLayout):
(WebCore::RenderBlock::updateShapesAfterBlockLayout):
- rendering/RenderBlock.h:
- rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlockChild):
(WebCore::RenderBlockFlow::computeLogicalLocationForFloat):
- rendering/RenderBlockFlow.h:
- rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlockFlow::computeInlineDirectionPositionsForLine):
(WebCore::constructBidiRunsForLine):
(WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
- rendering/RenderElement.cpp:
(WebCore::RenderElement::~RenderElement):
(WebCore::RenderElement::initializeStyle):
(WebCore::RenderElement::setStyle):
- rendering/RenderNamedFlowFragment.cpp:
(WebCore::RenderNamedFlowFragment::createStyle):
- rendering/RenderView.h:
- rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor):
- rendering/line/BreakingContextInlineHeaders.h:
(WebCore::BreakingContext::handleText):
(WebCore::BreakingContext::handleEndOfLine):
- rendering/line/LineBreaker.cpp:
(WebCore::LineBreaker::nextLineBreak):
- rendering/line/LineWidth.cpp:
(WebCore::LineWidth::LineWidth):
(WebCore::LineWidth::updateAvailableWidth):
(WebCore::LineWidth::fitBelowFloats):
- rendering/line/LineWidth.h:
- rendering/shapes/ShapeInsideInfo.cpp:
- rendering/shapes/ShapeInsideInfo.h:
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayout):
- rendering/style/RenderStyle.h:
- rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
- rendering/style/StyleRareNonInheritedData.h:
Source/WebKit/mac:
Add CSS_SHAPE_INSIDE flag.
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
Add CSS_SHAPE_INSIDE flag.
- Configurations/FeatureDefines.xcconfig:
Tools:
Add CSS_SHAPE_INSIDE flag, and -css-shape-inside build
flag.
- Scripts/webkitperl/FeatureList.pm:
- 3:33 PM Changeset in webkit [163332] by
-
- 5 edits1 add in trunk/Source/WebKit2
NavigationState should be a PageLoadState::Observer
https://bugs.webkit.org/show_bug.cgi?id=128130
Reviewed by Darin Adler.
This will make it easier to provide load related KVO properties on WKWebView.
- UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView initWithFrame:configuration:]):
- UIProcess/API/Cocoa/WKWebViewInternal.h: Added.
- UIProcess/Cocoa/NavigationState.h:
- UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::NavigationState):
(WebKit::NavigationState::~NavigationState):
(WebKit::NavigationState::willChangeIsLoading):
(WebKit::NavigationState::didChangeIsLoading):
(WebKit::NavigationState::willChangeTitle):
(WebKit::NavigationState::didChangeTitle):
(WebKit::NavigationState::willChangeActiveURL):
(WebKit::NavigationState::didChangeActiveURL):
(WebKit::NavigationState::willChangeHasOnlySecureContent):
(WebKit::NavigationState::didChangeHasOnlySecureContent):
(WebKit::NavigationState::willChangeEstimatedProgress):
(WebKit::NavigationState::didChangeEstimatedProgress):
- WebKit2.xcodeproj/project.pbxproj:
- 3:27 PM Changeset in webkit [163331] by
-
- 12 edits2 copies in tags/Safari-538.16
Merged r163329.
- 3:12 PM Changeset in webkit [163330] by
-
- 2 edits in trunk/Source/WTF
Turn GenGC on
https://bugs.webkit.org/show_bug.cgi?id=128109
Reviewed by Oliver Hunt.
- wtf/Platform.h: Initially it will only be enabled for X86-64.
- 3:10 PM Changeset in webkit [163329] by
-
- 12 edits2 adds in trunk
REGRESSION (r163018): Can’t scroll in <select> lists
https://bugs.webkit.org/show_bug.cgi?id=128090
Source/WebCore:
The regression was caused by the fact that a new method scrollWithWheelEventLocation() was added
to RenderBox to replace the generic scroll() method for the particular case of scrolling using
the mouse wheel. This turned out to be a mistake because in the case of some elements, like select lists,
the scroll method was overriden and now the incorrect method was being called.
The solution was to remove the new method and just add two default parameters to the generic
scroll method.
Patch by Radu Stavila <stavila@adobe.com> on 2014-02-03
Reviewed by Simon Fraser.
Test: fast/scrolling/scroll-select-list.html
- page/EventHandler.cpp:
(WebCore::scrollNode):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::scroll):
- rendering/RenderBox.h:
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::scroll):
- rendering/RenderEmbeddedObject.h:
- rendering/RenderListBox.cpp:
(WebCore::RenderListBox::scroll):
- rendering/RenderListBox.h:
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::scroll):
- rendering/RenderTextControlSingleLine.h:
LayoutTests:
New test validates scrolling using the mouse wheel inside a select list.
This test is for the moment added as a ImageOnlyFailure expectation
because the current implementation of eventSender cannot simulate mouse wheel events.
Patch by Radu Stavila <stavila@adobe.com> on 2014-02-03
Reviewed by Simon Fraser.
- TestExpectations:
- fast/scrolling/scroll-select-list-expected.html: Added.
- fast/scrolling/scroll-select-list.html: Added.
- 2:43 PM Changeset in webkit [163328] by
-
- 5 edits3 adds in trunk
Deconstructed parameters aren't being placed in the correct scope
https://bugs.webkit.org/show_bug.cgi?id=128126
Reviewed by Antti Koivisto.
Source/JavaScriptCore:
Make sure we declare the bound parameter names as variables when
we reparse. In the BytecodeGenerator we now also directly ensure
that bound parameters are placed in the symbol table of the function
we're currently compiling. We then delay binding until just before
we start codegen for the body of the function so that we can ensure
the function has completely initialised all scope details.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::generate):
(JSC::BytecodeGenerator::BytecodeGenerator):
- bytecompiler/BytecodeGenerator.h:
- parser/Parser.cpp:
(JSC::Parser<LexerType>::Parser):
(JSC::Parser<LexerType>::createBindingPattern):
LayoutTests:
Added tests for correct behaviour.
- js/deconstructing-parameters-should-be-locals-expected.txt: Added.
- js/deconstructing-parameters-should-be-locals.html: Added.
- js/script-tests/deconstructing-parameters-should-be-locals.js: Added.
(description.value.string_appeared_here.readDeconstructedParameter):
(overwriteDeconstructedParameter):
(readCapturedDeconstructedParameter):
(overwriteCapturedDeconstructedParameter):
- 2:39 PM Changeset in webkit [163327] by
-
- 2 edits in trunk/Tools
Unreviewed. Reorder my e-mail addresses in contributors.json,
so bugzilla will auto complete my actual bugzilla username.
- Scripts/webkitpy/common/config/contributors.json:
- 2:04 PM Changeset in webkit [163326] by
-
- 3 edits in trunk/Source/WTF
Consolidate StringImpl tail handling into two functions
https://bugs.webkit.org/show_bug.cgi?id=128122
Reviewed by Andreas Kling.
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::createUninitializedInternalNonEmpty):
(WTF::StringImpl::reallocateInternal):
- wtf/text/StringImpl.h:
(WTF::StringImpl::tryCreateUninitialized):
(WTF::StringImpl::allocationSize):
(WTF::StringImpl::tailPointer):
- 1:52 PM Changeset in webkit [163325] by
-
- 2 edits in trunk/Source/JavaScriptCore
Update JS whitespace definition for changes in Unicode 6.3
https://bugs.webkit.org/show_bug.cgi?id=127450
Reviewed by Oliver Hunt.
- parser/Lexer.h: (JSC::Lexer<UChar>::isWhiteSpace): Part 2 of the fix, update lexer too.
- 1:51 PM Changeset in webkit [163324] by
-
- 4 edits2 adds in trunk/Source/JavaScriptCore
Added GetTypedArrayByteOffset to FTL
https://bugs.webkit.org/show_bug.cgi?id=127589
Patch by Matthew Mirman <mmirman@apple.com> on 2014-02-03
Reviewed by Filip Pizlo.
- ftl/FTLAbstractHeapRepository.h:
- ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileGetTypedArrayByteOffset):
- tests/stress/ftl-gettypedarrayoffset-simple.js: Added.
(foo):
- tests/stress/ftl-gettypedarrayoffset-wasteful.js: Added.
(foo):
- 1:46 PM Changeset in webkit [163323] by
-
- 3 edits in trunk/Source/WebKit2
WebKit2 View Gestures: Two smart magnifications in a row without moving the mouse should zoom out
https://bugs.webkit.org/show_bug.cgi?id=128108
<rdar://problem/15914539>
Reviewed by Darin Adler.
- UIProcess/mac/ViewGestureController.h:
- UIProcess/mac/ViewGestureController.mm:
(WebKit::ViewGestureController::ViewGestureController):
(WebKit::ViewGestureController::handleMagnificationGesture):
Clear the bit that tells us that we should do "smart" things (because the
last gesture was also a smart magnification gesture) when the user manually pinch-magnifies.
(WebKit::ViewGestureController::didCollectGeometryForSmartMagnificationGesture):
Zoom out if the mouse hasn't moved since the last pinch-magnification gesture.
- 12:59 PM Changeset in webkit [163322] by
-
- 2 edits in trunk/Source/JavaScriptCore
Debugger created JSActivations should account for CodeBlock::framePointerOffsetToGetActivationRegisters().
<https://webkit.org/b/128112>
Reviewed by Geoffrey Garen.
Currently, when the DebuggerCallFrame creates the JSActivation object
for a frame, it does not account for the framePointerOffsetToGetActivationRegisters()
offset that needs to be added for DFG frames.
Instead of special casing the fix in DebuggerCallFrame::scope(), we fix
this by adding CodeBlock::framePointerOffsetToGetActivationRegisters() to
callFrame->registers() in the JSActivation::create() method that does not
explicitly take a Register*. This ensures that JSActivation::create() will
always do the right thing instead of only being a special case for the
LLINT and baselineJIT.
Apart from the DebuggerCallFrame, this create() function is only called by
slow paths in the LLINT and baselineJIT. Hence, it is not performance
critical.
- runtime/JSActivation.h:
(JSC::JSActivation::create):
- 12:39 PM Changeset in webkit [163321] by
-
- 18 edits3 adds in trunk
Simplified name scope creation for function expressions
https://bugs.webkit.org/show_bug.cgi?id=128031
Reviewed by Mark Lam.
Source/JavaScriptCore:
3X speedup on js/regress/script-tests/function-with-eval.js.
We used to emit bytecode to push a name into local scope every
time a function that needed such a name executed. Now, we push the name
into scope once on the function object, and leave it there.
This is faster, and it also reduces the number of variable resolution
modes you have to worry about when thinking about bytecode and the
debugger.
This patch is slightly complicated by the fact that we don't know if
a function needs a name scope until we parse its body. So, there's some
glue code in here to delay filling in a function's scope until we parse
its body for the first time.
- bytecode/UnlinkedCodeBlock.cpp:
(JSC::generateFunctionCodeBlock):
(JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):
- bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedFunctionExecutable::functionMode): Renamed
functionNameIsInScopeToggle to functionMode.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator): No need to emit convert_this
when debugging. The debugger will perform the conversion as needed.
(JSC::BytecodeGenerator::resolveCallee):
(JSC::BytecodeGenerator::addCallee): Simplified this code by removing
the "my function needs a name scope, but didn't allocate one" mode.
- interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):
(JSC::Interpreter::prepareForRepeatCall): Pass a scope slot through to
CodeBlock generation, so we can add a function name scope if the parsed
function body requires one.
- jit/JITOperations.cpp:
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::setUpCall): Ditto.
- parser/NodeConstructors.h:
(JSC::FuncExprNode::FuncExprNode):
(JSC::FuncDeclNode::FuncDeclNode):
- parser/Nodes.cpp:
(JSC::FunctionBodyNode::finishParsing):
- parser/Nodes.h:
(JSC::FunctionBodyNode::functionMode): Updated for rename.
- parser/ParserModes.h:
(JSC::functionNameIsInScope):
(JSC::functionNameScopeIsDynamic): Helper functions for reasoning about
how crazy JavaScript language semantics are.
- runtime/ArrayPrototype.cpp:
(JSC::isNumericCompareFunction):
(JSC::attemptFastSort): Updated for interface changes above.
- runtime/Executable.cpp:
(JSC::ScriptExecutable::newCodeBlockFor):
(JSC::ScriptExecutable::prepareForExecutionImpl):
(JSC::FunctionExecutable::FunctionExecutable):
- runtime/Executable.h:
(JSC::ScriptExecutable::prepareForExecution):
(JSC::FunctionExecutable::functionMode):
- runtime/JSFunction.cpp:
(JSC::JSFunction::addNameScopeIfNeeded):
- runtime/JSFunction.h:
- runtime/JSNameScope.h:
(JSC::JSNameScope::create):
(JSC::JSNameScope::JSNameScope): Added machinery for pushing a function
name scope onto a function when we first discover that it's needed.
LayoutTests:
Added a performance regression test.
- js/regress/function-with-eval-expected.txt: Added.
- js/regress/function-with-eval.html: Added.
- js/regress/script-tests/function-with-eval.js: Added.
(foo):
(bar):
- 12:34 PM Changeset in webkit [163320] by
-
- 3 edits2 adds in trunk
AX: WebKit should support @headers/@id for complex accessible web tables
https://bugs.webkit.org/show_bug.cgi?id=128114
Reviewed by Darin Adler.
Source/WebCore:
Expose the headers attribute for table cells to accessibility.
Test: platform/mac/accessibility/table-headers-attribute.html
- accessibility/AccessibilityTableCell.cpp:
(WebCore::AccessibilityTableCell::columnHeaders):
LayoutTests:
- platform/mac/accessibility/table-headers-attribute-expected.txt: Added.
- platform/mac/accessibility/table-headers-attribute.html: Added.
- 12:26 PM Changeset in webkit [163319] by
-
- 4 edits in trunk/Source/WebCore
CTTE: RenderSVGGradientStop always has a SVGStopElement.
<https://webkit.org/b/128107>
RenderSVGGradientStop is never anonymous and always has a
corresponding SVGStopElement. Codify this by adding an element()
overload that returns an SVGStopElement&.
Also added missing overrides and made most functions private.
Reviewed by Darin Adler.
- rendering/svg/RenderSVGGradientStop.cpp:
(WebCore::RenderSVGGradientStop::styleDidChange):
(WebCore::RenderSVGGradientStop::gradientElement):
- rendering/svg/RenderSVGGradientStop.h:
- rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGGradientStop):
- 11:34 AM Changeset in webkit [163318] by
-
- 4 edits in trunk/Source/WebCore
Remove CachedImageManual class
<http://webkit.org/b/128043>
Reviewed by Darin Adler.
Get rid of the CachedImageManual class by inlining its
functionality into CachedImage. This makes it possible to
de-virtual-ize isManual() (renamed to isManuallyCached()) and to
make CachedImage final. The size of CachedImage does not
increase because we turn an existing bool into a bitfield to add
an m_isManuallyCached bit, and create a static CachedImageClient
in MemoryCache.cpp as the "fake" client to keep the manually
cached image alive in the cache.
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::CachedImage): Set m_isManuallyCached
bitfield. For one overloaded constructor, move the
CachedImageManual code into the CachedImage constructor.
(WebCore::CachedImageManual::CachedImageManual): Remove.
(WebCore::CachedImage::mustRevalidateDueToCacheHeaders): Move
method from CachedImageManual to CachedImage, and put
ManuallyCached behavior behind a check.
- loader/cache/CachedImage.h: Update includes. Make CachedImage
final. Add CachedImage::CacheBehaviorType enum when manually
cached images are created. Move CachedImageManual methods into
CachedImage, remove addFakeClient() and removeFakeClient()
methods (MemoryCache methods use addClient() and removeClient()
with a static CachedImageClient), and remove the
CachedImageManual class definition. Change
m_shouldPaintBrokenImage to a bitfield and add
m_isManuallyCached bitfield.
- loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::addImageToCache): Use std::unique_ptr and
remove useless NULL check after calling CachedImage constructor.
(WebCore::MemoryCache::removeImageFromCache):
- Update to use CachedImage class instead of CachedImageManual.
- 11:07 AM Changeset in webkit [163317] by
-
- 18 edits in trunk/Source/WebCore
Move the webdatabase module source code to std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=127278
Reviewed by Antti Koivisto.
Replace the majority of OwnPtr uses in the webdatabase module with std::unique_ptr.
The only remaining uses are due to ScriptExecutionContext::Task subclasses.
- Modules/webdatabase/AbstractSQLTransactionBackend.h:
- Modules/webdatabase/Database.cpp:
- Modules/webdatabase/DatabaseTask.h:
- Modules/webdatabase/DatabaseThread.cpp:
(WebCore::DatabaseThread::DatabaseThread):
- Modules/webdatabase/DatabaseThread.h:
- Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::addOpenDatabase):
- Modules/webdatabase/DatabaseTracker.h:
- Modules/webdatabase/OriginLock.cpp:
- Modules/webdatabase/SQLStatement.cpp:
- Modules/webdatabase/SQLStatement.h:
- Modules/webdatabase/SQLStatementBackend.cpp:
(WebCore::SQLStatementBackend::create):
(WebCore::SQLStatementBackend::SQLStatementBackend):
- Modules/webdatabase/SQLStatementBackend.h:
- Modules/webdatabase/SQLTransaction.cpp:
(WebCore::SQLTransaction::executeSQL):
- Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::doCleanup):
(WebCore::SQLTransactionBackend::computeNextStateAndCleanupIfNeeded):
(WebCore::SQLTransactionBackend::executeSQL):
(WebCore::SQLTransactionBackend::openTransactionAndPreflight):
(WebCore::SQLTransactionBackend::cleanupAfterTransactionErrorCallback):
- Modules/webdatabase/SQLTransactionBackend.h:
- Modules/webdatabase/SQLTransactionBackendSync.cpp:
(WebCore::SQLTransactionBackendSync::SQLTransactionBackendSync):
(WebCore::SQLTransactionBackendSync::begin):
(WebCore::SQLTransactionBackendSync::commit):
(WebCore::SQLTransactionBackendSync::rollback):
- Modules/webdatabase/SQLTransactionBackendSync.h:
- 10:52 AM Changeset in webkit [163316] by
-
- 4 edits in trunk/Source/WebCore
CTTE: Grab bag of SVGRenderTreeAsText cleanups.
<https://webkit.org/b/128099>
Made some of the DRT SVG functions take more specific types than
RenderObject. Removed some redundant casts.
Reviewed by Anders Carlsson.
- rendering/RenderTreeAsText.cpp:
(WebCore::write):
- rendering/svg/SVGRenderTreeAsText.h:
- rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGResourceContainer):
(WebCore::writeSVGContainer):
Make writeSVGResourceContainer() and writeSVGContainer() take the
final type instead of RenderObject.
(WebCore::writeStyle):
(WebCore::writePositionAndStyle):
Make these take RenderElement instead of RenderObject.
(WebCore::writeChildren):
Use child renderer iterator.
(WebCore::writeResources):
Remove unnecessary cast.
- 10:38 AM Changeset in webkit [163315] by
-
- 6 edits5 deletes in trunk/Source/WTF
Remove Unicode.h
https://bugs.webkit.org/show_bug.cgi?id=128106
Reviewed by Anders Carlsson.
- GNUmakefile.list.am: Removed files.
- WTF.vcxproj/WTF.vcxproj: Ditto.
- WTF.vcxproj/WTF.vcxproj.filters: Ditto.
- WTF.xcodeproj/project.pbxproj: Ditto.
- wtf/CMakeLists.txt: Ditto.
- wtf/unicode/ScriptCodesFromICU.h: Removed.
- wtf/unicode/Unicode.h: Removed.
- wtf/unicode/UnicodeMacrosFromICU.h: Removed.
- wtf/unicode/icu/UnicodeIcu.h: Removed.
- wtf/unicode/wchar/UnicodeWchar.cpp: Removed.
- wtf/unicode/wchar/UnicodeWchar.h: Removed.
- 10:37 AM Changeset in webkit [163314] by
-
- 3 edits in trunk/Tools
WebKit Bot Watcher's Dashboard: Defer subsequent resource loads from access-restricted build bot when
iteration fails to load with HTTP 401 status code
https://bugs.webkit.org/show_bug.cgi?id=128077
Reviewed by Alexey Proskuryakov.
Similar to the fix for <https://bugs.webkit.org/show_bug.cgi?id=127849>, we should only prompt for
the HTTP credentials of a build bot so long as an earlier authentication request wasn't cancelled
(i.e. failed with an HTTP 401 Unauthorized status code). Currently an authentication dialog will be
presented for an iteration each time the update queue timer fires until a person successfully
authenticates. Instead we should update the authentication status of the build bot on receiving an
HTTP 401 response code such that we defer subsequent requests to load any resource from the access-
restricted build bot when the queue update timer fires.
A person must explicitly click the "unauthorized" status line shown for the queue associated with the
iteration in the dashboard and authenticate successfully for the iteration to be loaded once an
authentication request for an iteration is cancelled.
- BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.update): Early return if the associated Buildbot was given invalid credentials.
Also notify the associated Buildbot and update the queue view when a load failed with an HTTP 401 status code.
(BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
- BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView): Modified to call BuildbotQueueView.prototype._unauthorizedAccess instead of
QueueView.prototype._updateSoon when event BuildbotQueue.Event.UnauthorizedAccess is received.
(BuildbotQueueView.prototype._unauthorizedAccess): Added.
- 10:08 AM Changeset in webkit [163313] by
-
- 2 edits in trunk/Tools
WebKit Bot Watcher's Dashboard: Teach JSON.load() to interpret third argument as either an
option dictionary or a failure callback
https://bugs.webkit.org/show_bug.cgi?id=128080
Reviewed by Alexey Proskuryakov.
Currently JSON.load() takes a failure callback function as its third argument and
an option dictionary as its fourth argument. So, a caller that wants to ignore errors
and pass an option dictionary must pass null or a reference to an empty function for
the value of third argument. Instead, we should make the third argument polymorphic for
convenience. Then a caller can either pass a failure callback function or an option dictionary.
- BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
- 9:39 AM Changeset in webkit [163312] by
-
- 2 edits in trunk/Source/WebKit/win
Try to fix the WinCairo build.
- WebDownloadCurl.cpp:
(WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
- 9:39 AM Changeset in webkit [163311] by
-
- 1 edit in trunk/Source/WebKit2/ChangeLog
Try to fix 32-bit Mac build.
- WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::convertStringToKeyCodes): Use deprecatedCharacters.
- 9:30 AM Changeset in webkit [163310] by
-
- 70 edits in trunk/Source
Stop using Unicode.h
https://bugs.webkit.org/show_bug.cgi?id=127633
Reviewed by Anders Carlsson.
Source/JavaScriptCore:
- parser/Lexer.h:
- runtime/JSGlobalObjectFunctions.h:
- yarr/YarrCanonicalizeUCS2.h:
- yarr/YarrInterpreter.h:
- yarr/YarrParser.h:
- yarr/YarrPattern.h:
Removed includes of <wtf/unicode/Unicode.h>, adding includes of
ICU headers and <wtf/text/LChar.h> as needed to replace it.
Source/WebCore:
- Modules/indexeddb/IDBKeyPath.cpp:
- css/CSSFontFace.h:
- css/CSSOMUtils.h:
- css/CSSSegmentedFontFace.h:
- css/CSSUnicodeRangeValue.h:
- editing/Editor.cpp:
- editing/SmartReplace.h:
- html/parser/HTMLTokenizer.cpp:
- loader/DocumentLoader.cpp:
- page/ContextMenuController.cpp:
- page/Settings.h:
- platform/DateComponents.h:
- platform/SharedBuffer.cpp:
- platform/graphics/Color.h:
- platform/graphics/FontCache.h:
- platform/graphics/FontData.h:
- platform/graphics/FontDescription.h:
- platform/graphics/FontFastPath.cpp:
- platform/graphics/FontGenericFamilies.h:
- platform/graphics/FontGlyphs.cpp:
- platform/graphics/GlyphMetricsMap.h:
- platform/graphics/GlyphPage.h:
- platform/graphics/GlyphPageTreeNode.cpp:
- platform/graphics/GlyphPageTreeNode.h:
- platform/graphics/SVGGlyph.cpp:
- platform/graphics/WidthIterator.h:
- platform/graphics/freetype/SimpleFontDataFreeType.cpp:
- platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
- platform/graphics/mac/ComplexTextController.h:
- platform/graphics/win/QTMovie.h:
- platform/graphics/wince/FontWinCE.cpp:
- platform/text/BidiContext.h:
- platform/text/Hyphenation.h:
- platform/text/LocaleToScriptMapping.h:
- platform/text/TextBoundaries.cpp:
- platform/text/TextBoundaries.h:
- platform/text/TextBreakIterator.h:
- platform/text/TextCodec.h:
- platform/text/TextEncoding.h:
- platform/text/TextEncodingRegistry.h:
- platform/text/TextStream.h:
- platform/text/icu/UTextProvider.h:
- platform/text/icu/UTextProviderLatin1.h:
- platform/text/icu/UTextProviderUTF16.h:
- platform/text/wchar/TextBreakIteratorWchar.cpp:
- platform/win/WebCoreTextRenderer.cpp:
- rendering/RootInlineBox.cpp:
- rendering/SimpleLineLayout.cpp:
- rendering/SimpleLineLayoutFunctions.cpp:
- rendering/break_lines.h:
- svg/SVGFontData.cpp:
Removed includes of <wtf/unicode/Unicode.h>, adding includes of
ICU headers and <wtf/text/LChar.h> as needed to replace it.
Source/WTF:
- wtf/StringHasher.h:
- wtf/dtoa.h:
- wtf/text/ASCIIFastPath.h:
- wtf/text/LChar.h:
- wtf/text/StringBuffer.h:
- wtf/text/StringImpl.h:
- wtf/text/WTFString.cpp:
- wtf/unicode/CharacterNames.h:
- wtf/unicode/Collator.h:
- wtf/unicode/UTF8.h:
Removed includes of <wtf/unicode/Unicode.h>, adding includes of
ICU headers and <wtf/text/LChar.h> as needed to replace it.
- 9:23 AM Changeset in webkit [163309] by
-
- 9 edits6 deletes in trunk
Revert r163299 since it broke the ML 32-bit Release build
Source/WebCore:
- html/HTMLAnchorElement.cpp:
(WebCore::parsePortFromStringPosition):
(WebCore::HTMLAnchorElement::hash):
(WebCore::HTMLAnchorElement::setHash):
(WebCore::HTMLAnchorElement::host):
(WebCore::HTMLAnchorElement::setHost):
(WebCore::HTMLAnchorElement::hostname):
(WebCore::HTMLAnchorElement::setHostname):
(WebCore::HTMLAnchorElement::pathname):
(WebCore::HTMLAnchorElement::setPathname):
(WebCore::HTMLAnchorElement::port):
(WebCore::HTMLAnchorElement::setPort):
(WebCore::HTMLAnchorElement::protocol):
(WebCore::HTMLAnchorElement::setProtocol):
(WebCore::HTMLAnchorElement::search):
(WebCore::HTMLAnchorElement::origin):
(WebCore::HTMLAnchorElement::setSearch):
(WebCore::HTMLAnchorElement::toString):
- html/HTMLAnchorElement.h:
- html/HTMLAnchorElement.idl:
- html/HTMLAreaElement.idl:
- html/URLUtils.idl:
LayoutTests:
- fast/dom/HTMLAnchorElement/anchor-password-expected.txt: Removed.
- fast/dom/HTMLAnchorElement/anchor-password.html: Removed.
- fast/dom/HTMLAnchorElement/anchor-username-expected.txt: Removed.
- fast/dom/HTMLAnchorElement/anchor-username.html: Removed.
- fast/dom/HTMLAreaElement/area-password.html: Removed.
- fast/dom/HTMLAreaElement/area-username.html: Removed.
- js/dom/dom-static-property-for-in-iteration-expected.txt:
- js/dom/dom-static-property-for-in-iteration.html:
- 6:51 AM Changeset in webkit [163308] by
-
- 5 edits in trunk/Source
Versioning.
- 6:48 AM Changeset in webkit [163307] by
-
- 1 copy in tags/Safari-538.16
New Tag.
- 6:38 AM Changeset in webkit [163306] by
-
- 2 edits in releases/WebKitGTK/webkit-2.4/Source/WebCore
Merge r163174 - Don't allocate a new XMLHttpRequestStaticData every time staticData() is called
https://bugs.webkit.org/show_bug.cgi?id=127996
Reviewed by Andreas Kling.
std::once_flag should be static.
- xml/XMLHttpRequest.cpp:
(WebCore::staticData):
- 6:34 AM Changeset in webkit [163305] by
-
- 3 edits in releases/WebKitGTK/webkit-2.4/Source/WebInspectorUI
Merge r163086 - Web Inspector: Implement open/close Console window shortcut
https://bugs.webkit.org/show_bug.cgi?id=127896
Patch by Diego Pino Garcia <Diego Pino Garcia> on 2014-01-30
Reviewed by Timothy Hatcher.
- UserInterface/KeyboardShortcut.js:
(WebInspector.KeyboardShortcut.prototype.get displayName):
Bug: Option symbol should be displayed as Alternative symbol (\u2387)
in non Mac platforms.
- UserInterface/Main.js:
(WebInspector.contentLoaded):
Create keyboard shortcut for toggling console window.
- 6:32 AM Changeset in webkit [163304] by
-
- 2 edits in releases/WebKitGTK/webkit-2.4/Source/WebCore
Merge r163081 - [SOUP] Fix the build if !ENABLE(WEB_TIMING)
https://bugs.webkit.org/show_bug.cgi?id=127906
Reviewed by Gustavo Noronha Silva.
- platform/network/soup/SoupNetworkSession.cpp:
- 6:22 AM Changeset in webkit [163303] by
-
- 16 edits in releases/WebKitGTK/webkit-2.4
Merge r163072 - Remove ENABLE(JAVASCRIPT_DEBUGGER) leftovers
https://bugs.webkit.org/show_bug.cgi?id=127845
Reviewed by Joseph Pecoraro.
.:
- Source/autotools/SetupWebKitFeatures.m4:
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
- Configurations/FeatureDefines.xcconfig:
- bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsProfiling):
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig:
Tools:
- Scripts/webkitperl/FeatureList.pm:
WebKitLibraries:
- win/tools/vsprops/FeatureDefines.props:
- win/tools/vsprops/FeatureDefinesCairo.props:
- 5:54 AM Changeset in webkit [163302] by
-
- 3 edits2 adds in trunk
[CSS Regions] Fix selection and hover effect of content in region with overflow:hidden
https://bugs.webkit.org/show_bug.cgi?id=127101
Patch by Mihai Maerean <Mihai Maerean> on 2014-02-03
Reviewed by Mihnea Ovidenie.
Source/WebCore:
RenderNamedFlowFragments are not hit candidates. The hit test algorithm will pick the
parent layer, the one of the region.
Test: fast/regions/hover-overflow-hidden.html
- rendering/RenderLayer.cpp:
(WebCore::isHitCandidate):
LayoutTests:
- fast/regions/hover-overflow-hidden.html: Added.
- fast/regions/hover-overflow-hidden-expected.html: Added.
- 5:43 AM Changeset in webkit [163301] by
-
- 12 edits in releases/WebKitGTK/webkit-2.4/Source/WebKit2
Merge r163037 - Consolidate page loading functions
https://bugs.webkit.org/show_bug.cgi?id=127847
Reviewed by Tim Horton.
Get rid of the loadURL functions (and the LoadURL message), rename
loadURLRequest to loadRequest and change it to take a ResourceRequest instead
of an API::URLRequest.
- UIProcess/API/C/WKPage.cpp:
(WKPageLoadURL):
(WKPageLoadURLWithUserData):
(WKPageLoadURLRequest):
(WKPageLoadURLRequestWithUserData):
- UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController loadRequest:userData:]):
- UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView loadRequest:]):
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_load_uri):
(webkit_web_view_load_request):
- UIProcess/WebInspectorProxy.cpp:
(WebKit::decidePolicyForNavigationAction):
(WebKit::WebInspectorProxy::createInspectorPage):
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::loadRequest):
(WebKit::WebPageProxy::loadFile):
- UIProcess/WebPageProxy.h:
- UIProcess/cf/WebPageProxyCF.cpp:
(WebKit::WebPageProxy::restoreFromSessionStateData):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::loadRequest):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- 5:23 AM WebKitGTK/2.4.x edited by
- (diff)
- 4:48 AM WebKitGTK/2.4.x edited by
- (diff)
- 4:45 AM WebKitGTK/2.4.x created by
- 4:13 AM Changeset in webkit [163300] by
-
- 1 copy in releases/WebKitGTK/webkit-2.4
Branch WebKitGTK+ for 2.4
- 3:13 AM Changeset in webkit [163299] by
-
- 9 edits6 adds in trunk
Adopt URLUtils interface and template in HTMLAnchorElement and HTMLAreaElement
https://bugs.webkit.org/show_bug.cgi?id=128067
Reviewed by Antti Koivisto.
Source/WebCore:
Tests: fast/dom/HTMLAnchorElement/anchor-password.html
fast/dom/HTMLAnchorElement/anchor-username.html
fast/dom/HTMLAreaElement/area-password.html
fast/dom/HTMLAreaElement/area-username.html
- html/HTMLAnchorElement.cpp:
- html/HTMLAnchorElement.h:
(WebCore::HTMLAnchorElement::setHref): Add version that takes
(and ignores) ExceptionCode. This is needed because the URLUtil
base interface is used for URL, which can throw an exception,
and HTMLAnchorElement, which cannot.
- html/HTMLAnchorElement.idl: implement URLUtils
- html/HTMLAreaElement.idl: implement URLUtils
- html/URLUtils.idl: Treat null as empty string for href
LayoutTests:
New tests for the newly added attributes.
- fast/dom/HTMLAnchorElement/anchor-password-expected.txt: Added.
- fast/dom/HTMLAnchorElement/anchor-password.html: Added.
- fast/dom/HTMLAnchorElement/anchor-username-expected.txt: Added.
- fast/dom/HTMLAnchorElement/anchor-username.html: Added.
- fast/dom/HTMLAreaElement/area-password.html: Added.
- fast/dom/HTMLAreaElement/area-username.html: Added.
Update a test to handle the new anchor properties.
- js/dom/dom-static-property-for-in-iteration-expected.txt:
- js/dom/dom-static-property-for-in-iteration.html:
- 2:05 AM Changeset in webkit [163298] by
-
- 2 edits in trunk/Source/WebKit2
Build fix after r163289.
Unreviewed EFL build fix.
Use deprecatedCharacters.
- UIProcess/efl/TextCheckerEfl.cpp:
(WebKit::TextChecker::requestCheckingOfString):
- 1:31 AM Changeset in webkit [163297] by
-
- 2 edits in trunk/Source/WebKit2
Build fix.
- WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::convertStringToKeyCodes):
- 1:16 AM Changeset in webkit [163296] by
-
- 19 edits2 adds in trunk
[ATK] Expose aria-controls through ATK_RELATION_CONTROLLER_FOR
https://bugs.webkit.org/show_bug.cgi?id=127908
Reviewed by Chris Fleizach.
Source/WebCore:
Based on w3c, aria-controls could be exposed through ATK_RELATION_CONTROLLER_FOR.
Test: accessibility/aria-controls.html
- accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::supportsARIAControls):
(WebCore::AccessibilityObject::ariaControlsElements):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::supportsARIAFlowTo):
(WebCore::AccessibilityRenderObject::supportsARIAControls):
(WebCore::AccessibilityRenderObject::ariaControlsElements):
- accessibility/AccessibilityRenderObject.h:
- accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(setAtkRelationSetFromCoreObject):
Tools:
Updated AccessibilityUIElement both in WKTR and DRT so that aria-controls support could be tested properly.
Added empty stubs to not break mac builds.
- DumpRenderTree/AccessibilityUIElement.cpp:
(ariaControlsElementAtIndexCallback):
(AccessibilityUIElement::getJSClass):
- DumpRenderTree/AccessibilityUIElement.h:
- DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
(accessibilityElementAtIndex):
(AccessibilityUIElement::disclosedRowAtIndex):
(AccessibilityUIElement::ariaOwnsElementAtIndex):
(AccessibilityUIElement::ariaFlowToElementAtIndex):
(AccessibilityUIElement::ariaControlsElementAtIndex):
- DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
(AccessibilityUIElement::ariaControlsElementAtIndex):
- DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::ariaControlsElementAtIndex):
- DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::ariaControlsElementAtIndex):
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
- WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::accessibilityElementAtIndex):
(WTR::AccessibilityUIElement::linkedUIElementAtIndex):
(WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
(WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
(WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
- WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
(WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
- WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
(WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
LayoutTests:
Tests whether aria-controls returns correct element at the given index.
- accessibility/aria-controls-expected.txt: Added.
- accessibility/aria-controls.html: Added.
- platform/mac/TestExpectations: Skipped it, missing implementation.
- 1:02 AM Changeset in webkit [163295] by
-
- 19 edits in trunk/Source/WebCore
RenderSVGResource::removeClientFromCache() should take RenderElement&.
<https://webkit.org/b/128097>
Text renderers never have resources associated with them.
This is yet another step towards enforcing that at compile-time
by making all the resource cache interfaces deal in RenderElement.
Also marked the RenderSVGResourceSolidColor class final.
Reviewed by Darin Adler.
- rendering/svg/RenderSVGResource.cpp:
(WebCore::removeFromCacheAndInvalidateDependencies):
(WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
- rendering/svg/RenderSVGResource.h:
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::removeClientFromCache):
- rendering/svg/RenderSVGResourceClipper.h:
- rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::removeClientFromCache):
- rendering/svg/RenderSVGResourceFilter.h:
- rendering/svg/RenderSVGResourceGradient.cpp:
(WebCore::RenderSVGResourceGradient::removeClientFromCache):
- rendering/svg/RenderSVGResourceGradient.h:
- rendering/svg/RenderSVGResourceMarker.cpp:
(WebCore::RenderSVGResourceMarker::removeClientFromCache):
- rendering/svg/RenderSVGResourceMarker.h:
- rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::removeClientFromCache):
- rendering/svg/RenderSVGResourceMasker.h:
- rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::removeClientFromCache):
- rendering/svg/RenderSVGResourcePattern.h:
- rendering/svg/RenderSVGResourceSolidColor.h:
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::invalidateResourcesOfChildren):
(WebCore::SVGRenderSupport::layoutChildren):
- rendering/svg/SVGResources.cpp:
(WebCore::SVGResources::removeClientFromCache):
- rendering/svg/SVGResources.h:
- 12:41 AM Changeset in webkit [163294] by
-
- 6 edits in trunk/Source
More iOS build fixing.
Source/WebCore:
- accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
- page/ios/FrameIOS.mm:
(WebCore::Frame::interpretationsForCurrentRoot):
Source/WebKit/ios:
- Misc/WebNSStringDrawing.mm:
(-[NSString web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
(-[NSString web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
- 12:27 AM Changeset in webkit [163293] by
-
- 2 edits in trunk/Source/JavaScriptCore
Correctly address Darin’s review comment on the last change.
- runtime/Watchdog.h: Changed an OS(DARWIN) guard around formerly PLATFORM(MAC)-only member
variables to the equivalent OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK).
- 12:19 AM Changeset in webkit [163292] by
-
- 3 edits in trunk/Source/WebKit2
Fix wrong mix of fcntl commands and flags
https://bugs.webkit.org/show_bug.cgi?id=127842
Reviewed by Darin Adler.
We are mixing the commands to set file descriptor and file status
flags in a couple of fcntl() calls. FD_CLOEXEC must be set using
F_SETFD, and the access mode flags (O_RDONLY, O_WRONLY, O_RDWR)
with F_SETFL.
This combines patches by Guillem Jover and Sergio Correia.
- Platform/IPC/unix/ConnectionUnix.cpp:
(IPC::readBytesFromSocket):
- Platform/unix/SharedMemoryUnix.cpp:
(WebKit::SharedMemory::createHandle):
- 12:17 AM Changeset in webkit [163291] by
-
- 5 edits in trunk/Source/JavaScriptCore
Stop using PLATFORM(MAC) in JavaScriptCore except where it means “OS X but not iOS”
https://bugs.webkit.org/show_bug.cgi?id=128098
Reviewed by Darin Adler.
- API/JSValueRef.cpp:
(JSValueUnprotect): Added an explicit !PLATFORM(IOS) in guards for the Evernote workaround,
which is only needed on OS X.
- API/tests/testapi.c:
(main): Changed PLATFORM(MAC) PLATFORM(IOS) guards to OS(DARWIN), because they were surrounding tests for code that is itself guarded by OS(DARWIN).
- runtime/Watchdog.h: Changed PLATFORM(MAC) to OS(DARWIN).
- tools/CodeProfiling.cpp:
(JSC::CodeProfiling::begin): Changed PLATFORM(MAC) to
OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK).
(JSC::CodeProfiling::end): Ditto.
- 12:10 AM Changeset in webkit [163290] by
-
- 2 edits in trunk/Source/WebCore
Try to fix iOS build.
- html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::parseToDateComponents):
Use deprecatedCharacters.
Feb 2, 2014:
- 11:52 PM Changeset in webkit [163289] by
-
- 12 edits3 deletes in trunk/Source
Obey "delete this" comments, including deleting String::characters and friends
https://bugs.webkit.org/show_bug.cgi?id=126865
Reviewed by Andreas Kling.
Source/WebCore:
- CMakeLists.txt: Deleted HTMLParserErrorCodes.cpp.
- GNUmakefile.list.am: Deleted HTMLParserErrorCodes.cpp/h, and HTMLParserQuirks.h.
- WebCore.vcxproj/WebCore.vcxproj: Deleted HTMLParserErrorCodes.cpp/h.
- WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- WebCore.xcodeproj/project.pbxproj: Ditto.
- html/HTMLParserErrorCodes.cpp: Removed.
- html/HTMLParserErrorCodes.h: Removed.
- html/HTMLParserQuirks.h: Removed.
- rendering/RenderText.h: Deleted the characters function, leaving behind the
deprecatedCharacters function.
Source/WTF:
- wtf/text/AtomicString.h: Deleted the characters function.
- wtf/text/StringBuilder.h: Deleted the characters function, leaving behind the
deprecatedCharacters function.
- wtf/text/StringImpl.h: Ditto.
- wtf/text/WTFString.h: Ditto. Also added a constructor that takes a StringImpl&,
helpful for later string refactoring.
- 11:31 PM Changeset in webkit [163288] by
-
- 10 edits in trunk/Source/WTF
Stop using PLATFORM(MAC) in WTF except where it means “OS X but not iOS”
https://bugs.webkit.org/show_bug.cgi?id=128089
Reviewed by Darin Adler.
Replaced all uses of PLATFORM(MAC) that weren’t accompanied by !PLATFORM(IOS) with
equivalent(*) tests that are more idiomatic and will not change once PLATFORM(MAC) changes to
be false when building for iOS.
- - One exception noted below.
- wtf/AutodrainedPool.h: Changed PLATFORM(MAC) to USE(FOUNDATION), because NSAutoreleasePool
is a Foundation class.
- wtf/CurrentTime.cpp:
(WTF::monotonicallyIncreasingTime): Changed PLATFORM(MAC) to OS(DARWIN), because Mach is
part of the Darwin kernel, but reordered such that the EFL and GLIB implementations continue
to take precedence regardless of the OS.
- wtf/MainThread.cpp: Changed PLATFORM(MAC) to OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK).
- wtf/MainThread.h: Ditto.
- wtf/Platform.h: Changed USE(CG) and USE(CA) to depend on COCOA, rather than MAC or IOS.
Ditto for USE(CFURLCACHE), HAVE(ACCESSIBILITY), USE(PROTECTION_SPACE_AUTH_CALLBACK),
USE(ACCESSIBILITY_CONTEXT_MENUS), USE(EXPORT_MACROS), USE(AVFOUNDATION),
USE(REQUEST_ANIMATION_FRAME_TIMER), USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR),
USE(CONTENT_FILTERING), USE(UNIFIED_TEXT_CHECKING), USE(MARKER_REMOVAL_UPON_EDITING),
USE(AUDIO_SESSION), USE(IOSURFACE), and ENABLE(CSS3_TEXT_DECORATION_SKIP_INK). Changed
PLATFORM(MAC) to OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) in controlling various
JavaScriptCore or JavaScriptCore-dependent behaviors.
- wtf/RunLoop.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
- wtf/RunLoopTimerCF.cpp: Ditto.
- wtf/SchedulePair.h: Changed PLATFORM(MAC) to USE(FOUNDATION), since it was used to guard
usage of Foundation API.
- wtf/Threading.cpp: Added an explicit !PLATFORM(IOS) in a guard around something needed
only on OS X and Windows.
- 10:19 PM Changeset in webkit [163287] by
-
- 5 edits in trunk/Source
IDB: Cannot open new databases with the default version
https://bugs.webkit.org/show_bug.cgi?id=128096
Reviewed by Tim Horton.
Source/WebCore:
- Modules/indexeddb/IDBDatabaseBackend.cpp:
(WebCore::IDBDatabaseBackend::openConnectionInternal): Update logic to handle the
current version being NoIntVersion.
- Modules/indexeddb/IDBTransactionBackendOperations.cpp:
(WebCore::IDBDatabaseBackend::VersionChangeOperation::perform): Update ASSERT.
Source/WebKit2:
- DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createAndPopulateInitialMetadata): New databases should
have the magic "no version set" version.
- 10:18 PM Changeset in webkit [163286] by
-
- 2 edits in trunk/Source/WebCore
Fix context save/restore mistake spotted in SVGInlineTextBox::paintTextWithShadows
https://bugs.webkit.org/show_bug.cgi?id=128095
Reviewed by Andreas Kling.
- rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintTextWithShadows): Move calls to GraphicsContext::restore
and GraphicsContext::clearShadow before restoreGraphicsContextAfterTextPainting, since that
function can swap contexts.
- 9:04 PM Changeset in webkit [163285] by
-
- 9 edits in trunk/Source/WebCore
Modernize RenderSVGText::locateRenderSVGTextAncestor().
<https://webkit.org/b/128093>
Make locateRenderSVGTextAncestor() take a reference, and simplify it
internally with lineageOfType.
Switched callers to use 'auto' for the return type so we get some
devirtualization freebies.
Reviewed by Anders Carlsson.
- rendering/svg/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::objectBoundingBox):
(WebCore::RenderSVGInline::strokeBoundingBox):
(WebCore::RenderSVGInline::repaintRectInLocalCoordinates):
(WebCore::RenderSVGInline::absoluteQuads):
(WebCore::RenderSVGInline::addChild):
(WebCore::RenderSVGInline::removeChild):
- rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::setTextInternal):
(WebCore::RenderSVGInlineText::styleDidChange):
- rendering/svg/RenderSVGResourceGradient.cpp:
(WebCore::createMaskAndSwapContextForTextGradient):
(WebCore::clipToTextMask):
- rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::locateRenderSVGTextAncestor):
- rendering/svg/RenderSVGText.h:
(WebCore::RenderSVGText>):
- rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
(WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextRenderer):
- rendering/svg/SVGTextMetricsBuilder.cpp:
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
- svg/SVGTextPositioningElement.cpp:
(WebCore::SVGTextPositioningElement::svgAttributeChanged):
- 8:54 PM Changeset in webkit [163284] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Add a logic for checking multi touch in GestureRecognizer::noGesture
https://bugs.webkit.org/show_bug.cgi?id=127675
Patch by Sanghyup Lee <sh53.lee@samsung.com> on 2014-02-02
Reviewed by Gyuyoung Kim.
When processing TouchStart event in GestureRecognizer::noGesture(), we should
check the number of touch points to distinguish if the gesture is single tap
or pinch zoom. Current logic only considers the event as single tap.
- UIProcess/API/efl/GestureRecognizer.cpp:
(WebKit::GestureRecognizer::noGesture):
- 8:50 PM Changeset in webkit [163283] by
-
- 13 edits in trunk/Source/WebCore
Modernize the toRenderSVGResourceContainer() helper.
<https://webkit.org/b/128091>
Make toRenderSVGResourceContainer() a free function like all the
other casting helpers. Use references instead of pointers where
applicable.
Reviewed by Anders Carlsson.
- rendering/RenderLayerFilterInfo.cpp:
(WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
(WebCore::RenderLayer::FilterInfo::removeReferenceFilterClients):
- rendering/RenderObject.cpp:
- rendering/RenderObject.h:
- rendering/svg/RenderSVGGradientStop.cpp:
(WebCore::RenderSVGGradientStop::styleDidChange):
- rendering/svg/RenderSVGResource.cpp:
(WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
- rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::markAllClientsForInvalidation):
- rendering/svg/RenderSVGResourceContainer.h:
- rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::buildPrimitives):
- rendering/svg/RenderSVGResourceFilter.h:
- rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGResourceContainer):
- rendering/svg/SVGResourcesCycleSolver.cpp:
(WebCore::SVGResourcesCycleSolver::resolveCycles):
- svg/SVGElement.cpp:
(WebCore::SVGElement::svgAttributeChanged):
- 8:44 PM Changeset in webkit [163282] by
-
- 2 edits in trunk/Source/WebCore
Minor SVGRootInlineBox cleanup.
<https://webkit.org/b/128094>
Remove two virtual functions and sprinkle some missing overrides.
Reviewed by Anders Carlsson.
- rendering/svg/SVGRootInlineBox.h:
- 6:35 PM Changeset in webkit [163281] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
I forgot to save the changelog prior to submitting.
- 6:25 PM Changeset in webkit [163280] by
-
- 41 edits in trunk
Push DOM attributes into the prototype chain
https://bugs.webkit.org/show_bug.cgi?id=127969
Reviewed by Mark Lam.
Source/WebCore:
Start redoing code generation for attributes.
- bindings/js/JSDOMBinding.h:
(WebCore::getStaticPropertySlotEntryWithoutCaching):
(WebCore::getStaticPropertySlotEntryWithoutCaching<JSDOMWrapper>):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateGetOwnPropertySlotBody):
(HasComplexGetOwnProperty):
(ConstructorShouldBeOnInstance):
(AttributeShouldBeOnInstance):
(InstanceAttributeCount):
(PrototypeAttributeCount):
(InstanceOverridesGetOwnPropertySlot):
(PrototypeOverridesGetOwnPropertySlot):
(GenerateAttributesHashTable):
(GenerateImplementation):
LayoutTests:
Update layout test results
- fast/dom/wrapper-classes-expected.txt:
- js/dom/constructor-attributes-expected.txt:
- js/dom/dom-static-property-for-in-iteration-expected.txt:
- js/dom/script-tests/constructor-attributes.js:
- 6:15 PM Changeset in webkit [163279] by
-
- 4 edits in trunk/Source/WebCore
RenderSVGResourceContainer clients are always RenderElement.
<https://webkit.org/b/128088>
All clients of RenderSVGResourceContainer are going to be RenderElement,
so make the interface take RenderElement& instead of RenderObject*.
Also modernized the code a bit with C++11 range for loops.
Reviewed by Sam Weinig.
- rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::addClient):
(WebCore::RenderSVGResourceContainer::removeClient):
- rendering/svg/RenderSVGResourceContainer.h:
- rendering/svg/SVGResourcesCache.cpp:
(WebCore::SVGResourcesCache::addResourcesFromRenderer):
(WebCore::SVGResourcesCache::removeResourcesFromRenderer):
- 5:40 PM Changeset in webkit [163278] by
-
- 3 edits in trunk/Source/WebCore
Subpixel rendering: Use floorf/roundf/fabs in device snapping helpers.
https://bugs.webkit.org/show_bug.cgi?id=128075
Reviewed by Darin Adler.
No change in functionality.
- platform/LayoutUnit.h:
(WebCore::roundToDevicePixel):
(WebCore::floorToDevicePixel):
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
- 5:05 PM Changeset in webkit [163277] by
-
- 3 edits in trunk/Source/WebCore
SVGDocumentExtensions::resourcesCache() should return a reference.
<https://webkit.org/b/128087>
The SVGResourcesCache is always present when the Document is using
SVG extensions, so make this return a reference and propagate that
knowledge to the call site.
This gets rid of an assertion and some rickety looking ->'s.
Also converted a loop to use C++11 range for syntax.
Reviewed by Sam Weinig.
- rendering/svg/SVGResourcesCache.cpp:
(WebCore::resourcesCacheFromRenderer):
(WebCore::SVGResourcesCache::cachedResourcesForRenderObject):
(WebCore::SVGResourcesCache::clientStyleChanged):
(WebCore::SVGResourcesCache::clientWasAddedToTree):
(WebCore::SVGResourcesCache::clientWillBeRemovedFromTree):
(WebCore::SVGResourcesCache::clientDestroyed):
(WebCore::SVGResourcesCache::resourceDestroyed):
- svg/SVGDocumentExtensions.h:
(WebCore::SVGDocumentExtensions::resourcesCache):
- 5:03 PM Changeset in webkit [163276] by
-
- 12 edits in trunk/Source/WebCore
RenderSVGInlineText::computeNewScaledFontForStyle() should take references.
<https://webkit.org/b/128086>
Make computeNewScaledFontForStyle() take renderer and style by reference
instead of taking a pointer and asserting that it's non-null.
Reviewed by Darin Adler.
- rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::updateScaledFont):
(WebCore::RenderSVGInlineText::computeNewScaledFontForStyle):
- rendering/svg/RenderSVGInlineText.h:
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::applyClippingToContext):
- rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::shouldTransformOnTextPainting):
- rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
- rendering/svg/RenderSVGResourceGradient.cpp:
(WebCore::createMaskAndSwapContextForTextGradient):
(WebCore::clipToTextMask):
- rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::applyResource):
- rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::buildPattern):
- rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintDecorationWithStyle):
- rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::calculateScreenFontSizeScalingFactor):
(WebCore::SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem):
- rendering/svg/SVGRenderingContext.h:
- 4:38 PM Changeset in webkit [163275] by
-
- 16 edits in trunk/Source
Still more characters -> deprecatedCharacters (EWS keeps finding more)
https://bugs.webkit.org/show_bug.cgi?id=128076
Reviewed by Andreas Kling.
Source/WebCore:
- platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::setFontFeatures):
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
Use deprecatedCharacters.
Source/WebKit/win:
- AccessibleTextImpl.cpp:
(AccessibleText::get_text):
(AccessibleText::get_textBeforeOffset):
(AccessibleText::get_textAfterOffset):
(AccessibleText::get_textAtOffset):
(AccessibleText::get_attributes):
- DOMCSSClasses.cpp:
(DOMCSSStyleDeclaration::getPropertyValue):
- DOMCoreClasses.cpp:
(DOMNode::nodeValue):
(DOMElement::getAttribute):
(DOMElement::font):
- DOMHTMLClasses.cpp:
(DOMHTMLElement::innerText):
(DOMHTMLFormElement::action):
(DOMHTMLFormElement::method):
(DOMHTMLInputElement::value):
(DOMHTMLTextAreaElement::value):
- MarshallingHelpers.cpp:
(MarshallingHelpers::PathStringToFileCFURLRef):
- WebDataSource.cpp:
(WebDataSource::unreachableURL):
- WebDownload.cpp:
(WebDownload::bundlePathForTargetPath):
- WebDownloadCFNet.cpp:
(WebDownload::didFinish):
- WebElementPropertyBag.cpp:
(convertStringToVariant):
- WebFrame.cpp:
(WebFrame::searchForLabelsBeforeElement):
(WebFrame::matchLabelsAgainstElement):
- WebHistory.cpp:
(WebHistory::addVisitedLinksToPageGroup):
- WebKitGraphics.cpp:
(CenterTruncateStringToWidth):
(RightTruncateStringToWidth):
- WebView.cpp:
(WebView::applicationNameForUserAgent):
(WebView::customUserAgent):
(WebView::groupName):
(WebView::selectedText):
(WebView::onIMERequestReconvertString):
Use deprecatedCharacters.
- 4:22 PM Changeset in webkit [163274] by
-
- 3 edits in trunk/Source/JavaScriptCore
Repatch code is passing the wrong args to lookupExceptionHandler.
<https://webkit.org/b/128085>
Reviewed by Oliver Hunt.
lookupExceptionHandler() is expecting 2 args: VM*, ExecState*.
The repatch code was only passing an ExecState*. A crash ensues.
This is now fixed.
- jit/JIT.cpp:
(JSC::JIT::privateCompileExceptionHandlers):
- jit/Repatch.cpp:
(JSC::generateProtoChainAccessStub):
- 3:46 PM Changeset in webkit [163273] by
-
- 2 edits in trunk/Source/WebKit2
WK2: Selection is non editable content is not cleared when navigating to a different page.
https://bugs.webkit.org/show_bug.cgi?id=128084
<rdar://problem/15966166>
Reviewed by Dan Bernstein.
When resigning first responder, we need to cleanup the selection.
- UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView resignFirstResponder]):
- 1:59 PM Changeset in webkit [163272] by
-
- 4 edits in trunk/Source/WebCore
Subpixel rendering: Enable subpixel positioning/sizing/hairline border painting.
https://bugs.webkit.org/show_bug.cgi?id=128009
Reviewed by Simon Fraser.
Snap and clip to device pixels when painting boxes. Enable hairline painting
for solid border.
No existing context to test this functionality yet.
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::drawBoxSideFromPath):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::drawLineForBoxSide):
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::getRoundedBorderFor):
(WebCore::RenderStyle::getRoundedInnerBorderFor):
- 1:56 PM Changeset in webkit [163271] by
-
- 5 edits in trunk/Source/WebCore
Add some missing override keywords
https://bugs.webkit.org/show_bug.cgi?id=128082
Reviewed by Antti Koivisto.
- loader/DocumentThreadableLoader.h:
- loader/LinkLoader.h:
- loader/TextTrackLoader.h:
- xml/parser/XMLDocumentParser.h:
- 1:07 PM Changeset in webkit [163270] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Mac gardering after r163265.
- platform/mac/TestExpectations:
- 12:37 PM Changeset in webkit [163269] by
-
- 2 edits in trunk/Source/WebKit2
WK2: Cannot focus a second field in a page after the first has been focused.
https://bugs.webkit.org/show_bug.cgi?id=128055
<rdar://problem/15943652>
Reviewed by Simon Fraser.
When handling singleTap, we always need to send
a click to WebKit when we are already interacting with text.
Also, when we stop assisting the node, we should not call
resign responder, since that will trigger another unwanted blur.
- UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView _singleTapRecognized:]):
(-[WKInteractionView _stopAssistingNode]):
- 12:31 PM Changeset in webkit [163268] by
-
- 2 edits in trunk/Tools
WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
https://bugs.webkit.org/show_bug.cgi?id=127849
I inadvertently used the equality operator instead of the identity operator when comparing the
value of the error HTTP status code with the numeric literal 401.
- BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
(BuildbotQueue.prototype.update):
- 12:29 PM Changeset in webkit [163267] by
-
- 2 edits in trunk/Tools
Attempt to fix production dashboard after <http://trac.webkit.org/changeset/163222>
Actually pass option dictionary to JSON.load(); JSON.load() takes four arguments with the
last-most argument being the option dictionary.
- BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
(BuildbotIteration.prototype.update):
- 11:55 AM Changeset in webkit [163266] by
-
- 17 edits in trunk/Source
IDB: Support IDBFactory.deleteDatabase()
https://bugs.webkit.org/show_bug.cgi?id=128060
Reviewed by Filip Pizlo and Maciej Stachowiak (filesystem parts also Tim Hatcher and Simon Fraser)
Source/WebCore:
- Modules/indexeddb/IDBDatabaseBackend.cpp:
(WebCore::IDBDatabaseBackend::deleteDatabaseAsync):
- Modules/indexeddb/IDBFactory.cpp:
(WebCore::IDBFactory::deleteDatabase):
Change factory-level deleteDatabase to take opening and main frame origins:
- Modules/indexeddb/IDBFactoryBackendInterface.h:
- Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
(WebCore::IDBFactoryBackendLevelDB::deleteDatabase):
- Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
- Modules/indexeddb/IDBServerConnection.h:
- Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
- WebCore.exp.in:
Source/WebKit2:
- DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
(WebKit::DatabaseProcessIDBConnection::deleteDatabase):
- DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::calculateAbsoluteDatabaseFilename): Central place to
calculate the database filename.
(WebKit::UniqueIDBDatabase::unregisterConnection):
(WebKit::UniqueIDBDatabase::shutdown): Pass shutdown type along.
(WebKit::UniqueIDBDatabase::shutdownBackingStore): If this is a delete shutdown, delete the DB.
(WebKit::UniqueIDBDatabase::didShutdownBackingStore):
(WebKit::UniqueIDBDatabase::deleteDatabase):
(WebKit::UniqueIDBDatabase::postMainThreadTask): All some tasks to bypass the no-more-request restriction.
(WebKit::UniqueIDBDatabase::postDatabaseTask): Ditto.
- DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
- DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::~UniqueIDBDatabaseBackingStoreSQLite):
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::getOrEstablishMetadata): Use
calculateAbsoluteDatabaseFilename from UniqueIDBDatabase.
- WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
(WebKit::WebIDBFactoryBackend::open): Update logging channel.
(WebKit::WebIDBFactoryBackend::deleteDatabase): Implement.
- WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
- Shared/WebCrossThreadCopier.h:
- 10:38 AM Changeset in webkit [163265] by
-
- 6 edits in trunk/Source/WebCore
Subpixel rendering: Introduce device pixel snapping helper functions.
https://bugs.webkit.org/show_bug.cgi?id=128049
Reviewed by Simon Fraser.
These functions help device pixel snapping during painting. They follow the logic of
the corresponding pixelSnappedInt* functions.
No change in functionality.
- platform/LayoutUnit.h:
(WebCore::roundToDevicePixel):
(WebCore::floorToDevicePixel):
(WebCore::snapSizeToPixel):
(WebCore::snapSizeToDevicePixel):
- platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::GraphicsContext):
- platform/graphics/GraphicsContext.h:
(WebCore::GraphicsContext::pixelSnappingFactor):
- platform/graphics/LayoutRect.h:
(WebCore::pixelSnappedForPainting):
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
- 9:44 AM Changeset in webkit [163264] by
-
- 2 edits in trunk/Source/WebCore
Floor thickness and length after switching from int to float.
https://bugs.webkit.org/show_bug.cgi?id=128071
Reviewed by Antti Koivisto.
This is a temporary solution to fix the assertion on empty line drawing until after
device pixel snapping is added.
Covered by existing tests.
- rendering/RenderObject.cpp:
(WebCore::RenderObject::drawLineForBoxSide):
- 9:27 AM Changeset in webkit [163263] by
-
- 12 edits2 deletes in trunk/Source/WebCore
Remove StyleScopeResolver
https://bugs.webkit.org/show_bug.cgi?id=128069
Reviewed by Anders Carlsson.
This is dead code.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.xcodeproj/project.pbxproj:
- css/DocumentRuleSets.cpp:
(WebCore::DocumentRuleSets::appendAuthorStyleSheets):
(WebCore::DocumentRuleSets::collectFeatures):
- css/DocumentRuleSets.h:
- css/ElementRuleCollector.h:
(WebCore::ElementRuleCollector::ElementRuleCollector):
- css/RuleSet.cpp:
(WebCore::RuleSet::addChildRules):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::pushParentElement):
(WebCore::StyleResolver::popParentElement):
(WebCore::StyleResolver::locateSharedStyle):
(WebCore::StyleResolver::styleForElement):
- css/StyleResolver.h:
(WebCore::StyleResolver::document):
- css/StyleScopeResolver.cpp: Removed.
- css/StyleScopeResolver.h: Removed.
- style/StyleResolveTree.cpp:
(WebCore::Style::attachShadowRoot):
(WebCore::Style::resolveShadowTree):
- 8:15 AM Changeset in webkit [163262] by
-
- 12 edits in trunk
Subpixel rendering: Make BorderEdge/RoundedRect::Radii LayoutUnit aware.
https://bugs.webkit.org/show_bug.cgi?id=128036
Reviewed by Darin Adler.
Source/WebCore:
Covered by existing tests.
- platform/LayoutUnit.h:
(WebCore::LayoutUnit::operator++):
- rendering/RenderBoxModelObject.cpp:
(WebCore::BorderEdge::BorderEdge):
(WebCore::BorderEdge::usedWidth):
(WebCore::BorderEdge::getDoubleBorderStripeWidths):
(WebCore::RenderBoxModelObject::paintOneBorderSide):
(WebCore::RenderBoxModelObject::paintBorder):
(WebCore::RenderBoxModelObject::drawBoxSideFromPath):
(WebCore::calculateSideRectIncludingInner):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::drawLineForBoxSide):
- rendering/RenderObject.h:
- rendering/style/BorderData.h:
(WebCore::BorderData::borderLeftWidth):
(WebCore::BorderData::borderRightWidth):
(WebCore::BorderData::borderTopWidth):
(WebCore::BorderData::borderBottomWidth):
- rendering/style/RenderStyle.cpp:
(WebCore::calcRadiiFor):
(WebCore::calcConstraintScaleFor):
(WebCore::RenderStyle::getRoundedInnerBorderFor):
- rendering/style/RenderStyle.h:
LayoutTests:
Bug 128061: Subpixel rendering: borders are reporting float values.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/win/TestExpectations:
- 12:02 AM Changeset in webkit [163261] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r163234) Debug build is broken
https://bugs.webkit.org/show_bug.cgi?id=128059
Unreviewed. Debug build is broken with INDEXED_DATABASE.
Patch by Hunseop Jeong <Hunseop Jeong> on 2014-02-01
- Modules/indexeddb/IDBKeyData.cpp:
(WebCore::IDBKeyData::loggingString): Added the default: case.