WebKit-https.git
5 years ago[Win] Pass entire request (rather than just URL) to clients of WebCoreAVCFResourceLoader
jer.noble@apple.com [Thu, 4 Feb 2016 00:00:24 +0000 (00:00 +0000)]
[Win] Pass entire request (rather than just URL) to clients of WebCoreAVCFResourceLoader
https://bugs.webkit.org/show_bug.cgi?id=153653

Reviewed by Brent Fulgham.

This will allow those clients to see the byte-range request ("Range:") header and respond
appropriately.

* platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp:
(WebCore::WebCoreAVCFResourceLoader::startLoading):

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

5 years agoYosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite...
jer.noble@apple.com [Wed, 3 Feb 2016 23:53:31 +0000 (23:53 +0000)]
Yosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite and prior.

Source/WebCore:

* platform/network/cocoa/WebCoreNSURLSession.h:
* platform/network/cocoa/WebCoreNSURLSession.mm:
(-[WebCoreNSURLSessionDataTask initWithSession:identifier:URL:]):
(-[WebCoreNSURLSessionDataTask initWithSession:identifier:request:]):

Tools:

* TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:

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

5 years ago[Tools] Remove $additionalCMakeArgs variable because without this variable --cmakearg...
jh718.park@samsung.com [Wed, 3 Feb 2016 23:06:52 +0000 (23:06 +0000)]
[Tools] Remove $additionalCMakeArgs variable because without this variable --cmakeargs options works well
https://bugs.webkit.org/show_bug.cgi?id=153827

Reviewed by Michael Catanzaro.

When an array is passed to subroutines as argument in perl,
a list containing its element is returned from the array.
Currently @$ arguments are being passed, then it is going to be one list
including all the elements not only from @ but also from $.
As a result, --cmakeargs option's value is included in @cmakeArgs
at generateBuildSystemFromCMakeProject subroutine,
so $additionalCMakeArgs doesn't needed anymore.

* Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):

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

5 years agoREGRESSION: LayoutTest http/tests/plugins/visible_plugins.html failing on Yosemite WK1
bfulgham@apple.com [Wed, 3 Feb 2016 23:01:23 +0000 (23:01 +0000)]
REGRESSION: LayoutTest http/tests/plugins/visible_plugins.html failing on Yosemite WK1
https://bugs.webkit.org/show_bug.cgi?id=153752

Reviewed by Alexey Proskuryakov.

Revise test to skip the plugins we expect to be displayed, and only display plugins
that are surprising.

* http/tests/plugins/visible_plugins.html:
* http/tests/plugins/visible_plugins-expected.txt:
* platform/mac-wk2/http/tests/plugins/visible_plugins-expected.txt: Removed.

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

5 years ago[EME][Mac] MediaKeys.createSession() fails with initData containing a contentId whose...
jer.noble@apple.com [Wed, 3 Feb 2016 22:59:39 +0000 (22:59 +0000)]
[EME][Mac] MediaKeys.createSession() fails with initData containing a contentId whose length is > 1/2 the initData.
https://bugs.webkit.org/show_bug.cgi?id=153517
<rdar://problem/24303782>

Reviewed by Eric Carlson.

The length of contentId is given in bytes, not Uint16 characters. Use the former when extracting
the contentId string from the initData.

* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::extractKeyURIKeyIDAndCertificateFromInitData):

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

5 years ago[Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by...
jer.noble@apple.com [Wed, 3 Feb 2016 22:57:43 +0000 (22:57 +0000)]
[Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by lower level frameworks
https://bugs.webkit.org/show_bug.cgi?id=153669

Reviewed by Alex Christensen.

Source/WebCore:

API Test: WebCore.WebCoreNSURLSession

Add a NSURLSession-like object, which wraps a CachedResourceLoader and CachedRawResource, which we can
hand to lower-level frameworks, so that network loads by those frameworks use WebKit's loader.

* platform/network/cocoa/WebCoreNSURLSession.h: Added.
* platform/network/cocoa/WebCoreNSURLSession.mm: Added.
(-[WebCoreNSURLSession initWithResourceLoader:delegate:delegateQueue:]):
(-[WebCoreNSURLSession dealloc]):
(-[WebCoreNSURLSession copyWithZone:]):
(-[WebCoreNSURLSession delegateQueue]):
(-[WebCoreNSURLSession configuration]):
(-[WebCoreNSURLSession loader]):
(-[WebCoreNSURLSession finishTasksAndInvalidate]):
(-[WebCoreNSURLSession invalidateAndCancel]):
(-[WebCoreNSURLSession resetWithCompletionHandler:]):
(-[WebCoreNSURLSession flushWithCompletionHandler:]):
(-[WebCoreNSURLSession getTasksWithCompletionHandler:]):
(-[WebCoreNSURLSession getAllTasksWithCompletionHandler:]):
(-[WebCoreNSURLSession dataTaskWithRequest:]):
(-[WebCoreNSURLSession dataTaskWithURL:]):
(-[WebCoreNSURLSession uploadTaskWithRequest:fromFile:]):
(-[WebCoreNSURLSession uploadTaskWithRequest:fromData:]):
(-[WebCoreNSURLSession uploadTaskWithStreamedRequest:]):
(-[WebCoreNSURLSession downloadTaskWithRequest:]):
(-[WebCoreNSURLSession downloadTaskWithURL:]):
(-[WebCoreNSURLSession downloadTaskWithResumeData:]):
(-[WebCoreNSURLSession streamTaskWithHostName:port:]):
(-[WebCoreNSURLSession streamTaskWithNetService:]):
(-[WebCoreNSURLSession isKindOfClass:]):

Add a C++ class which can act as a CachedRawResourceClient, passing the results back to a WebCoreNSURLSessionDataTask:

(WebCore::WebCoreNSURLSessionDataTaskClient::WebCoreNSURLSessionDataTaskClient):
(WebCore::WebCoreNSURLSessionDataTaskClient::dataSent):
(WebCore::WebCoreNSURLSessionDataTaskClient::responseReceived):
(WebCore::WebCoreNSURLSessionDataTaskClient::dataReceived):
(WebCore::WebCoreNSURLSessionDataTaskClient::redirectReceived):
(WebCore::WebCoreNSURLSessionDataTaskClient::notifyFinished):

Add a NSURLSessionDataTask-like object, which takes a request, then uses it to create and wrap a CachedRawResource.
Becase NSURSessionDataTask is intended to be used off-main-thread, care must be taken to dispatch back to the main-
(or web-) thread before calling CachedRawResource functions.

(-[WebCoreNSURLSessionDataTask initWithSession:identifier:URL:]):
(-[WebCoreNSURLSessionDataTask initWithSession:identifier:request:]):
(-[WebCoreNSURLSessionDataTask copyWithZone:]):
(-[WebCoreNSURLSessionDataTask _restart]):
(-[WebCoreNSURLSessionDataTask _cancel]):
(-[WebCoreNSURLSessionDataTask _finish]):
(-[WebCoreNSURLSessionDataTask _setDefersLoading:]):
(-[WebCoreNSURLSessionDataTask cancel]):
(-[WebCoreNSURLSessionDataTask suspend]):
(-[WebCoreNSURLSessionDataTask resume]):
(-[WebCoreNSURLSessionDataTask _timingData]):
(-[WebCoreNSURLSessionDataTask resource:sentBytes:totalBytesToBeSent:]):
(-[WebCoreNSURLSessionDataTask resource:receivedResponse:]):
(-[WebCoreNSURLSessionDataTask resource:receivedData:length:]):
(-[WebCoreNSURLSessionDataTask resource:receivedRedirect:request:]):
(-[WebCoreNSURLSessionDataTask resourceFinished:]):
* WebCore.xcodeproj/project.pbxproj: Add new files to project.

Tools:

Add an API test for WebCoreNSURLSession, testing that it behaves like a regulare NSURLSession, including
calling appropriate NSURLSessionDelegate callbacks.

Drive-by fix: Add a FeatureDefines.xcconfig to TestWebKitAPI.  Without this, the ENABLE macros in WebCore
header files will not match the one used when compiling WebCore, leading to strange crashes and weird
inconsistencies when calling, e.g., inline methods.

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added.
* TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm: Added.
(-[TestNSURLSessionLoaderDelegate webView:didCommitLoadForFrame:]):
(-[TestNSURLSessionDataDelegate URLSession:task:didCompleteWithError:]):
(-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
(-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveData:]):
(TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
(TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
(TestWebKitAPI::TEST_F):

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

5 years agoConvert another batch of String::lower callsites to something better, typically conve...
darin@apple.com [Wed, 3 Feb 2016 22:08:57 +0000 (22:08 +0000)]
Convert another batch of String::lower callsites to something better, typically convertToASCIILowercase
https://bugs.webkit.org/show_bug.cgi?id=153789

Reviewed by Sam Weinig.

Source/WebCore:

* dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::isXMLMIMEType): Use equalLettersIgnoringASCIICase
and the boolean argument to endsWith to ignore ASCII case.
(WebCore::DOMImplementation::isTextMIMEType): Ditto. Also simplified the logic
by removing an if statement.

* dom/Document.cpp:
(WebCore::isSeparator): Deleted. Moved to WindowFeatures.cpp.
(WebCore::processArguments): Ditto.
(WebCore::Document::processViewport): Call the processFeaturesString function
from WindowFeatures.h; the code here was originally just a pasted copy of that code!
(WebCore::Document::processFormatDetection): Ditto.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::toEncodingMimeType): Remove now-unneeded
lowercasing of MIME type before calling isSupportedImageMIMETypeForEncoding,
since the MIME type registry now ignores ASCII case. Use convertToASCIILowercase
on the return value, to preserve behavior.
(WebCore::HTMLCanvasElement::toDataURL): Minor coding style tweaks.

* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::parseAttribute): Use convertToASCIILowercase for
the service type here.

* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::bestFitSourceFromPictureElement): Remove now-unneeded
lowercasing since MIME type registry now ignores ASCII case. And use
equalLettersIgnoringASCIICase for the case here.

* html/HTMLInputElement.cpp:
(WebCore::parseAcceptAttribute): Use convertToASCIILowercase for the type here.

* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::parseAttribute): Use convertToASCIILowercase for the
media value here.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::canPlayType): Use convertToASCIILowercase for the
content type here.
(WebCore::HTMLMediaElement::selectNextSourceChild): Ditto.

* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::parseAttribute): Use convertToASCIILowercase for
the service type here.

* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::parseAttribute): Use convertToASCIILowercase for
the kind here.
(WebCore::HTMLTrackElement::ensureTrack): Ditto. Also use fastGetAttribute
since this is neither the style attribute nor an animatable SVG attribute.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::createCaseMap): Use convertToASCIILowercase for the local names here.

* inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::patchNode): Use containsIgnoringASCIICase instead
of combining lower with find == notFound here.
(WebCore::nodeName): Use convertToASCIILowercase here.

* inspector/InspectorOverlay.cpp:
(WebCore::buildObjectForElementData): Use convertToASCIILowercase for node
name here.

* inspector/InspectorPageAgent.cpp:
(WebCore::createXHRTextDecoder): Remove a now-unneeded call to lower since
DOMImplementation::isXMLMIMEType now ignores ASCII case.

* inspector/InspectorStyleSheet.cpp:
(WebCore::lowercasePropertyName): Use convertToASCIILowercase for property
names here. Also use startsWith rather than a hand-written alternative.
(WebCore::InspectorStyle::populateAllProperties): Use the return value of
the add function to avoid doing a double hash table lookp.
(WebCore::InspectorStyle::styleWithProperties): Use convertToASCIILowercase
to lowercase the property name.

* inspector/NetworkResourcesData.cpp:
(WebCore::createOtherResourceTextDecoder): Remove unneeded call to lower since
DOMImplement::isXMLMIMEType now ignores ASCII case.

* loader/CrossOriginAccessControl.cpp:
(WebCore::createAccessControlPreflightRequest): Use convertToASCIILowercase
to lowercase the access control request header field value.

* loader/cache/CachedScript.cpp:
(WebCore::CachedScript::mimeType): Use convertToASCIILowercase on the content type.

* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::languageIdentifier): Use convertToASCIILowercase on the language code.

* page/DOMWindow.cpp:
(WebCore::DOMWindow::open): Call parseWindowFeatures instead of using the
constructor for WindowFeatures.
(WebCore::DOMWindow::showModalDialog): Call parseDialogFeatures instead of
using the constructor for WindowFeatures.

* page/EventHandler.cpp:
(WebCore::findDropZone): Remove unneeded lowercasing and empty string checking,
and use the option SpaceSplitString already has to convert to lowercase.
(WebCore::EventHandler::handleAccessKey): Remove unneeded call to lower since
getElementByAccessKey now ignores case. Also tweaked coding style a bit.

* page/OriginAccessEntry.cpp:
(WebCore::OriginAccessEntry::OriginAccessEntry): Use convertToASCIILowercase
on the protocol and host.
(WebCore::OriginAccessEntry::matchesOrigin): Ditto.

* page/SecurityOrigin.cpp:
(WebCore::shouldTreatAsUniqueOrigin): Remove unneeded call to lower since
SchemeRegistry now ignores ASCII case.
(WebCore::SecurityOrigin::SecurityOrigin): Use convertToASCIILowercase on
the protocol and host.
(WebCore::SecurityOrigin::setDomainFromDOM): Use convertToASCIILowercase on
the domain.
(WebCore::SecurityOrigin::canDisplay): Remove call to lower since SchemeRegistry
now ignores ASCII case and because this now uses equalIgnoringASCIICase in
one place that used to use exact matching.

* page/WindowFeatures.cpp: Refactored so this is now some helper functions
plus a struct rather than a class.
(WebCore::isSeparator): Renamed this and removed special handling for NUL.
(WebCore::parseWindowFeatures): Moved the code that was formerly in the
WindowFeatures constructor in here. Refactored the parsing into the
processFeaturesString function, shared with the functions in Document that
do the same kind of parsing. Removed the code that converts the entire string
to lowercase before parsing.
(WebCore::processFeaturesString): Moved the improved version of this function
here from Document.cpp; more efficient because it doesn't allocate strings.
(WebCore::setWindowFeature): Changed to be a function private to this file
with internal linkage. Use equalLettersIgnoringASCIICase so we no longer
rely on converting the string to lowercase before parsing.
(WebCore::parseDialogFeatures): Similar refactoring, but also changed all
the default handling to use Optional<> instead of default values.
(WebCore::boolFeature): Changed to use option and to ignore ASCII case.
(WebCore::floatFeature): Ditto.
(WebCore::parseDialogFeaturesMap): Removed the calls to lower, which are
not needed any more.

* page/WindowFeatures.h: Added default values for all the data members,
and removed all the functions from the WindowFeatures struct. Added the two
functions for parsing window and dialog features. Also added the
processFeaturesString function so we can share it with Document.cpp.

* platform/SchemeRegistry.cpp:
(WebCore::SchemeRegistry::removeURLSchemeRegisteredAsLocal): Use
equalLettersIgnoringASCIICase to ignore ASCII case.

* platform/efl/MIMETypeRegistryEfl.cpp:
(WebCore::MIMETypeRegistry::getMIMETypeForExtension): Use a modern for loop,
and equalIgnoringASCIICase rather than calling lower.

* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::load): Use convertToASCIILowercase on MIME type and
key system.
(WebCore::MediaPlayer::generateKeyRequest): Ditto.
(WebCore::MediaPlayer::addKey): Ditto.
(WebCore::MediaPlayer::cancelKeyRequest): Ditto.

* platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
(WebCore::Extensions3DOpenGLCommon::Extensions3DOpenGLCommon): Use
convertToASCIILowercase on vendor string.

* platform/gtk/MIMETypeRegistryGtk.cpp:
(WebCore::MIMETypeRegistry::getMIMETypeForExtension): Use a modern for loop,
and equalIgnoringASCIICase rather than calling lower.

* platform/mac/PasteboardMac.mm:
(WebCore::cocoaTypeFromHTMLClipboardType): Use convertToASCIILowercase
on the type. Also did a bit of renaming and tweaking the logic.

Source/WTF:

* wtf/text/StringView.h:
(WTF::StringView::toInt): Added an overload without the out parameter.

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

5 years agoRe-sync W3C DOM web-platform-tests
cdumez@apple.com [Wed, 3 Feb 2016 21:54:36 +0000 (21:54 +0000)]
Re-sync W3C DOM web-platform-tests
https://bugs.webkit.org/show_bug.cgi?id=153831

Reviewed by Darin Adler.

Re-sync W3C DOM web-platform-tests from:
https://github.com/w3c/web-platform-tests/tree/master/dom

* web-platform-tests/dom/collections/domstringmap-supported-property-names-expected.txt: Added.
* web-platform-tests/dom/collections/domstringmap-supported-property-names.html: Added.
* web-platform-tests/dom/collections/namednodemap-supported-property-names-expected.txt: Added.
* web-platform-tests/dom/collections/namednodemap-supported-property-names.html: Added.
* web-platform-tests/dom/collections/w3c-import.log:
* web-platform-tests/dom/events/Event-dispatch-propagation-stopped-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html: Added.
* web-platform-tests/dom/events/w3c-import.log:
* web-platform-tests/dom/historical-expected.txt:
* web-platform-tests/dom/historical.html:
* web-platform-tests/dom/interface-objects-expected.txt:
* web-platform-tests/dom/interface-objects.html:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/interfaces.html:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added.
* web-platform-tests/dom/nodes/Element-classlist-expected.txt:
* web-platform-tests/dom/nodes/Element-classlist.html:
* web-platform-tests/dom/nodes/Node-contains-xhtml-expected.txt: Added.
* web-platform-tests/dom/nodes/Node-contains-xhtml.xhtml: Added.
* web-platform-tests/dom/nodes/Node-isEqualNode-expected.txt:
* web-platform-tests/dom/nodes/Node-isEqualNode-xhtml-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-expected.txt.
* web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.xhtml.
* web-platform-tests/dom/nodes/Node-isEqualNode.html: Added.
* web-platform-tests/dom/nodes/attributes-expected.txt:
* web-platform-tests/dom/nodes/attributes.html:
* web-platform-tests/dom/nodes/w3c-import.log:
* web-platform-tests/dom/ranges/Range-constructor-expected.txt: Added.
* web-platform-tests/dom/ranges/Range-constructor.html: Added.
* web-platform-tests/dom/ranges/w3c-import.log:
* web-platform-tests/dom/w3c-import.log:

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

5 years agoSkip http/tests/contentdispositionattachmentsandbox/form-submission-disabled.html...
ryanhaddad@apple.com [Wed, 3 Feb 2016 21:26:33 +0000 (21:26 +0000)]
Skip http/tests/contentdispositionattachmentsandbox/form-submission-disabled.html on ios-simulator until it can be rewritten.
https://bugs.webkit.org/show_bug.cgi?id=152993

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

5 years ago[GTK][EFL] Switch FTL to B3
mcatanzaro@igalia.com [Wed, 3 Feb 2016 21:21:46 +0000 (21:21 +0000)]
[GTK][EFL] Switch FTL to B3
https://bugs.webkit.org/show_bug.cgi?id=153478

Reviewed by Csaba Osztrogonác.

.:

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:

Source/JavaScriptCore:

Conditionalize code to make it possible to build FTL completely without LLVM.

* CMakeLists.txt:
* dfg/DFGCommon.h:
* dfg/DFGPlan.cpp:
(JSC::DFG::Plan::compileInThreadImpl):
* ftl/FTLAbbreviatedTypes.h:
* ftl/FTLFail.cpp:
(JSC::FTL::fail):
* ftl/FTLState.cpp:
(JSC::FTL::State::State):
(JSC::FTL::State::~State):

Source/WTF:

Enable B3 by default on all x86.

* wtf/Platform.h:

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

5 years agoAdd hanging-punctuation property to Web Inspector
hyatt@apple.com [Wed, 3 Feb 2016 21:10:08 +0000 (21:10 +0000)]
Add hanging-punctuation property to Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=153841

Reviewed by Zalan Bujtas.

* UserInterface/Models/CSSKeywordCompletions.js:

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

5 years agoImplement hanging-punctuation property parsing.
hyatt@apple.com [Wed, 3 Feb 2016 20:54:30 +0000 (20:54 +0000)]
Implement hanging-punctuation property parsing.
https://bugs.webkit.org/show_bug.cgi?id=18109.

Reviewed by Zalan Bujtas.

Source/WebCore:

Added parsing test in fast/css.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::renderEmphasisPositionFlagsToCSSValue):
(WebCore::hangingPunctuationToCSSValue):
(WebCore::fillRepeatToCSSValue):
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseTextIndent):
(WebCore::CSSParser::parseHangingPunctuation):
(WebCore::CSSParser::parseLineBoxContain):
* css/CSSParser.h:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator HangingPunctuation):
(WebCore::CSSPrimitiveValue::operator LineBreak):
* css/CSSPropertyNames.in:
* css/CSSValueKeywords.in:
* css/StyleBuilderConverter.h:
(WebCore::StyleBuilderConverter::convertRegionBreakInside):
(WebCore::StyleBuilderConverter::convertHangingPunctuation):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayout):
* rendering/style/RenderStyle.h:
* rendering/style/RenderStyleConstants.h:
(WebCore::operator| ):
(WebCore::operator|= ):
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:

LayoutTests:

* fast/css/parsing-hanging-punctuation-expected.txt: Added.
* fast/css/parsing-hanging-punctuation.html: Added.
* fast/css/resources/parsing-hanging-punctuation.js: Added.
(test):

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

5 years agoWeb Inspector: Uncaught exception TimelineRuler.prototype.resize no longer exists
commit-queue@webkit.org [Wed, 3 Feb 2016 20:15:05 +0000 (20:15 +0000)]
Web Inspector: Uncaught exception TimelineRuler.prototype.resize no longer exists
https://bugs.webkit.org/show_bug.cgi?id=153839

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-02-03
Reviewed by Brian Burg.

* UserInterface/Views/MemoryTimelineView.js:
(WebInspector.MemoryTimelineView.prototype.shown):
After r195995 the resize method was eliminated in favor of this approach.

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

5 years agoUse proposed credentials in authentication challenges with NetworkSession
achristensen@apple.com [Wed, 3 Feb 2016 18:58:46 +0000 (18:58 +0000)]
Use proposed credentials in authentication challenges with NetworkSession
https://bugs.webkit.org/show_bug.cgi?id=153811

Reviewed by Darin Adler.

This fixes http/tests/xmlhttprequest/basic-auth-default.html

* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkDataTask::tryPasswordBasedAuthentication):
Use the proposed credential if there is one.  This matches behavior in
ResourceHandle::tryHandlePasswordBasedAuthentication.

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

5 years agoFix BlockPtr's call operator
andersca@apple.com [Wed, 3 Feb 2016 18:21:01 +0000 (18:21 +0000)]
Fix BlockPtr's call operator
https://bugs.webkit.org/show_bug.cgi?id=153836

Reviewed by Enrica Casucci.

* wtf/BlockPtr.h:

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

5 years agoBuild fix.
jberlin@webkit.org [Wed, 3 Feb 2016 17:59:23 +0000 (17:59 +0000)]
Build fix.

[NSEvent context] has always returned nil. Replace uses with nullptr.

Source/WebCore:

* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::sendFakeEventsAfterWidgetTracking):

Source/WebKit/mac:

* WebView/WebHTMLView.mm:
(-[WebHTMLView _postFakeMouseMovedEventForFlagsChangedEvent:]):
(-[WebHTMLView _updateMouseoverWithFakeEvent]):
(-[WebHTMLView _updateMouseoverWithEvent:]):
(-[WebHTMLView _autoscroll]):
(-[WebHTMLView draggedImage:endedAt:operation:]):

Source/WebKit2:

* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::postFakeMouseMovedEventForFlagsChangedEvent):
* UIProcess/mac/WebPopupMenuProxyMac.mm:
(WebKit::WebPopupMenuProxyMac::showPopupMenu):

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

5 years agoSkip fast/forms/input-user-input-sanitization.html on ios-simulator
ryanhaddad@apple.com [Wed, 3 Feb 2016 17:51:05 +0000 (17:51 +0000)]
Skip fast/forms/input-user-input-sanitization.html on ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=152306

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

5 years ago[iOS] Engineering builds use manual sandboxing, but don’t need to
mitz@apple.com [Wed, 3 Feb 2016 17:49:15 +0000 (17:49 +0000)]
[iOS] Engineering builds use manual sandboxing, but don’t need to
https://bugs.webkit.org/show_bug.cgi?id=153834

Reviewed by Anders Carlsson.

Now that engineering builds use the non-re-execing variant of XPC services, they can be
statically sandboxed and no longer need to be manually sandboxed.

* Configurations/DebugRelease.xcconfig: Don’t set WK_MANUAL_SANDBOXING_ENABLED to YES.
* WebKit2.xcodeproj/project.pbxproj: Let Xcode make changes to the built product references.

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

5 years agoUnreviewed, rolling out r195555.
cdumez@apple.com [Wed, 3 Feb 2016 17:09:47 +0000 (17:09 +0000)]
Unreviewed, rolling out r195555.

Temporarily disable speculative revalidation to measure the
impact on the bots

Reverted changeset:

"[WK2][NetworkCache] Enable speculative revalidation"
https://bugs.webkit.org/show_bug.cgi?id=153443
http://trac.webkit.org/changeset/195555

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

5 years agoREGRESSION (r194660): Legacy WebProcess crashes in ChildProcess::initializeSandbox()
dbates@webkit.org [Wed, 3 Feb 2016 16:34:29 +0000 (16:34 +0000)]
REGRESSION (r194660): Legacy WebProcess crashes in ChildProcess::initializeSandbox()
https://bugs.webkit.org/show_bug.cgi?id=153734
<rdar://problem/24433179>

Reviewed by Dan Bernstein.

Fixes an issue where clients that used the legacy WebProcess bootstrapping process would crash.

Additionally, only consider the extra initialization parameter user-directory-suffix for
unsigned apps (e.g. WebKitTestRunner).

* Shared/mac/ChildProcessMac.mm:
(WebKit::ChildProcess::initializeSandbox):

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

5 years ago[webkitdirs] Clarify logic behind is{PortName} functions.
commit-queue@webkit.org [Wed, 3 Feb 2016 11:38:13 +0000 (11:38 +0000)]
[webkitdirs] Clarify logic behind is{PortName} functions.
https://bugs.webkit.org/show_bug.cgi?id=153554

Patch by Konstantin Tokarev <annulen@yandex.ru> on 2016-02-03
Reviewed by Michael Catanzaro.

* Scripts/webkitdirs.pm:
(prohibitUnknownPort): This function makes determinePortName()
failure fatal.
(determinePortName): Added new function which decides which port are
we building based on command line switches and platform defaults.
(portName): Added getter for determined $portName.
(isEfl): Modified to use portName().
(isGtk): Ditto.
(isWinCairo): Ditto.
(isAppleMacWebKit): Ditto.
(isAppleWinWebKit): Ditto.
(isIOSWebKit): Ditto.
(cmakeBasedPortName): Return portName() with capitalized first letter.
(determineIsEfl): Deleted.
(determineIsGtk): Deleted.
(determineIsWinCairo): Deleted.

* Scripts/build-jsc: Call prohibitUnknownPort().
* Scripts/run-minibrowser: Ditto.
* Scripts/webkitperl/FeatureList.pm: Ditto.
* Scripts/update-webkit: Call determinePortName() instead of
determineIsWinCairo().

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

5 years agoUnreviewed speculative buildfix after r195979.
ossy@webkit.org [Wed, 3 Feb 2016 11:29:25 +0000 (11:29 +0000)]
Unreviewed speculative buildfix after r195979.

* PlatformMac.cmake:

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

5 years agoUnreviewed. EFL gardening: rebaseline tests after r195740.
hs85.jeong@samsung.com [Wed, 3 Feb 2016 11:13:29 +0000 (11:13 +0000)]
Unreviewed. EFL gardening: rebaseline tests after r195740.

* platform/efl/css1/box_properties/border_width_inline-expected.txt:
* platform/efl/css1/formatting_model/floating_elements-expected.txt:
* platform/efl/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
* platform/efl/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt:
* platform/efl/css2.1/t0805-c5513-brdr-bw-00-b-expected.txt:
* platform/efl/css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
* platform/efl/css2.1/t0805-c5519-brdr-r-01-e-expected.txt:
* platform/efl/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/efl/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
* platform/efl/css2.1/t0805-c5522-brdr-02-e-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-00-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-01-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-02-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-03-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-05-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-07-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-09-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-10-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-11-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-12-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-15-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-19-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-20-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-21-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-22-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-23-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-26-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-27-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-28-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-29-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-32-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-33-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-35-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-36-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-37-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-38-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-39-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-40-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-41-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-42-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-43-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-45-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-46-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-47-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-48-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-49-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-50-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-51-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-53-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-55-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-56-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-57-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-58-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-60-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-61-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-62-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-63-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-66-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-67-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-68-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-69-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-72-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-73-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-75-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-76-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-77-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-78-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-79-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-80-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-81-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-82-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-83-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-86-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-87-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-88-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-89-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-90-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-91-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-92-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-93-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-95-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-96-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-97-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-98-d-expected.txt:
* platform/efl/css2.1/t170602-bdr-conflct-w-99-d-expected.txt:
* platform/efl/css3/css3-modsel-33-expected.txt:
* platform/efl/css3/flexbox/flexbox-baseline-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-161-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-18b-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-28-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-28b-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-32-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-43-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-43b-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-44-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-44b-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-74-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-74b-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-78-expected.txt:
* platform/efl/css3/selectors3/html/css3-modsel-78b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-161-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-18b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-28-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-28b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-32-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-43-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-43b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-44-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-44b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-74-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-74b-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-78-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-78b-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-161-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-18b-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-28-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-28b-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-32-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-43-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-44-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-44b-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-74-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-74b-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-78-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-78b-expected.txt:
* platform/efl/editing/inserting/5058163-1-expected.txt:
* platform/efl/editing/inserting/insert-paragraph-01-expected.txt:
* platform/efl/editing/inserting/insert-paragraph-02-expected.txt:
* platform/efl/editing/inserting/paragraph-separator-in-table-2-expected.txt:
* platform/efl/editing/selection/4818145-expected.txt:
* platform/efl/editing/selection/4889598-expected.txt:
* platform/efl/editing/selection/4895428-2-expected.txt:
* platform/efl/editing/selection/5076323-1-expected.txt:
* platform/efl/editing/selection/5076323-2-expected.txt:
* platform/efl/editing/selection/5076323-3-expected.txt:
* platform/efl/editing/selection/7152-1-expected.txt:
* platform/efl/editing/selection/7152-2-expected.txt:
* platform/efl/editing/selection/display-table-text-expected.txt:
* platform/efl/editing/selection/iframe-expected.txt:
* platform/efl/editing/selection/inline-table-expected.txt:
* platform/efl/editing/selection/mixed-editability-3-expected.txt:
* platform/efl/editing/selection/mixed-editability-4-expected.txt:
* platform/efl/editing/selection/mixed-editability-5-expected.txt:
* platform/efl/editing/selection/mixed-editability-8-expected.txt:
* platform/efl/editing/selection/mixed-editability-9-expected.txt:
* platform/efl/editing/selection/table-caret-1-expected.txt:
* platform/efl/editing/selection/table-caret-2-expected.txt:
* platform/efl/editing/selection/table-caret-3-expected.txt:
* platform/efl/editing/style/5017613-1-expected.txt:
* platform/efl/editing/style/5017613-2-expected.txt:
* platform/efl/editing/style/apple-style-editable-mix-expected.txt:
* platform/efl/editing/style/table-selection-expected.txt:
* platform/efl/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt:
* platform/efl/fast/block/float/011-expected.txt:
* platform/efl/fast/block/margin-collapse/001-expected.txt:
* platform/efl/fast/block/margin-collapse/005-expected.txt:
* platform/efl/fast/block/margin-collapse/104-expected.txt:
* platform/efl/fast/block/margin-collapse/block-inside-inline/001-expected.txt:
* platform/efl/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
* platform/efl/fast/block/positioning/053-expected.txt:
* platform/efl/fast/borders/bidi-009a-expected.txt:
* platform/efl/fast/box-shadow/basic-shadows-expected.txt:
* platform/efl/fast/css-generated-content/015-expected.txt:
* platform/efl/fast/css-generated-content/inline-display-types-expected.txt:
* platform/efl/fast/css-generated-content/table-before-after-child-add-expected.txt:
* platform/efl/fast/css-generated-content/table-cell-before-content-expected.txt:
* platform/efl/fast/css-generated-content/table-row-before-after-child-add-expected.txt:
* platform/efl/fast/css-generated-content/table-row-before-after-expected.txt:
* platform/efl/fast/css-generated-content/table-table-before-after-child-add-expected.txt:
* platform/efl/fast/css/first-letter-float-expected.txt:
* platform/efl/fast/dynamic/007-expected.txt:
* platform/efl/fast/dynamic/014-expected.txt:
* platform/efl/fast/dynamic/015-expected.txt:
* platform/efl/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt:
* platform/efl/fast/forms/button-white-space-expected.txt:
* platform/efl/fast/forms/file/file-input-direction-expected.txt:
* platform/efl/fast/forms/form-added-to-table-expected.txt:
* platform/efl/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/efl/fast/forms/input-value-expected.txt:
* platform/efl/fast/invalid/table-inside-stray-table-content-expected.txt:
* platform/efl/fast/invalid/td-inside-object-expected.txt:
* platform/efl/fast/lists/ordered-list-with-no-ol-tag-expected.txt:
* platform/efl/fast/overflow/overflow-auto-table-expected.txt:
* platform/efl/fast/replaced/width100percent-button-expected.txt:
* platform/efl/fast/ruby/ruby-inline-table-expected.txt:
* platform/efl/fast/selectors/018-expected.txt:
* platform/efl/fast/selectors/018b-expected.txt:
* platform/efl/fast/selectors/032-expected.txt:
* platform/efl/fast/selectors/043-expected.txt:
* platform/efl/fast/selectors/043b-expected.txt:
* platform/efl/fast/selectors/044-expected.txt:
* platform/efl/fast/selectors/044b-expected.txt:
* platform/efl/fast/selectors/078b-expected.txt:
* platform/efl/fast/table/001-expected.txt:
* platform/efl/fast/table/004-expected.txt:
* platform/efl/fast/table/006-expected.txt:
* platform/efl/fast/table/010-expected.txt:
* platform/efl/fast/table/011-expected.txt:
* platform/efl/fast/table/015-expected.txt:
* platform/efl/fast/table/016-expected.txt:
* platform/efl/fast/table/022-expected.txt:
* platform/efl/fast/table/026-expected.txt:
* platform/efl/fast/table/033-expected.txt:
* platform/efl/fast/table/035-expected.txt:
* platform/efl/fast/table/035-vertical-expected.txt:
* platform/efl/fast/table/037-expected.txt:
* platform/efl/fast/table/041-expected.txt:
* platform/efl/fast/table/auto-with-percent-height-expected.txt:
* platform/efl/fast/table/auto-with-percent-height-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/002-vertical-expected.txt:
* platform/efl/fast/table/cell-coalescing-expected.txt:
* platform/efl/fast/table/cellindex-expected.txt:
* platform/efl/fast/table/colgroup-preceded-by-caption-expected.txt:
* platform/efl/fast/table/colgroup-spanning-groups-rules-expected.txt:
* platform/efl/fast/table/dynamic-descendant-percentage-height-expected.txt:
* platform/efl/fast/table/floating-th-expected.txt:
* platform/efl/fast/table/generated-caption-expected.txt:
* platform/efl/fast/table/insert-before-anonymous-ancestors-expected.txt:
* platform/efl/fast/table/insert-cell-before-form-expected.txt:
* platform/efl/fast/table/insert-row-before-form-expected.txt:
* platform/efl/fast/table/multiple-captions-display-expected.txt:
* platform/efl/fast/table/nested-percent-height-table-expected.txt:
* platform/efl/fast/table/quote-text-around-iframe-expected.txt:
* platform/efl/fast/table/rowindex-expected.txt:
* platform/efl/fast/table/rtl-cell-display-none-assert-expected.txt:
* platform/efl/fast/table/rules-attr-dynchange1-expected.txt:
* platform/efl/fast/table/rules-attr-dynchange2-expected.txt:
* platform/efl/fast/table/table-after-child-in-table-expected.txt:
* platform/efl/fast/table/table-and-parts-outline-expected.txt:
* platform/efl/fast/table/table-before-child-in-table-expected.txt:
* platform/efl/fast/table/table-cell-after-child-in-block-expected.txt:
* platform/efl/fast/table/table-cell-after-child-in-table-expected.txt:
* platform/efl/fast/table/table-cell-before-child-in-block-expected.txt:
* platform/efl/fast/table/table-continuation-outline-paint-crash-expected.txt:
* platform/efl/fast/table/table-hspace-align-center-expected.txt:
* platform/efl/fast/table/table-row-after-child-in-block-expected.txt:
* platform/efl/fast/table/table-row-after-child-in-table-expected.txt:
* platform/efl/fast/table/table-row-before-child-in-block-expected.txt:
* platform/efl/fast/table/table-row-before-child-in-table-expected.txt:
* platform/efl/fast/table/tableInsideCaption-expected.txt:
* platform/efl/fast/table/text-field-baseline-expected.txt:
* platform/efl/fast/table/unbreakable-images-quirk-expected.txt:
* platform/efl/fast/table/vertical-align-baseline-expected.txt:
* platform/efl/fast/text/basic/001-expected.txt:
* platform/efl/fast/text/basic/006-expected.txt:
* platform/efl/fast/text/basic/007-expected.txt:
* platform/efl/fast/text/capitalize-boundaries-expected.txt:
* platform/efl/fast/text/hyphenate-locale-expected.txt:
* platform/efl/fast/text/international/bidi-layout-across-linebreak-expected.txt:
* platform/efl/fast/text/whitespace/024-expected.txt:
* platform/efl/fast/text/whitespace/027-expected.txt:
* platform/efl/fast/text/word-break-expected.txt:
* platform/efl/fast/transforms/transform-table-row-expected.txt:

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

5 years ago[GTK] Reduce IPC traffic due to view state changes
carlosgc@webkit.org [Wed, 3 Feb 2016 11:04:33 +0000 (11:04 +0000)]
[GTK] Reduce IPC traffic due to view state changes
https://bugs.webkit.org/show_bug.cgi?id=153745

Reviewed by Sergio Villar Senin.

Very often view state changes happen one after another in a very
short period of time, even in the same run loop iteration. For
example, when you switch to the web view window, the view is
focused and the active window flag changes as well. In that case
we are sending two messages to the web process and the page
updates its status according to the new flags in two steps. So, we
could group all state changes happening in the same run loop
iteration and notify about them all in the next iteration. This
also prevents unnecessary changes of state when we quickly go back
to a previous state, for example in focus follows mouse
configurations if you move the mouse outside the window and then
inside the window again quickly.

* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(_WebKitWebViewBasePrivate::_WebKitWebViewBasePrivate): Use
VirewState::Flags to keep the web view state instead of
boolean, and also to keep the flags that need to be updated. Use a
timer to update web view state flags.
(_WebKitWebViewBasePrivate::updateViewStateTimerFired): Call
WebPageProxy::viewStateDidChange() and reset the flags that need
to be updated.
(webkitWebViewBaseScheduleUpdateViewState): Update the flags that
need to be updated and schedule the timer if it's not active.
(toplevelWindowFocusInEvent): Use the flags and schedule an update.
(toplevelWindowFocusOutEvent): Ditto.
(toplevelWindowStateEvent): Also mark the view as hidden when minimized.
(webkitWebViewBaseSetToplevelOnScreenWindow): Connect to
window-state-event instead of deprecated visibility-notify-event.
(webkitWebViewBaseMap): Use the flags and schedule an update.
(webkitWebViewBaseUnmap): Ditto.
(webkitWebViewBaseSetFocus): Ditto.
(webkitWebViewBaseIsInWindowActive): Use the flags.
(webkitWebViewBaseIsFocused): Ditto
(webkitWebViewBaseIsVisible): Ditto.
(webkitWebViewBaseIsInWindow): Removed this since it was unused.
* UIProcess/API/gtk/WebKitWebViewBasePrivate.h:

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

5 years ago[GTK] Layout Test http/tests/appcache/different-https-origin-resource-main.html is...
carlosgc@webkit.org [Wed, 3 Feb 2016 10:37:12 +0000 (10:37 +0000)]
[GTK] Layout Test http/tests/appcache/different-https-origin-resource-main.html is failing
https://bugs.webkit.org/show_bug.cgi?id=145253

Reviewed by Michael Catanzaro.

Source/WebCore:

The problem is that when the load is cancelled while the
connection is still being established,
SoupMessage::notify::tls-errors is emitted and the handler calls
ResourceHandleClient::didFail() which can delete the ResourceHandle.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::tlsErrorsChangedCallback): Protect the ResourceHandle
for the scope of the callback because
ResourceHandleClient::didFail() could delete the object.

LayoutTests:

Update test expectation.

* platform/gtk/TestExpectations:

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

5 years agoREGRESSION(r191948): [GStreamer] 4 new timeouts on layout tests.
carlosgc@webkit.org [Wed, 3 Feb 2016 10:31:27 +0000 (10:31 +0000)]
REGRESSION(r191948): [GStreamer] 4 new timeouts on layout tests.
https://bugs.webkit.org/show_bug.cgi?id=152797

Reviewed by Darin Adler.

Source/WebCore:

Always schedule messages to the main thread, even when the bus
sync handlder was called in the main thread. It seems that
GStreamer expects things to happen in the next main loop
iteration.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):

LayoutTests:

Update test expectations.

* platform/gtk/TestExpectations:

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

5 years agoUnreviewed. Fix incorrect ASSERT introduced in r196053.
carlosgc@webkit.org [Wed, 3 Feb 2016 09:56:54 +0000 (09:56 +0000)]
Unreviewed. Fix incorrect ASSERT introduced in r196053.

* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::NetscapePluginX11::paint): Ensure the plugin is not
windowed if paint() is called.

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

5 years ago[TexMap] CompositingCoordinator should store the overlay layer, flush it as appropriate
zandobersek@gmail.com [Wed, 3 Feb 2016 09:54:20 +0000 (09:54 +0000)]
[TexMap] CompositingCoordinator should store the overlay layer, flush it as appropriate
https://bugs.webkit.org/show_bug.cgi?id=152058

Reviewed by Michael Catanzaro.

Previously, the CompositingCoordinator only added the overlay layer to the
layer tree, but flushing its compositing state is also required. For that to
happen, CompositingCoordinator has to store a pointer to the overlay layer
object and flush it in ::flushPendingLayerChanges().

Overlay layers are most prominently used by the Web Inspector to highlight
the DOM elements on the Web page that are being hovered in the inspector.

* platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
(WebCore::CompositingCoordinator::CompositingCoordinator):
(WebCore::CompositingCoordinator::setRootCompositingLayer):
(WebCore::CompositingCoordinator::flushPendingLayerChanges):
* platform/graphics/texmap/coordinated/CompositingCoordinator.h:

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

5 years agoUnreviewed. Fix JavaScriptCore build with B3 enabled.
carlosgc@webkit.org [Wed, 3 Feb 2016 08:48:49 +0000 (08:48 +0000)]
Unreviewed. Fix JavaScriptCore build with B3 enabled.

Include <limits.h> for UINT_MAX.

* b3/B3StackSlot.h:
* b3/air/AirStackSlot.h:

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

5 years ago[CoordinatedGraphics] CompositingCoordinator destructor is scheduling layer flushes
zandobersek@gmail.com [Wed, 3 Feb 2016 08:41:57 +0000 (08:41 +0000)]
[CoordinatedGraphics] CompositingCoordinator destructor is scheduling layer flushes
https://bugs.webkit.org/show_bug.cgi?id=153823

Reviewed by Carlos Garcia Campos.

Purging the backing stores during the CompositingCoordinator destructor
is also scheduling layer flushes in the object's client, which is an object
of the LayerTreeHost-deriving class that owns the CompositingCoordinator
object in question and is also being destroyed.

In case of ThreadedCoordinatedLayerTreeHost, this scheduling can access
the RunLoop::Timer object which has already been destroyed, causing a
crash. Another problem with this is that we're invoking a virtual function
on an object that's being destructed, which works well enough in this case
but should be discouraged in general.

In order to avoid this, add the m_isDestructing boolean to the
CompositingCoordinator class, flip it to true during the destruction,
and check for its falseness before scheduling a layer flush.

* platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
(WebCore::CompositingCoordinator::CompositingCoordinator):
(WebCore::CompositingCoordinator::~CompositingCoordinator):
(WebCore::CompositingCoordinator::notifyFlushRequired):
* platform/graphics/texmap/coordinated/CompositingCoordinator.h:

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

5 years ago[TexMap] Don't use RELEASE_ASSERT in TextureMapperLayer::computeTransformsRecursive()
zandobersek@gmail.com [Wed, 3 Feb 2016 08:34:43 +0000 (08:34 +0000)]
[TexMap] Don't use RELEASE_ASSERT in TextureMapperLayer::computeTransformsRecursive()
https://bugs.webkit.org/show_bug.cgi?id=153822

Reviewed by Carlos Garcia Campos.

* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::computeTransformsRecursive):
Use ASSERT to check that the m_children members are indeed children
of the current layer, RELEASE_ASSERT probably slipped in unnoticed
at some point.

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

5 years agoPlatformPathCairo: Lazily allocate the path surface
zandobersek@gmail.com [Wed, 3 Feb 2016 08:33:31 +0000 (08:33 +0000)]
PlatformPathCairo: Lazily allocate the path surface
https://bugs.webkit.org/show_bug.cgi?id=153821

Reviewed by Carlos Garcia Campos.

Move the static variable that holds the Cairo surface into
the pathSurface() function (previously getPathSurface). This
way the surface will only be allocated once the function is
called for the first time from the CairoPath surface.

No change in functionality, just a cleanup.

* platform/graphics/cairo/PlatformPathCairo.cpp:
(WebCore::pathSurface):
(WebCore::CairoPath::CairoPath):
(WebCore::getPathSurface): Deleted.

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

5 years ago[UNIX] Add support for windowless NPAPI plugins with no UI in non X11 platforms
carlosgc@webkit.org [Wed, 3 Feb 2016 08:18:23 +0000 (08:18 +0000)]
[UNIX] Add support for windowless NPAPI plugins with no UI in non X11 platforms
https://bugs.webkit.org/show_bug.cgi?id=151992

Reviewed by Darin Adler.

We are currently disabling all plugins when running under wayland,
for example. There are some plugins, like the one used by
extensions.gnome.org, that don't do any rendering, so there's not
reason not to support those plugins under wayland or any other
unix non-x11 platform.
X11 specific code has been moved to a new class NetscapePluginX11,
only used under X11. The common code is in NetscapePluginUnix.cpp
that will use the X11 implementatin only when needed and
available. For windowed plugins we will fail the initialization
under non-X11 plaforms, while for windowless plugins we will just
return early from paint method.

* PlatformEfl.cmake: Add new files to compilation.
* PlatformGTK.cmake: Ditto.
* UIProcess/API/gtk/WebKitSettings.cpp:
(webkit_settings_set_enable_plugins): Do not disable plugins in wayland.
* UIProcess/gtk/WebPreferencesGtk.cpp:
(WebKit::WebPreferences::platformInitializeStore): Ditto.
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_GetValue): Use PlatformDisplay instead of
NetscapePlugin::x11HostDisplay() and don't claim to support X11
specific features under non-x11 platforms.
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin): Remove X11 and GTK
specific memebers that are now moved to a dedicated class NetscapePluginX11.
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
(WebKit::NetscapePlugin::frameRectInWindowCoordinates): Make this public.
(WebKit::NetscapePlugin::clipRect): Add getter.
(WebKit::NetscapePlugin::size): Ditto.
(WebKit::NetscapePlugin::isWindowed): Ditto.
(WebKit::NetscapePlugin::isVisible): Ditto.
* WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.cpp: Added.
(WebKit::NetscapePlugin::platformPreInitialize):
(WebKit::NetscapePlugin::platformPostInitialize):
(WebKit::NetscapePlugin::platformDestroy):
(WebKit::NetscapePlugin::platformInvalidate):
(WebKit::NetscapePlugin::platformGeometryDidChange):
(WebKit::NetscapePlugin::platformVisibilityDidChange):
(WebKit::NetscapePlugin::platformPaint):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformSetFocus):
(WebKit::NetscapePlugin::wantsPluginRelativeNPWindowCoordinates):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
* WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.h: Added.
(WebKit::NetscapePluginUnix::~NetscapePluginUnix):
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::getPluginDisplay):
(WebKit::displayDepth):
(WebKit::x11HostDisplay):
(WebKit::NetscapePluginX11::create):
(WebKit::NetscapePluginX11::NetscapePluginX11):
(WebKit::NetscapePluginX11::~NetscapePluginX11):
(WebKit::NetscapePluginX11::windowType):
(WebKit::NetscapePluginX11::window):
(WebKit::NetscapePluginX11::geometryDidChange):
(WebKit::NetscapePluginX11::visibilityDidChange):
(WebKit::NetscapePluginX11::paint):
(WebKit::initializeXEvent):
(WebKit::NetscapePluginX11::handleMouseEvent):
(WebKit::NetscapePluginX11::handleWheelEvent):
(WebKit::NetscapePluginX11::setFocus):
(WebKit::NetscapePluginX11::handleMouseEnterEvent):
(WebKit::NetscapePluginX11::handleMouseLeaveEvent):
(WebKit::NetscapePluginX11::handleKeyboardEvent):
(WebKit::setCommonMouseEventFields): Deleted.
(WebKit::setXKeyEventFields): Deleted.
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h: Added.

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

5 years agoASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result)
commit-queue@webkit.org [Wed, 3 Feb 2016 07:01:28 +0000 (07:01 +0000)]
ASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result)
https://bugs.webkit.org/show_bug.cgi?id=153576

Patch by Fujii Hironori <Hironori.Fujii@jp.sony.com> on 2016-02-02
Reviewed by Darin Adler.

Source/WebCore:

Tests: fast/block/geometry-map-assertion-with-rounding-negative-half.html

The results of roundedIntPoint of FloatPoint and LayoutPoint may be different
because of the uniqueness of LayoutUnit::round introduced by this bug
<https://bugs.webkit.org/show_bug.cgi?id=107208>.
Should convert a FloatPoint to a LayoutPoint before rounding.

* rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::mapToContainer):

LayoutTests:

* fast/block/geometry-map-assertion-with-rounding-negative-half-expected.txt: Added.
* fast/block/geometry-map-assertion-with-rounding-negative-half.html: Added.

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

5 years agoJSSymbolTableObject::deleteProperty() crashes deleting Symbols
commit-queue@webkit.org [Wed, 3 Feb 2016 06:34:06 +0000 (06:34 +0000)]
JSSymbolTableObject::deleteProperty() crashes deleting Symbols
https://bugs.webkit.org/show_bug.cgi?id=153816

Patch by Caitlin Potter <caitp@igalia.com> on 2016-02-02
Reviewed by Darin Adler.

Changes JSSymbolTableObject::deleteProperty() to check if its
symbolTable() contains the property's uid() rather than publicName().
This ensures that it will not crash in the case of Symbols.

* runtime/JSSymbolTableObject.cpp:
(JSC::JSSymbolTableObject::deleteProperty):
* tests/es6/Object_static_methods_Object.getOwnPropertyDescriptors.js:
(testGlobalProxy):
* tests/stress/regress-153816.js: Added.
(deleteSymbolFromJSSymbolTableObject):

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

5 years agoBetter fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on...
mitz@apple.com [Wed, 3 Feb 2016 06:14:12 +0000 (06:14 +0000)]
Better fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
https://bugs.webkit.org/show_bug.cgi?id=153683

Reviewed by Darin Adler.

* Scripts/webkitpy/port/driver.py:
(Driver._setup_environ_for_driver): Reverted change from r196013. DUMPRENDERTREE_TEMP is not
  used by any code in the Web Content process. If that ever changed, we should send it over
  as a bundle parameter.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.setup_environ_for_server): Reverted change from r196013.

* Scripts/webkitpy/port/mac.py:
(MacPort.setup_environ_for_server): Ditto.

* WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
(WTR::InjectedBundle::platformInitialize): Set XML_CATALOG_FILES in the Web Process
  environment. This is early enough that libxml2 has not been initialized yet.

* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize): Ditto.

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

5 years agoFollow up for:
darin@apple.com [Wed, 3 Feb 2016 06:06:59 +0000 (06:06 +0000)]
Follow up for:
Cut down on calls to String::lower; mostly replace with convertToASCIILowercase
https://bugs.webkit.org/show_bug.cgi?id=153732

* fast/viewport/viewport-warnings-7-expected.txt: Updated expected results now that
viewport parsing doesn't lowercase the string to parse it.

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

5 years agoRemove ENABLE(GLOBAL_FASTMALLOC_NEW) guard in WebMemorySamplerLinux.cpp
gyuyoung.kim@webkit.org [Wed, 3 Feb 2016 06:02:36 +0000 (06:02 +0000)]
Remove ENABLE(GLOBAL_FASTMALLOC_NEW) guard in WebMemorySamplerLinux.cpp
https://bugs.webkit.org/show_bug.cgi?id=153812

Reviewed by Darin Adler.

r164261 already removed ENABLE_GLOBAL_FASTMALLOC_NEW guard though, WebMemorySamplerLinux
is still using it. That's why EFL and GTK memory sampler don't show fast malloc memory use.

* Shared/linux/WebMemorySamplerLinux.cpp:
(WebKit::WebMemorySampler::sampleWebKit): Deleted.

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

5 years ago[JSC] Do not copy FP when lowering FramePointer
benjamin@webkit.org [Wed, 3 Feb 2016 05:03:38 +0000 (05:03 +0000)]
[JSC] Do not copy FP when lowering FramePointer
https://bugs.webkit.org/show_bug.cgi?id=153769

Reviewed by Michael Saboff.

That extra move is just wasted time. The fewer Moves we have,
the happier IRC is.

* b3/B3LowerToAir.cpp:
(JSC::B3::Air::LowerToAir::tmp):
(JSC::B3::Air::LowerToAir::lower):

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

5 years agoDFG, FTL, B3, and Air should all have a unique option for printing their graphs
keith_miller@apple.com [Wed, 3 Feb 2016 04:53:39 +0000 (04:53 +0000)]
DFG, FTL, B3, and Air should all have a unique option for printing their graphs
https://bugs.webkit.org/show_bug.cgi?id=153815

Reviewed by Benjamin Poulain.

This patch adds a new printing option for each of the DFG/FTL compilation phases.

* b3/B3Common.cpp:
(JSC::B3::shouldDumpIR):
(JSC::B3::shouldDumpIRAtEachPhase):
* b3/B3Common.h:
* b3/B3Generate.cpp:
(JSC::B3::generateToAir):
* b3/B3PhaseScope.cpp:
(JSC::B3::PhaseScope::PhaseScope):
* b3/air/AirGenerate.cpp:
(JSC::B3::Air::prepareForGeneration):
* b3/air/AirPhaseScope.cpp:
(JSC::B3::Air::PhaseScope::PhaseScope):
* dfg/DFGCFAPhase.cpp:
(JSC::DFG::CFAPhase::run):
* dfg/DFGCommon.h:
(JSC::DFG::shouldDumpGraphAtEachPhase):
* dfg/DFGPhase.cpp:
(JSC::DFG::Phase::beginPhase):
* runtime/Options.cpp:
(JSC::recomputeDependentOptions):
* runtime/Options.h:

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

5 years agoUnreviewed. EFL gardening: rebaseline tests after r195740.
hs85.jeong@samsung.com [Wed, 3 Feb 2016 04:32:24 +0000 (04:32 +0000)]
Unreviewed. EFL gardening: rebaseline tests after r195740.

* platform/efl/fast/replaced/005-expected.txt:
* platform/efl/fast/replaced/percent-height-in-anonymous-block-in-table-expected.txt:
* platform/efl/fast/replaced/selection-rect-in-table-cell-expected.txt:
* platform/efl/fast/replaced/table-percent-height-positioned-expected.txt:
* platform/efl/fast/replaced/width100percent-checkbox-expected.txt:
* platform/efl/fast/replaced/width100percent-image-expected.txt:
* platform/efl/fast/replaced/width100percent-menulist-expected.txt:
* platform/efl/fast/replaced/width100percent-radio-expected.txt:
* platform/efl/fast/replaced/width100percent-searchfield-expected.txt:
* platform/efl/fast/replaced/width100percent-textarea-expected.txt:
* platform/efl/fast/replaced/width100percent-textfield-expected.txt:
* platform/efl/fast/selectors/077-expected.txt:
* platform/efl/fast/selectors/077b-expected.txt:
* platform/efl/fast/table/002-expected.txt:
* platform/efl/fast/table/003-expected.txt:
* platform/efl/fast/table/005-expected.txt:
* platform/efl/fast/table/007-expected.txt:
* platform/efl/fast/table/008-expected.txt:
* platform/efl/fast/table/009-expected.txt:
* platform/efl/fast/table/012-expected.txt:
* platform/efl/fast/table/013-expected.txt:
* platform/efl/fast/table/021-expected.txt:
* platform/efl/fast/table/023-expected.txt:
* platform/efl/fast/table/024-expected.txt:
* platform/efl/fast/table/025-expected.txt:
* platform/efl/fast/table/028-expected.txt:
* platform/efl/fast/table/028-vertical-expected.txt:
* platform/efl/fast/table/029-expected.txt:
* platform/efl/fast/table/031-expected.txt:
* platform/efl/fast/table/032-expected.txt:
* platform/efl/fast/table/034-expected.txt:
* platform/efl/fast/table/038-expected.txt:
* platform/efl/fast/table/038-vertical-expected.txt:
* platform/efl/fast/table/039-expected.txt:
* platform/efl/fast/table/040-expected.txt:
* platform/efl/fast/table/040-vertical-expected.txt:
* platform/efl/fast/table/100-percent-cell-width-expected.txt:
* platform/efl/fast/table/add-before-anonymous-child-expected.txt:
* platform/efl/fast/table/border-collapsing/001-expected.txt:
* platform/efl/fast/table/border-collapsing/001-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/002-expected.txt:
* platform/efl/fast/table/border-collapsing/003-expected.txt:
* platform/efl/fast/table/border-collapsing/003-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/004-expected.txt:
* platform/efl/fast/table/border-collapsing/004-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/border-collapsing-head-foot-expected.txt:
* platform/efl/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/bug14274-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-69296-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-cell-append-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-cell-remove-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-cell-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-cell-border-width-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-col-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-col-border-width-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-colgroup-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-colgroup-border-width-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-row-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-row-border-width-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-table-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-table-border-width-expected.txt:
* platform/efl/fast/table/border-collapsing/cached-change-tbody-border-color-expected.txt:
* platform/efl/fast/table/border-collapsing/collapsed-borders-adjoining-sections-vertical-rl-expected.txt:
* platform/efl/fast/table/border-collapsing/collapsed-borders-painted-once-on-inner-cells-expected.txt:
* platform/efl/fast/table/border-collapsing/equal-precedence-resolution-expected.txt:
* platform/efl/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.txt:
* platform/efl/fast/table/border-collapsing/rtl-border-collapsing-expected.txt:
* platform/efl/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.txt:
* platform/efl/fast/table/caption-relayout-expected.txt:
* platform/efl/fast/table/cell-absolute-child-expected.txt:
* platform/efl/fast/table/cell-width-auto-expected.txt:
* platform/efl/fast/table/colspan-with-all-percent-cells-expected.txt:
* platform/efl/fast/table/colspanMinWidth-expected.txt:
* platform/efl/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/efl/fast/table/dynamic-cellpadding-expected.txt:
* platform/efl/fast/table/edge-offsets-expected.txt:
* platform/efl/fast/table/empty-cells-expected.txt:
* platform/efl/fast/table/frame-and-rules-expected.txt:
* platform/efl/fast/table/giantRowspan-expected.txt:
* platform/efl/fast/table/growCellForImageQuirk-expected.txt:
* platform/efl/fast/table/growCellForImageQuirk-vertical-expected.txt:
* platform/efl/fast/table/height-percent-test-expected.txt:
* platform/efl/fast/table/height-percent-test-vertical-expected.txt:
* platform/efl/fast/table/invisible-cell-background-expected.txt:
* platform/efl/fast/table/large-width-expected.txt:
* platform/efl/fast/table/max-width-integer-overflow-expected.txt:
* platform/efl/fast/table/mozilla-bug10296-vertical-align-1-expected.txt:
* platform/efl/fast/table/mozilla-bug10296-vertical-align-2-expected.txt:
* platform/efl/fast/table/nobr-expected.txt:
* platform/efl/fast/table/overflowHidden-expected.txt:
* platform/efl/fast/table/percent-heights-expected.txt:
* platform/efl/fast/table/percent-widths-stretch-expected.txt:
* platform/efl/fast/table/percent-widths-stretch-vertical-expected.txt:
* platform/efl/fast/table/prepend-in-anonymous-table-expected.txt:
* platform/efl/fast/table/relative-position-containment-expected.txt:
* platform/efl/fast/table/relative-position-offsets-expected.txt:
* platform/efl/fast/table/relative-position-stacking-expected.txt:
* platform/efl/fast/table/replaced-percent-height-expected.txt:
* platform/efl/fast/table/row-height-recalc-expected.txt:
* platform/efl/fast/table/rowspan-paint-order-expected.txt:
* platform/efl/fast/table/rowspan-paint-order-vertical-expected.txt:
* platform/efl/fast/table/simple_paint-expected.txt:
* platform/efl/fast/table/spanOverlapRepaint-expected.txt:
* platform/efl/fast/table/stale-grid-crash-expected.txt:
* platform/efl/fast/table/table-anonymous-cell-bug-expected.txt:
* platform/efl/fast/table/table-anonymous-row-bug-expected.txt:
* platform/efl/fast/table/table-anonymous-section-bug-expected.txt:
* platform/efl/fast/table/table-before-child-style-update-expected.txt:
* platform/efl/fast/table/table-cell-before-after-content-around-table-block-expected.txt:
* platform/efl/fast/table/table-cell-before-after-content-around-table-expected.txt:
* platform/efl/fast/table/table-cell-before-after-content-around-table-row-expected.txt:
* platform/efl/fast/table/table-cell-before-child-in-table-expected.txt:
* platform/efl/fast/table/table-cell-split-expected.txt:
* platform/efl/fast/table/table-display-types-expected.txt:
* platform/efl/fast/table/table-display-types-strict-expected.txt:
* platform/efl/fast/table/table-display-types-vertical-expected.txt:
* platform/efl/fast/table/table-insert-before-non-anonymous-block-expected.txt:
* platform/efl/fast/table/table-row-before-after-content-around-block-expected.txt:
* platform/efl/fast/table/table-row-before-after-content-around-table-cell-expected.txt:
* platform/efl/fast/table/table-row-before-after-content-around-table-expected.txt:
* platform/efl/fast/table/table-row-before-child-style-update-expected.txt:
* platform/efl/fast/table/table-row-outline-paint-expected.txt:
* platform/efl/fast/table/table-row-split2-expected.txt:
* platform/efl/fast/table/table-row-style-not-updated-expected.txt:
* platform/efl/fast/table/table-row-style-not-updated-with-after-content-expected.txt:
* platform/efl/fast/table/table-row-style-not-updated-with-before-content-expected.txt:
* platform/efl/fast/table/table-section-split2-expected.txt:
* platform/efl/fast/table/table-split-expected.txt:
* platform/efl/fast/table/table-split2-expected.txt:
* platform/efl/fast/table/table-style-not-updated-expected.txt:
* platform/efl/fast/table/wide-colspan-expected.txt:
* platform/efl/fast/table/wide-column-expected.txt:
* platform/efl/fast/text/atsui-negative-spacing-features-expected.txt:
* platform/efl/fast/text/atsui-spacing-features-expected.txt:
* platform/efl/fast/text/basic/generic-family-reset-expected.txt:
* platform/efl/fast/text/international/003-expected.txt:
* platform/efl/fast/text/international/bidi-LDB-2-CSS-expected.txt:
* platform/efl/fast/text/international/bidi-LDB-2-HTML-expected.txt:
* platform/efl/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
* platform/efl/fast/text/international/bidi-override-expected.txt:
* platform/efl/fast/text/wbr-expected.txt:
* platform/efl/fast/text/whitespace/002-expected.txt:
* platform/efl/fast/text/whitespace/003-expected.txt:
* platform/efl/fast/text/whitespace/004-expected.txt:
* platform/efl/fast/text/whitespace/005-expected.txt:
* platform/efl/fast/text/whitespace/010-expected.txt:
* platform/efl/fast/text/whitespace/011-expected.txt:
* platform/efl/fast/text/whitespace/013-expected.txt:
* platform/efl/fast/text/whitespace/014-expected.txt:
* platform/efl/fast/text/whitespace/015-expected.txt:
* platform/efl/fast/text/whitespace/016-expected.txt:
* platform/efl/fast/text/whitespace/025-expected.txt:
* platform/efl/fast/text/whitespace/026-expected.txt:
* platform/efl/fast/writing-mode/table-percent-width-quirk-expected.txt:
* platform/efl/fast/writing-mode/vertical-align-table-baseline-expected.txt:
* platform/efl/http/tests/misc/acid2-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt:
* platform/efl/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt:
* platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
* platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
* platform/efl/tables/layering/paint-test-layering-1-expected.txt:
* platform/efl/tables/layering/paint-test-layering-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10009-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10036-expected.txt:
* platform/efl/tables/mozilla/bugs/bug101201-expected.txt:
* platform/efl/tables/mozilla/bugs/bug101674-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10296-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1055-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10565-expected.txt:
* platform/efl/tables/mozilla/bugs/bug10633-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1067-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1067-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug106795-expected.txt:
* platform/efl/tables/mozilla/bugs/bug106816-expected.txt:
* platform/efl/tables/mozilla/bugs/bug113235-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug113424-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1163-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1188-expected.txt:
* platform/efl/tables/mozilla/bugs/bug12008-expected.txt:
* platform/efl/tables/mozilla/bugs/bug120107-expected.txt:
* platform/efl/tables/mozilla/bugs/bug120364-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1224-expected.txt:
* platform/efl/tables/mozilla/bugs/bug12268-expected.txt:
* platform/efl/tables/mozilla/bugs/bug12709-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1271-expected.txt:
* platform/efl/tables/mozilla/bugs/bug12908-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug12908-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1296-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1302-expected.txt:
* platform/efl/tables/mozilla/bugs/bug13169-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1318-expected.txt:
* platform/efl/tables/mozilla/bugs/bug137388-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug137388-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug137388-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug139524-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug139524-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug139524-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug139524-4-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1430-expected.txt:
* platform/efl/tables/mozilla/bugs/bug14323-expected.txt:
* platform/efl/tables/mozilla/bugs/bug14929-expected.txt:
* platform/efl/tables/mozilla/bugs/bug15247-expected.txt:
* platform/efl/tables/mozilla/bugs/bug154780-expected.txt:
* platform/efl/tables/mozilla/bugs/bug15544-expected.txt:
* platform/efl/tables/mozilla/bugs/bug159108-expected.txt:
* platform/efl/tables/mozilla/bugs/bug15933-expected.txt:
* platform/efl/tables/mozilla/bugs/bug16012-expected.txt:
* platform/efl/tables/mozilla/bugs/bug16252-expected.txt:
* platform/efl/tables/mozilla/bugs/bug17138-expected.txt:
* platform/efl/tables/mozilla/bugs/bug175455-4-expected.txt:
* platform/efl/tables/mozilla/bugs/bug17548-expected.txt:
* platform/efl/tables/mozilla/bugs/bug17587-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1800-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1802-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1802s-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1809-expected.txt:
* platform/efl/tables/mozilla/bugs/bug18440-expected.txt:
* platform/efl/tables/mozilla/bugs/bug18664-expected.txt:
* platform/efl/tables/mozilla/bugs/bug18955-expected.txt:
* platform/efl/tables/mozilla/bugs/bug19061-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug19061-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug19356-expected.txt:
* platform/efl/tables/mozilla/bugs/bug20804-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2123-expected.txt:
* platform/efl/tables/mozilla/bugs/bug215629-expected.txt:
* platform/efl/tables/mozilla/bugs/bug219693-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug219693-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug22019-expected.txt:
* platform/efl/tables/mozilla/bugs/bug220536-expected.txt:
* platform/efl/tables/mozilla/bugs/bug222336-expected.txt:
* platform/efl/tables/mozilla/bugs/bug22246-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug22246-3a-expected.txt:
* platform/efl/tables/mozilla/bugs/bug22513-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2296-expected.txt:
* platform/efl/tables/mozilla/bugs/bug23235-expected.txt:
* platform/efl/tables/mozilla/bugs/bug24200-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug25004-expected.txt:
* platform/efl/tables/mozilla/bugs/bug25074-expected.txt:
* platform/efl/tables/mozilla/bugs/bug25663-expected.txt:
* platform/efl/tables/mozilla/bugs/bug26553-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2684-expected.txt:
* platform/efl/tables/mozilla/bugs/bug269566-expected.txt:
* platform/efl/tables/mozilla/bugs/bug277062-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2773-expected.txt:
* platform/efl/tables/mozilla/bugs/bug27993-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2886-expected.txt:
* platform/efl/tables/mozilla/bugs/bug28933-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29058-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29314-expected.txt:
* platform/efl/tables/mozilla/bugs/bug29429-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2954-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2981-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2981-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug2997-expected.txt:
* platform/efl/tables/mozilla/bugs/bug30273-expected.txt:
* platform/efl/tables/mozilla/bugs/bug30559-expected.txt:
* platform/efl/tables/mozilla/bugs/bug3103-expected.txt:
* platform/efl/tables/mozilla/bugs/bug32205-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug3260-expected.txt:
* platform/efl/tables/mozilla/bugs/bug33137-expected.txt:
* platform/efl/tables/mozilla/bugs/bug33855-expected.txt:
* platform/efl/tables/mozilla/bugs/bug3454-expected.txt:
* platform/efl/tables/mozilla/bugs/bug38916-expected.txt:
* platform/efl/tables/mozilla/bugs/bug3977-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4093-expected.txt:
* platform/efl/tables/mozilla/bugs/bug42187-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4385-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4427-expected.txt:
* platform/efl/tables/mozilla/bugs/bug44505-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4501-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4527-expected.txt:
* platform/efl/tables/mozilla/bugs/bug45350-expected.txt:
* platform/efl/tables/mozilla/bugs/bug45486-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4576-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46268-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46268-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug46623-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug47432-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4803-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4849-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug4849-expected.txt:
* platform/efl/tables/mozilla/bugs/bug51727-expected.txt:
* platform/efl/tables/mozilla/bugs/bug5188-expected.txt:
* platform/efl/tables/mozilla/bugs/bug52505-expected.txt:
* platform/efl/tables/mozilla/bugs/bug52506-expected.txt:
* platform/efl/tables/mozilla/bugs/bug53690-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug53690-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug53891-expected.txt:
* platform/efl/tables/mozilla/bugs/bug5538-expected.txt:
* platform/efl/tables/mozilla/bugs/bug55789-expected.txt:
* platform/efl/tables/mozilla/bugs/bug56201-expected.txt:
* platform/efl/tables/mozilla/bugs/bug57828-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug5797-expected.txt:
* platform/efl/tables/mozilla/bugs/bug5835-expected.txt:
* platform/efl/tables/mozilla/bugs/bug60804-expected.txt:
* platform/efl/tables/mozilla/bugs/bug60807-expected.txt:
* platform/efl/tables/mozilla/bugs/bug6184-expected.txt:
* platform/efl/tables/mozilla/bugs/bug6304-expected.txt:
* platform/efl/tables/mozilla/bugs/bug6404-expected.txt:
* platform/efl/tables/mozilla/bugs/bug647-expected.txt:
* platform/efl/tables/mozilla/bugs/bug6674-expected.txt:
* platform/efl/tables/mozilla/bugs/bug68998-expected.txt:
* platform/efl/tables/mozilla/bugs/bug69382-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug69382-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug72359-expected.txt:
* platform/efl/tables/mozilla/bugs/bug7342-expected.txt:
* platform/efl/tables/mozilla/bugs/bug7714-expected.txt:
* platform/efl/tables/mozilla/bugs/bug78162-expected.txt:
* platform/efl/tables/mozilla/bugs/bug82946-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug86708-expected.txt:
* platform/efl/tables/mozilla/bugs/bug8950-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9123-1-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9123-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug92143-expected.txt:
* platform/efl/tables/mozilla/bugs/bug92647-2-expected.txt:
* platform/efl/tables/mozilla/bugs/bug963-expected.txt:
* platform/efl/tables/mozilla/bugs/bug96334-expected.txt:
* platform/efl/tables/mozilla/bugs/bug97383-expected.txt:
* platform/efl/tables/mozilla/bugs/bug9879-1-expected.txt:
* platform/efl/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:
* platform/efl/tables/mozilla/core/bloomberg-expected.txt:
* platform/efl/tables/mozilla/core/borders-expected.txt:
* platform/efl/tables/mozilla/core/cell_heights-expected.txt:
* platform/efl/tables/mozilla/core/col_span-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_auto_autoFix-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_auto_autoFixPer-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_auto_fix-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_auto_fixPer-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_auto_per-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_fix_autoFix-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_fix_fix-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_fix_fixPer-expected.txt:
* platform/efl/tables/mozilla/core/col_widths_fix_per-expected.txt:
* platform/efl/tables/mozilla/core/margins-expected.txt:
* platform/efl/tables/mozilla/core/misc-expected.txt:
* platform/efl/tables/mozilla/core/nested1-expected.txt:
* platform/efl/tables/mozilla/core/one_row-expected.txt:
* platform/efl/tables/mozilla/core/table_frame-expected.txt:
* platform/efl/tables/mozilla/core/table_heights-expected.txt:
* platform/efl/tables/mozilla/core/table_rules-expected.txt:
* platform/efl/tables/mozilla/core/table_widths-expected.txt:
* platform/efl/tables/mozilla/dom/insertColGroups1-expected.txt:
* platform/efl/tables/mozilla/dom/insertColGroups2-expected.txt:
* platform/efl/tables/mozilla/dom/insertCols1-expected.txt:
* platform/efl/tables/mozilla/dom/insertCols2-expected.txt:
* platform/efl/tables/mozilla/dom/insertCols3-expected.txt:
* platform/efl/tables/mozilla/dom/insertCols4-expected.txt:
* platform/efl/tables/mozilla/dom/insertCols5-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_position-table-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-cell-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-column-group-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-expected.txt:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png:
* platform/efl/tables/mozilla/marvin/backgr_simple-table-row-group-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_align_center-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_align_justify-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_align_left-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_align_right-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_span-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_width_pct-expected.txt:
* platform/efl/tables/mozilla/marvin/colgroup_width_px-expected.txt:
* platform/efl/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt:
* platform/efl/tables/mozilla/marvin/table_overflow_td_dynamic_deactivate-expected.txt:
* platform/efl/tables/mozilla/marvin/table_row_align_center-expected.txt:
* platform/efl/tables/mozilla/marvin/table_row_align_left-expected.txt:
* platform/efl/tables/mozilla/marvin/table_row_align_right-expected.txt:
* platform/efl/tables/mozilla/marvin/table_rules_groups-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_aqua-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_aqua_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_black-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_black_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_blue-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_blue_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_fuchsia-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_fuchsia_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_gray-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_gray_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_green-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_green_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_lime-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_lime_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_maroon-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_maroon_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_navy-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_navy_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_olive-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_olive_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_purple-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_purple_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_red-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_red_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_silver-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_silver_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_teal-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_white-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_white_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_yellow-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_bgcolor_yellow_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_cellpadding-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_cellpadding_pct-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_td_width-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_th_width-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_width_percent-expected.txt:
* platform/efl/tables/mozilla/marvin/tables_width_px-expected.txt:
* platform/efl/tables/mozilla/marvin/tbody_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/tbody_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/tbody_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/tbody_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/td_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/td_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/td_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/td_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/tfoot_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/tfoot_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/tfoot_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/tfoot_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/th_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/th_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/th_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/th_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/thead_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/thead_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/thead_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/thead_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_black-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_blue-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_gray-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_green-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_lime-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_maroon-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_navy-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_olive-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_purple-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_red-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_silver-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_teal-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_white-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_yellow-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/tr_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_align_char-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_span-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_width_px-expected.txt:
* platform/efl/tables/mozilla/marvin/x_col_width_rel-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_align_char-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_span-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_colgroup_width_rel-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tbody_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_align_center-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_align_char-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_align_justify-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_align_left-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_align_right-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_td_width-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tfoot_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_align_center-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_align_char-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_align_justify-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_align_left-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_align_right-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_rowspan-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_th_width-expected.txt:
* platform/efl/tables/mozilla/marvin/x_thead_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_thead_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_thead_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_thead_valign_top-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_align_char-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_valign_baseline-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_valign_bottom-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_valign_middle-expected.txt:
* platform/efl/tables/mozilla/marvin/x_tr_valign_top-expected.txt:
* platform/efl/tables/mozilla/other/cell_widths-expected.txt:
* platform/efl/tables/mozilla/other/ms-expected.txt:
* platform/efl/tables/mozilla/other/nested2-expected.txt:
* platform/efl/tables/mozilla/other/nestedTables-expected.txt:
* platform/efl/tables/mozilla/other/slashlogo-expected.txt:
* platform/efl/tables/mozilla/other/test3-expected.txt:
* platform/efl/tables/mozilla/other/test6-expected.txt:
* platform/efl/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
* platform/efl/tables/mozilla/other/wa_table_tr_align-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/97619-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1010-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1128-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1164-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug128876-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug14007-1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug14007-2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1647-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug1725-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug17826-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug21518-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug22122-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug23847-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug27993-2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug3105-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug56024-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug59252-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug7121-2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug72393-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug80762-2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug8499-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
* platform/efl/tables/mozilla_expected_failures/bugs/bug9879-1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/captions1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/captions2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/col_span2-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/cols1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/columns-expected.txt:
* platform/efl/tables/mozilla_expected_failures/core/standards1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/dom/appendColGroup1-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_position-table-column-group-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_td_dynamic_deactivate-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
* platform/efl/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.txt:
* platform/efl/tables/mozilla_expected_failures/other/empty_cells-expected.txt:
* platform/efl/tables/mozilla_expected_failures/other/test4-expected.txt:

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

5 years ago[JSC] make Object.getOwnPropertyDescriptors() work with non-JSObject types
commit-queue@webkit.org [Wed, 3 Feb 2016 04:22:39 +0000 (04:22 +0000)]
[JSC] make Object.getOwnPropertyDescriptors() work with non-JSObject types
https://bugs.webkit.org/show_bug.cgi?id=153814

Patch by Caitlin Potter <caitp@igalia.com> on 2016-02-02
Reviewed by Yusuke Suzuki.

* runtime/ObjectConstructor.cpp:
(JSC::objectConstructorGetOwnPropertyDescriptors):
* tests/es6/Object_static_methods_Object.getOwnPropertyDescriptors.js:
(testGlobalProxy):

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

5 years agoRemove references to CallFrameInlines.h
aakash_jain@apple.com [Wed, 3 Feb 2016 04:16:45 +0000 (04:16 +0000)]
Remove references to CallFrameInlines.h
https://bugs.webkit.org/show_bug.cgi?id=153810

Reviewed by Mark Lam.

Source/JavaScriptCore:

* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:

Source/WebCore:

* ForwardingHeaders/interpreter/CallFrameInlines.h: Removed.

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

5 years ago[JSC] Implement Object.getOwnPropertyDescriptors() proposal
commit-queue@webkit.org [Wed, 3 Feb 2016 03:17:53 +0000 (03:17 +0000)]
[JSC] Implement Object.getOwnPropertyDescriptors() proposal
https://bugs.webkit.org/show_bug.cgi?id=153799

Patch by Caitlin Potter <caitp@igalia.com> on 2016-02-02
Reviewed by Darin Adler.

Source/JavaScriptCore:

Implements the Object.getOwnPropertyDescriptors() proposal, which
reached Stage 3 in the TC39 process in January 2016.
https://github.com/tc39/proposal-object-getownpropertydescriptors

The method extracts a set of property descriptor objects, which can
be safely used via `Object.create()`.

* runtime/ObjectConstructor.cpp:
(JSC::objectConstructorGetOwnPropertyDescriptors):

LayoutTests:

* js/Object-getOwnPropertyNames-expected.txt:
* js/script-tests/Object-getOwnPropertyNames.js:

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

5 years agoWEBGL_debug_shaders should be disabled for OpenGLES backend also
hur.ims@navercorp.com [Wed, 3 Feb 2016 02:27:26 +0000 (02:27 +0000)]
WEBGL_debug_shaders should be disabled for OpenGLES backend also
https://bugs.webkit.org/show_bug.cgi?id=153788

Reviewed by Darin Adler.

WEBGL_debug_shaders extension is disabled for OpenGL backed platform
because the implementation is not fully compliant to the spec yet.
Because this is not an OpenGL-specific problem, WEBGL_debug_shaders extension
should be disabled for OpenGLES backed platforms also.

No new tests, already covered by existing tests.

* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::supportsExtension): Deleted.
* platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
(WebCore::Extensions3DOpenGLCommon::supports):

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

5 years agoModern IDB: storage/indexeddb/cursor-primary-key-order.html fails with SQLite backend.
beidson@apple.com [Wed, 3 Feb 2016 00:12:23 +0000 (00:12 +0000)]
Modern IDB: storage/indexeddb/cursor-primary-key-order.html fails with SQLite backend.
https://bugs.webkit.org/show_bug.cgi?id=153800

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (Existing tests now unskipped).

The IndexRecords SQL schema did not order things by primaryKey.

Easy fix to the schema. Sadly requires a migration...

* Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
(WebCore::IDBServer::v1IndexRecordsTableSchema):
(WebCore::IDBServer::v1IndexRecordsTableSchemaAlternate):
(WebCore::IDBServer::v2IndexRecordsTableSchema):
(WebCore::IDBServer::v2IndexRecordsTableSchemaAlternate):
(WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidIndexRecordsTable):
(WebCore::IDBServer::SQLiteIDBBackingStore::createAndPopulateInitialDatabaseInfo):
* Modules/indexeddb/server/SQLiteIDBBackingStore.h:

LayoutTests:

* platform/mac-wk1/TestExpectations:

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

5 years agoProvide handleKeyWebEvent with completion handler.
enrica@apple.com [Wed, 3 Feb 2016 00:09:33 +0000 (00:09 +0000)]
Provide handleKeyWebEvent with completion handler.
https://bugs.webkit.org/show_bug.cgi?id=153806
rdar://problem/24399218

Reviewed by Tim Horton.

* UIProcess/ios/WKContentViewInteraction.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView handleKeyWebEvent:withCompletionHandler:]):
(-[WKContentView _didHandleKeyEvent:eventWasHandled:]):

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

5 years ago<attachment> should attempt to guess the icon from the file extension if all else...
timothy_horton@apple.com [Wed, 3 Feb 2016 00:08:33 +0000 (00:08 +0000)]
<attachment> should attempt to guess the icon from the file extension if all else fails
https://bugs.webkit.org/show_bug.cgi?id=153804
<rdar://problem/24448146>

Reviewed by Anders Carlsson.

Source/WebCore:

Test: fast/attachment/attachment-icon-from-file-extension.html

* platform/graphics/Icon.h:
* platform/graphics/mac/IconMac.mm:
(WebCore::Icon::createIconForFileExtension):
* rendering/RenderThemeMac.mm:
(WebCore::iconForAttachment):
If we can't find an icon any other way, try assuming that the title is a filename,
grab its extension, and have NSWorkspace try to work out an icon for it.

LayoutTests:

* fast/attachment/attachment-icon-from-file-extension-expected.html: Added.
* fast/attachment/attachment-icon-from-file-extension.html: Added.

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

5 years agoB3 should be able to compile trivial self-loops
fpizlo@apple.com [Tue, 2 Feb 2016 23:46:52 +0000 (23:46 +0000)]
B3 should be able to compile trivial self-loops
https://bugs.webkit.org/show_bug.cgi?id=153802
rdar://problem/24465632

Reviewed by Michael Saboff.

Tail-duplicating a self-loop would mean doing a kind of loop unrolling. It wouldn't be
profitable even if it did work. It turns out that it doesn't work, because we edit the target
block before reading the source block, which breaks if the target and source block are the
same.

This disables tail duplication of self-loops, adds a test, and adds better validation for this
issue.

* b3/B3DuplicateTails.cpp:
* b3/B3Procedure.cpp:
(JSC::B3::Procedure::resetReachability):
* b3/testb3.cpp:
(JSC::B3::testComputeDivisionMagic):
(JSC::B3::testTrivialInfiniteLoop):
(JSC::B3::zero):
(JSC::B3::run):

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

5 years agoFix authentication with NetworkSession
achristensen@apple.com [Tue, 2 Feb 2016 23:42:40 +0000 (23:42 +0000)]
Fix authentication with NetworkSession
https://bugs.webkit.org/show_bug.cgi?id=153779

Reviewed by Brady Eidson.

This fixes many tests, including http/tests/xmlhttprequest/cross-origin-authorization.html.

* NetworkProcess/NetworkLoad.cpp:
(WebKit::NetworkLoad::NetworkLoad):
NetworkingContexts are not used with NetworkSession.  NetworkSession is used instead.
Pass allowStoredCredentials to the NetworkLoad so it knows whether to use a session with credential storage or not.
(WebKit::NetworkLoad::didReceiveChallenge):
Always call continueCanAuthenticateAgainstProtectionSpace because we might need credentials for synchronous requests.
(WebKit::NetworkLoad::continueCanAuthenticateAgainstProtectionSpace):
Reject the protection space if we cannot authenticate against this protection space.
If the protection space is not password-based (such as ServerTrustEvaluationRequested) and we can authenticate against this protection space,
then perform default handling instead of asking the UI process for a password, which wouldn't mean anything.
* NetworkProcess/NetworkLoad.h:
* NetworkProcess/NetworkSession.h:
Use a NSURLSession with configuration.URLCredentialStorage = nil but with the same cookie storage for requests without credentials.
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSession::NetworkSession):
(WebKit::NetworkSession::~NetworkSession):
(WebKit::NetworkSession::dataTaskForIdentifier):
(WebKit::NetworkSession::takeDownloadID):
(WebKit::NetworkDataTask::NetworkDataTask):
* WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::canAuthenticateAgainstProtectionSpace):
Always send a reply message so we can always do the callbacks of NSURLSession delegates.

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

5 years ago[ES6] bound functions .name property should be "bound " + the target function's name
sbarati@apple.com [Tue, 2 Feb 2016 23:26:08 +0000 (23:26 +0000)]
[ES6] bound functions .name property should be "bound " + the target function's name
https://bugs.webkit.org/show_bug.cgi?id=153796

Reviewed by Mark Lam.

Source/JavaScriptCore:

See http://tc39.github.io/ecma262/#sec-function.prototype.bind for details.
What the spec says:
```
function foo() { }
foo.bind(null).name === "bound foo"

(function bar() { }).bind(null).name === "bound bar"
```

* runtime/FunctionPrototype.cpp:
(JSC::functionProtoFuncToString):
* runtime/JSBoundFunction.cpp:
(JSC::hasInstanceBoundFunction):
(JSC::JSBoundFunction::create):
(JSC::JSBoundFunction::visitChildren):
(JSC::JSBoundFunction::toStringName):
* runtime/JSBoundFunction.h:
(JSC::JSBoundFunction::boundThis):
(JSC::JSBoundFunction::boundArgs):
(JSC::JSBoundFunction::createStructure):
* tests/es6.yaml:

LayoutTests:

* inspector/runtime/getProperties-expected.txt:
* platform/mac/http/tests/media/media-source/SourceBuffer-abort-readyState-expected.txt:
* platform/mac/http/tests/media/media-source/SourceBuffer-abort-removed-expected.txt:
* platform/mac/http/tests/media/media-source/SourceBuffer-abort-updating-expected.txt:
* platform/mac/http/tests/media/media-source/mediasource-sourcebuffer-mode-expected.txt:

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

5 years agoGet rid of anonymous stack slots
fpizlo@apple.com [Tue, 2 Feb 2016 23:21:12 +0000 (23:21 +0000)]
Get rid of anonymous stack slots
https://bugs.webkit.org/show_bug.cgi?id=151128

Reviewed by Mark Lam.

Source/JavaScriptCore:

When I first designed stack slots, the idea was that an "anonymous" stack slot was one that
behaved exactly like a C variable: if it never escaped, it would not need to get stack space
for the entire lifetime of the function - it could get any slab of stack so long as it
didn't interfere with other stack slots that would be live at the same time. The reason I
called them "anonymous" is that external code could not get its address. This felt like it
gave the stack slot anonymity. But it was never a good name for this concept.

Then I had the register allocator lower temporaries to anonymous stack slots when it spilled
them. Spilling became the sole client of anonymous stack slots.

Then I realized that there was an aspect of how spill slots work that make them want
slightly different semantics than a normal C variable. A C variable is a proper memory
location - you could do a store to only some bytes in the variable, and it's reasonable to
expect that this will not destroy the other bytes in the variable. But that means that to
compute their liveness, you have to do something like a per-byte liveness. That's overkill
for spill slots. You want any store to the spill slot to kill the whole slot even if it
writes to just part of the slot. This matches how temporaries work. So rather than implement
per-byte liveness, I decided to change the semantics of anonymous stack slots to make them
work like how I wanted spill slots to work. This was quite dirty, and put B3 in the awkward
situation that B3's anonymous stack slots behaved like spill slots. But it was OK since
nobody used anonymous stack slots in B3.

Then I added tail duplication, which required having a mechanism for introducing non-SSA
variables in B3. I decided to use anonymous stack slots for this purpose. All of a sudden
this all felt like it made sense: anonymous stack slots were just like variables! Hooray for
the amazing foresight of anonymous stack slots!

But then I realized that this was all very bad. We want B3 to be able to optimize Store and
Load operations by reasoning about how they affect bytes in memory. For example, if you do
a Load of a 64-bit value, and then you modify just the low 32 bits of that value, and then
you do a 64-bit store back to the same location, then it would be better to transform this
into 32-bit operations. We don't do this optimization yet, but it's the kind of thing that
we want B3 to be able to do. To do it, we need Store to mean that it only affects N bytes
starting at the pointer, where N is the size of the thing being stored. But that's not what
Store means for anonymous stack slots. For anonymous slots, storing to any byte in the slot
clobbers all bytes in the slot. We were never clear if you need to store directly to an
anonymous slot to get this behavior, or if any pointer that points to an anoymous slot must
exhibit this behavior when stored to. Neither kinds of semantics make sense to me.

This change fixes the problem by eradicating anonymous stack slots. In B3, they are replaced
with Variables. In Air, they are replaced with a different stack slot kind, called Spill.
There is no such thing as stack slot kinds in B3 anymore, all B3 stack slots are locked. In
Air, there is still the concept of stack slot kind - Locked or Spill.

B3 Variables are awesome. They are exactly what they seem to be. They have a type. They are
declared at the top level in the Procedure. You can access them with new opcodes, Get and
Set. This greatly simplifies demoting SSA values to variables and promoting them back to
SSA. I even made the instruction selector do the right things for variables, which means
that introducing variables won't hurt instruction selection (there will be extra moves, but
IRC will kill them). It's great to have non-SSA variables as an explicit concept in IR
because it means that you don't have to do any magic to use them - they Just Work.

Air spill slots behave almost like anonymous stack slots, with one exception: you cannot
escape them. We validate this by making it illegal to UseAddr on a spill slot. This removes
the need to answer awkward questions like: does a 32-bit Def on a pointer that may point to
a 64-bit spill slot do anything to the 32 bits above the pointer?  Does it write zero to it?
Does it write zero to it just when the pointer actually points to a spill slot or always?
These are silly questions, and we don't have to answer them because the only way to refer to
a spill slot is directly. No escaping means no aliasing.

This doesn't affect performance. It just makes the compiler more fun to work with by
removing some cognitive dissonance.

* CMakeLists.txt:
* JavaScriptCore.xcodeproj/project.pbxproj:
* b3/B3ArgumentRegValue.h:
* b3/B3CCallValue.h:
* b3/B3CheckValue.cpp:
(JSC::B3::CheckValue::cloneImpl):
(JSC::B3::CheckValue::CheckValue):
* b3/B3CheckValue.h:
* b3/B3Const32Value.h:
* b3/B3Const64Value.h:
* b3/B3ConstDoubleValue.h:
* b3/B3ConstFloatValue.h:
* b3/B3ConstPtrValue.h:
(JSC::B3::ConstPtrValue::ConstPtrValue):
* b3/B3ControlValue.cpp:
(JSC::B3::ControlValue::convertToJump):
(JSC::B3::ControlValue::convertToOops):
(JSC::B3::ControlValue::dumpMeta):
* b3/B3ControlValue.h:
* b3/B3Effects.cpp:
(JSC::B3::Effects::interferes):
(JSC::B3::Effects::dump):
* b3/B3Effects.h:
(JSC::B3::Effects::mustExecute):
* b3/B3EliminateCommonSubexpressions.cpp:
* b3/B3FixSSA.cpp:
(JSC::B3::demoteValues):
(JSC::B3::fixSSA):
* b3/B3FixSSA.h:
* b3/B3IndexMap.h:
(JSC::B3::IndexMap::resize):
(JSC::B3::IndexMap::clear):
(JSC::B3::IndexMap::size):
(JSC::B3::IndexMap::operator[]):
* b3/B3IndexSet.h:
(JSC::B3::IndexSet::contains):
(JSC::B3::IndexSet::size):
(JSC::B3::IndexSet::isEmpty):
* b3/B3LowerToAir.cpp:
(JSC::B3::Air::LowerToAir::run):
(JSC::B3::Air::LowerToAir::lower):
* b3/B3MemoryValue.h:
* b3/B3Opcode.cpp:
(WTF::printInternal):
* b3/B3Opcode.h:
* b3/B3PatchpointValue.cpp:
(JSC::B3::PatchpointValue::cloneImpl):
(JSC::B3::PatchpointValue::PatchpointValue):
* b3/B3PatchpointValue.h:
* b3/B3Procedure.cpp:
(JSC::B3::Procedure::Procedure):
(JSC::B3::Procedure::addBlock):
(JSC::B3::Procedure::addStackSlot):
(JSC::B3::Procedure::addVariable):
(JSC::B3::Procedure::clone):
(JSC::B3::Procedure::addIntConstant):
(JSC::B3::Procedure::dump):
(JSC::B3::Procedure::deleteStackSlot):
(JSC::B3::Procedure::deleteVariable):
(JSC::B3::Procedure::deleteValue):
(JSC::B3::Procedure::deleteOrphans):
(JSC::B3::Procedure::calleeSaveRegisters):
(JSC::B3::Procedure::addValueImpl):
(JSC::B3::Procedure::setBlockOrderImpl):
(JSC::B3::Procedure::addAnonymousStackSlot): Deleted.
(JSC::B3::Procedure::addStackSlotIndex): Deleted.
(JSC::B3::Procedure::addValueIndex): Deleted.
* b3/B3Procedure.h:
(JSC::B3::Procedure::setBlockOrder):
(JSC::B3::Procedure::stackSlots):
(JSC::B3::Procedure::variables):
(JSC::B3::Procedure::values):
(JSC::B3::Procedure::StackSlotsCollection::StackSlotsCollection): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::size): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::at): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::operator[]): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::iterator): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::operator*): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::operator++): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::operator==): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::operator!=): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::iterator::findNext): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::begin): Deleted.
(JSC::B3::Procedure::StackSlotsCollection::end): Deleted.
(JSC::B3::Procedure::ValuesCollection::ValuesCollection): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::iterator): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::operator*): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::operator++): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::operator==): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::operator!=): Deleted.
(JSC::B3::Procedure::ValuesCollection::iterator::findNext): Deleted.
(JSC::B3::Procedure::ValuesCollection::begin): Deleted.
(JSC::B3::Procedure::ValuesCollection::end): Deleted.
(JSC::B3::Procedure::ValuesCollection::size): Deleted.
(JSC::B3::Procedure::ValuesCollection::at): Deleted.
(JSC::B3::Procedure::ValuesCollection::operator[]): Deleted.
* b3/B3ProcedureInlines.h:
(JSC::B3::Procedure::add):
* b3/B3ReduceStrength.cpp:
* b3/B3SlotBaseValue.h:
* b3/B3SparseCollection.h: Added.
(JSC::B3::SparseCollection::SparseCollection):
(JSC::B3::SparseCollection::add):
(JSC::B3::SparseCollection::addNew):
(JSC::B3::SparseCollection::remove):
(JSC::B3::SparseCollection::size):
(JSC::B3::SparseCollection::isEmpty):
(JSC::B3::SparseCollection::at):
(JSC::B3::SparseCollection::operator[]):
(JSC::B3::SparseCollection::iterator::iterator):
(JSC::B3::SparseCollection::iterator::operator*):
(JSC::B3::SparseCollection::iterator::operator++):
(JSC::B3::SparseCollection::iterator::operator==):
(JSC::B3::SparseCollection::iterator::operator!=):
(JSC::B3::SparseCollection::iterator::findNext):
(JSC::B3::SparseCollection::begin):
(JSC::B3::SparseCollection::end):
* b3/B3StackSlot.cpp:
(JSC::B3::StackSlot::deepDump):
(JSC::B3::StackSlot::StackSlot):
* b3/B3StackSlot.h:
(JSC::B3::StackSlot::byteSize):
(JSC::B3::StackSlot::index):
(JSC::B3::StackSlot::setOffsetFromFP):
(JSC::B3::StackSlot::kind): Deleted.
(JSC::B3::StackSlot::isLocked): Deleted.
* b3/B3StackSlotKind.cpp: Removed.
* b3/B3StackSlotKind.h: Removed.
* b3/B3StackmapValue.cpp:
(JSC::B3::StackmapValue::dumpMeta):
(JSC::B3::StackmapValue::StackmapValue):
* b3/B3StackmapValue.h:
* b3/B3SwitchValue.cpp:
(JSC::B3::SwitchValue::cloneImpl):
(JSC::B3::SwitchValue::SwitchValue):
* b3/B3SwitchValue.h:
* b3/B3UpsilonValue.h:
* b3/B3Validate.cpp:
* b3/B3Value.cpp:
(JSC::B3::Value::replaceWithIdentity):
(JSC::B3::Value::replaceWithNop):
(JSC::B3::Value::replaceWithPhi):
(JSC::B3::Value::dump):
(JSC::B3::Value::effects):
(JSC::B3::Value::checkOpcode):
* b3/B3Value.h:
* b3/B3Variable.cpp: Added.
(JSC::B3::Variable::~Variable):
(JSC::B3::Variable::dump):
(JSC::B3::Variable::deepDump):
(JSC::B3::Variable::Variable):
* b3/B3Variable.h: Added.
(JSC::B3::Variable::type):
(JSC::B3::Variable::index):
(JSC::B3::DeepVariableDump::DeepVariableDump):
(JSC::B3::DeepVariableDump::dump):
(JSC::B3::deepDump):
* b3/B3VariableValue.cpp: Added.
(JSC::B3::VariableValue::~VariableValue):
(JSC::B3::VariableValue::dumpMeta):
(JSC::B3::VariableValue::cloneImpl):
(JSC::B3::VariableValue::VariableValue):
* b3/B3VariableValue.h: Added.
* b3/air/AirAllocateStack.cpp:
(JSC::B3::Air::allocateStack):
* b3/air/AirCode.cpp:
(JSC::B3::Air::Code::addStackSlot):
(JSC::B3::Air::Code::addSpecial):
(JSC::B3::Air::Code::cCallSpecial):
* b3/air/AirCode.h:
(JSC::B3::Air::Code::begin):
(JSC::B3::Air::Code::end):
(JSC::B3::Air::Code::stackSlots):
(JSC::B3::Air::Code::specials):
(JSC::B3::Air::Code::forAllTmps):
(JSC::B3::Air::Code::StackSlotsCollection::StackSlotsCollection): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::size): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::at): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::operator[]): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::iterator::iterator): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::iterator::operator*): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::iterator::operator++): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::iterator::operator==): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::iterator::operator!=): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::begin): Deleted.
(JSC::B3::Air::Code::StackSlotsCollection::end): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::SpecialsCollection): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::size): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::at): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::operator[]): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::iterator::iterator): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::iterator::operator*): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::iterator::operator++): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::iterator::operator==): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::iterator::operator!=): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::begin): Deleted.
(JSC::B3::Air::Code::SpecialsCollection::end): Deleted.
* b3/air/AirFixObviousSpills.cpp:
* b3/air/AirInstInlines.h:
* b3/air/AirIteratedRegisterCoalescing.cpp:
* b3/air/AirLiveness.h:
* b3/air/AirLowerAfterRegAlloc.cpp:
(JSC::B3::Air::lowerAfterRegAlloc):
* b3/air/AirSpecial.cpp:
(JSC::B3::Air::Special::Special):
* b3/air/AirSpecial.h:
* b3/air/AirSpillEverything.cpp:
(JSC::B3::Air::spillEverything):
* b3/air/AirStackSlot.cpp:
(JSC::B3::Air::StackSlot::dump):
(JSC::B3::Air::StackSlot::deepDump):
(JSC::B3::Air::StackSlot::StackSlot):
* b3/air/AirStackSlot.h:
(JSC::B3::Air::StackSlot::byteSize):
(JSC::B3::Air::StackSlot::kind):
(JSC::B3::Air::StackSlot::isLocked):
(JSC::B3::Air::StackSlot::isSpill):
(JSC::B3::Air::StackSlot::index):
(JSC::B3::Air::StackSlot::ensureSize):
* b3/air/AirStackSlotKind.cpp: Copied from Source/JavaScriptCore/b3/B3StackSlotKind.cpp.
(WTF::printInternal):
* b3/air/AirStackSlotKind.h: Copied from Source/JavaScriptCore/b3/B3StackSlotKind.h.
* b3/air/opcode_generator.rb:
* b3/air/testair.cpp:
(JSC::B3::Air::testShuffleBroadcastAllRegs):
(JSC::B3::Air::testShuffleShiftAllRegs):
(JSC::B3::Air::testShuffleRotateAllRegs):
* b3/testb3.cpp:
(JSC::B3::testStackSlot):
(JSC::B3::testStoreLoadStackSlot):
* ftl/FTLB3Output.cpp:
(JSC::FTL::Output::lockedStackSlot):
(JSC::FTL::Output::neg):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::DFG::LowerDFGToLLVM::compileInvalidationPoint):

Websites/webkit.org:

This changes the documentation to account for the addition of Variables and the Get and Set
opcodes, and the removal of anonymous stack slots from B3 IR.

* docs/b3/intermediate-representation.html:

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

5 years agoFactor style sharing code out of StyleResolver
antti@apple.com [Tue, 2 Feb 2016 22:34:45 +0000 (22:34 +0000)]
Factor style sharing code out of StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=153768

Reviewed by Darin Adler.

Move the code to a new class, Style::SharingResolver.

When resolving document style we query the sharing resolver first before using the regular style resolver.
Other paths that call style resolver were mostly already disabling it with DisallowStyleSharing flag.

* WebCore.xcodeproj/project.pbxproj:
* css/ElementRuleCollector.cpp:
(WebCore::MatchRequest::MatchRequest):
(WebCore::ElementRuleCollector::matchAllRules):
(WebCore::ElementRuleCollector::hasAnyMatchingRules):

    More const.

* css/ElementRuleCollector.h:
(WebCore::ElementRuleCollector::setRegionForStyling):
(WebCore::ElementRuleCollector::setMedium):
* css/MediaQueryMatcher.cpp:
(WebCore::MediaQueryMatcher::prepareEvaluator):
* css/StyleMedia.cpp:
(WebCore::StyleMedia::matchMedium):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::State::cacheBorderAndBackground):
(WebCore::StyleResolver::StyleResolver):
(WebCore::StyleResolver::sweepMatchedPropertiesCache):
(WebCore::StyleResolver::State::State):
(WebCore::StyleResolver::State::setStyle):
(WebCore::isAtShadowBoundary):
(WebCore::StyleResolver::styleForElement):
(WebCore::StyleResolver::classNamesAffectedByRules): Deleted.
(WebCore::parentElementPreventsSharing): Deleted.
(WebCore::StyleResolver::locateCousinList): Deleted.
(WebCore::StyleResolver::styleSharingCandidateMatchesRuleSet): Deleted.
(WebCore::StyleResolver::canShareStyleWithControl): Deleted.
(WebCore::elementHasDirectionAuto): Deleted.
(WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes): Deleted.
(WebCore::StyleResolver::canShareStyleWithElement): Deleted.
(WebCore::StyleResolver::findSiblingForStyleSharing): Deleted.
(WebCore::StyleResolver::locateSharedStyle): Deleted.

    Style sharing code moves to SharingResolver.

* css/StyleResolver.h:
(WebCore::StyleResolver::mediaQueryEvaluator):
(WebCore::StyleResolver::State::regionForStyling):
(WebCore::StyleResolver::State::elementLinkState):
(WebCore::StyleResolver::State::setApplyPropertyToRegularStyle):
(WebCore::StyleResolver::State::setApplyPropertyToVisitedLinkStyle):
(WebCore::StyleResolver::state):
(WebCore::StyleResolver::setTextOrientation):
(WebCore::StyleResolver::State::setElementAffectedByClassRules): Deleted.
(WebCore::StyleResolver::State::elementAffectedByClassRules): Deleted.
(WebCore::StyleResolver::styleNotYetAvailable): Deleted.

    Placeholder code moves to TreeResolver.

* dom/VisitedLinkState.cpp:
(WebCore::linkAttribute):
(WebCore::VisitedLinkState::invalidateStyleForAllLinks):
(WebCore::linkHashForElement):
(WebCore::VisitedLinkState::invalidateStyleForLink):
(WebCore::VisitedLinkState::determineLinkStateSlowCase):
* dom/VisitedLinkState.h:
(WebCore::VisitedLinkState::determineLinkState):
* html/HTMLFormControlElement.h:
* rendering/RenderElement.cpp:
(WebCore::RenderElement::getUncachedPseudoStyle):
* rendering/RenderNamedFlowFragment.cpp:
(WebCore::RenderNamedFlowFragment::computeStyleInRegion):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::isStyleAvailable):
(WebCore::RenderStyle::hasUniquePseudoStyle):
* style/StyleSharingResolver.cpp: Added.
(WebCore::Style::SharingResolver::SharingResolver):
(WebCore::Style::parentElementPreventsSharing):
(WebCore::Style::elementHasDirectionAuto):
(WebCore::Style::SharingResolver::searchSimilar):
(WebCore::Style::SharingResolver::findSibling):
(WebCore::Style::SharingResolver::locateCousinList):
(WebCore::Style::canShareStyleWithControl):
(WebCore::Style::SharingResolver::canShareStyleWithElement):
(WebCore::Style::SharingResolver::styleSharingCandidateMatchesRuleSet):
(WebCore::Style::SharingResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
(WebCore::Style::SharingResolver::classNamesAffectedByRules):
* style/StyleSharingResolver.h: Added.
* style/StyleTreeResolver.cpp:
(WebCore::Style::ensurePlaceholderStyle):
(WebCore::Style::TreeResolver::TreeResolver):
(WebCore::Style::TreeResolver::styleForElement):

    Try to use SharingResolver first.
    Also move placeholder style handling here, it is only relevant when resolving document style.

(WebCore::Style::postResolutionCallbacksAreSuspended):
(WebCore::Style::isPlaceholderStyle):
* style/StyleTreeResolver.h:
* svg/SVGElement.cpp:
(WebCore::SVGElement::customStyleForRenderer):
* svg/SVGElementRareData.h:
(WebCore::SVGElementRareData::overrideComputedStyle):

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

5 years agoMarking perf/show-hide-table-rows.html as flaky on ios-simulator
ryanhaddad@apple.com [Tue, 2 Feb 2016 22:34:40 +0000 (22:34 +0000)]
Marking perf/show-hide-table-rows.html as flaky on ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=153803

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

5 years agoTagline in B3 docs should match the rest of the website
mitz@apple.com [Tue, 2 Feb 2016 21:58:24 +0000 (21:58 +0000)]
Tagline in B3 docs should match the rest of the website
https://bugs.webkit.org/show_bug.cgi?id=153801

Reviewed by Filip Pizlo.

Fix the tagline.

* docs/b3/assembly-intermediate-representation.html:
* docs/b3/index.html:
* docs/b3/intermediate-representation.html:

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

5 years ago<attachment> icon should be a folder for the custom MIME type multipart/x-folder
timothy_horton@apple.com [Tue, 2 Feb 2016 21:31:36 +0000 (21:31 +0000)]
<attachment> icon should be a folder for the custom MIME type multipart/x-folder
https://bugs.webkit.org/show_bug.cgi?id=153795
<rdar://problem/24416632>

Reviewed by Anders Carlsson.

Source/WebCore:

Test: fast/attachment/attachment-folder-icon.html

* rendering/RenderThemeMac.mm:
(WebCore::iconForAttachment):
(WebCore::paintAttachmentIcon):
Mail uses this special MIME type to indicate that something is a folder, which there
isn't a normal non-deprecated MIME type for.

LayoutTests:

* fast/attachment/attachment-folder-icon-expected.html: Added.
* fast/attachment/attachment-folder-icon.html: Added.
Make sure that the rendering of an attachment with multipart/x-folder
matches that of a file reference pointing at a folder.

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

5 years ago[GTK] Layout Test fast/images/animated-gif-no-layout.html is failing
gns@gnome.org [Tue, 2 Feb 2016 21:16:02 +0000 (21:16 +0000)]
[GTK] Layout Test fast/images/animated-gif-no-layout.html is failing
https://bugs.webkit.org/show_bug.cgi?id=153798

Unreviewed gardening.

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> on 2016-02-02

* platform/gtk/TestExpectations: mark a couple tests as failing. The
green frame of the gif is being rendered in a slightly lighter green.

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

5 years ago[Win] gardening after r195740.
zalan@apple.com [Tue, 2 Feb 2016 21:11:28 +0000 (21:11 +0000)]
[Win] gardening after r195740.

Unreviewed.

* platform/win/editing/selection/5057506-2-expected.txt:
* platform/win/fast/block/margin-collapse/021-expected.txt:
* platform/win/fast/table/border-collapsing/cached-change-row-border-color-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_style-expected.txt:

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

5 years agoModern IDB: storage/indexeddb/cursor-continue-validity.html fails.
beidson@apple.com [Tue, 2 Feb 2016 20:51:46 +0000 (20:51 +0000)]
Modern IDB: storage/indexeddb/cursor-continue-validity.html fails.
https://bugs.webkit.org/show_bug.cgi?id=153791

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (Existing test now unskipped).

There was a preexisting check in the SQLite cursor for remembering the current record and
refusing to refetch it.

This check was causing this bug, because we needed to refetch the current record.

Removing the check (and its associated flag) doesn't regress any other test, and fixes this one.

* Modules/indexeddb/server/SQLiteIDBCursor.cpp:
(WebCore::IDBServer::SQLiteIDBCursor::resetAndRebindStatement):
(WebCore::IDBServer::SQLiteIDBCursor::internalAdvanceOnce):
* Modules/indexeddb/server/SQLiteIDBCursor.h:

LayoutTests:

In addition to unskipping the test, I augmented it to print out more of what was going on.

The additional printed info is what helped me track down the bug, and will make it more
likely to catch any future regressions.

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/cursor-continue-validity-expected.txt:
* storage/indexeddb/cursor-continue-validity-private-expected.txt:
* storage/indexeddb/resources/cursor-continue-validity.js:

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

5 years agoAdd a line grid pagination SPI to WebKit.
hyatt@apple.com [Tue, 2 Feb 2016 19:50:01 +0000 (19:50 +0000)]
Add a line grid pagination SPI to WebKit.
https://bugs.webkit.org/show_bug.cgi?id=153757
<rdar://problem/23041598>

Reviewed by Anders Carlsson.

Source/WebCore:

New tests in fast/multicol/pagination.

* page/Page.cpp:
(WebCore::Page::setPaginationLineGridEnabled):
* page/Page.h:
(WebCore::Page::paginationLineGridEnabled):
Add a boolean to the page to turn the line grid on and off.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):
Propagate the body's font up to the paginated RenderView so that
it can be used to establish the line grid.

* style/StyleResolveForDocument.cpp:
(WebCore::Style::resolveForDocument):
Set up a line grid with containment snapping by default if the
line grid enabled flag is set.

* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::setPagination):
(WebCore::Internals::setPaginationLineGridEnabled):
(WebCore::Internals::configurationForViewport):
* testing/Internals.h:
(WebCore::Internals::setPagination):
* testing/Internals.idl:
Add support for testing the grid being enabled.

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _setPaginationLineGridEnabled:]):
(-[WebView _paginationLineGridEnabled]):
* WebView/WebViewPrivate.h:

Source/WebKit2:

* Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):
* Shared/WebPageCreationParameters.h:
* UIProcess/API/C/WKPage.cpp:
(WKPageSetPaginationLineGridEnabled):
(WKPageGetPaginationLineGridEnabled):
* UIProcess/API/C/WKPagePrivate.h:
* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController setPaginationLineGridEnabled:]):
(-[WKBrowsingContextController paginationLineGridEnabled]):
* UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _paginationLineGridEnabled]):
(-[WKWebView _setPaginationLineGridEnabled:]):
       * UIProcess/API/Cocoa/WKWebViewPrivate.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::setPaginationLineGridEnabled):
(WebKit::WebPageProxy::creationParameters):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::paginationLineGridEnabled):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setPaginationLineGridEnabled):
 WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

LayoutTests:

* platform/mac/fast/multicol/pagination/BottomToTop-bt-expected.png:
* platform/mac/fast/multicol/pagination/BottomToTop-lr-expected.png:
* platform/mac/fast/multicol/pagination/BottomToTop-rl-expected.png:
* platform/mac/fast/multicol/pagination/BottomToTop-tb-expected.png:
* platform/mac/fast/multicol/pagination/BottomToTopGrid-bt-expected.png: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-bt-expected.txt: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-lr-expected.png: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-lr-expected.txt: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-rl-expected.png: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-rl-expected.txt: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-tb-expected.png: Added.
* platform/mac/fast/multicol/pagination/BottomToTopGrid-tb-expected.txt: Added.
* platform/mac/fast/multicol/pagination/LeftToRight-bt-expected.png:
* platform/mac/fast/multicol/pagination/LeftToRight-lr-expected.png:
* platform/mac/fast/multicol/pagination/LeftToRight-rl-expected.png:
* platform/mac/fast/multicol/pagination/LeftToRight-tb-expected.png:
* platform/mac/fast/multicol/pagination/LeftToRightGrid-bt-expected.png: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-bt-expected.txt: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-lr-expected.png: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-lr-expected.txt: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-rl-expected.png: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-rl-expected.txt: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-tb-expected.png: Added.
* platform/mac/fast/multicol/pagination/LeftToRightGrid-tb-expected.txt: Added.
* platform/mac/fast/multicol/pagination/RightToLeft-bt-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeft-lr-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeft-max-width-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeft-rl-dynamic-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeft-rl-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeft-tb-expected.png:
* platform/mac/fast/multicol/pagination/RightToLeftGrid-bt-expected.png: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-bt-expected.txt: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-lr-expected.png: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-lr-expected.txt: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-rl-expected.png: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-rl-expected.txt: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-tb-expected.png: Added.
* platform/mac/fast/multicol/pagination/RightToLeftGrid-tb-expected.txt: Added.
* platform/mac/fast/multicol/pagination/TopToBottom-bt-expected.png:
* platform/mac/fast/multicol/pagination/TopToBottom-lr-expected.png:
* platform/mac/fast/multicol/pagination/TopToBottom-rl-expected.png:
* platform/mac/fast/multicol/pagination/TopToBottom-tb-expected.png:
* platform/mac/fast/multicol/pagination/TopToBottomGrid-bt-expected.png: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-bt-expected.txt: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-lr-expected.png: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-lr-expected.txt: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-rl-expected.png: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-rl-expected.txt: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-tb-expected.png: Added.
* platform/mac/fast/multicol/pagination/TopToBottomGrid-tb-expected.txt: Added.
* platform/mac/fast/multicol/pagination/nested-transforms-expected.png:

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

5 years agoTab suspension code shouldn't use page cache cacheability logic
antti@apple.com [Tue, 2 Feb 2016 19:43:16 +0000 (19:43 +0000)]
Tab suspension code shouldn't use page cache cacheability logic
https://bugs.webkit.org/show_bug.cgi?id=153680

Reviewed by Andreas Kling.

Most of PageCache::canCache() is unnecessary for tab suspension.

Also improve robustness and introduce 1 minute delay before suspending.

* page/Page.cpp:
(WebCore::Page::setPageActivityState):
(WebCore::Page::setIsVisible):
(WebCore::Page::setIsVisibleInternal):
(WebCore::Page::setIsPrerender):
(WebCore::Page::canTabSuspend):

    Include visibility test here.

    Instead of calling PageCache::canCache() just check for each frame
    - that the document is loaded
    - that active DOM objects allow suspension

(WebCore::Page::setIsTabSuspended):
(WebCore::Page::setTabSuspensionEnabled):
(WebCore::Page::updateTabSuspensionState):

    Refactor for robustness.

(WebCore::Page::tabSuspensionTimerFired):

    Call canTabSuspend, the result might have changed.

(WebCore::Page::scheduleTabSuspension): Deleted.
* page/Page.h:

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

5 years ago[JSC] Introduce BytecodeIntrinsic constant rep like @undefined
utatane.tea@gmail.com [Tue, 2 Feb 2016 19:33:05 +0000 (19:33 +0000)]
[JSC] Introduce BytecodeIntrinsic constant rep like @undefined
https://bugs.webkit.org/show_bug.cgi?id=153737

Reviewed by Darin Adler.

Source/JavaScriptCore:

This patch enhances existing BytecodeIntrinsic mechanism to accept `@xxx` form,
that will be used to represent bytecode intrinsic constants.
After this change, we can use 2 forms for bytecode intrinsics. (1) Function form (like, @toString(value))
and (2) Constant form (like @undefined).

Bytecode intrinsic constants allow us to easily expose constant values from C++ world.
For example, we can expose ArrayIterationKind flags to JS world without using private global variables.
Exposed constant values are loaded from bytecodes directly through constant registers.
While previously we expose them through private global variables, bytecode intrinsic constants
can be loaded directly from CodeBlock. And later, it will become JSConstant in DFG.

And by using this mechanism, we implement several constants. @undefined, @arrayIterationKindKeyValue etc.

* builtins/ArrayConstructor.js:
(from):
* builtins/ArrayIteratorPrototype.js:
(next):
* builtins/ArrayPrototype.js:
(reduce):
(reduceRight):
(every):
(forEach):
(filter):
(map):
(some):
(fill):
(find):
(findIndex):
(includes):
(sort.compactSparse):
(sort.compactSlow):
(sort.compact):
(sort):
(copyWithin):
* builtins/DatePrototype.js:
(toLocaleString.toDateTimeOptionsAnyAll):
(toLocaleString):
(toLocaleDateString.toDateTimeOptionsDateDate):
(toLocaleDateString):
(toLocaleTimeString.toDateTimeOptionsTimeTime):
(toLocaleTimeString):
* builtins/GeneratorPrototype.js:
(generatorResume):
* builtins/GlobalObject.js:
(isDictionary):
* builtins/InternalPromiseConstructor.js:
(internalAll.newResolveElement):
(internalAll):
* builtins/IteratorPrototype.js:
(symbolIteratorGetter):
(symbolIterator): Deleted.
* builtins/MapPrototype.js:
(forEach):
* builtins/ModuleLoaderObject.js:
(newRegistryEntry):
(forceFulfillPromise):
(commitInstantiated):
(requestFetch):
(requestTranslate):
(requestInstantiate):
(requestLink):
(provide):
* builtins/PromiseConstructor.js:
(all.newResolveElement):
(all):
(race):
(reject):
(resolve):
* builtins/PromiseOperations.js:
(newPromiseCapability.executor):
(newPromiseCapability):
(rejectPromise):
(fulfillPromise):
(createResolvingFunctions.resolve):
(createResolvingFunctions.reject):
(createResolvingFunctions):
(promiseReactionJob):
(promiseResolveThenableJob):
(initializePromise):
* builtins/PromisePrototype.js:
(catch):
(then):
* builtins/SetPrototype.js:
(forEach):
* builtins/StringConstructor.js:
(raw):
* builtins/StringIteratorPrototype.js:
(next):
* builtins/StringPrototype.js:
(localeCompare):
* builtins/TypedArrayConstructor.js:
(of):
(from):
* builtins/TypedArrayPrototype.js:
(every):
(find):
(findIndex):
(forEach):
(some):
(reduce):
(reduceRight):
(map):
(filter):
* bytecode/BytecodeIntrinsicRegistry.cpp:
(JSC::BytecodeIntrinsicRegistry::BytecodeIntrinsicRegistry):
(JSC::BytecodeIntrinsicRegistry::lookup):
* bytecode/BytecodeIntrinsicRegistry.h:
* bytecompiler/NodesCodegen.cpp:
* parser/ASTBuilder.h:
(JSC::ASTBuilder::createResolve):
(JSC::ASTBuilder::makeFunctionCallNode):
* parser/NodeConstructors.h:
(JSC::BytecodeIntrinsicNode::BytecodeIntrinsicNode):
* parser/Nodes.h:
(JSC::ExpressionNode::isBytecodeIntrinsicNode):
(JSC::BytecodeIntrinsicNode::type):
(JSC::BytecodeIntrinsicNode::emitter):
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseProperty):
(JSC::Parser<LexerType>::parsePrimaryExpression):
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::createResolve):
* runtime/CommonIdentifiers.cpp:
(JSC::CommonIdentifiers::CommonIdentifiers): Deleted.
* runtime/CommonIdentifiers.h:
(JSC::CommonIdentifiers::bytecodeIntrinsicRegistry): Deleted.
* runtime/IteratorPrototype.cpp:
(JSC::IteratorPrototype::finishCreation):
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init): Deleted.
* runtime/VM.cpp:
(JSC::VM::VM):
* runtime/VM.h:
(JSC::VM::bytecodeIntrinsicRegistry):

Source/WebCore:

* Modules/fetch/FetchHeaders.js:
(initializeFetchHeaders):
* Modules/streams/ReadableStream.js:
(initializeReadableStream):
(closeDestination):
(abortDestination):
(pipeTo):
* Modules/streams/ReadableStreamInternals.js:
(privateInitializeReadableStreamController):
(teeReadableStream):
(isReadableStreamReader):
(errorReadableStream):
(finishClosingReadableStream):
(enqueueInReadableStream):
(readFromReadableStreamReader):
* Modules/streams/ReadableStreamReader.js:
(releaseLock):
* Modules/streams/StreamInternals.js:
(shieldingPromiseResolve):
(promiseInvokeOrNoopNoCatch):
(promiseInvokeOrFallbackOrNoop):
(validateAndNormalizeQueuingStrategy):
* Modules/streams/WritableStream.js:
(initializeWritableStream):
(write):
* Modules/streams/WritableStreamInternals.js:
(errorWritableStream):

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

5 years agoModern IDB: storage/indexeddb/dont-wedge.html sometimes ASSERTs.
beidson@apple.com [Tue, 2 Feb 2016 19:27:20 +0000 (19:27 +0000)]
Modern IDB: storage/indexeddb/dont-wedge.html sometimes ASSERTs.
https://bugs.webkit.org/show_bug.cgi?id=153790

Reviewed by Tim Horton.

Source/WebCore:

No new tests (Failing test now unskipped).

This test uncovered an unhandled race where the main thread tried to perform an OpenDB operation
multiple times while it was already in-progress on the server thread.

There was already a flag meant to cover this race, and it just needed to be applied to one more site.

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
(WebCore::IDBServer::UniqueIDBDatabase::openBackingStore):

LayoutTests:

* platform/mac-wk1/TestExpectations:

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

5 years agoUnreviewed attempt to fix Mac CMake build after r195999.
joepeck@webkit.org [Tue, 2 Feb 2016 19:10:54 +0000 (19:10 +0000)]
Unreviewed attempt to fix Mac CMake build after r195999.

* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
Add ENABLE_RESOURCE_USAGE to CMake builds.

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

5 years ago[B3][Win64] Compile fixes.
peavo@outlook.com [Tue, 2 Feb 2016 19:07:03 +0000 (19:07 +0000)]
[B3][Win64] Compile fixes.
https://bugs.webkit.org/show_bug.cgi?id=153605

Reviewed by Filip Pizlo.

Fix remaining compile errors on Win64.

* CMakeLists.txt:
* b3/B3CFG.h:
(JSC::B3::CFG::newMap):
* ftl/FTLJITCode.h:

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

5 years agoUncaught Exception: TypeError: undefined is not an object (evaluating 'highlightedRan...
joepeck@webkit.org [Tue, 2 Feb 2016 18:52:28 +0000 (18:52 +0000)]
Uncaught Exception: TypeError: undefined is not an object (evaluating 'highlightedRange.from')
https://bugs.webkit.org/show_bug.cgi?id=153685

Reviewed by Timothy Hatcher.

* UserInterface/Controllers/CodeMirrorTokenTrackingController.js:
(WebInspector.CodeMirrorTokenTrackingController.prototype.highlightRange):
The highlighted range could have just gotten removed, in which case the
marker would return undefined. Just bail in such cases.

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

5 years ago[Win] gardening after r195740.
zalan@apple.com [Tue, 2 Feb 2016 18:51:42 +0000 (18:51 +0000)]
[Win] gardening after r195740.

Unreviewed.

* platform/win/tables/mozilla/marvin/x_tbody_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_bgcolor_name-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_bgcolor_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_colspan-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_height-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_nowrap-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_rowspan-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_td_width-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_tfoot_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_bgcolor_name-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_bgcolor_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_colspan-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_height-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_nowrap-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_rowspan-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_th_width-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_thead_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_bgcolor_name-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_bgcolor_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_class-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_id-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_tr_valign_top-expected.txt:
* platform/win/tables/mozilla/other/body_col-expected.txt:
* platform/win/tables/mozilla/other/cell_widths-expected.txt:
* platform/win/tables/mozilla/other/cellspacing-expected.txt:
* platform/win/tables/mozilla/other/move_row-expected.txt:
* platform/win/tables/mozilla/other/ms-expected.txt:
* platform/win/tables/mozilla/other/nested2-expected.txt:
* platform/win/tables/mozilla/other/nestedTables-expected.txt:
* platform/win/tables/mozilla/other/padding-expected.txt:
* platform/win/tables/mozilla/other/slashlogo-expected.txt:
* platform/win/tables/mozilla/other/test3-expected.txt:
* platform/win/tables/mozilla/other/test6-expected.txt:
* platform/win/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
* platform/win/tables/mozilla/other/wa_table_tr_align-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/97619-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1010-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug101759-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug10216-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug104898-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug106336-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1128-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1164-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug11945-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug128876-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug14007-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug14007-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug14159-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1647-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug1725-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug17826-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug178855-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug18770-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug21518-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug22122-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug23847-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug24880-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug25707-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug27993-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3105-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-11-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-12-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-13-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-14-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-16-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-17-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug3166-18-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug32205-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug32205-4-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug4294-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug46268-4-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug51000-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug56024-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug58402-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug59252-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug65372-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug6933-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug7113-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug7121-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug72393-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug73629-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug80762-2-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug8499-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug92647-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug92868_1-expected.txt:
* platform/win/tables/mozilla_expected_failures/bugs/bug9879-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt:
* platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.txt:
* platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/backgrounds-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/captions1-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/captions2-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/captions3-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/col_span2-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/cols1-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/columns-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/conflicts-expected.txt:
* platform/win/tables/mozilla_expected_failures/core/standards1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/appendCells1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/appendCol1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/appendColGroup1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.txt:
* platform/win/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_position-table-column-group-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_above-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_below-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_hsides-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_void-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_frame_vsides-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_td_dynamic_deactivate-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/table_rules_rows-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_caption_align_left-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_caption_align_right-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_colgroup_width_px-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_above-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_below-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_border-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_box-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_hsides-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_lhs-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_rhs-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_frame_vsides-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.txt:
* platform/win/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.txt:
* platform/win/tables/mozilla_expected_failures/other/empty_cells-expected.txt:
* platform/win/tables/mozilla_expected_failures/other/test4-expected.txt:

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

5 years agoLayout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but...
mitz@apple.com [Tue, 2 Feb 2016 18:06:51 +0000 (18:06 +0000)]
Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
https://bugs.webkit.org/show_bug.cgi?id=153683

Reviewed by Alexey Proskuryakov.

Tools:

Ensure that XML_CATALOG_FILES is set in the Web Content service’s environment as well.

* Scripts/webkitpy/port/driver.py:
(Driver._setup_environ_for_driver): Also set __XPC_DUMPRENDERTREE_TEMP.
* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.setup_environ_for_server): Set __XPC_XML_CATALOG_FILES.
* Scripts/webkitpy/port/mac.py:
(MacPort.setup_environ_for_server): Ditto.

LayoutTests:

* platform/mac/TestExpectations: Removed the failure expectation for this test.

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

5 years agoCSP: Support checking content security policy without a script execution context
dbates@webkit.org [Tue, 2 Feb 2016 17:57:40 +0000 (17:57 +0000)]
CSP: Support checking content security policy without a script execution context
https://bugs.webkit.org/show_bug.cgi?id=153748
<rdar://problem/24439149>

Reviewed by Darin Alder.

Towards checking a Web Worker's content security policy against a redirected worker
script load or redirected XHR request for an XHR request initiated from it, we should
support instantiating a ContentSecurityPolicy object without a ScriptExecutionContext.

No functionality was changed. So, no new tests.

* dom/Document.cpp:
(WebCore::Document::initSecurityContext): Pass |this| as a reference instead of as a pointer.
* page/csp/ContentSecurityPolicy.cpp: Remove extraneous includes ScriptState.h, TextEncoding.h,
and URL.h as they are included by ContentSecurityPolicy.h, FormDataList.h and FormData.h, respectively.
(WebCore::CSPSource::CSPSource): Take a constant reference to a ContentSecurityPolicy instead
of a pointer since we never expected a null pointer.
(WebCore::CSPSource::schemeMatches): Move logic for checking the protocol of source "self"
from here to ContentSecurityPolicy::protocolMatchesSelf() because we may not have a security
origin if ContentSecurityPolicy was initiated without a ScriptExecutionContext object.
(WebCore::CSPSourceList::allowSelf): Added.
(WebCore::CSPSourceList::CSPSourceList): Take a constant reference to a ContentSecurityPolicy
instead of a pointer since we never expected a null pointer. Remove fields from member
initialization list that can be initialized using C++11 in-class initialization syntax.
(WebCore::CSPSourceList::matches): Call ContentSecurityPolicy::urlMatchesSelf() to match the
effective URL against the URL of source "self".
(WebCore::CSPSourceList::parse): Update code as necessary now that m_policy is a reference
instead of a pointer.
(WebCore::CSPSourceList::parseSource): Simplify code by setting internal member fields directly
instead of via member functions.
(WebCore::CSPSourceList::parsePath): Update code as necessary now that m_policy is a reference
instead of a pointer.
(WebCore::CSPDirective::CSPDirective): Take a constant reference to a ContentSecurityPolicy
instead of a pointer since we never expected a null pointer.
(WebCore::CSPDirective::policy): Return a reference to a const ContentSecurityPolicy.
(WebCore::MediaListDirective::MediaListDirective): Take a constant reference to a ContentSecurityPolicy
instead of a pointer since we never expected a null pointer.
(WebCore::MediaListDirective::parse): Update code as necessary now that m_policy is a reference
instead of a pointer.
(WebCore::SourceListDirective::SourceListDirective): Take a constant reference to a ContentSecurityPolicy
instead of a pointer since we never expected a null pointer.
(WebCore::SourceListDirective::allows): Write in terms of CSPSourceList::allowSelf() because we
may not have a security origin to get a URL from if ContentSecurityPolicy was initiated without
a ScriptExecutionContext object.
(WebCore::CSPDirectiveList::reportURIs): Change return type from Vector<URL> to Vector<String>
The caller will convert the strings to URLs with respect to the script execution context.
(WebCore::CSPDirectiveList::parseReportURI): Store the report URI as a string instead of a URL
because we may not have a security origin to compute the absolute URL if ContentSecurityPolicy
was initiated without a ScriptExecutionContext object.
(WebCore::CSPDirectiveList::CSPDirectiveList): Take a reference to a ContentSecurityPolicy
instead of a pointer since we never expected a null pointer. It would be better to take a const
reference to a ContentSecurityPolicy, but ContentSecurityPolicy::applySandboxPolicy() needs to set
state on ContentSecurityPolicy :(
(WebCore::CSPDirectiveList::create): Ditto.
(WebCore::CSPDirectiveList::reportViolation): Update code as necessary now that m_policy is a reference
instead of a pointer.
(WebCore::CSPDirectiveList::checkEvalAndReportViolation): Ditto.
(WebCore::CSPDirectiveList::checkInlineAndReportViolation): Ditto.
(WebCore::CSPDirectiveList::parseDirective): Ditto.
(WebCore::CSPDirectiveList::parseReportURI): Store the report URI as a string instead of a URL
because we may not have a security origin to compute the absolute URL if ContentSecurityPolicy
was initiated without a ScriptExecutionContext object.
(WebCore::CSPDirectiveList::setCSPDirective): Update code as necessary now that m_policy is a reference
instead of a pointer.
(WebCore::CSPDirectiveList::applySandboxPolicy): Ditto.
(WebCore::CSPDirectiveList::parseReflectedXSS): Ditto.
(WebCore::CSPDirectiveList::addDirective): Ditto.
(WebCore::ContentSecurityPolicy::ContentSecurityPolicy): Modified to take the ScriptExecutionObject
as a reference and compute the CSPSource object for "self" and cache the protocol for "self". Removed
field m_overrideInlineStyleAllowed from the member initialization list and used C++11 in-class
initialization syntax to initialize it. Added overloaded constructor that takes a SecurityOrigin object.
We are not making use of this overloaded constructor at this time. We will in a subsequent patch.
(WebCore::ContentSecurityPolicy::didReceiveHeader): Store the eval disabled error message for
the last parsed policy in a member field instead of using it as part of disabling eval execution
on the script execution context because we may not have such a context.
(WebCore::ContentSecurityPolicy::applyPolicyToScriptExecutionContext): Applies the content security
policy eval and sandbox restrictions to the script execution context.
(WebCore::ContentSecurityPolicy::urlMatchesSelf): Match the specified URL against the URL for
source "self".
(WebCore::ContentSecurityPolicy::protocolMatchesSelf): Match the protocol of the specified URL
against the protocol for source "self".
(WebCore::ContentSecurityPolicy::gatherReportURIs): Modified to use the script execution context
to compute the absolute URL for each report URI.
(WebCore::ContentSecurityPolicy::reportViolation): Bail out if we do not have a script execution
context.
(WebCore::ContentSecurityPolicy::logToConsole): Only log to the console if we have a script
execution context.
(WebCore::ContentSecurityPolicy::reportBlockedScriptExecutionToInspector): Only report blocked
script execution to the Web Inspector if we have a script execution context.
(WebCore::CSPSourceList::addSourceSelf): Deleted.
(WebCore::CSPSourceList::addSourceStar): Deleted.
(WebCore::CSPSourceList::addSourceUnsafeInline): Deleted.
(WebCore::CSPSourceList::addSourceUnsafeEval): Deleted.
(WebCore::CSPDirectiveList::gatherReportURIs): Deleted.
(WebCore::ContentSecurityPolicy::securityOrigin): Deleted.
(WebCore::ContentSecurityPolicy::url): Deleted.
(WebCore::ContentSecurityPolicy::completeURL): Deleted.
(WebCore::ContentSecurityPolicy::enforceSandboxFlags): Deleted.
* page/csp/ContentSecurityPolicy.h:
(WebCore::ContentSecurityPolicy::enforceSandboxFlags): Accumulates the parsed sandbox flags. We
will apply the sandbox flags in ContentSecurityPolicy::applyPolicyToScriptExecutionContext().
* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::WorkerGlobalScope): Instantiate ContentSecurityPolicy.
(WebCore::WorkerGlobalScope::applyContentSecurityPolicyResponseHeaders): Move instantiation of
ContentSecurityPolicy from here to constructor.

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

5 years agoMinor fixes for B3 IR documentation
fpizlo@apple.com [Tue, 2 Feb 2016 16:58:41 +0000 (16:58 +0000)]
Minor fixes for B3 IR documentation
https://bugs.webkit.org/show_bug.cgi?id=153782

Reviewed by Michael Saboff.

Fix minor issues that Geoff found.

* docs/b3/intermediate-representation.html:

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

5 years agoAllow ports to disable automatic text track selection
eric.carlson@apple.com [Tue, 2 Feb 2016 16:38:02 +0000 (16:38 +0000)]
Allow ports to disable automatic text track selection
https://bugs.webkit.org/show_bug.cgi?id=153761
<rdar://problem/24416768>

Reviewed by Darin Adler.

Source/WebCore:

Test: media/track/track-manual-mode.html

* Modules/mediacontrols/MediaControlsHost.cpp:
(WebCore::MediaControlsHost::manualKeyword): New.
(WebCore::MediaControlsHost::captionDisplayMode): Support 'manual' mode.
* Modules/mediacontrols/MediaControlsHost.h:

* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.buildCaptionMenu): Check the 'off' item when in manual mode.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::addTextTrack): Update m_captionDisplayMode when called for the first
  time so it is always correct. Set the track's manual selection mode as appropriate.
(WebCore::HTMLMediaElement::captionPreferencesChanged): Set each track's manual selection
  mode as appropriate.

* html/track/TextTrack.cpp:
(WebCore::TextTrack::kind): Return 'subtitles' for forced tracks when in manual mode.
* html/track/TextTrack.h:

* html/track/TrackBase.h:
(WebCore::TrackBase::kind): Make virtual.

* page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::beginBlockingNotifications): New.
(WebCore::CaptionUserPreferences::endBlockingNotifications): Ditto.
(WebCore::CaptionUserPreferences::notify): Don't notify when blocked.
* page/CaptionUserPreferences.h:

* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::CaptionUserPreferencesMediaAF): Set manual mode
  when appropriate.
(WebCore::CaptionUserPreferencesMediaAF::captionDisplayMode): Check manual mode.
(WebCore::CaptionUserPreferencesMediaAF::setCaptionDisplayMode): Ditto.
(WebCore::CaptionUserPreferencesMediaAF::setPreferredLanguage): Ditto.
(WebCore::CaptionUserPreferencesMediaAF::textTrackSelectionScore): Return zero when in manual mode.
(WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu): Consider manual mode. Fix
  typos in logging.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::mediaDescriptionForKind): Return 'auxiliary' when in manual mode.

* testing/Internals.cpp:
(WebCore::Internals::setCaptionDisplayMode): Support manual mode.

LayoutTests:

* media/track/track-manual-mode-expected.txt: Added.
* media/track/track-manual-mode.html: Added.

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

5 years agoREGRESSION(r195899): ASSERTION FAILED: is<Target>(source) in EventPath::retargetTouch...
commit-queue@webkit.org [Tue, 2 Feb 2016 16:16:32 +0000 (16:16 +0000)]
REGRESSION(r195899): ASSERTION FAILED: is<Target>(source) in EventPath::retargetTouch() since r195899
https://bugs.webkit.org/show_bug.cgi?id=153741

Patch by Adrien Plazas <aplazas@igalia.com> on 2016-02-02
Reviewed by Ryosuke Niwa.

* dom/EventDispatcher.cpp:
(WebCore::EventPath::retargetTouch):

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

5 years ago[Win] gardening after r195740. (more to follow)
zalan@apple.com [Tue, 2 Feb 2016 16:11:23 +0000 (16:11 +0000)]
[Win] gardening after r195740. (more to follow)

Unreviewed.

* platform/win/tables/mozilla/bugs/bug101201-expected.txt:
* platform/win/tables/mozilla/bugs/bug101674-expected.txt:
* platform/win/tables/mozilla/bugs/bug103533-expected.txt:
* platform/win/tables/mozilla/bugs/bug106158-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug106795-expected.txt:
* platform/win/tables/mozilla/bugs/bug106816-expected.txt:
* platform/win/tables/mozilla/bugs/bug108340-expected.txt:
* platform/win/tables/mozilla/bugs/bug110566-expected.txt:
* platform/win/tables/mozilla/bugs/bug113235-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug113235-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug113424-expected.txt:
* platform/win/tables/mozilla/bugs/bug119786-expected.txt:
* platform/win/tables/mozilla/bugs/bug120107-expected.txt:
* platform/win/tables/mozilla/bugs/bug120364-expected.txt:
* platform/win/tables/mozilla/bugs/bug133756-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug133756-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug137388-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug137388-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug137388-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug138725-expected.txt:
* platform/win/tables/mozilla/bugs/bug139524-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug139524-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug139524-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug139524-4-expected.txt:
* platform/win/tables/mozilla/bugs/bug149275-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug154780-expected.txt:
* platform/win/tables/mozilla/bugs/bug159108-expected.txt:
* platform/win/tables/mozilla/bugs/bug175455-4-expected.txt:
* platform/win/tables/mozilla/bugs/bug20579-expected.txt:
* platform/win/tables/mozilla/bugs/bug20804-expected.txt:
* platform/win/tables/mozilla/bugs/bug21299-expected.txt:
* platform/win/tables/mozilla/bugs/bug215629-expected.txt:
* platform/win/tables/mozilla/bugs/bug21918-expected.txt:
* platform/win/tables/mozilla/bugs/bug219693-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug219693-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug22019-expected.txt:
* platform/win/tables/mozilla/bugs/bug220536-expected.txt:
* platform/win/tables/mozilla/bugs/bug221784-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug221784-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug222336-expected.txt:
* platform/win/tables/mozilla/bugs/bug22246-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug22246-2a-expected.txt:
* platform/win/tables/mozilla/bugs/bug22246-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug22246-3a-expected.txt:
* platform/win/tables/mozilla/bugs/bug22513-expected.txt:
* platform/win/tables/mozilla/bugs/bug23072-expected.txt:
* platform/win/tables/mozilla/bugs/bug23151-expected.txt:
* platform/win/tables/mozilla/bugs/bug23235-expected.txt:
* platform/win/tables/mozilla/bugs/bug23299-expected.txt:
* platform/win/tables/mozilla/bugs/bug24200-expected.txt:
* platform/win/tables/mozilla/bugs/bug24503-expected.txt:
* platform/win/tables/mozilla/bugs/bug24627-expected.txt:
* platform/win/tables/mozilla/bugs/bug24880-expected.txt:
* platform/win/tables/mozilla/bugs/bug25004-expected.txt:
* platform/win/tables/mozilla/bugs/bug25074-expected.txt:
* platform/win/tables/mozilla/bugs/bug25086-expected.txt:
* platform/win/tables/mozilla/bugs/bug25367-expected.txt:
* platform/win/tables/mozilla/bugs/bug25663-expected.txt:
* platform/win/tables/mozilla/bugs/bug26178-expected.txt:
* platform/win/tables/mozilla/bugs/bug26553-expected.txt:
* platform/win/tables/mozilla/bugs/bug269566-expected.txt:
* platform/win/tables/mozilla/bugs/bug27038-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug27038-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug275625-expected.txt:
* platform/win/tables/mozilla/bugs/bug277062-expected.txt:
* platform/win/tables/mozilla/bugs/bug278266-expected.txt:
* platform/win/tables/mozilla/bugs/bug278385-expected.txt:
* platform/win/tables/mozilla/bugs/bug27993-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug28928-expected.txt:
* platform/win/tables/mozilla/bugs/bug28933-expected.txt:
* platform/win/tables/mozilla/bugs/bug29058-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug29157-expected.txt:
* platform/win/tables/mozilla/bugs/bug29314-expected.txt:
* platform/win/tables/mozilla/bugs/bug29429-expected.txt:
* platform/win/tables/mozilla/bugs/bug30273-expected.txt:
* platform/win/tables/mozilla/bugs/bug30418-expected.txt:
* platform/win/tables/mozilla/bugs/bug30559-expected.txt:
* platform/win/tables/mozilla/bugs/bug30985-expected.txt:
* platform/win/tables/mozilla/bugs/bug32205-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug32205-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug32205-5-expected.txt:
* platform/win/tables/mozilla/bugs/bug32447-expected.txt:
* platform/win/tables/mozilla/bugs/bug33137-expected.txt:
* platform/win/tables/mozilla/bugs/bug33855-expected.txt:
* platform/win/tables/mozilla/bugs/bug34538-expected.txt:
* platform/win/tables/mozilla/bugs/bug35662-expected.txt:
* platform/win/tables/mozilla/bugs/bug38916-expected.txt:
* platform/win/tables/mozilla/bugs/bug39209-expected.txt:
* platform/win/tables/mozilla/bugs/bug40828-expected.txt:
* platform/win/tables/mozilla/bugs/bug42187-expected.txt:
* platform/win/tables/mozilla/bugs/bug44505-expected.txt:
* platform/win/tables/mozilla/bugs/bug44523-expected.txt:
* platform/win/tables/mozilla/bugs/bug45055-expected.txt:
* platform/win/tables/mozilla/bugs/bug45350-expected.txt:
* platform/win/tables/mozilla/bugs/bug45486-expected.txt:
* platform/win/tables/mozilla/bugs/bug46268-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug46268-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug46268-3-expected.txt:
* platform/win/tables/mozilla/bugs/bug46268-5-expected.txt:
* platform/win/tables/mozilla/bugs/bug46268-expected.txt:
* platform/win/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug46480-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug46480-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug46623-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug47432-expected.txt:
* platform/win/tables/mozilla/bugs/bug48028-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug48028-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug51037-expected.txt:
* platform/win/tables/mozilla/bugs/bug51140-expected.txt:
* platform/win/tables/mozilla/bugs/bug51727-expected.txt:
* platform/win/tables/mozilla/bugs/bug52505-expected.txt:
* platform/win/tables/mozilla/bugs/bug52506-expected.txt:
* platform/win/tables/mozilla/bugs/bug53690-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug53690-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug53891-expected.txt:
* platform/win/tables/mozilla/bugs/bug55545-expected.txt:
* platform/win/tables/mozilla/bugs/bug55694-expected.txt:
* platform/win/tables/mozilla/bugs/bug55789-expected.txt:
* platform/win/tables/mozilla/bugs/bug56201-expected.txt:
* platform/win/tables/mozilla/bugs/bug56405-expected.txt:
* platform/win/tables/mozilla/bugs/bug57300-expected.txt:
* platform/win/tables/mozilla/bugs/bug57378-expected.txt:
* platform/win/tables/mozilla/bugs/bug57828-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug57828-expected.txt:
* platform/win/tables/mozilla/bugs/bug58402-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug59354-expected.txt:
* platform/win/tables/mozilla/bugs/bug60013-expected.txt:
* platform/win/tables/mozilla/bugs/bug60749-expected.txt:
* platform/win/tables/mozilla/bugs/bug60804-expected.txt:
* platform/win/tables/mozilla/bugs/bug60807-expected.txt:
* platform/win/tables/mozilla/bugs/bug60992-expected.txt:
* platform/win/tables/mozilla/bugs/bug63785-expected.txt:
* platform/win/tables/mozilla/bugs/bug67864-expected.txt:
* platform/win/tables/mozilla/bugs/bug67915-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug68998-expected.txt:
* platform/win/tables/mozilla/bugs/bug69187-expected.txt:
* platform/win/tables/mozilla/bugs/bug69382-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug69382-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug72359-expected.txt:
* platform/win/tables/mozilla/bugs/bug75250-expected.txt:
* platform/win/tables/mozilla/bugs/bug78162-expected.txt:
* platform/win/tables/mozilla/bugs/bug82946-1-expected.txt:
* platform/win/tables/mozilla/bugs/bug82946-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug83786-expected.txt:
* platform/win/tables/mozilla/bugs/bug86708-expected.txt:
* platform/win/tables/mozilla/bugs/bug92143-expected.txt:
* platform/win/tables/mozilla/bugs/bug92647-2-expected.txt:
* platform/win/tables/mozilla/bugs/bug93363-expected.txt:
* platform/win/tables/mozilla/bugs/bug96334-expected.txt:
* platform/win/tables/mozilla/bugs/bug96343-expected.txt:
* platform/win/tables/mozilla/bugs/bug97138-expected.txt:
* platform/win/tables/mozilla/bugs/bug97383-expected.txt:
* platform/win/tables/mozilla/bugs/bug99923-expected.txt:
* platform/win/tables/mozilla/bugs/bug99948-expected.txt:
* platform/win/tables/mozilla/collapsing_borders/bug127040-expected.txt:
* platform/win/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:
* platform/win/tables/mozilla/collapsing_borders/bug41262-4-expected.txt:
* platform/win/tables/mozilla/core/bloomberg-expected.txt:
* platform/win/tables/mozilla/core/borders-expected.txt:
* platform/win/tables/mozilla/core/captions-expected.txt:
* platform/win/tables/mozilla/core/cell_heights-expected.txt:
* platform/win/tables/mozilla/core/col_span-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_auto-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_autoFix-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_autoFixPer-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_autoPer-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_fix-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_fixPer-expected.txt:
* platform/win/tables/mozilla/core/col_widths_auto_per-expected.txt:
* platform/win/tables/mozilla/core/col_widths_fix_autoFix-expected.txt:
* platform/win/tables/mozilla/core/col_widths_fix_autoPer-expected.txt:
* platform/win/tables/mozilla/core/col_widths_fix_fix-expected.txt:
* platform/win/tables/mozilla/core/col_widths_fix_fixPer-expected.txt:
* platform/win/tables/mozilla/core/col_widths_fix_per-expected.txt:
* platform/win/tables/mozilla/core/margins-expected.txt:
* platform/win/tables/mozilla/core/misc-expected.txt:
* platform/win/tables/mozilla/core/nested1-expected.txt:
* platform/win/tables/mozilla/core/one_row-expected.txt:
* platform/win/tables/mozilla/core/row_span-expected.txt:
* platform/win/tables/mozilla/core/table_frame-expected.txt:
* platform/win/tables/mozilla/core/table_heights-expected.txt:
* platform/win/tables/mozilla/core/table_rules-expected.txt:
* platform/win/tables/mozilla/core/table_widths-expected.txt:
* platform/win/tables/mozilla/dom/appendCol2-expected.txt:
* platform/win/tables/mozilla/dom/appendRowsExpand1-expected.txt:
* platform/win/tables/mozilla/dom/appendTbodyExpand1-expected.txt:
* platform/win/tables/mozilla/dom/deleteCellsRebuild1-expected.txt:
* platform/win/tables/mozilla/dom/deleteCellsShrink1-expected.txt:
* platform/win/tables/mozilla/dom/deleteCellsShrink2-expected.txt:
* platform/win/tables/mozilla/dom/deleteCol1-expected.txt:
* platform/win/tables/mozilla/dom/deleteCol2-expected.txt:
* platform/win/tables/mozilla/dom/deleteCol3-expected.txt:
* platform/win/tables/mozilla/dom/deleteColGroup1-expected.txt:
* platform/win/tables/mozilla/dom/deleteColGroup2-expected.txt:
* platform/win/tables/mozilla/dom/deleteRowsRebuild1-expected.txt:
* platform/win/tables/mozilla/dom/deleteRowsShrink1-expected.txt:
* platform/win/tables/mozilla/dom/deleteTbodyExpand1-expected.txt:
* platform/win/tables/mozilla/dom/deleteTbodyRebuild1-expected.txt:
* platform/win/tables/mozilla/dom/insertCellsExpand1-expected.txt:
* platform/win/tables/mozilla/dom/insertCellsExpand2-expected.txt:
* platform/win/tables/mozilla/dom/insertCellsRebuild1-expected.txt:
* platform/win/tables/mozilla/dom/insertCellsRebuild2-expected.txt:
* platform/win/tables/mozilla/dom/insertColGroups1-expected.txt:
* platform/win/tables/mozilla/dom/insertColGroups2-expected.txt:
* platform/win/tables/mozilla/dom/insertCols1-expected.txt:
* platform/win/tables/mozilla/dom/insertCols2-expected.txt:
* platform/win/tables/mozilla/dom/insertCols3-expected.txt:
* platform/win/tables/mozilla/dom/insertCols4-expected.txt:
* platform/win/tables/mozilla/dom/insertCols5-expected.txt:
* platform/win/tables/mozilla/dom/insertRowsExpand1-expected.txt:
* platform/win/tables/mozilla/dom/insertRowsRebuild1-expected.txt:
* platform/win/tables/mozilla/dom/tableDom-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_position-table-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-cell-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-column-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-column-group-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-row-expected.txt:
* platform/win/tables/mozilla/marvin/backgr_simple-table-row-group-expected.txt:
* platform/win/tables/mozilla/marvin/body_col-expected.txt:
* platform/win/tables/mozilla/marvin/body_tbody-expected.txt:
* platform/win/tables/mozilla/marvin/body_tfoot-expected.txt:
* platform/win/tables/mozilla/marvin/body_thead-expected.txt:
* platform/win/tables/mozilla/marvin/col_span-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_span-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_width_pct-expected.txt:
* platform/win/tables/mozilla/marvin/colgroup_width_px-expected.txt:
* platform/win/tables/mozilla/marvin/table_frame_border-expected.txt:
* platform/win/tables/mozilla/marvin/table_frame_box-expected.txt:
* platform/win/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt:
* platform/win/tables/mozilla/marvin/table_overflow_td_dynamic_deactivate-expected.txt:
* platform/win/tables/mozilla/marvin/table_row_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/table_row_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/table_row_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/table_rules_all-expected.txt:
* platform/win/tables/mozilla/marvin/table_rules_groups-expected.txt:
* platform/win/tables/mozilla/marvin/table_rules_none-expected.txt:
* platform/win/tables/mozilla/marvin/tables_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/tables_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/tables_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_aqua-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_aqua_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_black-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_black_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_blue-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_blue_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_fuchsia-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_fuchsia_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_gray-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_gray_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_green-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_green_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_lime-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_lime_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_maroon-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_maroon_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_navy-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_navy_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_olive-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_olive_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_purple-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_purple_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_red-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_red_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_silver-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_silver_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_teal-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_white-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_white_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_yellow-expected.txt:
* platform/win/tables/mozilla/marvin/tables_bgcolor_yellow_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tables_border_0-expected.txt:
* platform/win/tables/mozilla/marvin/tables_border_1-expected.txt:
* platform/win/tables/mozilla/marvin/tables_border_2-expected.txt:
* platform/win/tables/mozilla/marvin/tables_border_3-expected.txt:
* platform/win/tables/mozilla/marvin/tables_caption_align_bot-expected.txt:
* platform/win/tables/mozilla/marvin/tables_caption_align_top-expected.txt:
* platform/win/tables/mozilla/marvin/tables_cellpadding-expected.txt:
* platform/win/tables/mozilla/marvin/tables_cellpadding_pct-expected.txt:
* platform/win/tables/mozilla/marvin/tables_cellspacing-expected.txt:
* platform/win/tables/mozilla/marvin/tables_default-expected.txt:
* platform/win/tables/mozilla/marvin/tables_id-expected.txt:
* platform/win/tables/mozilla/marvin/tables_row_th_nowrap-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_colspan-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_height-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_nowrap-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_rowspan-expected.txt:
* platform/win/tables/mozilla/marvin/tables_td_width-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_colspan-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_height-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_rowspan-expected.txt:
* platform/win/tables/mozilla/marvin/tables_th_width-expected.txt:
* platform/win/tables/mozilla/marvin/tables_width_percent-expected.txt:
* platform/win/tables/mozilla/marvin/tables_width_px-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_char-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/tbody_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/td_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/td_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/td_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/td_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_char-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/tfoot_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/th_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/th_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/th_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/th_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/thead_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/thead_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/thead_align_justify-expected.txt:
* platform/win/tables/mozilla/marvin/thead_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/thead_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/thead_char-expected.txt:
* platform/win/tables/mozilla/marvin/thead_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/thead_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/thead_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/thead_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_black-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_blue-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_gray-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_green-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_lime-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_maroon-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_navy-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_olive-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_purple-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_red-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_silver-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_teal-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_white-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_yellow-expected.txt:
* platform/win/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/tr_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/tr_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/tr_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/tr_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_caption_align_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_caption_align_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_span-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_width_px-expected.txt:
* platform/win/tables/mozilla/marvin/x_col_width_rel-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_align_char-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_span-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_valign_baseline-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_valign_bottom-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_valign_middle-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_valign_top-expected.txt:
* platform/win/tables/mozilla/marvin/x_colgroup_width_rel-expected.txt:
* platform/win/tables/mozilla/marvin/x_table-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_align_left-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_align_right-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_bgcolor_name-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_border-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_border_none-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_border_px-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_cellpadding-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_cellpadding_pct-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_cellspacing-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_cellspacing_pct-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_frame_void-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_rules_groups-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_rules_none-expected.txt:
* platform/win/tables/mozilla/marvin/x_table_style-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_align_center-expected.txt:
* platform/win/tables/mozilla/marvin/x_tbody_align_char-expected.txt:

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

5 years ago[EFL] Virtual Keyboard overlaps MiniBrowser's WebView
g.czajkowski@samsung.com [Tue, 2 Feb 2016 12:26:38 +0000 (12:26 +0000)]
[EFL] Virtual Keyboard overlaps MiniBrowser's WebView
https://bugs.webkit.org/show_bug.cgi?id=153009

Reviewed by Gyuyoung Kim.

On mobile, virtual keyboard represented by ecore_imf module appears on
the top of application layer usually covering bottom part of the screen.
If the web page contains the editable content on the bottom of the page
it will be overlapped by keyboard which prevents user from seeing the
typed text.

Pack MiniBrowser layout into conformant widget to allow EFL to guess
the space that will be required by the keyboard, finally resizing it
to the desired size. As a result, webview gets resized and scrolled
into focused elements which makes the editable elements visible while
typing.

More details about elm_conformant widger can be found at:
https://docs.enlightenment.org/elementary/1.15.0/group__Conformant.html
https://docs.enlightenment.org/elementary/1.15.0/conformant_example.html

* MiniBrowser/efl/main.c:
(window_create): pack a box into conformant widget.

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

5 years ago[GTK][EFL] Upgrade OpenWebRTC dependency
alex@webkit.org [Tue, 2 Feb 2016 11:35:33 +0000 (11:35 +0000)]
[GTK][EFL] Upgrade OpenWebRTC dependency
https://bugs.webkit.org/show_bug.cgi?id=153489

Reviewed by Philippe Normand.

.:

* Source/cmake/FindOpenWebRTC.cmake: Bump OpenWebRTC dependency,
required to make the mediastream work.

Tools:

* Scripts/run-gtk-tests:
(TestRunner): Avoid running the mediastream API test.
* Scripts/webkitperl/FeatureList.pm: Stop compiling mediastream by
default for gtk and efl.
* gtk/jhbuild-webrtc.modules: Added modules files with
dependencies required to compile and test the mediastream.

LayoutTests:

Skiped the mediastream tests by default, until we have the code
ready and gstreamer dependency is bumped.

* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:

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

5 years ago[GTK] Several tests fail due to assert not reached in DrawingArea::dispatchAfterEnsur...
commit-queue@webkit.org [Tue, 2 Feb 2016 11:00:41 +0000 (11:00 +0000)]
[GTK] Several tests fail due to assert not reached in DrawingArea::dispatchAfterEnsuringDrawing()
https://bugs.webkit.org/show_bug.cgi?id=153785

Patch by Adrien Plazas <aplazas@igalia.com> on 2016-02-02
Reviewed by Carlos Garcia Campos.

* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::dispatchAfterEnsuringDrawing):
* UIProcess/DrawingAreaProxyImpl.h:

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

5 years agoobject.__lookupGetter__() / object.__lookupSetter__() does not work for native bindings
cdumez@apple.com [Tue, 2 Feb 2016 06:35:09 +0000 (06:35 +0000)]
object.__lookupGetter__() / object.__lookupSetter__() does not work for native bindings
https://bugs.webkit.org/show_bug.cgi?id=153765
<rdar://problem/24439699>

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

Add support for CustomAccessor slots to objectProtoFuncLookupGetter() and
objectProtoFuncLookupSetter() by return getOwnPropertyDescriptor().get / set.
getOwnPropertyDescriptor() now correctly deals with CustomAccessors since
r196001.

* runtime/ObjectPrototype.cpp:
(JSC::objectProtoFuncLookupGetter):
(JSC::objectProtoFuncLookupSetter):

LayoutTests:

Add layout tests to test that object.__lookupGetter__() / object.__lookupSetter__()
works for native bindings.

* js/lookupGetterGetter-native-bindings-expected.txt: Added.
* js/lookupGetterGetter-native-bindings.html: Added.

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

5 years agoWeb Inspector: Option+Up/Down should not move cursor outside of number
commit-queue@webkit.org [Tue, 2 Feb 2016 06:15:59 +0000 (06:15 +0000)]
Web Inspector: Option+Up/Down should not move cursor outside of number
https://bugs.webkit.org/show_bug.cgi?id=153784
<rdar://problem/24453133>

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

* UserInterface/Views/CodeMirrorAdditions.js:
When selectionStart === selectionEnd we were duplicating the
movement mutation by performing it twice on the same object.
After much experimentation, I left in the existing code path
for handling mutation with a selection. It is not perfect,
but it is better then just applying the ch diff.

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

5 years agoUnreviewed, fix http/tests/security/cross-origin-window-property-access.html
cdumez@apple.com [Tue, 2 Feb 2016 06:12:38 +0000 (06:12 +0000)]
Unreviewed, fix http/tests/security/cross-origin-window-property-access.html

Update http/tests/security/cross-origin-window-property-access.html that was
introduced in r196001 so that it does not assert on Mac DRT. Mac DRT asserts
that testRunner.waitUntilDone() must be called *BEFORE* calling window.open().

* http/tests/security/cross-origin-window-property-access.html:

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

5 years agoNative Bindings Descriptors are Incomplete
cdumez@apple.com [Tue, 2 Feb 2016 03:47:51 +0000 (03:47 +0000)]
Native Bindings Descriptors are Incomplete
https://bugs.webkit.org/show_bug.cgi?id=140575
<rdar://problem/19506502>

Reviewed by Oliver Hunt.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that a lot more checks are passing.

* web-platform-tests/XMLHttpRequest/interfaces-expected.txt:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/html/dom/interfaces-expected.txt:

Source/JavaScriptCore:

This patch is based on initial work by Joe Pecoraro and Matthew Mirman.

This patch was initially rolled out for breaking chromeexperiments.com,
presumably because our IDL attributes were not marked as [configurable]
at the time. However, since r190104, our IDL attributes are now
configurable. Based on local testing, chromeexperiments.com seems to be
working fine now.

* JavaScriptCore.xcodeproj/project.pbxproj:
* inspector/InjectedScriptSource.js:
(endsWith):
(InjectedScript.prototype.processProperties):
* runtime/JSBoundSlotBaseFunction.cpp: Added.
(JSC::boundSlotBaseFunctionCall):
(JSC::JSBoundSlotBaseFunction::JSBoundSlotBaseFunction):
(JSC::JSBoundSlotBaseFunction::create):
(JSC::JSBoundSlotBaseFunction::visitChildren):
(JSC::JSBoundSlotBaseFunction::finishCreation):
* runtime/JSBoundSlotBaseFunction.h: Added.
(JSC::JSBoundSlotBaseFunction::createStructure):
(JSC::JSBoundSlotBaseFunction::boundSlotBase):
(JSC::JSBoundSlotBaseFunction::customGetterSetter):
(JSC::JSBoundSlotBaseFunction::isSetter):
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildren):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::boundSlotBaseFunctionStructure):
* runtime/JSObject.cpp:
(JSC::getBoundSlotBaseFunctionForGetterSetter):
(JSC::JSObject::getOwnPropertyDescriptor):
* runtime/VM.cpp:
(JSC::VM::VM):
* runtime/VM.h:

LayoutTests:

Add test coverage.

* http/tests/security/cross-origin-window-property-access-expected.txt: Added.
* http/tests/security/cross-origin-window-property-access.html: Added.
* inspector/runtime/getProperties-expected.txt:
* js/dom/native-bindings-descriptors-expected.txt: Added.
* js/dom/native-bindings-descriptors.html: Added.
* js/dom/native-bindings-descriptors2-expected.txt: Added.
* js/dom/native-bindings-descriptors2.html: Added.
* js/dom/native-bindings-descriptors3-expected.txt: Added.
* js/dom/native-bindings-descriptors3.html: Added.
* js/dom/native-bindings-descriptors4-expected.txt: Added.
* js/dom/native-bindings-descriptors4.html: Added.
* js/dom/native-bindings-descriptors5-expected.txt: Added.
* js/dom/native-bindings-descriptors5.html: Added.

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

5 years ago[GTK] [EFL] [AppleWin] Layout Test fast/shadow-dom/slot-removal-crash-2.html timeouts
rniwa@webkit.org [Tue, 2 Feb 2016 02:35:12 +0000 (02:35 +0000)]
[GTK] [EFL] [AppleWin] Layout Test fast/shadow-dom/slot-removal-crash-2.html timeouts
https://bugs.webkit.org/show_bug.cgi?id=153772

Reviewed by Michael Catanzaro.

Don't call wait untilDone if attachShadow is not available.

* fast/shadow-dom/slot-removal-crash-2.html:

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

5 years agoWeb Inspector: High Level Memory Overview Instrument
joepeck@webkit.org [Tue, 2 Feb 2016 01:52:16 +0000 (01:52 +0000)]
Web Inspector: High Level Memory Overview Instrument
https://bugs.webkit.org/show_bug.cgi?id=153516
<rdar://problem/24356378>

Reviewed by Brian Burg.

Source/JavaScriptCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* DerivedSources.make:
* inspector/protocol/Memory.json: Added.
* inspector/scripts/codegen/generator.py:
New Memory domain guarded by ENABLE(RESOURCE_USAGE).
This feature flag was already used in WebCore.

Source/WebCore:

Add a new agent that gathers data from the ResourceUsageThread
and sends to the frontend.

Test: inspector/memory/tracking.html

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* WebCore.xcodeproj/project.pbxproj:
New files.

* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
Add the new agent.

* inspector/InspectorMemoryAgent.h: Added.
* inspector/InspectorMemoryAgent.cpp: Added.
(WebCore::InspectorMemoryAgent::InspectorMemoryAgent):
(WebCore::InspectorMemoryAgent::didCreateFrontendAndBackend):
(WebCore::InspectorMemoryAgent::willDestroyFrontendAndBackend):
(WebCore::InspectorMemoryAgent::startTracking):
(WebCore::InspectorMemoryAgent::stopTracking):
(WebCore::InspectorMemoryAgent::collectSample):
Implement the agent by adding / removing it as a ResourceUsage
observer. When receiving the data forward it to the frontend.

Source/WebInspectorUI:

Use the new "Memory" domain to track page memory size over time.
This allows the timeline to help visualize total process memory
broken down into a few different categories. The timeline graph
allows seeing the total size over time, and you can drill in to
a specific section and get a better breakdown and comparison
of the different categories of memory that we currently track.

* Localizations/en.lproj/localizedStrings.js:
New UI strings.

* UserInterface/Main.html:
New files.

* UserInterface/Base/Main.js:
(WebInspector.loaded):
* UserInterface/Protocol/MemoryObserver.js:
(WebInspector.MemoryObserver.prototype.trackingStart):
(WebInspector.MemoryObserver.prototype.trackingUpdate):
(WebInspector.MemoryObserver.prototype.trackingComplete):
Add a memory observer.

* UserInterface/Controllers/TimelineManager.js:
(WebInspector.TimelineManager.defaultInstruments):
(WebInspector.TimelineManager.prototype.memoryTrackingStart):
(WebInspector.TimelineManager.prototype.memoryTrackingUpdate):
(WebInspector.TimelineManager.prototype.memoryTrackingComplete):
Create Memory timeline records from Memory tracking updates.

* UserInterface/Models/MemoryCategory.js:
(WebInspector.MemoryCategory):
Consolidate some of the raw data of categories we get from the backend
into a set of 4 user-facing categories.

* UserInterface/Models/MemoryTimelineRecord.js: Added.
(WebInspector.MemoryTimelineRecord):
(WebInspector.MemoryTimelineRecord.memoryCategoriesFromProtocol):
(WebInspector.MemoryTimelineRecord.prototype.get timestamp):
(WebInspector.MemoryTimelineRecord.prototype.get categories):
(WebInspector.MemoryTimelineRecord.prototype.get totalSize):
(WebInspector.MemoryTimelineRecord.prototype.get startTime):
(WebInspector.MemoryTimelineRecord.prototype.get endTime):
Memory timeline record for the event data.

* UserInterface/Models/MemoryInstrument.js:
(WebInspector.MemoryInstrument):
(WebInspector.MemoryInstrument.supported):
(WebInspector.MemoryInstrument.prototype.get timelineRecordType):
(WebInspector.MemoryInstrument.prototype.startInstrumentation):
(WebInspector.MemoryInstrument.prototype.stopInstrumentation):
Instrument to start / stop memory tracking.

* UserInterface/Models/TimelineRecord.js:
Add a new "Memory" Timeline type.

* UserInterface/Views/ContentView.js:
(WebInspector.ContentView.createFromRepresentedObject):
* UserInterface/Models/TimelineRecording.js:
(WebInspector.TimelineRecording):
Add the new "Memory" Timeline.

(WebInspector.TimelineRecording.prototype.addRecord):
Memory timeline records do not show in the SourceCode Timelines Overview.

* UserInterface/Views/CircleChart.css:
(.circle-chart):
(.circle-chart > svg > path.background):
(.circle-chart > .center):
* UserInterface/Views/CircleChart.js: Added.
(WebInspector.CircleChart):
(WebInspector.CircleChart.prototype.get element):
(WebInspector.CircleChart.prototype.get points):
(WebInspector.CircleChart.prototype.get size):
(WebInspector.CircleChart.prototype.get centerElement):
(WebInspector.CircleChart.prototype.get segments):
(WebInspector.CircleChart.prototype.set segments):
(WebInspector.CircleChart.prototype.get values):
(WebInspector.CircleChart.prototype.set values):
(WebInspector.CircleChart.prototype.clear):
(WebInspector.CircleChart.prototype.needsLayout):
(WebInspector.CircleChart.prototype.updateLayout):
(WebInspector.CircleChart.prototype._needsLayout):
(WebInspector.CircleChart.prototype._createCompleteCirclePathData):
(WebInspector.CircleChart.prototype._createSegmentPathData):
(WebInspector.CircleChart.prototype._updateLayout):
Standalone circle "donut" chart, copied mostly from Rendering Frames Timeline.
Initialize the chart's segments, then feed it a set of ([v1, v2, ...]) values
corresponding to each of the segments.

* UserInterface/Views/LineChart.js: Added.
(WebInspector.LineChart):
(WebInspector.LineChart.prototype.get element):
(WebInspector.LineChart.prototype.get points):
(WebInspector.LineChart.prototype.get size):
(WebInspector.LineChart.prototype.set size):
(WebInspector.LineChart.prototype.addPoint):
(WebInspector.LineChart.prototype.clear):
(WebInspector.LineChart.prototype.needsLayout):
(WebInspector.LineChart.prototype.updateLayout):
(WebInspector.LineChart.prototype._needsLayout):
(WebInspector.LineChart.prototype._updateLayout):
Standalone line chart. Uses a single SVG path, given a set of (x, y) points.

* UserInterface/Views/StackedLineChart.js: Added.
(WebInspector.StackedLineChart):
(WebInspector.StackedLineChart.prototype.get element):
(WebInspector.StackedLineChart.prototype.get points):
(WebInspector.StackedLineChart.prototype.get size):
(WebInspector.StackedLineChart.prototype.set size):
(WebInspector.StackedLineChart.prototype.initializeSections):
(WebInspector.StackedLineChart.prototype.addPointSet):
(WebInspector.StackedLineChart.prototype.clear):
(WebInspector.StackedLineChart.prototype.needsLayout):
(WebInspector.StackedLineChart.prototype.updateLayout):
(WebInspector.StackedLineChart.prototype._needsLayout):
(WebInspector.StackedLineChart.prototype._updateLayout):
Standalone stacked line chart. Initialize the chart's sections,
then feed it a set of (x, [y1, y2 ...]) points where the y
values correspond to each of the sections.

* UserInterface/Views/TimelineOverview.js:
(WebInspector.TimelineOverview.prototype.get scrollContainerWidth):
Add a way to get this value without forcing layout all the time.

* UserInterface/Views/TimelineTabContentView.js:
(WebInspector.TimelineTabContentView.displayNameForTimeline):
(WebInspector.TimelineTabContentView.iconClassNameForTimeline):
(WebInspector.TimelineTabContentView.genericClassNameForTimeline):
(WebInspector.TimelineTabContentView.iconClassNameForRecord):
(WebInspector.TimelineTabContentView.displayNameForRecord):
Add placeholders for the new Memory Timeline Type.

* UserInterface/Views/MemoryCategoryView.css:
(.memory-category-view):
(.memory-category-view > .details):
(.memory-category-view > .details > .name):
(.memory-category-view > .graph):
* UserInterface/Views/MemoryCategoryView.js: Added.
(WebInspector.MemoryCategoryView):
(WebInspector.MemoryCategoryView.prototype.get element):
(WebInspector.MemoryCategoryView.prototype.get category):
(WebInspector.MemoryCategoryView.prototype.clear):
(WebInspector.MemoryCategoryView.prototype.layoutWithDataPoints):
(WebInspector.MemoryCategoryView.prototype._updateDetails):
* UserInterface/Views/MemoryTimelineOverviewGraph.css:
(body .timeline-overview > .graphs-container > .timeline-overview-graph.memory):
(.timeline-overview-graph.memory):
(.timeline-overview-graph.memory > .legend):
(.timeline-overview-graph.memory > .stacked-line-chart > svg > path.javascript):
(.timeline-overview-graph.memory > .stacked-line-chart > svg > path.images):
(.timeline-overview-graph.memory > .stacked-line-chart > svg > path.layers):
(.timeline-overview-graph.memory > .stacked-line-chart > svg > path.page):
* UserInterface/Views/MemoryTimelineOverviewGraph.js: Added.
(WebInspector.MemoryTimelineOverviewGraph):
(WebInspector.MemoryTimelineOverviewGraph.prototype.get height):
(WebInspector.MemoryTimelineOverviewGraph.prototype.reset):
(WebInspector.MemoryTimelineOverviewGraph.prototype.layout.timeToX):
(WebInspector.MemoryTimelineOverviewGraph.prototype.layout.sizeToY):
(WebInspector.MemoryTimelineOverviewGraph.prototype.layout.sizesToYs):
(WebInspector.MemoryTimelineOverviewGraph.prototype.layout.ysForRecord):
(WebInspector.MemoryTimelineOverviewGraph.prototype.layout):
(WebInspector.MemoryTimelineOverviewGraph.prototype._updateLegend):
(WebInspector.MemoryTimelineOverviewGraph.prototype._visibleRecords):
(WebInspector.MemoryTimelineOverviewGraph.prototype._memoryTimelineRecordAdded):
* UserInterface/Views/MemoryTimelineView.css: Added.
(.timeline-view.memory):
(.timeline-view.memory > .content):
(.timeline-view.memory > .content > .overview):
(.timeline-view.memory > .content .title):
(.timeline-view.memory > .content .subtitle):
(.timeline-view.memory > .content > .details > .timeline-ruler):
(.timeline-view.memory > .content > .details > .subtitle):
(.timeline-view.memory > .content > .overview > .chart):
(.timeline-view.memory > .content > .overview > .chart > .subtitle):
(.timeline-view.memory > .content > .overview > .chart > .container):
(.timeline-view.memory > .content > .overview > .divider):
(.timeline-view.memory > .content > .overview .max-percentage):
(.timeline-view.memory .legend):
(.timeline-view.memory .legend > .row):
(.timeline-view.memory .legend > .row > .swatch):
(.timeline-view.memory .legend > .row > p):
(.timeline-view.memory .legend > .row > .label):
(.timeline-view.memory .legend > .row > .size):
(.timeline-view.memory .legend > .row > .swatch.javascript):
(.timeline-view.memory .legend > .row > .swatch.images):
(.timeline-view.memory .legend > .row > .swatch.layers):
(.timeline-view.memory .legend > .row > .swatch.page):
(.memory-category-view.javascript .line-chart > svg > path):
(.memory-category-view.images .line-chart > svg > path):
(.memory-category-view.layers .line-chart > svg > path):
(.memory-category-view.page .line-chart > svg > path):
(.timeline-view.memory .legend > .row > .swatch.current):
(.timeline-view.memory .circle-chart > svg > path.current):
(.timeline-view.memory .circle-chart > svg > path.remainder):
* UserInterface/Views/MemoryTimelineView.js: Added.
(WebInspector.MemoryTimelineView):
(WebInspector.MemoryTimelineView.displayNameForCategory):
(WebInspector.MemoryTimelineView.prototype.get navigationSidebarTreeOutlineLabel):
(WebInspector.MemoryTimelineView.prototype.shown):
(WebInspector.MemoryTimelineView.prototype.hidden):
(WebInspector.MemoryTimelineView.prototype.closed):
(WebInspector.MemoryTimelineView.prototype.reset):
(WebInspector.MemoryTimelineView.prototype.treeElementPathComponentSelected):
(WebInspector.MemoryTimelineView.prototype.layout.timeToX):
(WebInspector.MemoryTimelineView.prototype.layout.sizeToY):
(WebInspector.MemoryTimelineView.prototype.layout.layoutCategoryView):
(WebInspector.MemoryTimelineView.prototype.layout):
(WebInspector.MemoryTimelineView.prototype._clearUsageLegend):
(WebInspector.MemoryTimelineView.prototype._updateUsageLegend):
(WebInspector.MemoryTimelineView.prototype._clearMaxComparisonLegend):
(WebInspector.MemoryTimelineView.prototype._updateMaxComparisonLegend):
(WebInspector.MemoryTimelineView.prototype._visibleRecords):
(WebInspector.MemoryTimelineView.prototype._initializeCategoryViews.appendLegendRow):
(WebInspector.MemoryTimelineView.prototype._initializeCategoryViews):
(WebInspector.MemoryTimelineView.prototype._memoryTimelineRecordAdded):
* UserInterface/Views/Variables.css:
(:root):
Memory timeline view styles.

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

LayoutTests:

* inspector/memory/tracking-expected.txt: Added.
* inspector/memory/tracking.html: Added.
Basic test for the new domain tracking commands and events.

* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/win/TestExpectations:
Skip the directory on ports that have not implemented ENABLE(RESOURCE_USAGE).

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

5 years agoFix CMake build.
achristensen@apple.com [Tue, 2 Feb 2016 01:51:14 +0000 (01:51 +0000)]
Fix CMake build.

* PlatformMac.cmake:

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

5 years agoModern IDB: Cursors (still) do not keep their opening request alive.
beidson@apple.com [Tue, 2 Feb 2016 01:42:54 +0000 (01:42 +0000)]
Modern IDB: Cursors (still) do not keep their opening request alive.
https://bugs.webkit.org/show_bug.cgi?id=153724

Reviewed by Alex Christensen.

No new tests (All existing tests pass without flakiness).

IDBCursors did not properly keep their JS wrappers alive.
Making them ActiveDOMObjects that keep track of how many requests might be in flight fixes this.
This also makes them actually keep their opening-request live via the opaque-root mechanism.

IDBCursorWithValue also needed to opt in to all of these mechanisms.

* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:

* Modules/indexeddb/IDBCursor.h:
(WebCore::IDBCursor::hasPendingActivity): The base IDBCursor always has no pending activity,
  to maintain current behavior in LegacyIDB. This weirdness will go away when LegacyIDB does.
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBCursorWithValue.idl:

Track a count for all outstanding requests to keep the cursor alive as an ActiveDOMObject.
* Modules/indexeddb/client/IDBCursorImpl.cpp:
(WebCore::IDBClient::IDBCursor::IDBCursor):
(WebCore::IDBClient::IDBCursor::update):
(WebCore::IDBClient::IDBCursor::uncheckedIterateCursor):
(WebCore::IDBClient::IDBCursor::deleteFunction):
(WebCore::IDBClient::IDBCursor::activeDOMObjectName):
(WebCore::IDBClient::IDBCursor::canSuspendForDocumentSuspension):
(WebCore::IDBClient::IDBCursor::hasPendingActivity):
(WebCore::IDBClient::IDBCursor::decrementOutstandingRequestCount):
* Modules/indexeddb/client/IDBCursorImpl.h:

Rework the "delete" family of functions on the object store to allow for returning a modern IDBRequest.
A lot of this can go away when LegacyIDB does.
* Modules/indexeddb/client/IDBObjectStoreImpl.cpp:
(WebCore::IDBClient::IDBObjectStore::deleteFunction):
(WebCore::IDBClient::IDBObjectStore::doDelete):
(WebCore::IDBClient::IDBObjectStore::modernDelete):
* Modules/indexeddb/client/IDBObjectStoreImpl.h:

* Modules/indexeddb/client/IDBRequestImpl.cpp:
(WebCore::IDBClient::IDBRequest::setSource): Setup a ScopeGuard to decrement the cursor's request
  count whenever it makes sense to do so.
(WebCore::IDBClient::IDBRequest::dispatchEvent): Clear the ScopeGuard (if it exists) to decrement the count.
(WebCore::IDBClient::IDBRequest::willIterateCursor): Set the ScopeGuard.
(WebCore::IDBClient::IDBRequest::didOpenOrIterateCursor): Clear the ScopeGuard (if it exists) to decrement the count.
* Modules/indexeddb/client/IDBRequestImpl.h:

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::ScopeGuard::ScopeGuard): Deleted.
(WebCore::IDBServer::ScopeGuard::~ScopeGuard): Deleted.
(WebCore::IDBServer::ScopeGuard::enable): Deleted.
(WebCore::IDBServer::ScopeGuard::disable): Deleted.

* bindings/js/JSIDBCursorWithValueCustom.cpp: Added.
(WebCore::JSIDBCursorWithValue::visitAdditionalChildren):

* platform/ScopeGuard.h: Added.
(WebCore::ScopeGuard::ScopeGuard):
(WebCore::ScopeGuard::~ScopeGuard):
(WebCore::ScopeGuard::enable):
(WebCore::ScopeGuard::disable):

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

5 years agoSkipping http/tests/plugins/visible_plugins.html on Yosemite during investigation.
ryanhaddad@apple.com [Tue, 2 Feb 2016 01:39:00 +0000 (01:39 +0000)]
Skipping http/tests/plugins/visible_plugins.html on Yosemite during investigation.
https://bugs.webkit.org/show_bug.cgi?id=153752

Unreviewed test gardening.

* platform/mac/TestExpectations:

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

5 years agoWeb Inspector: add a LayoutReason enum to the View base class
mattbaker@apple.com [Tue, 2 Feb 2016 01:27:25 +0000 (01:27 +0000)]
Web Inspector: add a LayoutReason enum to the View base class
https://bugs.webkit.org/show_bug.cgi?id=153731
<rdar://problem/24430938>

Reviewed by Brian Burg.

Added a LayoutReason enum to the View base class, which can be passed as an optional
argument to needsLayout() and updateLayout(). The value is propagated to the view's
subtree during layout.

* UserInterface/Base/Main.js:
Update top-level views with Resize layout reason when window is resized.

* UserInterface/Views/DataGrid.js:
(WebInspector.DataGrid.prototype._positionHeaderViews):
Update header view with Resize layout reason when column is resized.

* UserInterface/Views/OverviewTimelineView.js:
(WebInspector.OverviewTimelineView.prototype.shown):
Assume the view has been resized when shown, and update layout.
(WebInspector.OverviewTimelineView.prototype.updateLayoutForResize): Deleted.
No longer needed, handled by the View base class.

* UserInterface/Views/TimelineOverview.js:
(WebInspector.TimelineOverview.prototype.shown):
Assume the view has been resized when shown, and update layout.
(WebInspector.TimelineOverview.prototype.layout):
Invalidate cached scroll container width if resized.
(WebInspector.TimelineOverview.prototype.updateLayoutForResize): Deleted.
No longer needed, handled by the View base class.

* UserInterface/Views/TimelineRecordingContentView.js:
(WebInspector.TimelineRecordingContentView.prototype.layout): Deleted.
No longer needed, handled by the View base class.

* UserInterface/Views/TimelineRuler.js:
(WebInspector.TimelineRuler.prototype.needsLayout):
(WebInspector.TimelineRuler.prototype.layout):
Update cached client width if resized.
(WebInspector.TimelineRuler.prototype.resize): Deleted.
Moved resize logic to layout override.

* UserInterface/Views/View.js:
(WebInspector.View):
(WebInspector.View.prototype.updateLayout):
Set layout reason.
(WebInspector.View.prototype.needsLayout):
Set layout reason even if an animation frame has already been scheduled,
since the layout reason could have changed.
(WebInspector.View.prototype._layoutSubtree):
Propagate layout reason to subtree, and reset the value when done.
(WebInspector.View.prototype._setLayoutReason):
Helper method for updating the layout reason. Ensures that LayoutReason.Resize
has priority over the default (LayoutReason.Dirty).

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

5 years agoMarking imported/w3c/web-platform-tests/streams-api/readable-streams/garbage-collecti...
ryanhaddad@apple.com [Tue, 2 Feb 2016 01:12:48 +0000 (01:12 +0000)]
Marking imported/w3c/web-platform-tests/streams-api/readable-streams/garbage-collection-1.html as flaky on Mac debug
https://bugs.webkit.org/show_bug.cgi?id=153781

Unreviewed test gardening.

* platform/mac/TestExpectations:

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

5 years agoAdd code to parse the git branches out of the Trac RSS feed https://bugs.webkit.org...
jmarcell@apple.com [Tue, 2 Feb 2016 00:55:34 +0000 (00:55 +0000)]
Add code to parse the git branches out of the Trac RSS feed https://bugs.webkit.org/show_bug.cgi?id=153624

Reviewed by Daniel Bates.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
(Trac.prototype.commitsOnBranch): Update filter to check for Git branches.
(Trac.prototype._convertCommitInfoElementToObject): Parse Git branches from the Trac RSS feed. Also changed "branchName" to
"branches" and updated the code to work with an array instead of a string.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
(MockTrac): Refactored example commits out into a constant, MockTrac.EXAMPLE_TRAC_COMMITS.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml: Added. Test
fixture that contains XML with a Git branch.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit test to test parsing Git
branches from Trac RSS feed. Also updated code to work with the new MockTrac.EXAMPLE_TRAC_COMMITS constant.

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

5 years agoFree Colormap when XWindow is destroyed.
commit-queue@webkit.org [Tue, 2 Feb 2016 00:46:33 +0000 (00:46 +0000)]
Free Colormap when XWindow is destroyed.
https://bugs.webkit.org/show_bug.cgi?id=153413

Patch by Sun-woo Nam <sunny.nam@samsung.com> on 2016-02-01
Reviewed by Žan Doberšek.

Colormap is needed to create XWindow and it should be freed when XWindow is destroyed.
Unless Colormap is freed before destroying XWindow, memory leak is suspected.
XFreeColormap therefore is needed on X11Helper.

* platform/graphics/surfaces/glx/X11Helper.cpp: Added XFreeColormap.
(WebCore::X11Helper::destroyWindow):

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

5 years agoMore iOS build fix.
mitz@apple.com [Tue, 2 Feb 2016 00:45:43 +0000 (00:45 +0000)]
More iOS build fix.

* Platform/spi/ios/UIKitSPI.h:

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

5 years agoiOS build fix.
mitz@apple.com [Tue, 2 Feb 2016 00:41:16 +0000 (00:41 +0000)]
iOS build fix.

* Platform/IPC/mac/ConnectionMac.mm:

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

5 years agoCopy sandbox profiles during installhdrs.
mitz@apple.com [Tue, 2 Feb 2016 00:35:26 +0000 (00:35 +0000)]
Copy sandbox profiles during installhdrs.

Reviewed by Anders Carlsson.

* Configurations/SandboxProfiles.xcconfig:

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

5 years ago[GTK] Unreviewed GTK+ Gardening.
clopez@igalia.com [Tue, 2 Feb 2016 00:00:16 +0000 (00:00 +0000)]
[GTK] Unreviewed GTK+ Gardening.

* platform/efl/TestExpectations: Add fast/shadow-dom/slot-removal-crash-2.html timeout expectation.
* platform/gtk/TestExpectations: Report and update a bunch of test expectations.
* platform/win/TestExpectations: Add fast/shadow-dom/slot-removal-crash-2.html timeout expectation.

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

5 years ago[Cocoa] Remove some more __has_include guards
mitz@apple.com [Mon, 1 Feb 2016 23:55:07 +0000 (23:55 +0000)]
[Cocoa] Remove some more __has_include guards
https://bugs.webkit.org/show_bug.cgi?id=153774

Reviewed by Tim Horton.

Guard private header includes with #if USE(APPLE_INTERNAL_SDK) rather than with __has_include.

* Platform/IPC/mac/ConnectionMac.mm:
* Platform/IPC/mac/ImportanceAssertion.h:
* Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h:
* Shared/cf/ArgumentCodersCF.cpp:
* Shared/mac/ChildProcessMac.mm:
* Shared/mac/SecItemShim.cpp:

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

5 years agoAdd command line flag to DRT to output the number of tests completed in server mode.
beidson@apple.com [Mon, 1 Feb 2016 23:40:39 +0000 (23:40 +0000)]
Add command line flag to DRT to output the number of tests completed in server mode.
https://bugs.webkit.org/show_bug.cgi?id=153750

Reviewed by Darin Adler.

* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions):
(runTestingServerLoop):

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

5 years ago[Xcode] Let Xcode know that the WebKit XPC service products are XPC services
mitz@apple.com [Mon, 1 Feb 2016 23:37:02 +0000 (23:37 +0000)]
[Xcode] Let Xcode know that the WebKit XPC service products are XPC services
https://bugs.webkit.org/show_bug.cgi?id=153773

Reviewed by Tim Horton.

* Configurations/BaseXPCService.xcconfig: Removed now-redundant definitions of
  MACH_O_TYPE and WRAPPER_EXTENSION.
* WebKit2.xcodeproj/project.pbxproj: Updated product types.

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

5 years agoCrash using WKPDFView, in -[UIPDFPageView showContent]
timothy_horton@apple.com [Mon, 1 Feb 2016 23:31:30 +0000 (23:31 +0000)]
Crash using WKPDFView, in -[UIPDFPageView showContent]
https://bugs.webkit.org/show_bug.cgi?id=153770
<rdar://problem/20157864>

Reviewed by Anders Carlsson.

When scrolling, we throw away UIPDFPageViews, but forget to unhook their delegates.
In some cases (also because their delegate is a raw pointer, not weak), they can call
back into a deleted WKPDFView, causing a crash.

* UIProcess/ios/WKPDFView.mm:
(detachViewForPage):
Add a helper to detach a page view, and unhook its delegates.

(-[WKPDFView _clearPages]):
(-[WKPDFView _revalidateViews]):
Make use of the new helper.

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

5 years ago[JSC] IRC can coalesce the frame pointer with a Tmp that is modified
benjamin@webkit.org [Mon, 1 Feb 2016 23:19:26 +0000 (23:19 +0000)]
[JSC] IRC can coalesce the frame pointer with a Tmp that is modified
https://bugs.webkit.org/show_bug.cgi?id=153694

Reviewed by Filip Pizlo.

Let's say we have:
    Move(FP, Tmp1)
    Add64(#1, Tmp1)

If we were to coalesce the Move, we would modify the frame pointer.
Well, that's exactly what was happening with IRC.

Since the epilogue is not know to Air before IRC, the liveness analysis
never discovers that FP is live when Tmp1 is UseDef by Add64. Adding
FP would a be a problem anyway for a bunch of reasons.

I tried two ways to prevent IRC to override IRC:
1) Add an interference edge with FP for all non-duplication Defs.
2) Let coalesce() know about FP and constraint any coalescing with a re-Def.

The two are within margin of error for performance. The second one was considerably
more complicated. This patch implements the first one.

Some extra note:
-It is very important to not increment the degree of a Tmp when making it interfere
 with FP. FP is not a valid color, it is not counted in the "K" colors considered
 for coloring. Increasing the degree with the edge to FP would make every stage
 pessimistic since there is an extra degree that can never be removed.
-I put "interferenceEdges" and "adjacencyList" in an inconsistent state.
 This is intentional, "interferenceEdges" is used to test the existence of an edge,
 "adjacencyList" is used to go over all the edges. In this case, we don't want
 the edge with FP to be considered when pruning the graph.

* b3/air/AirIteratedRegisterCoalescing.cpp:
One branch could be transformed into an assertion: TmpLiveness is type specific now.
* b3/testb3.cpp:
(JSC::B3::testOverrideFramePointer):
(JSC::B3::run):

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

5 years agoMarking imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-4.htm...
ryanhaddad@apple.com [Mon, 1 Feb 2016 22:13:21 +0000 (22:13 +0000)]
Marking imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-4.htm as flaky on ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=153336

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

5 years agoMove some SPI declarations into the appropriate SPI header
timothy_horton@apple.com [Mon, 1 Feb 2016 22:07:06 +0000 (22:07 +0000)]
Move some SPI declarations into the appropriate SPI header
https://bugs.webkit.org/show_bug.cgi?id=153755

Reviewed by Darin Adler.

* platform/graphics/cocoa/IOSurface.mm:
* platform/spi/cg/CoreGraphicsSPI.h:

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