WebKit-https.git
6 years agoWeb Inspector: ASSERT expanding objects in console PrimitiveBindingTraits<T>::assertV...
commit-queue@webkit.org [Thu, 22 Jan 2015 01:03:15 +0000 (01:03 +0000)]
Web Inspector: ASSERT expanding objects in console PrimitiveBindingTraits<T>::assertValueHasExpectedType
https://bugs.webkit.org/show_bug.cgi?id=140746

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-21
Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

* inspector/InjectedScriptSource.js:
Do not add impure properties to the descriptor object that will
eventually be sent to the frontend.

LayoutTests:

* TestExpectations:
Unskip the test now that is doesn't ASSERT in debug builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178875 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix the iOS release build after <http://trac.webkit.org/changeset/178868>
dbates@webkit.org [Thu, 22 Jan 2015 00:50:01 +0000 (00:50 +0000)]
Fix the iOS release build after <trac.webkit.org/changeset/178868>
(https://bugs.webkit.org/show_bug.cgi?id=140742)

Substitute ASSERT_UNUSED() for ASSERT() since the parameter layer is used only in the assertion expression.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::needsIOSDumpRenderTreeMainFrameRenderViewLayerIsAlwaysOpaqueHack):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178874 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd two Apple Mavericks slaves.
lforschler@apple.com [Thu, 22 Jan 2015 00:22:36 +0000 (00:22 +0000)]
Add two Apple Mavericks slaves.

Unreviewed.

* BuildSlaveSupport/build.webkit.org-config/config.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178873 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdate iOS WebKit2 expected results for compositing tests
dbates@webkit.org [Thu, 22 Jan 2015 00:04:14 +0000 (00:04 +0000)]
Update iOS WebKit2 expected results for compositing tests

Following the patch for bug #140742, <https://bugs.webkit.org/show_bug.cgi?id=140742>, we can remove
all iOS WebKit2-specific expected results that are identical to the platform-independent results.

* platform/ios-simulator-wk2/TestExpectations: Add WebKit2-specific failures: compositing/reflections/nested-reflection-on-overflow.html
and compositing/repaint/invalidations-on-composited-layers.html.
* platform/ios-simulator-wk2/compositing/absolute-inside-out-of-view-fixed-expected.txt: Removed.
[...]
* platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt: Removed.
* platform/ios-simulator-wk2/compositing/visibility/layer-visible-content-expected.txt: Removed.
* platform/ios-simulator-wk2/compositing/visible-rect/3d-transform-style-expected.txt: Removed.
* platform/ios-simulator/TestExpectations: Remove tests that now pass in both iOS WebKit1 and WebKit2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdate iOS WebKit test expectations for compositing tests
dbates@webkit.org [Wed, 21 Jan 2015 23:52:14 +0000 (23:52 +0000)]
Update iOS WebKit test expectations for compositing tests

* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178871 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[iOS] WebKitTestRunner: Tests fail due to incorrect web view size
jhoneycutt@apple.com [Wed, 21 Jan 2015 23:47:43 +0000 (23:47 +0000)]
[iOS] WebKitTestRunner: Tests fail due to incorrect web view size

<https://bugs.webkit.org/show_bug.cgi?id=139736>
<rdar://problem/19282196>

This starts happening after we fail to reset the test controller to
consistent values in TestInvocation::invoke(). When we terminate the
web process and relaunch it, the new WebPage object created in the web
process is using the default ViewportConfiguration with dimensions of
1024x768.

The PageClient on iOS currently notifies the WKWebView and the
WKContentView when the web process is relaunched. This patch extends
that to also notify the WKView.

Reviewed by Benjamin Poulain.

* UIProcess/API/Cocoa/WKViewPrivate.h:
Declare -_didRelaunchProcess.

* UIProcess/API/ios/WKViewIOS.mm:
(-[WKView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):
Call the new method that accepts a WKView.
(-[WKView _didRelaunchProcess]):
Call -_frameOrBoundsChanged to update the web process's size to the
size of the WKView.

* UIProcess/ios/PageClientImplIOS.h:
Add a constructor that takes a WKView, and add a member var to hold it.

* UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::PageClientImpl):
Implement the constructor that takes a WKView.
(WebKit::PageClientImpl::didRelaunchProcess):
Tell the WKView that the web process relaunched.

* UIProcess/ios/WKContentView.h:
Declare an initializer that takes a WKView.

* UIProcess/ios/WKContentView.mm:
(-[WKContentView _commonInitializationWithProcessPool:configuration:]):
Split out from -[WKContentView initWithFrame:processPool:configuration:webView:].
(-[WKContentView initWithFrame:processPool:configuration:webView:]):
Perform some initialization, including creating the PageClient, and
call the common initializer.
(-[WKContentView initWithFrame:processPool:configuration:wkView:]):
Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178870 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd WKPageGroupRef SPI for user content filters
weinig@apple.com [Wed, 21 Jan 2015 23:44:35 +0000 (23:44 +0000)]
Add WKPageGroupRef SPI for user content filters
https://bugs.webkit.org/show_bug.cgi?id=140728

Reviewed by Anders Carlsson.

While Safari is transitioning to WKUserContentController, it is useful
for them to have access to have access to content filters on the page group
where they currently have user content related functionality.

* Shared/WebPageGroupData.cpp:
(WebKit::WebPageGroupData::encode):
(WebKit::WebPageGroupData::decode):
* Shared/WebPageGroupData.h:
* UIProcess/API/C/WKPageGroup.cpp:
(WKPageGroupAddUserContentFilter):
(WKPageGroupRemoveAllUserContentFilters):
* UIProcess/API/C/WKPageGroup.h:
* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::addUserContentFilter):
(WebKit::WebPageGroup::removeAllUserContentFilters):
* UIProcess/WebPageGroup.h:
* WebProcess/WebPage/WebPageGroupProxy.cpp:
(WebKit::WebPageGroupProxy::WebPageGroupProxy):
(WebKit::WebPageGroupProxy::addUserContentFilter):
(WebKit::WebPageGroupProxy::removeAllUserContentFilters):
* WebProcess/WebPage/WebPageGroupProxy.h:
* WebProcess/WebPage/WebPageGroupProxy.messages.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178869 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[iOS] Many compositing tests fail in DumpRenderTree due to contentsOpaque difference
dbates@webkit.org [Wed, 21 Jan 2015 23:42:14 +0000 (23:42 +0000)]
[iOS] Many compositing tests fail in DumpRenderTree due to contentsOpaque difference
https://bugs.webkit.org/show_bug.cgi?id=140742

Reviewed by Simon Fraser.

Source/WebCore:

Make RenderLayerBacking::layerTreeAsText() (including internals.layerTreeAsText()) always
report that the main frame's RenderView layer is opaque when running iOS DumpRenderTree to
avoid test failures and the need to maintain for iOS WebKit1 an almost identical copy of the
platform-independent compositing test results.

The main frame's RenderView layer is always transparent in iOS WebKit1 since it does
not make use of a tiled cache layer and defers to UIKit to handle the final compositing
of the web view, including applying the page scale factor.

* platform/RuntimeApplicationChecksIOS.mm:
(WebCore::applicationIsDumpRenderTree): The app bundle identifier of DumpRenderTree has
the form org.webkit.DumpRenderTreeX where X is some non-negative integer.
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::dumpProperties): Modified to report that a layer is opaque when
GraphicsLayerClient::needsIOSDumpRenderTreeMainFrameRenderViewLayerIsAlwaysOpaqueHack() returns true.
* platform/graphics/GraphicsLayerClient.h:
(WebCore::GraphicsLayerClient::needsIOSDumpRenderTreeMainFrameRenderViewLayerIsAlwaysOpaqueHack): Added
default implementation (returns false).
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::needsIOSDumpRenderTreeMainFrameRenderViewLayerIsAlwaysOpaqueHack): Added;
returns true when running in DumpRenderTree and the passed GraphicsLayer corresponds to the main frame's
RenderView layer.
* rendering/RenderLayerBacking.h:

LayoutTests:

Update test expectations and remove an unnecessary test result.

* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/compositing/backing/backface-visibility-flip-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178868 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd iOS WebKit1 TestExpectation file
dbates@webkit.org [Wed, 21 Jan 2015 23:29:50 +0000 (23:29 +0000)]
Add iOS WebKit1 TestExpectation file
https://bugs.webkit.org/show_bug.cgi?id=140739

Reviewed by David Kilzer.

Tools:

Teach run-webkit-tests to look for iOS WebKit1-specific test results and
expectations in directory LayoutTests/platform/ios-simulator-wk1.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.default_baseline_search_path):

LayoutTests:

iOS WebKit1 is different enough from iOS WebKit2 that it would benefit from having its
own TestExpectation file. We can work to reduce such differences over time.

* platform/ios-simulator-wk1/TestExpectations: Added.
* platform/ios-simulator/TestExpectations: Move iOS WebKit1-specific test expectation from here
to file LayoutTests/platform/ios-simulator-wk1/TestExpectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178867 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[iOS] Update configure-xcode-for-ios-development to copy missing headers to iphoneos SDK
ddkilzer@apple.com [Wed, 21 Jan 2015 23:21:59 +0000 (23:21 +0000)]
[iOS] Update configure-xcode-for-ios-development to copy missing headers to iphoneos SDK
<http://webkit.org/b/140704>

Reviewed by Daniel Bates.

* Scripts/configure-xcode-for-ios-development:
- Update copyright.
- Remove FIXME addressed by r178709.
- Call copyMissingHeadersToIPhoneOSSDKIfNeeded().
(copyMissingHeadersToIPhoneOSSDKIfNeeded): Add method to copy
missing headers from iphonesimulator SDK to iphoneos SDK.
(sdkDirectory): Add method that returns SDK directory.
(sdkPlatformDirectory): Extract method from
xcodeSDKSpecificationsPath() that returns SDK platform
directory.
(xcodeSDKSpecificationsPath): Update to use
sdkPlatformDirectory().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWebGL2 (spec section 3.1): Add new types to WebGL2 API.
roger_fong@apple.com [Wed, 21 Jan 2015 23:14:48 +0000 (23:14 +0000)]
WebGL2 (spec section 3.1): Add new types to WebGL2 API.
https://bugs.webkit.org/show_bug.cgi?id=140741.
<rdar://problem/19552962>

Reviewed by Dean Jackson.

* html/canvas/WebGL2RenderingContext.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178865 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Change Annotator's isActive getter into an isActive() function.
saambarati1@gmail.com [Wed, 21 Jan 2015 23:04:12 +0000 (23:04 +0000)]
Web Inspector: Change Annotator's isActive getter into an isActive() function.
https://bugs.webkit.org/show_bug.cgi?id=140729

Reviewed by Timothy Hatcher.

This patch also makes the child classes of Annotator use
the function instead of accessing the property directly.

* UserInterface/Controllers/Annotator.js:
(WebInspector.Annotator.prototype.isActive):
(WebInspector.Annotator.prototype.get isActive): Deleted.
* UserInterface/Controllers/BasicBlockAnnotator.js:
(WebInspector.BasicBlockAnnotator.prototype.insertAnnotations):
* UserInterface/Controllers/TypeTokenAnnotator.js:
(WebInspector.TypeTokenAnnotator.prototype.toggleTypeAnnotations):
* UserInterface/Views/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype.toggleTypeAnnotations):
(WebInspector.SourceCodeTextEditor.prototype.prettyPrint):
(WebInspector.SourceCodeTextEditor.prototype._debuggerDidPause):
(WebInspector.SourceCodeTextEditor.prototype._debuggerDidResume):
(WebInspector.SourceCodeTextEditor.prototype._updateTokenTrackingControllerState):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178864 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Don't allow the BasicBlockAnnotator to highlight a section if it's...
saambarati1@gmail.com [Wed, 21 Jan 2015 22:51:31 +0000 (22:51 +0000)]
Web Inspector: Don't allow the BasicBlockAnnotator to highlight a section if it's only a closing brace
https://bugs.webkit.org/show_bug.cgi?id=140727

Reviewed by Timothy Hatcher.

* UserInterface/Controllers/BasicBlockAnnotator.js:
(WebInspector.BasicBlockAnnotator.prototype.set _highlightTextForBasicBlock):
(WebInspector.BasicBlockAnnotator.prototype._isTextRangeOnlyClosingBrace):
BasicBlockAnnotator tries to no longer highlight a basic block if it is only
whitespace and a closing brace. These ranges are often after statements
that make these basic blocks unreachable, such as a return/break/continue
statement occurring inside a if/else/while/for block. This check won't
match every highlighted empty closing brace, but catches most of them
because it only does intra block analysis instead of inter block analysis.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178863 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSimple line layout: Move nextTextFragment() to FlowContents class.
zalan@apple.com [Wed, 21 Jan 2015 22:51:02 +0000 (22:51 +0000)]
Simple line layout: Move nextTextFragment() to FlowContents class.
https://bugs.webkit.org/show_bug.cgi?id=140738

Reviewed by Antti Koivisto.

This is in preparation to make FlowContents an iterator class.

No change in functionality.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::LineState::addUncommitted):
(WebCore::SimpleLineLayout::LineState::addUncommittedWhitespace):
(WebCore::SimpleLineLayout::removeTrailingWhitespace):
(WebCore::SimpleLineLayout::initializeNewLine):
(WebCore::SimpleLineLayout::splitFragmentToFitLine):
(WebCore::SimpleLineLayout::createLineRuns):
(WebCore::SimpleLineLayout::TextFragment::TextFragment): Deleted.
(WebCore::SimpleLineLayout::TextFragment::isEmpty): Deleted.
(WebCore::SimpleLineLayout::nextFragment): Deleted.
* rendering/SimpleLineLayoutFlowContents.cpp:
(WebCore::SimpleLineLayout::FlowContents::nextTextFragment):
* rendering/SimpleLineLayoutFlowContents.h:
(WebCore::SimpleLineLayout::FlowContents::TextFragment::TextFragment):
(WebCore::SimpleLineLayout::FlowContents::TextFragment::isEmpty):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178862 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agobmalloc: support aligned allocation
ggaren@apple.com [Wed, 21 Jan 2015 22:49:45 +0000 (22:49 +0000)]
bmalloc: support aligned allocation
https://bugs.webkit.org/show_bug.cgi?id=140732

Reviewed by Andreas Kling.

PerformanceTests:

* MallocBench/MallocBench.xcodeproj/project.pbxproj:
* MallocBench/MallocBench/Benchmark.cpp:
* MallocBench/MallocBench/memalign.cpp:
(test):
(benchmark_memalign): Added a test for specific interesting memalign values.

* MallocBench/MallocBench/stress_aligned.cpp: Added.
(benchmark_stress_aligned):
* MallocBench/MallocBench/stress_aligned.h: Added. Added a stress test
for arbitrary memalign values.

Source/bmalloc:

* bmalloc/Allocator.cpp:
(bmalloc::Allocator::allocate): New function for aligned allocation.

Small and medium requests just allocate and free until they find an
aligned pointer. This is slightly inefficient in the worst case, but
still constant-time with little-to-no space overhead.

Large requests use a new API that requires the client to specify both
its ideal size and alignment, and the worst-case size you would have to
allocate in order to produce some interior pointer of the requested size
and alignment. We put the burden of this calculation on the client
because it simplifies things if we guarantee that allocation won't fail.

XLarge requests are easy: we just forward them to vmAllocate, which
already supported aligned requests.

* bmalloc/BoundaryTag.h:
* bmalloc/BoundaryTagInlines.h:
(bmalloc::BoundaryTag::mergeLeft):
(bmalloc::BoundaryTag::mergeRight):
(bmalloc::BoundaryTag::merge):
(bmalloc::BoundaryTag::deallocate):
(bmalloc::BoundaryTag::split):
(bmalloc::BoundaryTag::allocate): No behavior change here. I just
refactored the interface to remove some reference out parameters in
order to clarify what changes and what doesn't.

* bmalloc/Heap.cpp:
(bmalloc::Heap::allocateXLarge): Added an alignment API.

(bmalloc::Heap::allocateLarge):
* bmalloc/Heap.h: Added an alignment API. I split out allocateLarge into
a few variants, so aligned and unaligned allocation could share some code.

* bmalloc/SegregatedFreeList.cpp:
(bmalloc::SegregatedFreeList::take):
* bmalloc/SegregatedFreeList.h: Changed to use a separate, explicit API
for aligned allocation. It turns out that the aligned path is pretty
different, since it ends up searching for two potential ways to satisfy
an allocation: either large enough and aligned, or large enough to split
into something not aligned and something large enough and aligned.

* bmalloc/VMAllocate.h:
(bmalloc::vmAllocate): Switched alignment to come before size because
that's how the memalign API specifies it.

* bmalloc/VMHeap.h:
(bmalloc::VMHeap::allocateLargeRange): Added an alignment API.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178861 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdated split such that it does not include the empty end of input string match.
mmirman@apple.com [Wed, 21 Jan 2015 22:43:05 +0000 (22:43 +0000)]
Updated split such that it does not include the empty end of input string match.
https://bugs.webkit.org/show_bug.cgi?id=138129
<rdar://problem/18807403>

Reviewed by Filip Pizlo.

* runtime/StringPrototype.cpp:
(JSC::stringProtoFuncSplit):
* tests/stress/empty_eos_regex_split.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178860 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoDocumentLoader::timing() should return a reference.
akling@apple.com [Wed, 21 Jan 2015 22:33:49 +0000 (22:33 +0000)]
DocumentLoader::timing() should return a reference.
<https://webkit.org/b/128272>

Reviewed by Antti Koivisto.

There is always a DocumentLoadTiming object, so return it by
reference since it can never be null.

* Modules/gamepad/NavigatorGamepad.cpp:
(WebCore::NavigatorGamepad::from):
* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::serviceScriptedAnimations):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* inspector/InspectorResourceAgent.cpp:
(WebCore::buildObjectForTiming):
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::willSendRequest):
(WebCore::DocumentLoader::continueAfterNavigationPolicy):
(WebCore::DocumentLoader::startLoadingMainResource):
* loader/DocumentLoader.h:
(WebCore::DocumentLoader::timing):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::stopLoading):
(WebCore::FrameLoader::commitProvisionalLoad):
(WebCore::FrameLoader::loadProvisionalItemFromCachedPage):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::dispatchLoadEvent):
* page/Performance.cpp:
(WebCore::Performance::now):
* page/PerformanceNavigation.cpp:
(WebCore::PerformanceNavigation::redirectCount):
* page/PerformanceResourceTiming.cpp:
(WebCore::monotonicTimeToDocumentMilliseconds):
(WebCore::PerformanceResourceTiming::resourceTimeToDocumentMilliseconds):
* page/PerformanceTiming.cpp:
(WebCore::PerformanceTiming::documentLoadTiming):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178859 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoCrash in QuickLook preview delegate method
bdakin@apple.com [Wed, 21 Jan 2015 22:30:43 +0000 (22:30 +0000)]
Crash in QuickLook preview delegate method
https://bugs.webkit.org/show_bug.cgi?id=140740
-and corresponding-
rdar://problem/19540806

Reviewed by Tim Horton.

Clear out the delegate.
Source/WebKit/mac:

* WebView/WebImmediateActionController.mm:
(-[WebImmediateActionController webViewClosed]):

Source/WebKit2:

* UIProcess/mac/WKImmediateActionController.mm:
(-[WKImmediateActionController willDestroyView:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178858 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoHandle the transition on any character as a separate type of transition
benjamin@webkit.org [Wed, 21 Jan 2015 21:56:22 +0000 (21:56 +0000)]
Handle the transition on any character as a separate type of transition
https://bugs.webkit.org/show_bug.cgi?id=140711

Reviewed by Andreas Kling.

Instead of considering the universal transition as 127 transitions, it is now
handled as a separate type of transition.

The goal is to reduce the number of exit edge to consider for each node. Instead
of having 127 for any partition containing one universal transition, we have
as few exit edges as necessary + one universal transition.

In the NFA, the universal transition is stored directly on NFANode in a new
HashSet (transitionsOnAnyCharacter).
The target nodes are made exclusive between "transitionsOnAnyCharacter" and "transitions"
by construction. That is not strictly needed but it simplify debugging at the moment.

When converting a NFA to a DFA, we first find all the node that transition on any character.
Then, when we iterate over "real" transition, we also augment that set with the set on
any character.

When creating the DFA node, we first consider each "real" transition, then we have a single
"fallback" transition for any character that has not been handled yet.

When matching, we first search for any real transition. If there is none but a fallback exists,
we take the fallback.

* contentextensions/DFA.cpp:
(WebCore::ContentExtensions::DFA::nextState):
(WebCore::ContentExtensions::printTransitions):
(WebCore::ContentExtensions::DFA::debugPrintDot):
(WebCore::ContentExtensions::printTransition): Deleted.
* contentextensions/DFANode.h:
* contentextensions/NFA.cpp:
(WebCore::ContentExtensions::NFA::addTransition):
(WebCore::ContentExtensions::NFA::addTransitionsOnAnyCharacter):
(WebCore::ContentExtensions::printTransitions):
(WebCore::ContentExtensions::NFA::debugPrintDot):
(WebCore::ContentExtensions::printTransition): Deleted.
* contentextensions/NFA.h:
* contentextensions/NFANode.h:
* contentextensions/NFAToDFA.cpp:
(WebCore::ContentExtensions::populateTransitions):
(WebCore::ContentExtensions::getOrCreateDFANode):
(WebCore::ContentExtensions::NFAToDFA::convert):
* contentextensions/URLFilterParser.cpp:
(WebCore::ContentExtensions::GraphBuilder::generateTransition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoEliminate Scope slot from JavaScript CallFrame
msaboff@apple.com [Wed, 21 Jan 2015 21:43:55 +0000 (21:43 +0000)]
Eliminate Scope slot from JavaScript CallFrame
https://bugs.webkit.org/show_bug.cgi?id=136724

Reviewed by Geoffrey Garen.

This finishes the removal of the scope chain slot from the call frame header.

* dfg/DFGOSRExitCompilerCommon.cpp:
(JSC::DFG::reifyInlinedCallFrames):
* dfg/DFGPreciseLocalClobberize.h:
(JSC::DFG::PreciseLocalClobberizeAdaptor::readTop):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):
* ftl/FTLJSCall.cpp:
(JSC::FTL::JSCall::emit):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNativeCallOrConstruct):
(JSC::FTL::LowerDFGToLLVM::compileCallOrConstruct):
* interpreter/JSStack.h:
* interpreter/VMInspector.cpp:
(JSC::VMInspector::dumpFrame):
* jit/JITCall.cpp:
(JSC::JIT::compileOpCall):
* jit/JITCall32_64.cpp:
(JSC::JIT::compileOpCall):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::privateCompileCTINativeCall):
* jit/Repatch.cpp:
(JSC::generateByIdStub):
(JSC::linkClosureCall):
* jit/ThunkGenerators.cpp:
(JSC::virtualForThunkGenerator):
(JSC::nativeForGenerator):
Deleted ScopeChain slot from JSStack.  Removed all code where ScopeChain was being
read or set.  In most cases this was where we make JS calls.

* interpreter/CallFrameClosure.h:
(JSC::CallFrameClosure::setArgument):
(JSC::CallFrameClosure::resetCallFrame): Deleted.
* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):
(JSC::Interpreter::prepareForRepeatCall):
* interpreter/ProtoCallFrame.cpp:
(JSC::ProtoCallFrame::init):
* interpreter/ProtoCallFrame.h:
(JSC::ProtoCallFrame::scope): Deleted.
(JSC::ProtoCallFrame::setScope): Deleted.
* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter64.asm:
Removed the related scopeChainValue member from ProtoCallFrame.  Reduced the number of
registers that needed to be copied from the ProtoCallFrame to a callee's frame
from 5 to 4.

* llint/LowLevelInterpreter32_64.asm:
In addition to the prior changes, also deleted the unused macro getDeBruijnScope.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178856 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoEliminate construct methods from NullGetterFunction and NullSetterFunction classes
msaboff@apple.com [Wed, 21 Jan 2015 19:46:13 +0000 (19:46 +0000)]
Eliminate construct methods from NullGetterFunction and NullSetterFunction classes
https://bugs.webkit.org/show_bug.cgi?id=140708

Reviewed by Mark Lam.

Eliminated construct methods and change getConstructData() for both classes to return
ConstructTypeNone as they can never be called.

* runtime/NullGetterFunction.cpp:
(JSC::NullGetterFunction::getConstructData):
(JSC::constructReturnUndefined): Deleted.
* runtime/NullSetterFunction.cpp:
(JSC::NullSetterFunction::getConstructData):
(JSC::constructReturnUndefined): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178855 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove w3c/canvas/resources/ common resources to w3c/resources/.
commit-queue@webkit.org [Wed, 21 Jan 2015 19:35:08 +0000 (19:35 +0000)]
Move w3c/canvas/resources/ common resources to w3c/resources/.
https://bugs.webkit.org/show_bug.cgi?id=140712.

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2015-01-21
Reviewed by Alexey Proskuryakov.

Move the w3c common resources from w3c/canvas/resources/ to w3c/resources/. All
the paths to the common resources from the w3c/canvas and w3c/common should be
../resources/<file name> instead of resources/<file name>

* canvas/2d.clearRect.basic.html:
* canvas/2d.clearRect.clip.html:
* canvas/2d.clearRect.globalalpha.html:
* canvas/2d.clearRect.globalcomposite.html:
* canvas/2d.clearRect.negative.html:
* canvas/2d.clearRect.nonfinite.html:
* canvas/2d.clearRect.path.html:
* canvas/2d.clearRect.shadow.html:
* canvas/2d.clearRect.transform.html:
* canvas/2d.clearRect.zero.html:
* canvas/2d.composite.canvas.copy.html:
* canvas/2d.composite.canvas.destination-atop.html:
* canvas/2d.composite.canvas.destination-in.html:
* canvas/2d.composite.canvas.destination-out.html:
* canvas/2d.composite.canvas.destination-over.html:
* canvas/2d.composite.canvas.lighter.html:
* canvas/2d.composite.canvas.source-atop.html:
* canvas/2d.composite.canvas.source-in.html:
* canvas/2d.composite.canvas.source-out.html:
* canvas/2d.composite.canvas.source-over.html:
* canvas/2d.composite.canvas.xor.html:
* canvas/2d.composite.clip.copy.html:
* canvas/2d.composite.clip.destination-atop.html:
* canvas/2d.composite.clip.destination-in.html:
* canvas/2d.composite.clip.destination-out.html:
* canvas/2d.composite.clip.destination-over.html:
* canvas/2d.composite.clip.lighter.html:
* canvas/2d.composite.clip.source-atop.html:
* canvas/2d.composite.clip.source-in.html:
* canvas/2d.composite.clip.source-out.html:
* canvas/2d.composite.clip.source-over.html:
* canvas/2d.composite.clip.xor.html:
* canvas/2d.composite.globalAlpha.canvas.html:
* canvas/2d.composite.globalAlpha.canvaspattern.html:
* canvas/2d.composite.globalAlpha.fill.html:
* canvas/2d.composite.globalAlpha.image.html:
* canvas/2d.composite.globalAlpha.imagepattern.html:
* canvas/2d.composite.image.copy.html:
* canvas/2d.composite.image.destination-atop.html:
* canvas/2d.composite.image.destination-in.html:
* canvas/2d.composite.image.destination-out.html:
* canvas/2d.composite.image.destination-over.html:
* canvas/2d.composite.image.lighter.html:
* canvas/2d.composite.image.source-atop.html:
* canvas/2d.composite.image.source-in.html:
* canvas/2d.composite.image.source-out.html:
* canvas/2d.composite.image.source-over.html:
* canvas/2d.composite.image.xor.html:
* canvas/2d.composite.uncovered.image.copy.html:
* canvas/2d.composite.uncovered.image.destination-atop.html:
* canvas/2d.composite.uncovered.image.destination-in.html:
* canvas/2d.composite.uncovered.image.source-in.html:
* canvas/2d.composite.uncovered.image.source-out.html:
* canvas/2d.composite.uncovered.pattern.copy.html:
* canvas/2d.composite.uncovered.pattern.destination-atop.html:
* canvas/2d.composite.uncovered.pattern.destination-in.html:
* canvas/2d.composite.uncovered.pattern.source-in.html:
* canvas/2d.composite.uncovered.pattern.source-out.html:
* canvas/2d.drawImage.3arg.html:
* canvas/2d.drawImage.5arg.html:
* canvas/2d.drawImage.9arg.basic.html:
* canvas/2d.drawImage.9arg.destpos.html:
* canvas/2d.drawImage.9arg.destsize.html:
* canvas/2d.drawImage.9arg.sourcepos.html:
* canvas/2d.drawImage.9arg.sourcesize.html:
* canvas/2d.drawImage.alpha.html:
* canvas/2d.drawImage.animated.apng.html:
* canvas/2d.drawImage.animated.gif.html:
* canvas/2d.drawImage.animated.poster.html:
* canvas/2d.drawImage.broken.html:
* canvas/2d.drawImage.canvas.html:
* canvas/2d.drawImage.clip.html:
* canvas/2d.drawImage.composite.html:
* canvas/2d.drawImage.floatsource.html:
* canvas/2d.drawImage.image.incomplete.empty.html:
* canvas/2d.drawImage.image.incomplete.omitted.html:
* canvas/2d.drawImage.incomplete.html:
* canvas/2d.drawImage.negativedest.html:
* canvas/2d.drawImage.negativedir.html:
* canvas/2d.drawImage.negativesource.html:
* canvas/2d.drawImage.nonfinite.html:
* canvas/2d.drawImage.nowrap.html:
* canvas/2d.drawImage.path.html:
* canvas/2d.drawImage.self.1.html:
* canvas/2d.drawImage.self.2.html:
* canvas/2d.drawImage.transform.html:
* canvas/2d.drawImage.zerocanvas.html:
* canvas/2d.drawImage.zerosource.html:
* canvas/2d.fillRect.basic.html:
* canvas/2d.fillRect.clip.html:
* canvas/2d.fillRect.negative.html:
* canvas/2d.fillRect.nonfinite.html:
* canvas/2d.fillRect.path.html:
* canvas/2d.fillRect.shadow.html:
* canvas/2d.fillRect.transform.html:
* canvas/2d.fillRect.zero.html:
* canvas/2d.fillStyle.invalidstring.html:
* canvas/2d.fillStyle.invalidtype.html:
* canvas/2d.fillStyle.parse.current.basic.html:
* canvas/2d.fillStyle.parse.current.changed.html:
* canvas/2d.fillStyle.parse.invalid.hex1.html:
* canvas/2d.fillStyle.parse.invalid.hex2.html:
* canvas/2d.fillStyle.parse.invalid.hex3.html:
* canvas/2d.fillStyle.parse.invalid.hex4.html:
* canvas/2d.fillStyle.parse.invalid.hex5.html:
* canvas/2d.fillStyle.parse.invalid.hex6.html:
* canvas/2d.fillStyle.parse.invalid.hex7.html:
* canvas/2d.fillStyle.parse.invalid.hex8.html:
* canvas/2d.fillStyle.parse.invalid.hsl-1.html:
* canvas/2d.fillStyle.parse.invalid.hsl-2.html:
* canvas/2d.fillStyle.parse.invalid.hsl-3.html:
* canvas/2d.fillStyle.parse.invalid.hsl-4.html:
* canvas/2d.fillStyle.parse.invalid.hsl-5.html:
* canvas/2d.fillStyle.parse.invalid.hsl-6.html:
* canvas/2d.fillStyle.parse.invalid.hsla-1.html:
* canvas/2d.fillStyle.parse.invalid.hsla-2.html:
* canvas/2d.fillStyle.parse.invalid.name-1.html:
* canvas/2d.fillStyle.parse.invalid.name-2.html:
* canvas/2d.fillStyle.parse.invalid.name-3.html:
* canvas/2d.fillStyle.parse.invalid.name-4.html:
* canvas/2d.fillStyle.parse.invalid.name-5.html:
* canvas/2d.fillStyle.parse.invalid.rgb-1.html:
* canvas/2d.fillStyle.parse.invalid.rgb-2.html:
* canvas/2d.fillStyle.parse.invalid.rgb-3.html:
* canvas/2d.fillStyle.parse.invalid.rgb-4.html:
* canvas/2d.fillStyle.parse.invalid.rgb-5.html:
* canvas/2d.fillStyle.parse.invalid.rgb-6.html:
* canvas/2d.fillStyle.parse.invalid.rgb-7.html:
* canvas/2d.fillStyle.parse.invalid.rgba-1.html:
* canvas/2d.fillStyle.parse.invalid.rgba-2.html:
* canvas/2d.fillStyle.parse.invalid.rgba-3.html:
* canvas/2d.fillStyle.parse.invalid.rgba-4.html:
* canvas/2d.fillStyle.parse.invalid.rgba-5.html:
* canvas/2d.fillStyle.parse.invalid.rgba-6.html:
* canvas/2d.fillStyle.parse.invalid.rgba-7.html:
* canvas/2d.getcontext.shared.html:
* canvas/2d.gradient.empty.html:
* canvas/2d.gradient.interpolate.outside.html:
* canvas/2d.gradient.interpolate.overlap2.html:
* canvas/2d.gradient.interpolate.solid.html:
* canvas/2d.gradient.interpolate.zerosize.fill.html:
* canvas/2d.gradient.interpolate.zerosize.fillRect.html:
* canvas/2d.gradient.interpolate.zerosize.fillText.html:
* canvas/2d.gradient.interpolate.zerosize.html:
* canvas/2d.gradient.interpolate.zerosize.stroke.html:
* canvas/2d.gradient.interpolate.zerosize.strokeRect.html:
* canvas/2d.gradient.interpolate.zerosize.strokeText.html:
* canvas/2d.gradient.linear.transform.1.html:
* canvas/2d.gradient.linear.transform.2.html:
* canvas/2d.gradient.linear.transform.3.html:
* canvas/2d.gradient.object.crosscanvas.html:
* canvas/2d.gradient.object.update.html:
* canvas/2d.gradient.radial.cone.behind.html:
* canvas/2d.gradient.radial.cone.beside.html:
* canvas/2d.gradient.radial.cone.bottom.html:
* canvas/2d.gradient.radial.cone.cylinder.html:
* canvas/2d.gradient.radial.cone.front.html:
* canvas/2d.gradient.radial.cone.shape1.html:
* canvas/2d.gradient.radial.cone.shape2.html:
* canvas/2d.gradient.radial.cone.top.html:
* canvas/2d.gradient.radial.equal.html:
* canvas/2d.gradient.radial.inside1.html:
* canvas/2d.gradient.radial.inside2.html:
* canvas/2d.gradient.radial.inside3.html:
* canvas/2d.gradient.radial.outside1.html:
* canvas/2d.gradient.radial.outside2.html:
* canvas/2d.gradient.radial.outside3.html:
* canvas/2d.gradient.radial.touch1.html:
* canvas/2d.gradient.radial.touch2.html:
* canvas/2d.gradient.radial.touch3.html:
* canvas/2d.gradient.radial.transform.1.html:
* canvas/2d.gradient.radial.transform.2.html:
* canvas/2d.gradient.radial.transform.3.html:
* canvas/2d.imageData.get.unaffected.html:
* canvas/2d.imageData.put.basic.html:
* canvas/2d.imageData.put.clip.html:
* canvas/2d.imageData.put.created.html:
* canvas/2d.imageData.put.cross.html:
* canvas/2d.imageData.put.dirty.negative.html:
* canvas/2d.imageData.put.dirty.outside.html:
* canvas/2d.imageData.put.dirty.rect1.html:
* canvas/2d.imageData.put.dirty.rect2.html:
* canvas/2d.imageData.put.dirty.zero.html:
* canvas/2d.imageData.put.modified.html:
* canvas/2d.imageData.put.path.html:
* canvas/2d.imageData.put.unaffected.html:
* canvas/2d.imageData.put.wrongtype.html:
* canvas/2d.line.cap.butt.html:
* canvas/2d.line.cap.closed.html:
* canvas/2d.line.cap.open.html:
* canvas/2d.line.cap.round.html:
* canvas/2d.line.cap.square.html:
* canvas/2d.line.cross.html:
* canvas/2d.line.join.bevel.html:
* canvas/2d.line.join.closed.html:
* canvas/2d.line.join.miter.html:
* canvas/2d.line.join.open.html:
* canvas/2d.line.join.parallel.html:
* canvas/2d.line.join.round.html:
* canvas/2d.line.miter.acute.html:
* canvas/2d.line.miter.exceeded.html:
* canvas/2d.line.miter.lineedge.html:
* canvas/2d.line.miter.obtuse.html:
* canvas/2d.line.miter.rightangle.html:
* canvas/2d.line.miter.within.html:
* canvas/2d.line.union.html:
* canvas/2d.line.width.basic.html:
* canvas/2d.line.width.scaledefault.html:
* canvas/2d.line.width.transformed.html:
* canvas/2d.path.arc.angle.1.html:
* canvas/2d.path.arc.angle.2.html:
* canvas/2d.path.arc.angle.3.html:
* canvas/2d.path.arc.angle.4.html:
* canvas/2d.path.arc.angle.5.html:
* canvas/2d.path.arc.angle.6.html:
* canvas/2d.path.arc.default.html:
* canvas/2d.path.arc.empty.html:
* canvas/2d.path.arc.end.html:
* canvas/2d.path.arc.nonempty.html:
* canvas/2d.path.arc.nonfinite.html:
* canvas/2d.path.arc.scale.1.html:
* canvas/2d.path.arc.scale.2.html:
* canvas/2d.path.arc.selfintersect.1.html:
* canvas/2d.path.arc.selfintersect.2.html:
* canvas/2d.path.arc.shape.1.html:
* canvas/2d.path.arc.shape.2.html:
* canvas/2d.path.arc.shape.3.html:
* canvas/2d.path.arc.shape.4.html:
* canvas/2d.path.arc.shape.5.html:
* canvas/2d.path.arc.twopie.1.html:
* canvas/2d.path.arc.twopie.2.html:
* canvas/2d.path.arc.twopie.3.html:
* canvas/2d.path.arc.twopie.4.html:
* canvas/2d.path.arc.zero.1.html:
* canvas/2d.path.arc.zero.2.html:
* canvas/2d.path.arc.zeroradius.html:
* canvas/2d.path.arcTo.coincide.1.html:
* canvas/2d.path.arcTo.coincide.2.html:
* canvas/2d.path.arcTo.collinear.1.html:
* canvas/2d.path.arcTo.collinear.2.html:
* canvas/2d.path.arcTo.collinear.3.html:
* canvas/2d.path.arcTo.ensuresubpath.1.html:
* canvas/2d.path.arcTo.ensuresubpath.2.html:
* canvas/2d.path.arcTo.nonfinite.html:
* canvas/2d.path.arcTo.scale.html:
* canvas/2d.path.arcTo.shape.curve1.html:
* canvas/2d.path.arcTo.shape.curve2.html:
* canvas/2d.path.arcTo.shape.end.html:
* canvas/2d.path.arcTo.shape.start.html:
* canvas/2d.path.arcTo.transformation.html:
* canvas/2d.path.arcTo.zero.1.html:
* canvas/2d.path.arcTo.zero.2.html:
* canvas/2d.path.beginPath.html:
* canvas/2d.path.bezierCurveTo.basic.html:
* canvas/2d.path.bezierCurveTo.ensuresubpath.1.html:
* canvas/2d.path.bezierCurveTo.ensuresubpath.2.html:
* canvas/2d.path.bezierCurveTo.nonfinite.html:
* canvas/2d.path.bezierCurveTo.scaled.html:
* canvas/2d.path.bezierCurveTo.shape.html:
* canvas/2d.path.clip.basic.1.html:
* canvas/2d.path.clip.basic.2.html:
* canvas/2d.path.clip.empty.html:
* canvas/2d.path.clip.intersect.html:
* canvas/2d.path.clip.unaffected.html:
* canvas/2d.path.clip.winding.1.html:
* canvas/2d.path.clip.winding.2.html:
* canvas/2d.path.closePath.empty.html:
* canvas/2d.path.closePath.newline.html:
* canvas/2d.path.closePath.nextpoint.html:
* canvas/2d.path.fill.closed.basic.html:
* canvas/2d.path.fill.closed.unaffected.html:
* canvas/2d.path.fill.winding.add.html:
* canvas/2d.path.fill.winding.subtract.1.html:
* canvas/2d.path.fill.winding.subtract.2.html:
* canvas/2d.path.fill.winding.subtract.3.html:
* canvas/2d.path.initial.html:
* canvas/2d.path.lineTo.basic.html:
* canvas/2d.path.lineTo.ensuresubpath.1.html:
* canvas/2d.path.lineTo.ensuresubpath.2.html:
* canvas/2d.path.lineTo.nextpoint.html:
* canvas/2d.path.lineTo.nonfinite.html:
* canvas/2d.path.moveTo.basic.html:
* canvas/2d.path.moveTo.multiple.html:
* canvas/2d.path.moveTo.newsubpath.html:
* canvas/2d.path.moveTo.nonfinite.html:
* canvas/2d.path.quadraticCurveTo.basic.html:
* canvas/2d.path.quadraticCurveTo.ensuresubpath.1.html:
* canvas/2d.path.quadraticCurveTo.ensuresubpath.2.html:
* canvas/2d.path.quadraticCurveTo.nonfinite.html:
* canvas/2d.path.quadraticCurveTo.scaled.html:
* canvas/2d.path.quadraticCurveTo.shape.html:
* canvas/2d.path.rect.basic.html:
* canvas/2d.path.rect.closed.html:
* canvas/2d.path.rect.end.1.html:
* canvas/2d.path.rect.end.2.html:
* canvas/2d.path.rect.newsubpath.html:
* canvas/2d.path.rect.nonfinite.html:
* canvas/2d.path.rect.selfintersect.html:
* canvas/2d.path.rect.zero.1.html:
* canvas/2d.path.rect.zero.2.html:
* canvas/2d.path.rect.zero.3.html:
* canvas/2d.path.rect.zero.4.html:
* canvas/2d.path.rect.zero.5.html:
* canvas/2d.path.rect.zero.6.html:
* canvas/2d.path.stroke.empty.html:
* canvas/2d.path.stroke.prune.arc.html:
* canvas/2d.path.stroke.prune.closed.html:
* canvas/2d.path.stroke.prune.corner.html:
* canvas/2d.path.stroke.prune.curve.html:
* canvas/2d.path.stroke.prune.line.html:
* canvas/2d.path.stroke.prune.rect.html:
* canvas/2d.path.stroke.scale1.html:
* canvas/2d.path.stroke.scale2.html:
* canvas/2d.path.stroke.skew.html:
* canvas/2d.path.stroke.unaffected.html:
* canvas/2d.path.stroke.union.html:
* canvas/2d.path.transformation.basic.html:
* canvas/2d.path.transformation.changing.html:
* canvas/2d.path.transformation.multiple.html:
* canvas/2d.pattern.animated.gif.html:
* canvas/2d.pattern.basic.canvas.html:
* canvas/2d.pattern.basic.image.html:
* canvas/2d.pattern.basic.nocontext.html:
* canvas/2d.pattern.basic.type.html:
* canvas/2d.pattern.crosscanvas.html:
* canvas/2d.pattern.image.incomplete.empty.html:
* canvas/2d.pattern.image.incomplete.omitted.html:
* canvas/2d.pattern.modify.canvas1.html:
* canvas/2d.pattern.modify.canvas2.html:
* canvas/2d.pattern.modify.image1.html:
* canvas/2d.pattern.modify.image2.html:
* canvas/2d.pattern.paint.norepeat.basic.html:
* canvas/2d.pattern.paint.norepeat.coord1.html:
* canvas/2d.pattern.paint.norepeat.coord2.html:
* canvas/2d.pattern.paint.norepeat.coord3.html:
* canvas/2d.pattern.paint.norepeat.outside.html:
* canvas/2d.pattern.paint.orientation.canvas.html:
* canvas/2d.pattern.paint.orientation.image.html:
* canvas/2d.pattern.paint.repeat.basic.html:
* canvas/2d.pattern.paint.repeat.coord1.html:
* canvas/2d.pattern.paint.repeat.coord2.html:
* canvas/2d.pattern.paint.repeat.coord3.html:
* canvas/2d.pattern.paint.repeat.outside.html:
* canvas/2d.pattern.paint.repeatx.basic.html:
* canvas/2d.pattern.paint.repeatx.coord1.html:
* canvas/2d.pattern.paint.repeatx.outside.html:
* canvas/2d.pattern.paint.repeaty.basic.html:
* canvas/2d.pattern.paint.repeaty.coord1.html:
* canvas/2d.pattern.paint.repeaty.outside.html:
* canvas/2d.pattern.repeat.empty.html:
* canvas/2d.pattern.repeat.null.html:
* canvas/2d.shadow.alpha.1.html:
* canvas/2d.shadow.canvas.alpha.html:
* canvas/2d.shadow.canvas.basic.html:
* canvas/2d.shadow.canvas.transparent.1.html:
* canvas/2d.shadow.canvas.transparent.2.html:
* canvas/2d.shadow.clip.1.html:
* canvas/2d.shadow.clip.2.html:
* canvas/2d.shadow.clip.3.html:
* canvas/2d.shadow.composite.1.html:
* canvas/2d.shadow.composite.2.html:
* canvas/2d.shadow.composite.3.html:
* canvas/2d.shadow.enable.blur.html:
* canvas/2d.shadow.enable.off.1.html:
* canvas/2d.shadow.enable.off.2.html:
* canvas/2d.shadow.enable.x.html:
* canvas/2d.shadow.enable.y.html:
* canvas/2d.shadow.gradient.basic.html:
* canvas/2d.shadow.gradient.transparent.1.html:
* canvas/2d.shadow.gradient.transparent.2.html:
* canvas/2d.shadow.image.alpha.html:
* canvas/2d.shadow.image.basic.html:
* canvas/2d.shadow.image.scale.html:
* canvas/2d.shadow.image.section.html:
* canvas/2d.shadow.image.transparent.1.html:
* canvas/2d.shadow.image.transparent.2.html:
* canvas/2d.shadow.offset.negativeX.html:
* canvas/2d.shadow.offset.negativeY.html:
* canvas/2d.shadow.offset.positiveX.html:
* canvas/2d.shadow.offset.positiveY.html:
* canvas/2d.shadow.outside.html:
* canvas/2d.shadow.pattern.alpha.html:
* canvas/2d.shadow.pattern.basic.html:
* canvas/2d.shadow.pattern.transparent.1.html:
* canvas/2d.shadow.pattern.transparent.2.html:
* canvas/2d.shadow.stroke.basic.html:
* canvas/2d.shadow.stroke.cap.1.html:
* canvas/2d.shadow.stroke.cap.2.html:
* canvas/2d.shadow.stroke.join.1.html:
* canvas/2d.shadow.stroke.join.2.html:
* canvas/2d.shadow.stroke.join.3.html:
* canvas/2d.shadow.transform.1.html:
* canvas/2d.shadow.transform.2.html:
* canvas/2d.state.saverestore.bitmap.html:
* canvas/2d.state.saverestore.clip.html:
* canvas/2d.state.saverestore.path.html:
* canvas/2d.state.saverestore.transformation.html:
* canvas/2d.strokeRect.basic.html:
* canvas/2d.strokeRect.clip.html:
* canvas/2d.strokeRect.globalalpha.html:
* canvas/2d.strokeRect.globalcomposite.html:
* canvas/2d.strokeRect.negative.html:
* canvas/2d.strokeRect.nonfinite.html:
* canvas/2d.strokeRect.path.html:
* canvas/2d.strokeRect.shadow.html:
* canvas/2d.strokeRect.transform.html:
* canvas/2d.strokeRect.zero.1.html:
* canvas/2d.strokeRect.zero.2.html:
* canvas/2d.strokeRect.zero.3.html:
* canvas/2d.strokeRect.zero.5.html:
* canvas/2d.text.draw.align.center.html:
* canvas/2d.text.draw.align.end.ltr.html:
* canvas/2d.text.draw.align.end.rtl.html:
* canvas/2d.text.draw.align.left.html:
* canvas/2d.text.draw.align.right.html:
* canvas/2d.text.draw.align.start.ltr.html:
* canvas/2d.text.draw.align.start.rtl.html:
* canvas/2d.text.draw.baseline.alphabetic.html:
* canvas/2d.text.draw.fill.maxWidth.bound.html:
* canvas/2d.text.draw.fill.maxWidth.fontface.html:
* canvas/2d.text.draw.fill.maxWidth.negative.html:
* canvas/2d.text.draw.fill.maxWidth.small.html:
* canvas/2d.text.draw.fill.maxWidth.zero.html:
* canvas/2d.text.draw.fill.unaffected.html:
* canvas/2d.text.draw.fontface.html:
* canvas/2d.text.draw.fontface.notinpage.html:
* canvas/2d.text.draw.fontface.repeat.html:
* canvas/2d.text.draw.kern.consistent.html:
* canvas/2d.text.draw.space.basic.html:
* canvas/2d.text.draw.space.collapse.nonspace.html:
* canvas/2d.text.draw.stroke.unaffected.html:
* canvas/2d.transformation.order.html:
* canvas/2d.transformation.rotate.direction.html:
* canvas/2d.transformation.rotate.nonfinite.html:
* canvas/2d.transformation.rotate.radians.html:
* canvas/2d.transformation.rotate.wrap.html:
* canvas/2d.transformation.rotate.wrapnegative.html:
* canvas/2d.transformation.rotate.zero.html:
* canvas/2d.transformation.scale.basic.html:
* canvas/2d.transformation.scale.large.html:
* canvas/2d.transformation.scale.multiple.html:
* canvas/2d.transformation.scale.negative.html:
* canvas/2d.transformation.scale.nonfinite.html:
* canvas/2d.transformation.scale.zero.html:
* canvas/2d.transformation.setTransform.multiple.html:
* canvas/2d.transformation.setTransform.nonfinite.html:
* canvas/2d.transformation.setTransform.skewed.html:
* canvas/2d.transformation.transform.identity.html:
* canvas/2d.transformation.transform.multiply.html:
* canvas/2d.transformation.transform.nonfinite.html:
* canvas/2d.transformation.transform.skewed.html:
* canvas/2d.transformation.translate.basic.html:
* canvas/2d.transformation.translate.nonfinite.html:
* canvas/2d.voidreturn.html:
* canvas/initial.reset.clip.html:
* canvas/initial.reset.gradient.html:
* canvas/initial.reset.pattern.html:
* canvas/initial.reset.transform.html:
* canvas/resources/anim-gr.gif: Removed.
* canvas/resources/anim-gr.png: Removed.
* canvas/resources/anim-poster-gr.png: Removed.
* canvas/resources/background.png: Removed.
* canvas/resources/broken.png: Removed.
* canvas/resources/clear-100x50.png: Removed.
* canvas/resources/ggrr-256x256.png: Removed.
* canvas/resources/green-100x50.png: Removed.
* canvas/resources/green-16x16.png: Removed.
* canvas/resources/green-1x1.png: Removed.
* canvas/resources/green.png: Removed.
* canvas/resources/red-16x16.png: Removed.
* canvas/resources/red.png: Removed.
* canvas/resources/redtransparent.png: Removed.
* canvas/resources/rgrg-256x256.png: Removed.
* canvas/resources/rrgg-256x256.png: Removed.
* canvas/resources/transparent.png: Removed.
* canvas/resources/transparent50.png: Removed.
* canvas/resources/yellow.png: Removed.
* canvas/resources/yellow75.png: Removed.
* canvas/security.dataURI.html:
* canvas/security.drawImage.canvas.html:
* canvas/security.drawImage.image.html:
* canvas/security.pattern.canvas.fillStyle.html:
* canvas/security.pattern.canvas.strokeStyle.html:
* canvas/security.pattern.canvas.timing.html:
* canvas/security.pattern.create.html:
* canvas/security.pattern.cross.html:
* canvas/security.pattern.image.fillStyle.html:
* canvas/security.pattern.image.strokeStyle.html:
* canvas/security.reset.html:
* resources: Added.
* resources/anim-gr.gif: Added.
* resources/anim-gr.png: Added.
* resources/anim-poster-gr.png: Added.
* resources/background.png: Added.
* resources/broken.png: Added.
* resources/clear-100x50.png: Added.
* resources/ggrr-256x256.png: Added.
* resources/green-100x50.png: Added.
* resources/green-16x16.png: Added.
* resources/green-1x1.png: Added.
* resources/green.png: Added.
* resources/red-16x16.png: Added.
* resources/red.png: Added.
* resources/redtransparent.png: Added.
* resources/rgrg-256x256.png: Added.
* resources/rrgg-256x256.png: Added.
* resources/transparent.png: Added.
* resources/transparent50.png: Added.
* resources/yellow.png: Added.
* resources/yellow75.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(r178180): Membuster regressed ~4%
antti@apple.com [Wed, 21 Jan 2015 19:33:14 +0000 (19:33 +0000)]
REGRESSION(r178180): Membuster regressed ~4%
https://bugs.webkit.org/show_bug.cgi?id=140495

Reviewed by Andreas Kling.

After r178180 we keep system fallback fonts that are used on glyph pages alive.
Previously we would traverse the glyph pages and remove entries referencing system fallbacks.

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::purgeInactiveFontData):
* platform/graphics/FontCascade.cpp:
(WebCore::pruneUnreferencedEntriesFromFontGlyphsCache):
(WebCore::pruneSystemFallbackFonts):
* platform/graphics/FontCascade.h:
* platform/graphics/FontGlyphs.cpp:
(WebCore::FontGlyphs::pruneSystemFallbacks):

    When clearing the font cache also remove the cached glyph pages that may contain system fallback fonts
    and release the fallbacks.

* platform/graphics/FontGlyphs.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178853 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agohttps://build.webkit.org/dashboard/metrics.html fails because of ios-ews
ap@apple.com [Wed, 21 Jan 2015 19:31:40 +0000 (19:31 +0000)]
https://build.webkit.org/dashboard/metrics.html fails because of ios-ews
https://bugs.webkit.org/show_bug.cgi?id=140731

Reviewed by Tim Horton.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
(Analyzer.prototype._analyzeAllBubblesPerformance): Corrected a typo.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178852 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed gardening based on TestBot runs.
bfulgham@apple.com [Wed, 21 Jan 2015 19:27:59 +0000 (19:27 +0000)]
[Win] Unreviewed gardening based on TestBot runs.

Update a few failure cass with bug reports. Rebaseline a handful of tests.

* platform/win/TestExpectations: Update based on bug reports.
* platform/win/fast/regions/text-region-split-small-pagination-expected.txt:
* platform/win/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
* platform/win/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178851 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAsyncRequestImpl casting in AsyncRequest::completeRequest() is incorrect
zandobersek@gmail.com [Wed, 21 Jan 2015 19:13:58 +0000 (19:13 +0000)]
AsyncRequestImpl casting in AsyncRequest::completeRequest() is incorrect
https://bugs.webkit.org/show_bug.cgi?id=139724

Reviewed by Darin Adler.

AsyncRequestImpl casting in AsyncRequest::completeRequest() relies on
the parameter pack to properly determine the type of the AsyncRequestImpl
object. The casting result can be incorrect when an argument is passed
by reference while the original object was constructed with a callback
that expects an argument that's passed by value.

To avoid this the AsyncRequestImpl template is now instantiated with
raw types, with callback parameters remaining raw types in case
of being integral (enforcing passing-by-value these arguments when
dispatching), and const references being used otherwise (enforcing
passing-by-reference).

This enables casting AsyncRequest objects to the correct AsyncRequestImpl<>
by running the parameter pack through std::decay.

* DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::putRecord):
(WebKit::UniqueIDBDatabase::getRecord):
(WebKit::UniqueIDBDatabase::openCursor):
(WebKit::UniqueIDBDatabase::cursorAdvance):
(WebKit::UniqueIDBDatabase::cursorIterate):
(WebKit::UniqueIDBDatabase::count):
(WebKit::UniqueIDBDatabase::deleteRange):
* Shared/AsyncRequest.h:
(WebKit::AsyncRequest::completeRequest):
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
(WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata):
(WebKit::WebIDBServerConnection::get):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178850 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] eventSender does not support scalePageBy
bfulgham@apple.com [Wed, 21 Jan 2015 18:59:08 +0000 (18:59 +0000)]
[Win] eventSender does not support scalePageBy
https://bugs.webkit.org/show_bug.cgi?id=140726
<rdar://problem/19549865>

Reviewed by Dean Jackson.

Source/WebKit/win:

* Interfaces/IWebViewPrivate.idl: Add scaleWebView API.
* WebView.cpp:
(WebView::scaleWebView):
Connect WebCore implementation to the Windows COM interface.
* WebView.h:

Tools:

* DumpRenderTree/win/EventSender.cpp:
(scalePageByCallback): Provide implementation using new WebView method.

LayoutTests:

* platform/win/TestExpectations: Unskip test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178849 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[WK2] Stop using WKDiagnosticLoggingResultType.h C API header in Cocoa API
cdumez@apple.com [Wed, 21 Jan 2015 18:55:00 +0000 (18:55 +0000)]
[WK2] Stop using WKDiagnosticLoggingResultType.h C API header in Cocoa API
https://bugs.webkit.org/show_bug.cgi?id=140655

Reviewed by Anders Carlsson.

Stop using WKDiagnosticLoggingResultType.h C API header in Cocoa API.
Instead, introduce a new _WKDiagnosticLoggingResultType enum in
_WKDiagnosticLoggingDelegate.h.

A few defines mapping WKDiagnosticLoggingResultType enum and its values
to the new _WKDiagnosticLoggingResultType are temporarily added until
the client-side is transitioned.

* UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:
* UIProcess/Cocoa/DiagnosticLoggingClient.mm:
(WebKit::toWKDiagnosticLoggingResultType):
(WebKit::DiagnosticLoggingClient::logDiagnosticMessageWithResult):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove Apple Mountain Lion Build & Test slaves.
lforschler@apple.com [Wed, 21 Jan 2015 18:52:00 +0000 (18:52 +0000)]
Remove Apple Mountain Lion Build & Test slaves.

Unreviewed.

* BuildSlaveSupport/build.webkit.org-config/config.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178847 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed gardening after reactivating some tests.
bfulgham@apple.com [Wed, 21 Jan 2015 17:02:28 +0000 (17:02 +0000)]
[Win] Unreviewed gardening after reactivating some tests.

* platform/win/TestExpectations: Add failure entries for a few tests with bug reports.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178826 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[WK2] Use C++ lambdas in ProcessLauncher class
zandobersek@gmail.com [Wed, 21 Jan 2015 17:00:42 +0000 (17:00 +0000)]
[WK2] Use C++ lambdas in ProcessLauncher class
https://bugs.webkit.org/show_bug.cgi?id=138186

Reviewed by Darin Adler.

Replace uses of WTF::bind() in the ProcessLauncher class with C++ lambdas.

* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
(WebKit::ProcessLauncher::launchProcess):
* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
(WebKit::ProcessLauncher::launchProcess):
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::connectToService):
(WebKit::tryPreexistingProcess):
(WebKit::createProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178825 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoClean up ViewUpdateDispatcher
zandobersek@gmail.com [Wed, 21 Jan 2015 16:55:40 +0000 (16:55 +0000)]
Clean up ViewUpdateDispatcher
https://bugs.webkit.org/show_bug.cgi?id=140619

Reviewed by Darin Adler.

* WebProcess/WebPage/ViewUpdateDispatcher.cpp:
(WebKit::ViewUpdateDispatcher::visibleContentRectUpdate):
Replace WTF::bind() with a C++ lambda.
(WebKit::ViewUpdateDispatcher::dispatchVisibleContentRectUpdate):
Use WTF::move() to move the HashMap member into the local variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178824 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL][WK2] EFL MiniBrowser doesn't run because shared library is not found
ossy@webkit.org [Wed, 21 Jan 2015 10:20:53 +0000 (10:20 +0000)]
[EFL][WK2] EFL MiniBrowser doesn't run because shared library is not found
https://bugs.webkit.org/show_bug.cgi?id=140049

Reviewed by Gyuyoung Kim.

* Source/cmake/OptionsCommon.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178823 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agofirst-letter pseudo-element from ancestors is not being ignored in grids and flexboxes
rego@igalia.com [Wed, 21 Jan 2015 10:02:59 +0000 (10:02 +0000)]
first-letter pseudo-element from ancestors is not being ignored in grids and flexboxes
https://bugs.webkit.org/show_bug.cgi?id=138424

Reviewed by Benjamin Poulain.

Source/WebCore:

Source/WebCore:

According to the grid and flexbox specs:
"::first-letter pseudo-element do not apply to grid/flex containers".
http://dev.w3.org/csswg/css-grid/#grid-containers
http://dev.w3.org/csswg/css-flexbox/#flex-containers

Check also the CSS WG mailing list discussion:
http://lists.w3.org/Archives/Public/www-style/2014Dec/0305.html

This was almost working right, except in the case that an ancestor was
setting the ::first-letter pseudo-element.

Added a few more cases to the current tests in order to check this
behavior.
Also created some new tests to increase coverage

Tests: fast/css/first-letter-from-ancestors-not-apply-inline-elements.html
       fast/css/first-letter-ignores-display-property.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::getFirstLetter): Go to the next sibling when
looking for the first text child if you reach a grid or flexbox.

LayoutTests:

Modified current tests to check that first-letter from ancestors is
ignored too.
Added 2 new tests to increase coverage.

* css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt:
* css3/flexbox/flexbox-ignore-container-firstLetter.html:
* fast/css-grid-layout/grid-container-ignore-first-letter-expected.txt:
* fast/css-grid-layout/grid-container-ignore-first-letter.html:
* fast/css/first-letter-from-ancestors-not-apply-inline-elements-expected.html: Added.
* fast/css/first-letter-from-ancestors-not-apply-inline-elements.html: Added.
* fast/css/first-letter-ignores-display-property-expected.html: Added.
* fast/css/first-letter-ignores-display-property.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178822 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix cast-align warning in Source/WebCore/platform/efl/EflScreenUtilities.cpp
ossy@webkit.org [Wed, 21 Jan 2015 08:46:42 +0000 (08:46 +0000)]
Fix cast-align warning in Source/WebCore/platform/efl/EflScreenUtilities.cpp
https://bugs.webkit.org/show_bug.cgi?id=140670

Reviewed by Darin Adler.

* platform/efl/EflScreenUtilities.cpp:
(WebCore::createCustomCursor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178821 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove ENABLE(INSPECTOR) ifdef guards
ossy@webkit.org [Wed, 21 Jan 2015 08:45:11 +0000 (08:45 +0000)]
Remove ENABLE(INSPECTOR) ifdef guards
https://bugs.webkit.org/show_bug.cgi?id=140668

Reviewed by Darin Adler.

.:

* Source/PlatformEfl.cmake:
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:
* bindings/ScriptValue.cpp:
(Deprecated::ScriptValue::toInspectorValue):
* bindings/ScriptValue.h:
* inspector/ConsoleMessage.cpp:
* inspector/ConsoleMessage.h:
* inspector/ContentSearchUtilities.cpp:
* inspector/ContentSearchUtilities.h:
* inspector/IdentifiersFactory.cpp:
* inspector/IdentifiersFactory.h:
* inspector/InjectedScript.cpp:
* inspector/InjectedScript.h:
* inspector/InjectedScriptBase.cpp:
* inspector/InjectedScriptBase.h:
* inspector/InjectedScriptHost.cpp:
* inspector/InjectedScriptHost.h:
* inspector/InjectedScriptManager.cpp:
* inspector/InjectedScriptManager.h:
* inspector/InjectedScriptModule.cpp:
* inspector/InjectedScriptModule.h:
* inspector/InspectorAgentRegistry.cpp:
* inspector/InspectorBackendDispatcher.cpp:
* inspector/InspectorBackendDispatcher.h:
* inspector/InspectorProtocolTypes.h:
* inspector/JSGlobalObjectConsoleClient.cpp:
* inspector/JSGlobalObjectInspectorController.cpp:
* inspector/JSGlobalObjectInspectorController.h:
* inspector/JSGlobalObjectScriptDebugServer.cpp:
* inspector/JSGlobalObjectScriptDebugServer.h:
* inspector/JSInjectedScriptHost.cpp:
* inspector/JSInjectedScriptHost.h:
* inspector/JSInjectedScriptHostPrototype.cpp:
* inspector/JSInjectedScriptHostPrototype.h:
* inspector/JSJavaScriptCallFrame.cpp:
* inspector/JSJavaScriptCallFrame.h:
* inspector/JSJavaScriptCallFramePrototype.cpp:
* inspector/JSJavaScriptCallFramePrototype.h:
* inspector/JavaScriptCallFrame.cpp:
* inspector/JavaScriptCallFrame.h:
* inspector/ScriptCallFrame.cpp:
(Inspector::ScriptCallFrame::buildInspectorObject):
* inspector/ScriptCallFrame.h:
* inspector/ScriptCallStack.cpp:
(Inspector::ScriptCallStack::buildInspectorArray):
* inspector/ScriptCallStack.h:
* inspector/ScriptDebugServer.cpp:
* inspector/agents/InspectorAgent.cpp:
* inspector/agents/InspectorAgent.h:
* inspector/agents/InspectorConsoleAgent.cpp:
* inspector/agents/InspectorConsoleAgent.h:
* inspector/agents/InspectorDebuggerAgent.cpp:
* inspector/agents/InspectorDebuggerAgent.h:
* inspector/agents/InspectorRuntimeAgent.cpp:
* inspector/agents/InspectorRuntimeAgent.h:
* inspector/agents/JSGlobalObjectConsoleAgent.cpp:
* inspector/agents/JSGlobalObjectConsoleAgent.h:
* inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
* inspector/agents/JSGlobalObjectDebuggerAgent.h:
* inspector/agents/JSGlobalObjectRuntimeAgent.cpp:
* inspector/agents/JSGlobalObjectRuntimeAgent.h:
* inspector/scripts/codegen/cpp_generator_templates.py:
(CppGeneratorTemplates):
* inspector/scripts/tests/expected/commands-with-async-attribute.json-result:
* inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result:
* inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result:
* inspector/scripts/tests/expected/enum-values.json-result:
* inspector/scripts/tests/expected/events-with-optional-parameters.json-result:
* inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result:
* inspector/scripts/tests/expected/same-type-id-different-domain.json-result:
* inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result:
* inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result:
* inspector/scripts/tests/expected/type-declaration-array-type.json-result:
* inspector/scripts/tests/expected/type-declaration-enum-type.json-result:
* inspector/scripts/tests/expected/type-declaration-object-type.json-result:
* inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result:
* runtime/TypeSet.cpp:
(JSC::TypeSet::inspectorTypeSet):
(JSC::StructureShape::inspectorRepresentation):

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:
* WebCore.exp.in:
* bindings/js/JSCommandLineAPIHostCustom.cpp:
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsProfiling):
(WebCore::JSDOMWindowBase::supportsRichSourceInfo):
* bindings/js/JSInspectorFrontendHostCustom.cpp:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::collectIsolatedContexts):
* bindings/js/ScriptController.h:
* bindings/js/ScriptGlobalObject.cpp:
(WebCore::ScriptGlobalObject::set):
* bindings/js/ScriptGlobalObject.h:
* bindings/js/WorkerScriptDebugServer.cpp:
* bindings/js/WorkerScriptDebugServer.h:
* dom/Node.cpp:
(WebCore::Node::inspect):
* inspector/CommandLineAPIHost.cpp:
* inspector/CommandLineAPIHost.idl:
* inspector/CommandLineAPIModule.cpp:
* inspector/CommandLineAPIModule.h:
* inspector/DOMEditor.cpp:
* inspector/DOMEditor.h:
* inspector/DOMPatchSupport.cpp:
* inspector/DOMPatchSupport.h:
* inspector/InspectorApplicationCacheAgent.cpp:
* inspector/InspectorApplicationCacheAgent.h:
* inspector/InspectorCSSAgent.cpp:
* inspector/InspectorCSSAgent.h:
* inspector/InspectorClient.cpp:
* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addMessageToConsole):
(WebCore::InspectorInstrumentation::consoleCount):
(WebCore::InspectorInstrumentation::startConsoleTiming):
(WebCore::InspectorInstrumentation::stopConsoleTiming):
(WebCore::InspectorInstrumentation::consoleTimeStamp):
(WebCore::InspectorInstrumentation::startProfiling):
(WebCore::InspectorInstrumentation::stopProfiling):
* inspector/InspectorController.cpp:
* inspector/InspectorController.h:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorDOMAgent.h:
* inspector/InspectorDOMDebuggerAgent.cpp:
* inspector/InspectorDOMDebuggerAgent.h:
* inspector/InspectorDOMStorageAgent.cpp:
* inspector/InspectorDatabaseAgent.cpp:
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDatabaseInstrumentation.h:
(WebCore::InspectorInstrumentation::didOpenDatabase):
* inspector/InspectorDatabaseResource.cpp:
* inspector/InspectorDatabaseResource.h:
* inspector/InspectorFrontendClientLocal.cpp:
* inspector/InspectorFrontendHost.cpp:
* inspector/InspectorFrontendHost.idl:
* inspector/InspectorHistory.cpp:
* inspector/InspectorHistory.h:
* inspector/InspectorIndexedDBAgent.cpp:
* inspector/InspectorIndexedDBAgent.h:
* inspector/InspectorInstrumentation.cpp:
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didClearWindowObjectInWorld):
(WebCore::InspectorInstrumentation::isDebuggerPaused):
(WebCore::InspectorInstrumentation::willInsertDOMNode):
(WebCore::InspectorInstrumentation::didInsertDOMNode):
(WebCore::InspectorInstrumentation::willRemoveDOMNode):
(WebCore::InspectorInstrumentation::didRemoveDOMNode):
(WebCore::InspectorInstrumentation::willModifyDOMAttr):
(WebCore::InspectorInstrumentation::didModifyDOMAttr):
(WebCore::InspectorInstrumentation::didRemoveDOMAttr):
(WebCore::InspectorInstrumentation::didInvalidateStyleAttr):
(WebCore::InspectorInstrumentation::frameWindowDiscarded):
(WebCore::InspectorInstrumentation::mediaQueryResultChanged):
(WebCore::InspectorInstrumentation::didPushShadowRoot):
(WebCore::InspectorInstrumentation::willPopShadowRoot):
(WebCore::InspectorInstrumentation::didCreateNamedFlow):
(WebCore::InspectorInstrumentation::willRemoveNamedFlow):
(WebCore::InspectorInstrumentation::didChangeRegionOverset):
(WebCore::InspectorInstrumentation::didRegisterNamedFlowContentElement):
(WebCore::InspectorInstrumentation::didUnregisterNamedFlowContentElement):
(WebCore::InspectorInstrumentation::mouseDidMoveOverElement):
(WebCore::InspectorInstrumentation::handleTouchEvent):
(WebCore::InspectorInstrumentation::handleMousePress):
(WebCore::InspectorInstrumentation::forcePseudoState):
(WebCore::InspectorInstrumentation::characterDataModified):
(WebCore::InspectorInstrumentation::willSendXMLHttpRequest):
(WebCore::InspectorInstrumentation::didInstallTimer):
(WebCore::InspectorInstrumentation::didRemoveTimer):
(WebCore::InspectorInstrumentation::willCallFunction):
(WebCore::InspectorInstrumentation::didCallFunction):
(WebCore::InspectorInstrumentation::willDispatchXHRReadyStateChangeEvent):
(WebCore::InspectorInstrumentation::didDispatchXHRReadyStateChangeEvent):
(WebCore::InspectorInstrumentation::willDispatchEvent):
(WebCore::InspectorInstrumentation::didDispatchEvent):
(WebCore::InspectorInstrumentation::willHandleEvent):
(WebCore::InspectorInstrumentation::didHandleEvent):
(WebCore::InspectorInstrumentation::willDispatchEventOnWindow):
(WebCore::InspectorInstrumentation::didDispatchEventOnWindow):
(WebCore::InspectorInstrumentation::willEvaluateScript):
(WebCore::InspectorInstrumentation::didEvaluateScript):
(WebCore::InspectorInstrumentation::scriptsEnabled):
(WebCore::InspectorInstrumentation::willFireTimer):
(WebCore::InspectorInstrumentation::didFireTimer):
(WebCore::InspectorInstrumentation::didInvalidateLayout):
(WebCore::InspectorInstrumentation::willLayout):
(WebCore::InspectorInstrumentation::didLayout):
(WebCore::InspectorInstrumentation::didScroll):
(WebCore::InspectorInstrumentation::willDispatchXHRLoadEvent):
(WebCore::InspectorInstrumentation::didDispatchXHRLoadEvent):
(WebCore::InspectorInstrumentation::willPaint):
(WebCore::InspectorInstrumentation::didPaint):
(WebCore::InspectorInstrumentation::willScrollLayer):
(WebCore::InspectorInstrumentation::didScrollLayer):
(WebCore::InspectorInstrumentation::willRecalculateStyle):
(WebCore::InspectorInstrumentation::didRecalculateStyle):
(WebCore::InspectorInstrumentation::didScheduleStyleRecalculation):
(WebCore::InspectorInstrumentation::applyEmulatedMedia):
(WebCore::InspectorInstrumentation::willSendRequest):
(WebCore::InspectorInstrumentation::continueAfterPingLoader):
(WebCore::InspectorInstrumentation::markResourceAsCached):
(WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCache):
(WebCore::InspectorInstrumentation::willReceiveResourceResponse):
(WebCore::InspectorInstrumentation::didReceiveResourceResponse):
(WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDenied):
(WebCore::InspectorInstrumentation::continueWithPolicyDownload):
(WebCore::InspectorInstrumentation::continueWithPolicyIgnore):
(WebCore::InspectorInstrumentation::didReceiveData):
(WebCore::InspectorInstrumentation::didFinishLoading):
(WebCore::InspectorInstrumentation::didFailLoading):
(WebCore::InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient):
(WebCore::InspectorInstrumentation::willLoadXHR):
(WebCore::InspectorInstrumentation::didFailXHRLoading):
(WebCore::InspectorInstrumentation::didFinishXHRLoading):
(WebCore::InspectorInstrumentation::didReceiveXHRResponse):
(WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
(WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
(WebCore::InspectorInstrumentation::scriptImported):
(WebCore::InspectorInstrumentation::scriptExecutionBlockedByCSP):
(WebCore::InspectorInstrumentation::didReceiveScriptResponse):
(WebCore::InspectorInstrumentation::domContentLoadedEventFired):
(WebCore::InspectorInstrumentation::loadEventFired):
(WebCore::InspectorInstrumentation::frameDetachedFromParent):
(WebCore::InspectorInstrumentation::didCommitLoad):
(WebCore::InspectorInstrumentation::frameDocumentUpdated):
(WebCore::InspectorInstrumentation::loaderDetachedFromFrame):
(WebCore::InspectorInstrumentation::frameStartedLoading):
(WebCore::InspectorInstrumentation::frameStoppedLoading):
(WebCore::InspectorInstrumentation::frameScheduledNavigation):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
(WebCore::InspectorInstrumentation::willRunJavaScriptDialog):
(WebCore::InspectorInstrumentation::didRunJavaScriptDialog):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore::InspectorInstrumentation::willWriteHTML):
(WebCore::InspectorInstrumentation::didWriteHTML):
(WebCore::InspectorInstrumentation::didDispatchDOMStorageEvent):
(WebCore::InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart):
(WebCore::InspectorInstrumentation::didStartWorkerGlobalScope):
(WebCore::InspectorInstrumentation::workerGlobalScopeTerminated):
(WebCore::InspectorInstrumentation::didCreateWebSocket):
(WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
(WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
(WebCore::InspectorInstrumentation::didCloseWebSocket):
(WebCore::InspectorInstrumentation::didReceiveWebSocketFrame):
(WebCore::InspectorInstrumentation::didReceiveWebSocketFrameError):
(WebCore::InspectorInstrumentation::didSendWebSocketFrame):
(WebCore::InspectorInstrumentation::sessionCreated):
(WebCore::InspectorInstrumentation::sessionLoaded):
(WebCore::InspectorInstrumentation::sessionModified):
(WebCore::InspectorInstrumentation::segmentCreated):
(WebCore::InspectorInstrumentation::segmentCompleted):
(WebCore::InspectorInstrumentation::segmentLoaded):
(WebCore::InspectorInstrumentation::segmentUnloaded):
(WebCore::InspectorInstrumentation::captureStarted):
(WebCore::InspectorInstrumentation::captureStopped):
(WebCore::InspectorInstrumentation::playbackStarted):
(WebCore::InspectorInstrumentation::playbackPaused):
(WebCore::InspectorInstrumentation::playbackFinished):
(WebCore::InspectorInstrumentation::playbackHitPosition):
(WebCore::InspectorInstrumentation::networkStateChanged):
(WebCore::InspectorInstrumentation::updateApplicationCacheStatus):
(WebCore::InspectorInstrumentation::didRequestAnimationFrame):
(WebCore::InspectorInstrumentation::didCancelAnimationFrame):
(WebCore::InspectorInstrumentation::willFireAnimationFrame):
(WebCore::InspectorInstrumentation::didFireAnimationFrame):
(WebCore::InspectorInstrumentation::layerTreeDidChange):
(WebCore::InspectorInstrumentation::renderLayerDestroyed):
(WebCore::InspectorInstrumentation::pseudoElementDestroyed):
(WebCore::InspectorInstrumentation::instrumentingAgentsForDocument):
(WebCore::InspectorInstrumentation::hasFrontends): Deleted.
(WebCore::InspectorInstrumentation::consoleAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::runtimeAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::timelineAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::replayAgentEnabled): Deleted.
* inspector/InspectorLayerTreeAgent.cpp:
* inspector/InspectorLayerTreeAgent.h:
* inspector/InspectorOverlay.cpp:
* inspector/InspectorPageAgent.cpp:
* inspector/InspectorPageAgent.h:
* inspector/InspectorReplayAgent.cpp:
* inspector/InspectorReplayAgent.h:
* inspector/InspectorResourceAgent.cpp:
* inspector/InspectorResourceAgent.h:
* inspector/InspectorStyleSheet.cpp:
* inspector/InspectorStyleSheet.h:
* inspector/InspectorStyleTextEditor.cpp:
* inspector/InspectorStyleTextEditor.h:
* inspector/InspectorTimelineAgent.cpp:
* inspector/InspectorTimelineAgent.h:
* inspector/InspectorWorkerAgent.cpp:
* inspector/InspectorWorkerResource.h:
* inspector/InstrumentingAgents.cpp:
* inspector/NetworkResourcesData.cpp:
* inspector/NetworkResourcesData.h:
* inspector/PageConsoleAgent.cpp:
* inspector/PageConsoleAgent.h:
* inspector/PageDebuggerAgent.cpp:
* inspector/PageDebuggerAgent.h:
* inspector/PageRuntimeAgent.cpp:
* inspector/PageRuntimeAgent.h:
* inspector/PageScriptDebugServer.cpp:
* inspector/PageScriptDebugServer.h:
* inspector/TimelineRecordFactory.cpp:
* inspector/WebConsoleAgent.cpp:
* inspector/WebConsoleAgent.h:
* inspector/WebDebuggerAgent.cpp:
* inspector/WebDebuggerAgent.h:
* inspector/WebInjectedScriptHost.cpp:
* inspector/WebInjectedScriptHost.h:
* inspector/WebInjectedScriptManager.cpp:
* inspector/WebInjectedScriptManager.h:
* inspector/WorkerConsoleAgent.cpp:
* inspector/WorkerConsoleAgent.h:
* inspector/WorkerDebuggerAgent.cpp:
* inspector/WorkerDebuggerAgent.h:
* inspector/WorkerInspectorController.cpp:
* inspector/WorkerInspectorController.h:
* inspector/WorkerRuntimeAgent.cpp:
* inspector/WorkerRuntimeAgent.h:
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::didReceiveResponse):
(WebCore::DocumentThreadableLoader::loadRequest):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
(WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::createResourceHandle):
(WebCore::ApplicationCacheGroup::didReceiveResponse):
* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::applicationCacheInfo):
* loader/appcache/ApplicationCacheHost.h:
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::showContextMenu):
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::addInspectElementItem):
(WebCore::ContextMenuController::checkOrEnableIfNeeded):
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::~Page):
* page/Page.h:
* platform/ContextMenuItem.h:
* platform/efl/EflInspectorUtilities.cpp:
* platform/efl/EflInspectorUtilities.h:
* platform/network/ResourceRequestBase.h:
(WebCore::ResourceRequestBase::ResourceRequestBase):
* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
* platform/network/cocoa/ResourceRequestCocoa.mm:
(WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
* testing/Internals.cpp:
(WebCore::InspectorFrontendChannelDummy::sendMessageToFrontend):
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::inspectorHighlightRects):
(WebCore::Internals::inspectorHighlightObject):
(WebCore::Internals::setInspectorIsUnderTest):
* testing/Internals.h:
* testing/Internals.idl:
* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::WorkerGlobalScope):
* workers/WorkerGlobalScope.h:
* workers/WorkerGlobalScopeProxy.h:
* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
(WebCore::WorkerMessagingProxy::sendMessageToInspector):
(WebCore::WorkerMessagingProxy::postMessageToPageInspector):
* workers/WorkerMessagingProxy.h:
* workers/WorkerReportingProxy.h:
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::workerThread):

Source/WebKit:

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::dispatchWillSendRequest):

Source/WebKit/win:

* WebCoreSupport/WebInspectorClient.cpp:
(registerWindowClass):
* WebInspector.cpp:
(WebInspector::setTimelineProfilingEnabled):
* WebNodeHighlight.cpp:
(WebNodeHighlight::WebNodeHighlight):
(WebNodeHighlight::update):
* WebNodeHighlight.h:
* WebView.cpp:
(WebView::WebView):
(WebView::close):
(WebView::initWithFrame):
(WebView::inspector):
* WebView.h:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* Shared/API/c/WKSharedAPICast.h:
(WebKit::toAPI):
(WebKit::toImpl):
* Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<ResourceRequest>::encode):
(IPC::ArgumentCoder<ResourceRequest>::decode):
* UIProcess/API/C/WKInspector.cpp:
(WKInspectorGetTypeID):
(WKInspectorGetPage):
(WKInspectorIsConnected):
(WKInspectorIsVisible):
(WKInspectorIsFront):
(WKInspectorConnect):
(WKInspectorShow):
(WKInspectorHide):
(WKInspectorClose):
(WKInspectorShowConsole):
(WKInspectorShowResources):
(WKInspectorShowMainResourceForFrame):
(WKInspectorIsAttached):
(WKInspectorAttach):
(WKInspectorDetach):
(WKInspectorIsProfilingPage):
(WKInspectorTogglePageProfiling):
* UIProcess/API/C/WKPage.cpp:
(WKPageGetInspector):
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_inspector_show):
(ewk_view_inspector_close):
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):
* UIProcess/PageClient.h:
* UIProcess/WebInspectorProxy.cpp:
* UIProcess/WebInspectorProxy.h:
* UIProcess/WebInspectorProxy.messages.in:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::reattachToWebProcess):
(WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle):
(WebKit::WebPageProxy::resetState):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getLaunchOptions):
* UIProcess/efl/WebInspectorProxyEfl.cpp:
* UIProcess/gtk/WebInspectorProxyGtk.cpp:
* UIProcess/ios/PageClientImplIOS.h:
* UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::disableInspectorNodeSearch):
* UIProcess/ios/WebInspectorProxyIOS.mm:
* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::disableInspectorNodeSearch):
* UIProcess/mac/WebInspectorProxyMac.mm:
* WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp:
(WKBundleInspectorGetTypeID):
(WKBundleInspectorShow):
(WKBundleInspectorClose):
(WKBundleInspectorEvaluateScriptForTest):
(WKBundleInspectorSetPageProfilingEnabled):
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageGetInspector):
* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
* WebProcess/WebCoreSupport/WebInspectorClient.h:
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
* WebProcess/WebPage/WebInspector.cpp:
* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/WebInspector.messages.in:
* WebProcess/WebPage/WebInspectorUI.cpp:
* WebProcess/WebPage/WebInspectorUI.h:
* WebProcess/WebPage/WebInspectorUI.messages.in:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::~WebPage):
(WebKit::WebPage::close):
(WebKit::WebPage::inspectorUI):
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/efl/WebInspectorEfl.cpp:
* WebProcess/WebPage/efl/WebInspectorUIEfl.cpp:
* WebProcess/WebPage/gtk/WebInspectorGtk.cpp:
* WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp:
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::disableInspectorNodeSearch):
* WebProcess/WebPage/mac/WebInspectorMac.mm:
* WebProcess/WebPage/mac/WebInspectorUIMac.mm:
* config.h:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::showWebInspector):
(TestRunner::closeWebInspector):
(TestRunner::evaluateInWebInspector):
* Scripts/webkitperl/FeatureList.pm:
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::showWebInspector):
(WTR::TestRunner::closeWebInspector):
(WTR::TestRunner::evaluateInWebInspector):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed gardening.
bfulgham@apple.com [Wed, 21 Jan 2015 07:23:18 +0000 (07:23 +0000)]
[Win] Unreviewed gardening.

Rebaseline and clean-up of skipped files.

* platform/win/TestExpectations:
* platform/win/css2.1/20110323: Added.
* platform/win/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/win/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added.
* platform/win/css2.1/20110323/border-conflict-style-079-expected.png: Added.
* platform/win/css2.1/20110323/border-conflict-style-088-expected.png: Added.
* platform/win/css2.1/20110323/border-spacing-applies-to-015-expected.png: Added.
* platform/win/css2.1/20110323/dynamic-top-change-001-expected.png: Added.
* platform/win/css2.1/20110323/dynamic-top-change-002-expected.png: Added.
* platform/win/css2.1/20110323/dynamic-top-change-003-expected.png: Added.
* platform/win/css2.1/20110323/dynamic-top-change-004-expected.png: Added.
* platform/win/css2.1/20110323/floating-replaced-height-008-expected.png: Added.
* platform/win/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/win/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/win/css2.1/20110323/inline-block-replaced-height-008-expected.png: Added.
* platform/win/css2.1/20110323/inline-replaced-height-008-expected.png: Added.
* platform/win/css2.1/20110323/inline-table-001-expected.png: Added.
* platform/win/css2.1/20110323/inline-table-002a-expected.png: Added.
* platform/win/css2.1/20110323/inline-table-003-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-001-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-002-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-003-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-004-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-005-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-006-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-007-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-008-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-009-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-010-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-012-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-013-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-014-expected.png: Added.
* platform/win/css2.1/20110323/margin-applies-to-015-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-001-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-002-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-horizontal-alignment-001-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-margins-001-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-optional-001-expected.png: Added.
* platform/win/css2.1/20110323/table-caption-optional-002-expected.png: Added.
* platform/win/css2.1/20110323/table-height-algorithm-023-expected.png: Added.
* platform/win/css2.1/20110323/table-height-algorithm-024-expected.png: Added.
* platform/win/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Added.
* platform/win/css2.1/t0805-c5518-brdr-t-01-e-expected.txt: Added.
* platform/win/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Added.
* platform/win/css2.1/t0805-c5519-brdr-r-00-a-expected.txt: Added.
* platform/win/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added.
* platform/win/css2.1/t0805-c5519-brdr-r-01-e-expected.txt:
* platform/win/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Added.
* platform/win/css2.1/t0805-c5520-brdr-b-01-e-expected.txt: Added.
* platform/win/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Added.
* platform/win/css2.1/t0805-c5521-brdr-l-00-a-expected.txt: Added.
* platform/win/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Added.
* platform/win/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
* platform/win/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Added.
* platform/win/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt: Added.
* platform/win/css2.1/t09-c5526c-display-00-e-expected.png: Added.
* platform/win/css2.1/t09-c5526c-display-00-e-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-01-b-expected.png: Added.
* platform/win/css2.1/t0905-c414-flt-01-b-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-02-c-expected.png: Added.
* platform/win/css2.1/t0905-c414-flt-02-c-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-03-c-expected.png: Added.
* platform/win/css2.1/t0905-c414-flt-03-c-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-04-c-expected.png: Added.
* platform/win/css2.1/t0905-c414-flt-04-c-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Added.
* platform/win/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt: Added.
* platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.txt:
* platform/win/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt:
* platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-flthw-00-c-g-expected.png: Added.
* platform/win/css2.1/t0905-c5525-flthw-00-c-g-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
* platform/win/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltwrap-00-b-expected.png: Added.
* platform/win/css2.1/t0905-c5525-fltwrap-00-b-expected.txt:
* platform/win/css2.1/t0905-c5526-flthw-00-c-g-expected.png: Added.
* platform/win/css2.1/t0905-c5526-flthw-00-c-g-expected.txt: Added.
* platform/win/css2.1/t090501-c414-flt-01-b-expected.png: Added.
* platform/win/css2.1/t090501-c414-flt-01-b-expected.txt: Added.
* platform/win/css2.1/t090501-c414-flt-03-b-g-expected.png: Added.
* platform/win/css2.1/t090501-c414-flt-03-b-g-expected.txt: Added.
* platform/win/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt: Added.
* platform/win/css2.1/t090501-c5525-flt-l-00-b-g-expected.png: Added.
* platform/win/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt: Added.
* platform/win/css2.1/t090501-c5525-flt-r-00-b-g-expected.png: Added.
* platform/win/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt: Added.
* platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png: Added.
* platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt: Added.
* platform/win/css2.1/t1202-counter-03-b-expected.txt: Added.
* platform/win/css2.1/t1202-counter-04-b-expected.png: Added.
* platform/win/css2.1/t1202-counter-04-b-expected.txt:
* platform/win/css2.1/t1202-counters-03-b-expected.png: Added.
* platform/win/css2.1/t1202-counters-03-b-expected.txt: Added.
* platform/win/css2.1/t1202-counters-04-b-expected.png: Added.
* platform/win/css2.1/t1202-counters-04-b-expected.txt:
* platform/win/css2.1/t1205-c566-list-stl-01-c-g-expected.png: Added.
* platform/win/css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Added.
* platform/win/css3/selectors3: Added.
* platform/win/css3/selectors3/html: Added.
* platform/win/css3/selectors3/html/css3-modsel-161-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-161-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-19b-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-19b-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-23-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-23-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-24-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-24-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-25-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-25-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-64-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-64-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-68-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-68-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-69-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-69-expected.txt: Added.
* platform/win/css3/selectors3/html/css3-modsel-70-expected.png: Added.
* platform/win/css3/selectors3/html/css3-modsel-70-expected.txt: Added.
* platform/win/css3/selectors3/xhtml: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-161-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-161-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-19b-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-19b-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-23-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-23-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-24-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-24-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-25-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-25-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-64-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-64-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-68-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-68-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-69-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-69-expected.txt: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-70-expected.png: Added.
* platform/win/css3/selectors3/xhtml/css3-modsel-70-expected.txt: Added.
* platform/win/css3/selectors3/xml: Added.
* platform/win/css3/selectors3/xml/css3-modsel-161-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-161-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-19b-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-19b-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-23-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-23-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-24-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-24-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-25-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-25-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-64-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-64-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-68-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-68-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-69-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-69-expected.txt: Added.
* platform/win/css3/selectors3/xml/css3-modsel-70-expected.png: Added.
* platform/win/css3/selectors3/xml/css3-modsel-70-expected.txt: Added.
* platform/win/fast/block/float/016-expected.png: Added.
* platform/win/fast/block/float/016-expected.txt: Added.
* platform/win/fast/css/non-standard-checkbox-size-expected.txt: Added.
* platform/win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
* platform/win/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-element-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-optimums-expected.png:
* platform/win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
* platform/win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
* platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.png:
* platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178808 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdate build.webkit.org/dashboard to match current Mac queues.
ap@apple.com [Wed, 21 Jan 2015 07:17:14 +0000 (07:17 +0000)]
Update build.webkit.org/dashboard to match current Mac queues.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion.png: Removed.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion@2x.png: Removed.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png: Removed.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png: Removed.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
(table.queue-grid tr.platform.mac-os-x-mountain-lion img.logo): Deleted.
(table.queue-grid tr.platform.mac-os-x-lion img.logo): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178802 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoVersioning.
bshafiei@apple.com [Wed, 21 Jan 2015 06:48:54 +0000 (06:48 +0000)]
Versioning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178801 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoinspector/model/remote-object-get-properties.html asserts
ap@apple.com [Wed, 21 Jan 2015 06:40:50 +0000 (06:40 +0000)]
inspector/model/remote-object-get-properties.html asserts

* TestExpectations: Skip the test for now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION (Yosemite): HTTP tests time out waiting for subresources
ap@apple.com [Wed, 21 Jan 2015 05:08:47 +0000 (05:08 +0000)]
REGRESSION (Yosemite): HTTP tests time out waiting for subresources
https://bugs.webkit.org/show_bug.cgi?id=140715

Rubber-stamped by Mark Rowe.

Enable Apache performance logging to better isolate the issue.

* http/conf/apache2.4-httpd.conf:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178798 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove USE(GLIB) code from WebKit1
andersca@apple.com [Wed, 21 Jan 2015 04:55:34 +0000 (04:55 +0000)]
Remove USE(GLIB) code from WebKit1
https://bugs.webkit.org/show_bug.cgi?id=140714

Reviewed by Andreas Kling.

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView _close]):
(-[WebView _clearGlibLoopObserver]): Deleted.
(glibContextIterationCallback): Deleted.
(-[WebView _scheduleGlibContextIterations]): Deleted.
* WebView/WebViewData.h:
* WebView/WebViewInternal.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178797 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Clean up InjectedScriptSource.js
commit-queue@webkit.org [Wed, 21 Jan 2015 04:22:24 +0000 (04:22 +0000)]
Web Inspector: Clean up InjectedScriptSource.js
https://bugs.webkit.org/show_bug.cgi?id=140709

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-20
Reviewed by Timothy Hatcher.

This patch includes some relevant Blink patches and small changes.

Patch by <aandrey@chromium.org>
DevTools: Remove console last result $_ on console clear.
https://src.chromium.org/viewvc/blink?revision=179179&view=revision

Patch by <eustas@chromium.org>
[Inspect DOM properties] incorrect CSS Selector Syntax
https://src.chromium.org/viewvc/blink?revision=156903&view=revision

* inspector/InjectedScriptSource.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178796 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed gardening. Remove variable objectId from output.
joepeck@webkit.org [Wed, 21 Jan 2015 02:44:32 +0000 (02:44 +0000)]
Unreviewed gardening. Remove variable objectId from output.

* inspector/model/remote-object-get-properties-expected.txt:
* inspector/model/remote-object-get-properties.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178795 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSimplify DiagnosticLoggingClient call sites
cdumez@apple.com [Wed, 21 Jan 2015 02:16:43 +0000 (02:16 +0000)]
Simplify DiagnosticLoggingClient call sites
https://bugs.webkit.org/show_bug.cgi?id=140701

Reviewed by Andreas Kling.

Simplify DiagnosticLoggingClient call sites by:
- Moving the Settings::diagnosticLoggingEnabled() check inside the
  MainFrame::diagnosticLoggingClient() getter.
- Having MainFrame::diagnosticLoggingClient() return a reference
  instead of a pointer (returning a dummy client if necessary).

Otherwise, each call site needs to both check the setting and do a
null-check on the client which is a bit annoying.

* history/PageCache.cpp:
(WebCore::logPageCacheFailureDiagnosticMessage):
(WebCore::logCanCacheFrameDecision):
(WebCore::logCanCachePageDecision):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* loader/EmptyClients.h:
* loader/FrameLoader.cpp:
(WebCore::logNavigation):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
* loader/SubframeLoader.cpp:
(WebCore::logPluginRequest):
* loader/SubresourceLoader.cpp:
(WebCore::logResourceLoaded):
* page/DiagnosticLoggingClient.h:
(WebCore::DiagnosticLoggingClient::logDiagnosticMessage): Deleted.
(WebCore::DiagnosticLoggingClient::logDiagnosticMessageWithResult): Deleted.
(WebCore::DiagnosticLoggingClient::logDiagnosticMessageWithValue): Deleted.
* page/MainFrame.cpp:
(WebCore::MainFrame::diagnosticLoggingClient):
* page/MainFrame.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178794 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Rebaseline a test, unskip some working tests.
bfulgham@apple.com [Wed, 21 Jan 2015 01:59:56 +0000 (01:59 +0000)]
[Win] Rebaseline a test, unskip some working tests.

* platform/win/TestExpectations:
* platform/win/js/dom/global-constructors-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178793 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoconfig fix after r178790.
lforschler@apple.com [Wed, 21 Jan 2015 01:59:25 +0000 (01:59 +0000)]
config fix after r178790.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178792 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Cleanup RuntimeAgent a bit
commit-queue@webkit.org [Wed, 21 Jan 2015 01:54:18 +0000 (01:54 +0000)]
Web Inspector: Cleanup RuntimeAgent a bit
https://bugs.webkit.org/show_bug.cgi?id=140706

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-20
Reviewed by Timothy Hatcher.

* inspector/InjectedScript.h:
* inspector/InspectorBackendDispatcher.h:
* inspector/ScriptCallFrame.cpp:
* inspector/agents/InspectorRuntimeAgent.cpp:
(Inspector::InspectorRuntimeAgent::evaluate):
(Inspector::InspectorRuntimeAgent::getProperties):
(Inspector::InspectorRuntimeAgent::run):
(Inspector::InspectorRuntimeAgent::getRuntimeTypesForVariablesAtOffsets):
(Inspector::recompileAllJSFunctionsForTypeProfiling):
(Inspector::InspectorRuntimeAgent::setTypeProfilerEnabledState):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178791 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdate Apple MountainLion Leaks slave to Yosemite
lforschler@apple.com [Wed, 21 Jan 2015 01:37:15 +0000 (01:37 +0000)]
Update Apple MountainLion Leaks slave to Yosemite
Update Apple MountainLion Release (32-bit) Build slave to Yosemite

Unreviewed.

* BuildSlaveSupport/build.webkit.org-config/config.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] More test gardening.
bfulgham@apple.com [Wed, 21 Jan 2015 01:16:45 +0000 (01:16 +0000)]
[Win] More test gardening.

* platform/win/TestExpectations: Mark several tests as failing now that bug
reports have been filed for them.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178789 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMade Identity in the DFG allocate a new temp register and move
mmirman@apple.com [Wed, 21 Jan 2015 01:12:51 +0000 (01:12 +0000)]
Made Identity in the DFG allocate a new temp register and move
the old data to it.
https://bugs.webkit.org/show_bug.cgi?id=140700
<rdar://problem/19339106>

Reviewed by Filip Pizlo.

* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
Added scratch registers for Identity.
* tests/mozilla/mozilla-tests.yaml: enabled previously failing test

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178788 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Use spread operator in a few places
commit-queue@webkit.org [Wed, 21 Jan 2015 01:10:51 +0000 (01:10 +0000)]
Web Inspector: Use spread operator in a few places
https://bugs.webkit.org/show_bug.cgi?id=140699

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-20
Reviewed by Geoffrey Garen.

* UserInterface/Controllers/ProbeManager.js:
(WebInspector.ProbeManager.prototype.get probeSets):
Simplify by using the spread operator.

* UserInterface/Models/TimelineRecording.js:
This actually fixes an issue. The one place this was used was expecting
an array and called ".length" on the result. However, the iterator being
returned does not have a ".length" property so it was always undefined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178787 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUpdate LeaksViewer from MountainLion to Yosemite
lforschler@apple.com [Wed, 21 Jan 2015 00:52:37 +0000 (00:52 +0000)]
Update LeaksViewer from MountainLion to Yosemite

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
(LeaksViewer._displayURLPrompt):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed test gardening.
bfulgham@apple.com [Wed, 21 Jan 2015 00:42:42 +0000 (00:42 +0000)]
[Win] Unreviewed test gardening.

Now that Mac has switched to new SVG font results, commit the old Mac output for
use with Windows tests until they are also cut over.

* platform/win/TestExpectations:
* platform/win/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/filters-light-04-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/render-groups-01-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/render-groups-03-t-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/text-align-08-b-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/text-align-08-b-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png: Added.
* platform/win/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt: Added.
* platform/win/svg/custom/glyph-setting-d-attribute-expected.png: Added.
* platform/win/svg/custom/glyph-setting-d-attribute-expected.txt: Added.
* platform/win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Added.
* platform/win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Added.
* platform/win/svg/foreignObject: Added.
* platform/win/svg/foreignObject/text-tref-02-b-expected.png: Added.
* platform/win/svg/foreignObject/text-tref-02-b-expected.txt: Added.
* platform/win/svg/text/kerning-expected.png: Added.
* platform/win/svg/text/kerning-expected.txt: Added.
* platform/win/svg/text/multichar-glyph-expected.png: Added.
* platform/win/svg/text/multichar-glyph-expected.txt: Added.
* platform/win/svg/transforms: Added.
* platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.png: Added.
* platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178769 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Expanding event objects in console shows undefined for most values...
commit-queue@webkit.org [Wed, 21 Jan 2015 00:34:57 +0000 (00:34 +0000)]
Web Inspector: Expanding event objects in console shows undefined for most values, it should have real values
https://bugs.webkit.org/show_bug.cgi?id=137306

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-20
Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

Provide another optional parameter to getProperties, to gather a list
of all own and getter properties.

* inspector/InjectedScript.cpp:
(Inspector::InjectedScript::getProperties):
* inspector/InjectedScript.h:
* inspector/InjectedScriptSource.js:
* inspector/agents/InspectorRuntimeAgent.cpp:
(Inspector::InspectorRuntimeAgent::getProperties):
* inspector/agents/InspectorRuntimeAgent.h:
* inspector/protocol/Runtime.json:

Source/WebInspectorUI:

When first expanding an object, show all the object's own properties and any
getter properties that may be on its prototype chain. Now, we only fetch
own properties, for __proto__ properties.

* UserInterface/Protocol/RemoteObject.js:
(WebInspector.RemoteObject.prototype.getOwnProperties):
(WebInspector.RemoteObject.prototype.getOwnAndGetterProperties):
(WebInspector.RemoteObject.prototype.getAllProperties):
(WebInspector.RemoteObject.prototype.get hasChildren): Deleted.
* UserInterface/Views/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertiesSection):
(WebInspector.ObjectPropertiesSection.prototype.update):
(WebInspector.ObjectPropertyTreeElement.prototype.onpopulate):

LayoutTests:

* inspector/model/remote-object-get-properties-expected.txt: Added.
* inspector/model/remote-object-get-properties.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Should show dynamic specificity values
commit-queue@webkit.org [Wed, 21 Jan 2015 00:30:36 +0000 (00:30 +0000)]
Web Inspector: Should show dynamic specificity values
https://bugs.webkit.org/show_bug.cgi?id=140647

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-01-20
Reviewed by Benjamin Poulain.

Source/JavaScriptCore:

* inspector/protocol/CSS.json:
Clarify CSSSelector optional values and add "dynamic" property indicating
if the selector can be dynamic based on the element it is matched against.

Source/WebCore:

Test: inspector/css/selector-dynamic-specificity.html

* inspector/InspectorCSSAgent.h:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::setRuleSelector):
(WebCore::InspectorCSSAgent::addRule):
(WebCore::InspectorCSSAgent::buildObjectForRule):
(WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
When building a response for a particular element, pass the element along.

* inspector/InspectorStyleSheet.h:
* inspector/InspectorStyleSheet.cpp:
(WebCore::hasDynamicSpecificity):
(WebCore::buildObjectForSelectorHelper):
(WebCore::selectorsFromSource):
(WebCore::InspectorStyleSheet::buildObjectForSelector):
(WebCore::InspectorStyleSheet::buildObjectForSelectorList):
(WebCore::InspectorStyleSheet::buildObjectForRule):
(WebCore::InspectorStyleSheet::buildArrayForRuleList):
(WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
When building a response for a Selector, include the specificity if we know
the element in context.

Source/WebInspectorUI:

For dynamic selectors, provide text in the tooltip describing that the
specificity is dynamic and may change, and pointing out the element
the current value was calculated against.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Models/CSSSelector.js:
(WebInspector.CSSSelector):
(WebInspector.CSSSelector.prototype.get specificity):
(WebInspector.CSSSelector.prototype.get dynamic):
* UserInterface/Models/DOMNodeStyles.js:
(WebInspector.DOMNodeStyles.prototype._parseSelectorListPayload.return):
(WebInspector.DOMNodeStyles.prototype._parseSelectorListPayload):
* UserInterface/Views/CSSStyleDeclarationSection.js:
(WebInspector.CSSStyleDeclarationSection.prototype.refresh.appendSelector):

LayoutTests:

* inspector/css/selector-dynamic-specificity-expected.txt: Added.
* inspector/css/selector-dynamic-specificity.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agohttp/tests/xmlhttprequest/xmlhttprequest-responseURL.html uses an incorrect resource...
ap@apple.com [Wed, 21 Jan 2015 00:28:33 +0000 (00:28 +0000)]
http/tests/xmlhttprequest/xmlhttprequest-responseURL.html uses an incorrect resource path
https://bugs.webkit.org/show_bug.cgi?id=140689

Reviewed by Tim Horton.

* http/tests/xmlhttprequest/xmlhttprequest-responseURL-expected.txt:
* http/tests/xmlhttprequest/xmlhttprequest-responseURL.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoNoise about undefined $ENV{"HTTP_ORIGIN"} in Apache logs on several tests
ap@apple.com [Wed, 21 Jan 2015 00:26:56 +0000 (00:26 +0000)]
Noise about undefined $ENV{"HTTP_ORIGIN"} in Apache logs on several tests
https://bugs.webkit.org/show_bug.cgi?id=140690

Reviewed by Tim Horton.

* http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agomalformed header from script 'noContentLength.asis': Bad header
ap@apple.com [Wed, 21 Jan 2015 00:25:28 +0000 (00:25 +0000)]
malformed header from script 'noContentLength.asis': Bad header
https://bugs.webkit.org/show_bug.cgi?id=140693

Reviewed by Tim Horton.

Changed the resource to actually have no Content-Length, and adjusted incorrect test
expectations.

* http/tests/xmlhttprequest/resources/noContentLength.asis: Removed.
* http/tests/xmlhttprequest/resources/noContentLength.cgi: Copied from LayoutTests/http/tests/xmlhttprequest/resources/noContentLength.asis.
* http/tests/xmlhttprequest/xmlhttprequest-no-content-length-onProgress.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoApache logs a warning in http/tests/resources/post-and-verify-hybrid.cgi
ap@apple.com [Wed, 21 Jan 2015 00:21:57 +0000 (00:21 +0000)]
Apache logs a warning in http/tests/resources/post-and-verify-hybrid.cgi
https://bugs.webkit.org/show_bug.cgi?id=140680

Reviewed by Tim Horton.

* http/tests/resources/post-and-verify-hybrid.cgi: Fix a "useless use of a variable
in void context".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178763 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Build fix after r178760.
bfulgham@apple.com [Wed, 21 Jan 2015 00:13:17 +0000 (00:13 +0000)]
[Win] Build fix after r178760.

Windows will not accept a variable as the size declaration for an array.

* svg/SVGToOTFFontConversion.cpp:
(WebCore::SVGToOTFFontConverter::appendGSUBTable): Make size argument a const.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed Windows project file gardening.
bfulgham@apple.com [Wed, 21 Jan 2015 00:05:10 +0000 (00:05 +0000)]
[Win] Unreviewed Windows project file gardening.

* WebCore.vcxproj/WebCore.vcxproj: Add missing SVG files and put things in their proper
folders.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178761 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Win] Unreviewed gardening.
bfulgham@apple.com [Tue, 20 Jan 2015 23:32:26 +0000 (23:32 +0000)]
[Win] Unreviewed gardening.

* win/tools/vsprops/FeatureDefines.props: Add feature definition for SVG converter,
but do NOT turn it on.
* win/tools/vsprops/FeatureDefinesCairo.props: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoURLFilterParser dismisses the last atom when parsing a builtin character class
benjamin@webkit.org [Tue, 20 Jan 2015 23:11:17 +0000 (23:11 +0000)]
URLFilterParser dismisses the last atom when parsing a builtin character class
https://bugs.webkit.org/show_bug.cgi?id=140695

Reviewed by Andreas Kling.

The pending atom was not sunk before creating the new atom.

* contentextensions/URLFilterParser.cpp:
(WebCore::ContentExtensions::GraphBuilder::atomBuiltInCharacterClass):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFast path for casting JSValue to JSDocument*.
akling@apple.com [Tue, 20 Jan 2015 23:10:12 +0000 (23:10 +0000)]
Fast path for casting JSValue to JSDocument*.
<https://webkit.org/b/134655>

Add a custom JSType bit for JSDocument so we can quickly cast to it
from JSValue in the DocumentPrototype functions. This removes a bunch
of grunt work and branches from common functions like getElementById.

Also removed GetCastingHelperForBaseObject and replace it with
simple jsCasts since we don't need dynamic type checks for the base.

Reviewed by Darin Adler.

* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMWrapper.h:
* bindings/js/JSDocumentCustom.h:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GetCastingHelperForThisObject):
(GenerateImplementation):
(GetCastingHelperForBaseObject): Deleted.
* dom/Document.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix EWS python unit tests and address code comments as per 140476
commit-queue@webkit.org [Tue, 20 Jan 2015 22:43:36 +0000 (22:43 +0000)]
Fix EWS python unit tests and address code comments as per 140476
https://bugs.webkit.org/show_bug.cgi?id=140637

Patch by Jake Nielsen <jacob_nielsen@apple.com> on 2015-01-20
Reviewed by David Kilzer.

* Scripts/webkitpy/port/base.py:
(Port):
(Port.__init__):
Adds DEFAULT_ARCHITECTURE member.
(Port.architecture):
Removes architecture member and instead uses
self.get_option('architecture'). Also removes redundant architecture
method.
(Port.set_architecture):
Adds a setter for the architecture variable to be able to set a flag
upon modification.
(Port.test_configuration):
Uses self.architecture() instead of self._architecture.
* Scripts/webkitpy/port/ios.py:
Overrides DEFAULT_ARCHITECTURE.
(IOSPort):
(IOSPort.determine_full_port_name):
Uses subprocess.check_output instead of Popen. Uses rstrip instead of
strip. Fixes regex to not match arbitrary characters after the
relevent digits are matched.
(IOSPort.__init__):
Removes old _architecture defaulting strategy.
(IOSPort._build_driver_flags):
Uses self.architecture() instead of self._architecture.
(IOSSimulatorPort):
Overrides DEFAULT_ARCHITECTURE.
(IOSSimulatorPort.__init__):
Removes old _architecture defaulting strategy.
* Scripts/webkitpy/port/mac.py:
(MacPort):
Overrides DEFAULT_ARCHITECTURE.
(MacPort.__init__):
Removes old _architecture defaulting strategy.
* Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(AbstractEarlyWarningSystem.run_command):
Checks the did_override_architecture flag to determine whether to add
the --architecture option.
* Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
Uses ews.architecture rather than trying to discern the correct
architecture using a port object.
(EarlyWarningSystemTest._default_expected_logs):
* Scripts/webkitpy/tool/commands/queues.py:
Removes use of optparse, and removes the import statement.
(AbstractQueue.__init__):
(PatchProcessingQueue.begin_work_queue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r178751.
commit-queue@webkit.org [Tue, 20 Jan 2015 22:43:06 +0000 (22:43 +0000)]
Unreviewed, rolling out r178751.
https://bugs.webkit.org/show_bug.cgi?id=140694

Caused 32-bit JSC test failures (Requested by JoePeck on
#webkit).

Reverted changeset:

"put_by_val_direct need to check the property is index or not
for using putDirect / putDirectIndex"
https://bugs.webkit.org/show_bug.cgi?id=140426
http://trac.webkit.org/changeset/178751

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[iOS][WK2] Redraw find-in-page indicator on rotation
mhock@apple.com [Tue, 20 Jan 2015 22:21:26 +0000 (22:21 +0000)]
[iOS][WK2] Redraw find-in-page indicator on rotation
https://bugs.webkit.org/show_bug.cgi?id=140632
<rdar://problem/18858394>

Reviewed by Tim Horton.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::redraw): Add method to redraw find indicator (only used by iOS).
* WebProcess/WebPage/FindController.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::mainFrameDidLayout):
* WebProcess/WebPage/ios/FindControllerIOS.mm:
(WebKit::FindController::updateFindIndicator): Redraw should not trigger zoom.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178755 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSimple line layout: Use FlowContents::Segment::text instead of renderer when possible.
zalan@apple.com [Tue, 20 Jan 2015 22:07:17 +0000 (22:07 +0000)]
Simple line layout: Use FlowContents::Segment::text instead of renderer when possible.
https://bugs.webkit.org/show_bug.cgi?id=140692

Reviewed by Myles C. Maxfield.

No change in functionality.

* rendering/SimpleLineLayoutResolver.cpp:
(WebCore::SimpleLineLayout::RunResolver::Run::text):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSwitch to comparing PLATFORM_NAME in terms of macosx
ddkilzer@apple.com [Tue, 20 Jan 2015 21:49:47 +0000 (21:49 +0000)]
Switch to comparing PLATFORM_NAME in terms of macosx
<http://webkit.org/b/139516>

Reviewed by Timothy Hatcher.

Source/WebCore:

* bindings/scripts/preprocessor.pm:
(applyPreprocessor):
* generate-export-file:
(preprocessorMacros):

Source/WebKit:

* WebKit.xcodeproj/project.pbxproj:

Source/WebKit/mac:

* MigrateHeaders.make:
* postprocess-headers.sh:

Source/WebKit2:

* WebKit2.xcodeproj/project.pbxproj:
* mac/rewrite-availability-macros.sh: Remove the else block that
checked for an unknown PLATFORM_NAME.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAttempt to fix 32bits builds after r178743
benjamin@webkit.org [Tue, 20 Jan 2015 21:46:42 +0000 (21:46 +0000)]
Attempt to fix 32bits builds after r178743

* contentextensions/ContentExtensionsBackend.cpp:
(WebCore::ContentExtensions::ContentExtensionsBackend::shouldBlockURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoput_by_val_direct need to check the property is index or not for using putDirect...
utatane.tea@gmail.com [Tue, 20 Jan 2015 21:14:48 +0000 (21:14 +0000)]
put_by_val_direct need to check the property is index or not for using putDirect / putDirectIndex
https://bugs.webkit.org/show_bug.cgi?id=140426

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

In the put_by_val_direct operation, we use JSObject::putDirect.
However, it only accepts non-index property. For index property, we need to use JSObject::putDirectIndex.
This patch changes Identifier::asIndex() to return Optional<uint32_t>.
It forces callers to check the value is index or not explicitly.
Additionally, it checks toString-ed Identifier is index or not to choose putDirect / putDirectIndex.

* bytecode/GetByIdStatus.cpp:
(JSC::GetByIdStatus::computeFor):
* bytecode/PutByIdStatus.cpp:
(JSC::PutByIdStatus::computeFor):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitDirectPutById):
* dfg/DFGOperations.cpp:
(JSC::DFG::operationPutByValInternal):
* jit/JITOperations.cpp:
* jit/Repatch.cpp:
(JSC::emitPutTransitionStubAndGetOldStructure):
* jsc.cpp:
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
* runtime/Arguments.cpp:
(JSC::Arguments::getOwnPropertySlot):
(JSC::Arguments::put):
(JSC::Arguments::deleteProperty):
(JSC::Arguments::defineOwnProperty):
* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncSort):
* runtime/JSArray.cpp:
(JSC::JSArray::defineOwnProperty):
* runtime/JSCJSValue.cpp:
(JSC::JSValue::putToPrimitive):
* runtime/JSGenericTypedArrayViewInlines.h:
(JSC::JSGenericTypedArrayView<Adaptor>::getOwnPropertySlot):
(JSC::JSGenericTypedArrayView<Adaptor>::put):
(JSC::JSGenericTypedArrayView<Adaptor>::defineOwnProperty):
(JSC::JSGenericTypedArrayView<Adaptor>::deleteProperty):
* runtime/JSObject.cpp:
(JSC::JSObject::put):
(JSC::JSObject::putDirectAccessor):
(JSC::JSObject::putDirectCustomAccessor):
(JSC::JSObject::deleteProperty):
(JSC::JSObject::putDirectMayBeIndex):
(JSC::JSObject::defineOwnProperty):
* runtime/JSObject.h:
(JSC::JSObject::getOwnPropertySlot):
(JSC::JSObject::getPropertySlot):
(JSC::JSObject::putDirectInternal):
* runtime/JSString.cpp:
(JSC::JSString::getStringPropertyDescriptor):
* runtime/JSString.h:
(JSC::JSString::getStringPropertySlot):
* runtime/LiteralParser.cpp:
(JSC::LiteralParser<CharType>::parse):
* runtime/PropertyName.h:
(JSC::toUInt32FromCharacters):
(JSC::toUInt32FromStringImpl):
(JSC::PropertyName::asIndex):
* runtime/PropertyNameArray.cpp:
(JSC::PropertyNameArray::add):
* runtime/StringObject.cpp:
(JSC::StringObject::deleteProperty):
* runtime/Structure.cpp:
(JSC::Structure::prototypeChainMayInterceptStoreTo):

Source/WebCore:

Test: js/dfg-put-by-val-direct-with-edge-numbers.html

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::getOwnPropertySlot):
* bindings/js/JSHTMLAllCollectionCustom.cpp:
(WebCore::callHTMLAllCollection):
(WebCore::JSHTMLAllCollection::item):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateGetOwnPropertySlotBody):
(GenerateImplementation):
* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::JSFloat64Array::getOwnPropertySlot):
(WebCore::JSFloat64Array::getOwnPropertyDescriptor):
(WebCore::JSFloat64Array::put):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::getOwnPropertySlot):
* bridge/runtime_array.cpp:
(JSC::RuntimeArray::getOwnPropertySlot):
(JSC::RuntimeArray::put):

LayoutTests:

* js/dfg-put-by-val-direct-with-edge-numbers-expected.txt: Added.
* js/dfg-put-by-val-direct-with-edge-numbers.html: Added.
* js/script-tests/dfg-put-by-val-direct-with-edge-numbers.js: Added.
(lookupWithKey):
(lookupWithKey2):
(toStringThrowsError.toString):
* resources/js-test-pre.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoDrop width / height shorthands code from StylePropertyShorthand.*
cdumez@apple.com [Tue, 20 Jan 2015 20:54:19 +0000 (20:54 +0000)]
Drop width / height shorthands code from StylePropertyShorthand.*
https://bugs.webkit.org/show_bug.cgi?id=140686

Reviewed by Andreas Kling.

Drop width / height shorthands code from StylePropertyShorthand.*.
width / height are not shorthands for min-width/max-width and
min-height/max-height. Also, only matchingCustomShorthandsForLonghand()
treats these as shorthands. For e.g, the reverse method
(indexOfShorthandForLonghand()) does not.

* css/StylePropertyShorthand.cpp:
(WebCore::widthShorthand): Deleted.
(WebCore::heightShorthand): Deleted.
* css/StylePropertyShorthand.h:
(WebCore::matchingCustomShorthandsForLonghand):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd a mechanism to ignore previous content extension rules
benjamin@webkit.org [Tue, 20 Jan 2015 20:46:16 +0000 (20:46 +0000)]
Add a mechanism to ignore previous content extension rules
https://bugs.webkit.org/show_bug.cgi?id=140663

Reviewed by Andreas Kling.

* contentextensions/ContentExtensionRule.h:
* contentextensions/ContentExtensionsBackend.cpp:
(WebCore::ContentExtensions::ContentExtensionsBackend::shouldBlockURL):
* contentextensions/ContentExtensionsManager.cpp:
(WebCore::ContentExtensions::ExtensionsManager::loadAction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178743 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoResolve the epsilon transitions for each state upfront instead of dynamically
benjamin@webkit.org [Tue, 20 Jan 2015 20:43:33 +0000 (20:43 +0000)]
Resolve the epsilon transitions for each state upfront instead of dynamically
https://bugs.webkit.org/show_bug.cgi?id=140654

Reviewed by Andreas Kling.

Instead of recomputing the epsilon-closure for each set, we compute the closure
of every element at the beginning of the transformation.

We then remove the epsilon transitions from the NFA to simplify populateTransitions().
The epsilon transitions are still there, but they are now in a separate graph we use
in parallel.

* contentextensions/NFAToDFA.cpp:
(WebCore::ContentExtensions::epsilonClosureExcludingSelf):
(WebCore::ContentExtensions::resolveEpsilonClosures):
(WebCore::ContentExtensions::extendSetWithClosure):
(WebCore::ContentExtensions::populateTransitions):
(WebCore::ContentExtensions::NFAToDFA::convert):
(WebCore::ContentExtensions::epsilonClosure): Deleted.
(WebCore::ContentExtensions::populateTransitionsExcludingEpsilon): Deleted.
* contentextensions/NFAToDFA.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoLog types of resources being loaded using DiagnosticLoggingClient
cdumez@apple.com [Tue, 20 Jan 2015 20:37:20 +0000 (20:37 +0000)]
Log types of resources being loaded using DiagnosticLoggingClient
https://bugs.webkit.org/show_bug.cgi?id=140682

Reviewed by Andreas Kling.

Log types of resources being loaded using DiagnosticLoggingClient
instead of the legacy FeatureCounter.

* loader/SubresourceLoader.cpp:
(WebCore::logResourceLoaded):
(WebCore::SubresourceLoader::didFinishLoading):
(WebCore::logResourceLoadedUsingFeatureCounter): Deleted.
* page/DiagnosticLoggingKeys.cpp:
(WebCore::DiagnosticLoggingKeys::otherKey):
(WebCore::DiagnosticLoggingKeys::mainResourceKey):
(WebCore::DiagnosticLoggingKeys::loadedKey):
(WebCore::DiagnosticLoggingKeys::imageKey):
(WebCore::DiagnosticLoggingKeys::rawKey):
(WebCore::DiagnosticLoggingKeys::resourceKey):
(WebCore::DiagnosticLoggingKeys::scriptKey):
(WebCore::DiagnosticLoggingKeys::styleSheetKey):
(WebCore::DiagnosticLoggingKeys::svgDocumentKey):
(WebCore::DiagnosticLoggingKeys::fontKey):
* page/DiagnosticLoggingKeys.h:
* platform/FeatureCounterKeys.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178733 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSimple line layout: Remove redundant style.preserveNewline check when collapsing...
zalan@apple.com [Tue, 20 Jan 2015 20:29:44 +0000 (20:29 +0000)]
Simple line layout: Remove redundant style.preserveNewline check when collapsing trailing whitespace.
https://bugs.webkit.org/show_bug.cgi?id=140684

Reviewed by Antti Koivisto.

FlowContents::isLineBreak() checks whether we are at a hard newline.

No change in functionality.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::removeTrailingWhitespace):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(178696): Sporadic crashes while garbage collecting
msaboff@apple.com [Tue, 20 Jan 2015 19:35:29 +0000 (19:35 +0000)]
REGRESSION(178696): Sporadic crashes while garbage collecting
https://bugs.webkit.org/show_bug.cgi?id=140688

Reviewed by Geoffrey Garen.

Added missing visitor.append(&thisObject->m_nullSetterFunction).

* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::visitChildren):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agobmalloc: a little bit of cleanup
ggaren@apple.com [Tue, 20 Jan 2015 19:29:46 +0000 (19:29 +0000)]
bmalloc: a little bit of cleanup
https://bugs.webkit.org/show_bug.cgi?id=140687

Reviewed by Anders Carlsson.

* bmalloc/Algorithm.h:
(bmalloc::isPowerOfTwo): Added a check for 0, since 0 would break a lot
of code.

* bmalloc/BoundaryTag.h:
* bmalloc/BoundaryTagInlines.h:
(bmalloc::BoundaryTag::mergeLeft):
(bmalloc::BoundaryTag::mergeRight):
(bmalloc::BoundaryTag::merge):
(bmalloc::BoundaryTag::deallocate):
(bmalloc::BoundaryTag::split):
(bmalloc::BoundaryTag::allocate):
(bmalloc::BoundaryTag::mergeLargeLeft): Deleted.
(bmalloc::BoundaryTag::mergeLargeRight): Deleted.
(bmalloc::BoundaryTag::mergeLarge): Deleted.
(bmalloc::BoundaryTag::splitLarge): Deleted. Removed the word "Large"
from all these functions, since boundary tags always pertain to large
objects, and putting the word "Large" everywhere wasn't helping to
explain that.

* bmalloc/Heap.cpp:
(bmalloc::Heap::allocateXLarge):
(bmalloc::Heap::findXLarge):
(bmalloc::Heap::deallocateXLarge):
* bmalloc/Heap.h:
* bmalloc/VMHeap.h:
(bmalloc::VMHeap::allocateXLarge): Deleted.
(bmalloc::VMHeap::findXLarge): Deleted.
(bmalloc::VMHeap::deallocateXLarge): Deleted. Moved XLarge allocation
from VMHeap to Heap. Since the purpose of the VMHeap is to cache VM
ranges, and the VMHeap never caches any XLarge ranges, it doesn't
really make sense for the VMHeap to be involved.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178727 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[mac] Fix test expectations after r178188
commit-queue@webkit.org [Tue, 20 Jan 2015 19:28:13 +0000 (19:28 +0000)]
[mac] Fix test expectations after r178188
https://bugs.webkit.org/show_bug.cgi?id=140641

Patch by Jeremy Jones <jeremyj@apple.com> on 2015-01-20
Reviewed by Alexey Proskuryakov.

Remove references to removed tests.

* platform/mac/TestExpectations:
removed reference to fast/workers/storage/use-same-database-in-page-and-workers.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix failed to build for Linux/MIPS64EL
berto@igalia.com [Tue, 20 Jan 2015 19:12:24 +0000 (19:12 +0000)]
Fix failed to build for Linux/MIPS64EL
https://bugs.webkit.org/show_bug.cgi?id=124370

Patch by YunQiang Su <wzssyqa@gmail.com> on 2015-01-20
Reviewed by Darin Adler.

Add MIPS64EL support.

* wtf/Platform.h:
* wtf/dtoa/utils.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd a way to collect scrolling performance data (viewport tile coverage) with UI...
simon.fraser@apple.com [Tue, 20 Jan 2015 18:40:33 +0000 (18:40 +0000)]
Add a way to collect scrolling performance data (viewport tile coverage) with UI-side compositing
https://bugs.webkit.org/show_bug.cgi?id=140474

Reviewed by Tim Horton.
Source/WebCore:

Add accessors for standard names for container CALayer for each of the tile grids,
and when tile grids are swapped, update those names as appropriate.

* WebCore.exp.in:
* platform/graphics/ca/TileController.cpp:
(WebCore::TileController::tileGridContainerLayerName):
(WebCore::TileController::zoomedOutTileGridContainerLayerName):
(WebCore::TileController::setContentsScale):
* platform/graphics/ca/TileController.h:
* platform/graphics/ca/TileGrid.cpp:
(WebCore::TileGrid::TileGrid):
(WebCore::TileGrid::setIsZoomedOutTileGrid):
* platform/graphics/ca/TileGrid.h:

Source/WebKit2:

Add a private method to enable scrolling data collection to WKWebView. When enabled, create
a RemoteLayerTreeScrollingPerformanceData object that collects "blank pixel" data on
every layer tree commit and scroll, and stores them in a vector. A second SPI call
allows retrieval of an NSArray of this data.

To allow RemoteLayerTreeScrollingPerformanceData to find the correct layer which
contains the main tile grid, we set a layer name on the appropriate layer (even
in release builds).

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView visibleRectInScreenCoordinates]):
(-[WKWebView _didCommitLayerTree:]):
(-[WKWebView scrollViewDidScroll:]):
(-[WKWebView _setScrollPerformanceDataCollectionEnabled:]):
(-[WKWebView _scrollPerformanceDataCollectionEnabled]):
(-[WKWebView _scrollPerformanceData]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
* UIProcess/Cocoa/RemoteLayerTreeScrollingPerformanceData.h: Added.
(WebKit::RemoteLayerTreeScrollingPerformanceData::BlankPixelCount::BlankPixelCount):
* UIProcess/Cocoa/RemoteLayerTreeScrollingPerformanceData.mm: Added.
(WebKit::RemoteLayerTreeScrollingPerformanceData::RemoteLayerTreeScrollingPerformanceData):
(WebKit::RemoteLayerTreeScrollingPerformanceData::~RemoteLayerTreeScrollingPerformanceData):
(WebKit::RemoteLayerTreeScrollingPerformanceData::didCommitLayerTree):
(WebKit::RemoteLayerTreeScrollingPerformanceData::didScroll):
(WebKit::RemoteLayerTreeScrollingPerformanceData::BlankPixelCount::canCoalesce):
(WebKit::RemoteLayerTreeScrollingPerformanceData::appendBlankPixelCount):
(WebKit::RemoteLayerTreeScrollingPerformanceData::data):
(WebKit::findTileGridContainerLayer):
(WebKit::RemoteLayerTreeScrollingPerformanceData::blankPixelCount):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::setScrollPerformanceDataCollectionEnabled):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::scrollPerformanceDataCollectionEnabled):
(WebKit::WebPageProxy::scrollingPerformanceData):
* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMake ASan do bounds checks for WTF::Vector
ap@apple.com [Tue, 20 Jan 2015 18:27:48 +0000 (18:27 +0000)]
Make ASan do bounds checks for WTF::Vector
https://bugs.webkit.org/show_bug.cgi?id=140631
rdar://problem/19437718

Reviewed by Darin Adler.

* wtf/SizeLimits.cpp: Disable Vector object size checks for ASan enabled builds.

* wtf/Vector.h:
(WTF::VectorBuffer::endOfBuffer):
(WTF::Vector::Vector):
(WTF::Vector::~Vector):
(WTF::Vector::swap):
(WTF::OverflowHandler>::Vector):
(WTF::=):
(WTF::OverflowHandler>::fill):
(WTF::OverflowHandler>::resize):
(WTF::OverflowHandler>::shrink):
(WTF::OverflowHandler>::grow):
(WTF::OverflowHandler>::asanSetInitialBufferSizeTo):
(WTF::OverflowHandler>::asanSetBufferSizeToFullCapacity):
(WTF::OverflowHandler>::asanBufferSizeWillChangeTo):
(WTF::OverflowHandler>::reserveCapacity):
(WTF::OverflowHandler>::tryReserveCapacity):
(WTF::OverflowHandler>::shrinkCapacity):
(WTF::OverflowHandler>::append):
(WTF::OverflowHandler>::tryAppend):
(WTF::OverflowHandler>::appendSlowCase):
(WTF::OverflowHandler>::uncheckedAppend):
(WTF::OverflowHandler>::insert):
(WTF::OverflowHandler>::remove):
(WTF::OverflowHandler>::releaseBuffer):

* wtf/Compiler.h: Changed ASAN_ENABLED macro fallback value from false to 0,
MSVC was not happy with false.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agofast/hidpi/image-srcset-change-dynamically-from-js-2x.html is flaky
ap@apple.com [Tue, 20 Jan 2015 18:26:00 +0000 (18:26 +0000)]
fast/hidpi/image-srcset-change-dynamically-from-js-2x.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=140649

fast/dom/HTMLImageElement/sizes/image-sizes-js-change.html is failing on some bots
https://bugs.webkit.org/show_bug.cgi?id=134769

Reviewed by Darin Adler.

Streamline resources/srcset-helper.js and remove races.

* TestExpectations: Unskip fast/dom/HTMLImageElement/sizes/image-sizes-js-change.html.

* fast/hidpi/resources/srcset-helper.js: Deleted. We aleady had a copy in /resources,
no need for two copies.

* resources/srcset-helper.js: This script used to depend on setBackingScaleFactor
invoke its callback really fast, which is not guaranteed. Also, it had broken logic
that used non-existent window.deviceScaleFactor.

* fast/dom/HTMLImageElement/sizes/image-sizes-2x.html:
* fast/dom/HTMLImageElement/sizes/image-sizes-js-change-expected.txt:
* fast/dom/HTMLImageElement/sizes/image-sizes-js-change.html:
* fast/dom/HTMLImageElement/sizes/image-sizes-js-innerhtml-expected.txt:
* fast/dom/HTMLImageElement/sizes/image-sizes-js-innerhtml.html:
Updated to run the tests from runTest() function, not a load event handler.
Where appropriate, changed from testRunner.dumpResourceLoadCallbacks() to
testRunner.dumpResourceResponseMIMETypes(), because the latter doesn't unnecessarily
include reloaded scripts. It feels somewhat hacky, but the hack is already used in
fast/hidpi, and it improves output.

* fast/hidpi/image-srcset-change-dynamically-from-js-1x.html:
* fast/hidpi/image-srcset-change-dynamically-from-js-2x.html:
* fast/hidpi/image-srcset-fraction-1.5x.html:
* fast/hidpi/image-srcset-fraction.html:
* fast/hidpi/image-srcset-intrinsic-size.html:
* fast/hidpi/image-srcset-invalid-descriptor.html:
* fast/hidpi/image-srcset-invalid-inputs-except-one.html:
* fast/hidpi/image-srcset-nomodifier.html:
* fast/hidpi/image-srcset-only-src-attribute.html:
* fast/hidpi/image-srcset-remove-dynamically-from-js.html:
* fast/hidpi/image-srcset-same-alternative-for-both-attributes.html:
* fast/hidpi/image-srcset-simple-1x.html:
* fast/hidpi/image-srcset-simple-2x.html:
* fast/hidpi/image-srcset-space-left-nomodifier.html:
* fast/hidpi/image-srcset-space-prefix-nomodifier.html:
* fast/hidpi/image-srcset-space-suffix-nomodifier.html:
* fast/hidpi/image-srcset-space-surrounded-nomodifier.html:
* fast/hidpi/image-srcset-src-selection-1x-both.html:
* fast/hidpi/image-srcset-src-selection-1x.html:
* fast/hidpi/image-srcset-src-selection-2x.html:
* fast/hidpi/image-srcset-viewport-modifiers.html:
Updated to run the tests from runTest() function, not a load event handler.

* http/tests/loading/sizes/preload-image-sizes-2x-expected.txt: Updated results
for srcset-helper.js now always starting the redirect after the load is fully finished.

* svg/css/svg-resource-fragment-identifier-img-src.html: Updated for the unified
location of the script.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAttempt to fix Mountain Lion and EFL tests.
weinig@apple.com [Tue, 20 Jan 2015 17:51:29 +0000 (17:51 +0000)]
Attempt to fix Mountain Lion and EFL tests.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
Disable Process-per-tab and network process on Mountain Lion and EFL.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove non-Windows cruft from WebKit/win/Plugins
ossy@webkit.org [Tue, 20 Jan 2015 17:34:15 +0000 (17:34 +0000)]
Remove non-Windows cruft from WebKit/win/Plugins
https://bugs.webkit.org/show_bug.cgi?id=140675

Reviewed by Anders Carlsson.

Source/WebKit/win:

* Plugins/PluginDatabase.cpp:
(WebCore::PluginDatabase::defaultPluginDirectories):
(WebCore::PluginDatabase::isPreferredPluginDirectory):
(WebCore::PluginDatabase::getPluginPathsInDirectories):
* Plugins/PluginDebug.cpp:
(WebCore::prettyNameForNPNVariable):
(WebCore::prettyNameForNPPVariable):
(WebCore::prettyNameForDrawingModel): Deleted.
(WebCore::prettyNameForEventModel): Deleted.
* Plugins/PluginDebug.h:
* Plugins/PluginPackage.cpp:
(WebCore::PluginPackage::compareFileVersion):
(WebCore::PluginPackage::determineQuirks): Deleted.
(WebCore::PluginPackage::determineModuleVersionFromDescription): Deleted.
(WebCore::PluginPackage::hash): Deleted.
(WebCore::PluginPackage::equal): Deleted.
* Plugins/PluginView.cpp:
(WebCore::PluginView::setFrameRect):
(WebCore::PluginView::handleEvent):
(WebCore::PluginView::stop):
(WebCore::PluginView::setValue):
(WebCore::PluginView::PluginView):
* Plugins/PluginView.h:
(WebCore::PluginView::platformPluginWidget): Deleted.
(WebCore::PluginView::setPlatformPluginWidget): Deleted.
* Plugins/PluginViewWin.cpp:
(windowHandleForPageClient):
(WebCore::PluginView::hookedBeginPaint):
(WebCore::PluginView::hookedEndPaint):
(WebCore::hook):
(WebCore::registerPluginView):
(WebCore::PluginView::paint):
(WebCore::PluginView::handleMouseEvent):
(WebCore::PluginView::setNPWindowRect):
(WebCore::PluginView::platformStart):
(WebCore::PluginView::snapshot):
* Plugins/npapi.cpp:
(NPN_InvalidateRect):

Source/WTF:

* wtf/FeatureDefines.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix unused-private-field warning in IconEfl.cpp
ossy@webkit.org [Tue, 20 Jan 2015 17:25:13 +0000 (17:25 +0000)]
Fix unused-private-field warning in IconEfl.cpp
https://bugs.webkit.org/show_bug.cgi?id=140676

Reviewed by Darin Adler.

* platform/graphics/Icon.h:
* platform/graphics/efl/IconEfl.cpp:
(WebCore::Icon::Icon): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178718 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix unused-private-field warning in FontCustomPlatformDataFreeType.cpp
ossy@webkit.org [Tue, 20 Jan 2015 17:23:16 +0000 (17:23 +0000)]
Fix unused-private-field warning in FontCustomPlatformDataFreeType.cpp
https://bugs.webkit.org/show_bug.cgi?id=140677

Reviewed by Martin Robinson.

* platform/graphics/cairo/FontCustomPlatformData.h:
* platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
(WebCore::FontCustomPlatformData::FontCustomPlatformData):
(WebCore::FontCustomPlatformData::~FontCustomPlatformData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoPlugin content not loaded.
commit-queue@webkit.org [Tue, 20 Jan 2015 17:21:32 +0000 (17:21 +0000)]
Plugin content not loaded.
https://bugs.webkit.org/show_bug.cgi?id=140672

Patch by peavo@outlook.com <peavo@outlook.com> on 2015-01-20
Reviewed by Brent Fulgham.

It seems this is caused by a std::unique_ptr in CClass::methodNamed being moved,
resetting its raw pointer. The raw pointer, which now is null, is then returned
from the method.

* bridge/c/c_class.cpp:
(JSC::Bindings::CClass::methodNamed):
(JSC::Bindings::CClass::fieldNamed):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178716 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove SVGElementInstanceList, m_instanceUnderMouse, DUMP_INSTANCE_TREE, DUMP_SHADOW_TREE
darin@apple.com [Tue, 20 Jan 2015 17:11:30 +0000 (17:11 +0000)]
Remove SVGElementInstanceList, m_instanceUnderMouse, DUMP_INSTANCE_TREE, DUMP_SHADOW_TREE
https://bugs.webkit.org/show_bug.cgi?id=140679

Reviewed by Anders Carlsson.

Source/WebCore:

First step in removing the SVG instance tree.
All based on redoing the same excellent work Rob Buis did to remove this in Blink in crbug.com/313438.

* CMakeLists.txt: Removed the source files.
* DerivedSources.cpp: Ditto.
* DerivedSources.make: Ditto.
* WebCore.vcxproj/WebCore.vcxproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.

* page/EventHandler.cpp:
(WebCore::EventHandler::clear): Removed code to set unused m_instanceUnderMouse.
(WebCore::EventHandler::updateMouseEventTargetNode): Ditto.
* page/EventHandler.h: Removed m_instanceUnderMouse.

* svg/SVGAllInOne.cpp: Removed the source files.
* svg/SVGElementInstance.cpp:
(WebCore::SVGElementInstance::childNodes): Deleted.
* svg/SVGElementInstance.h: Removed childNodes.
* svg/SVGElementInstance.idl: Ditto.
* svg/SVGElementInstanceList.cpp: Removed.
* svg/SVGElementInstanceList.h: Removed.
* svg/SVGElementInstanceList.idl: Removed.
* svg/SVGUseElement.cpp:
(WebCore::dumpInstanceTree): Deleted.
(WebCore::SVGUseElement::buildShadowAndInstanceTree): Removed DUMP_INSTANCE_TREE and
DUMP_SHADOW_TREE code.

Tools:

* Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
Removed a reference to SVGElementInstanceList.

LayoutTests:

* fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
* js/dom/global-constructors-attributes-expected.txt:
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/ios-sim-deprecated/fast/dom/Window/window-property-descriptors-expected.txt:
* platform/ios-sim-deprecated/fast/js/global-constructors-expected.txt:
* platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:
* svg/custom/global-constructors-expected.txt:
* svg/custom/script-tests/global-constructors.js:
* svg/dom/svg2-inheritance-expected.txt:
* svg/dom/svg2-inheritance.html:
Removed all tests and results referencing SVGElementInstanceList.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178715 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Replay: code generator should take supplemental specifications and allow cross...
burg@cs.washington.edu [Tue, 20 Jan 2015 16:52:18 +0000 (16:52 +0000)]
Web Replay: code generator should take supplemental specifications and allow cross-framework references
https://bugs.webkit.org/show_bug.cgi?id=136312

Reviewed by Joseph Pecoraro.

Source/JavaScriptCore:

Some types are shared between replay inputs from different frameworks.
Previously, these type declarations were duplicated in every input
specification file in which they were used. This caused some type encoding
traits to be emitted twice if used from WebCore inputs and WebKit2 inputs.

This patch teaches the replay inputs code generator to accept multiple
input specification files. Inputs can freely reference types from other
frameworks without duplicating declarations.

On the code generation side, the model could contain types and inputs from
frameworks that are not the target framework. Only generate code for the
target framework.

To properly generate cross-framework type encoding traits, use
Type.encoding_type_argument in more places, and add the export macro for WebCore
and the Test framework.

Adjust some tests so that enum coverage is preserved by moving the enum types
into "Test" (the target framework for tests).

* JavaScriptCore.vcxproj/copy-files.cmd:
For Windows, copy over JSInputs.json as if it were a private header.

* JavaScriptCore.xcodeproj/project.pbxproj: Make JSInputs.json a private header.
* replay/JSInputs.json:
Put all primitive types and WTF types in this specification file.

* replay/scripts/CodeGeneratorReplayInputs.py:
(Input.__init__):
(InputsModel.__init__): Keep track of the input's framework.
(InputsModel.parse_specification): Parse the framework here. Adjust to new format,
and allow either types or inputs to be missing from a single file.

(InputsModel.parse_type_with_framework):
(InputsModel.parse_input_with_framework):
(Generator.should_generate_item): Added helper method.
(Generator.generate_header): Filter inputs to generate.
(Generator.generate_implementation): Filter inputs to generate.
(Generator.generate_enum_trait_declaration): Filter enums to generate.
Add WEBCORE_EXPORT macro to enum encoding traits.

(Generator.generate_for_each_macro): Filter inputs to generate.
(Generator.generate_enum_trait_implementation): Filter enums to generate.
(generate_from_specifications): Added.
(generate_from_specifications.parse_json_from_file):
(InputsModel.parse_toplevel): Deleted.
(InputsModel.parse_type_with_framework_name): Deleted.
(InputsModel.parse_input): Deleted.
(generate_from_specification): Deleted.
* replay/scripts/CodeGeneratorReplayInputsTemplates.py:
* replay/scripts/tests/expected/fail-on-no-inputs.json-error: Removed.
* replay/scripts/tests/expected/fail-on-no-types.json-error: Removed.
* replay/scripts/tests/expected/generate-enum-encoding-helpers-with-guarded-values.json-TestReplayInputs.cpp:
* replay/scripts/tests/expected/generate-enum-encoding-helpers-with-guarded-values.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-enum-encoding-helpers.json-TestReplayInputs.cpp:
* replay/scripts/tests/expected/generate-enum-encoding-helpers.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-enum-with-guard.json-TestReplayInputs.cpp:
* replay/scripts/tests/expected/generate-enum-with-guard.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-enums-with-same-base-name.json-TestReplayInputs.cpp:
* replay/scripts/tests/expected/generate-enums-with-same-base-name.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-input-with-guard.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-input-with-vector-members.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-inputs-with-flags.json-TestReplayInputs.h:
* replay/scripts/tests/expected/generate-memoized-type-modes.json-TestReplayInputs.h:
* replay/scripts/tests/fail-on-c-style-enum-no-storage.json:
* replay/scripts/tests/fail-on-duplicate-enum-type.json:
* replay/scripts/tests/fail-on-duplicate-input-names.json:
* replay/scripts/tests/fail-on-duplicate-type-names.json:
* replay/scripts/tests/fail-on-enum-type-missing-values.json:
* replay/scripts/tests/fail-on-missing-input-member-name.json:
* replay/scripts/tests/fail-on-missing-input-name.json:
* replay/scripts/tests/fail-on-missing-input-queue.json:
* replay/scripts/tests/fail-on-missing-type-mode.json:
* replay/scripts/tests/fail-on-missing-type-name.json:
* replay/scripts/tests/fail-on-no-inputs.json:
Removed, no longer required to be in a single file.

* replay/scripts/tests/fail-on-no-types.json:
Removed, no longer required to be in a single file.

* replay/scripts/tests/fail-on-unknown-input-queue.json:
* replay/scripts/tests/fail-on-unknown-member-type.json:
* replay/scripts/tests/fail-on-unknown-type-mode.json:
* replay/scripts/tests/generate-enum-encoding-helpers-with-guarded-values.json:
* replay/scripts/tests/generate-enum-encoding-helpers.json:
* replay/scripts/tests/generate-enum-with-guard.json:
Include enums that are and are not generated.

* replay/scripts/tests/generate-enums-with-same-base-name.json:
* replay/scripts/tests/generate-event-loop-shape-types.json:
* replay/scripts/tests/generate-input-with-guard.json:
* replay/scripts/tests/generate-input-with-vector-members.json:
* replay/scripts/tests/generate-inputs-with-flags.json:
* replay/scripts/tests/generate-memoized-type-modes.json:

Source/WebCore:

Changes covered by existing input generator tests.

* DerivedSources.make: Add JSInputs.json as supplemental specification.
* replay/WebInputs.json: Moved common types to JSInputs.json.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] WebViewTest should prohibit overriding initializeWebExtensions()
commit-queue@webkit.org [Tue, 20 Jan 2015 16:49:33 +0000 (16:49 +0000)]
[GTK] WebViewTest should prohibit overriding initializeWebExtensions()
https://bugs.webkit.org/show_bug.cgi?id=140028

Patch by Michael Catanzaro <mcatanzaro@igalia.com> on 2015-01-20
Reviewed by Carlos Garcia Campos.

This won't work as expected, since this function is called before the
WebViewTest constructor completes.

* TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix unused-const-variable warning in RenderLayerCompositor.cpp
ossy@webkit.org [Tue, 20 Jan 2015 16:48:46 +0000 (16:48 +0000)]
Fix unused-const-variable warning in RenderLayerCompositor.cpp
https://bugs.webkit.org/show_bug.cgi?id=140678

Reviewed by Simon Fraser.

* rendering/RenderLayerCompositor.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[gstreamer] Fix expression result unused warning in GRefPtrGStreamer.cpp
ossy@webkit.org [Tue, 20 Jan 2015 16:24:08 +0000 (16:24 +0000)]
[gstreamer] Fix expression result unused warning in GRefPtrGStreamer.cpp
https://bugs.webkit.org/show_bug.cgi?id=140671

Reviewed by Philippe Normand.

* platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
(WTF::refGPtr<GstToc>):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSupport "plus-darker" in mix-blend mode
dino@apple.com [Tue, 20 Jan 2015 16:03:53 +0000 (16:03 +0000)]
Support "plus-darker" in mix-blend mode
https://bugs.webkit.org/show_bug.cgi?id=140646
<rdar://problem/19523370>

Reviewed by Simon Fraser.

Source/WebCore:

Support the "plus-darker" blending mode to CSS.
See: https://lists.w3.org/Archives/Public/public-fx/2015JanMar/0021.html

Test: css3/blending/svg-blend-plus-darker.html

* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue): mix-blend-mode can now accept
the new keyword.
* css/CSSPrimitiveValueMappings.h: Add the mappings.
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator BlendMode):
* platform/graphics/GraphicsTypes.cpp: Add the new GraphicsType.
* platform/graphics/GraphicsTypes.h:
* platform/graphics/ca/mac/PlatformCAFiltersMac.mm: Map to the CA compositing filter.
(PlatformCAFilters::setBlendingFiltersOnLayer):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::setPlatformCompositeOperation): Map to the CG blending flag.

Source/WebKit2:

Output the appropriate blending type when logging.

* Shared/mac/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTextStream::operator<<):

LayoutTests:

Add tests and new expected results for plus-darker.

* css3/blending/blend-mode-property-parsing-expected.txt:
* css3/blending/blend-mode-simple-composited.html:
* css3/blending/blend-mode-simple.html:
* css3/blending/script-tests/blend-mode-property-parsing.js:
* css3/blending/svg-blend-plus-darker.html: Added.
* platform/mac/css3/blending/blend-mode-simple-composited-expected.png:
* platform/mac/css3/blending/blend-mode-simple-composited-expected.txt:
* platform/mac/css3/blending/blend-mode-simple-expected.png:
* platform/mac/css3/blending/blend-mode-simple-expected.txt:
* platform/mac/css3/blending/svg-blend-plus-darker-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoconfigure-xcode-for-ios-development needs to update iPhoneOS SDK
ddkilzer@apple.com [Tue, 20 Jan 2015 15:51:58 +0000 (15:51 +0000)]
configure-xcode-for-ios-development needs to update iPhoneOS SDK
<http://webkit.org/b/140661>

Reviewed by Daniel Bates.

* Scripts/configure-xcode-for-ios-development: Add for() loop to
run createXcodeSpecificationFilesForSDKIfNeeded() for both
"iphoneos" and "iphonesimulator" SDKs.
(createXcodeSpecificationFilesForSDKIfNeeded): Extracted from
the main body of the script.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Cannot compile 2.7.3 on PowerPC machines
carlosgc@webkit.org [Tue, 20 Jan 2015 14:01:31 +0000 (14:01 +0000)]
[GTK] Cannot compile 2.7.3 on PowerPC machines
https://bugs.webkit.org/show_bug.cgi?id=140616

Include climits for INT_MAX and wtf/DataLog.h for dataLogF

Patch by Tomas Popela <tpopela@redhat.com> on 2015-01-20
Reviewed by Csaba Osztrogon√°c.

* runtime/BasicBlockLocation.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed. Update OptionsGTK.cmake and NEWS for 2.7.4 release.
carlosgc@webkit.org [Tue, 20 Jan 2015 13:43:46 +0000 (13:43 +0000)]
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.4 release.

.:

* Source/cmake/OptionsGTK.cmake: Bump version numbers.

Source/WebKit2:

* gtk/NEWS: Add release notes for 2.7.4.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL] [GTK] Change/supplement expectations for two accessibility layout tests.
commit-queue@webkit.org [Tue, 20 Jan 2015 13:00:15 +0000 (13:00 +0000)]
[EFL] [GTK] Change/supplement expectations for two accessibility layout tests.
https://bugs.webkit.org/show_bug.cgi?id=140620

Unreviewed EFL gardening.

Patch by Andrzej Badowski <a.badowski@samsung.com> on 2015-01-20

* platform/efl/TestExpectations:
* platform/efl/accessibility/media-element-expected.txt:
  Currently, accessibility/media-element.html is positive for EFL with a new, richer description.
* platform/efl/accessibility/render-counter-text-expected.txt: Added.
  Omitted file by r178508.
* platform/gtk/accessibility/render-counter-text-expected.txt: Added.
  Omitted file by r178508.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178705 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix 'register' storage class specifier is deprecated warning
ossy@webkit.org [Tue, 20 Jan 2015 12:33:38 +0000 (12:33 +0000)]
Fix 'register' storage class specifier is deprecated warning
https://bugs.webkit.org/show_bug.cgi?id=140669

Reviewed by Carlos Garcia Campos.

* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcLoop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178704 268f45cc-cd09-0410-ab3c-d52691b4dbfc