WebKit-https.git
4 years agoModern IDB: LayoutTest imported/w3c/indexeddb/keyorder-private.html is flaky.
beidson@apple.com [Thu, 4 Feb 2016 19:46:47 +0000 (19:46 +0000)]
Modern IDB: LayoutTest imported/w3c/indexeddb/keyorder-private.html is flaky.
https://bugs.webkit.org/show_bug.cgi?id=153438.

Reviewed by Alex Christensen.

Source/WebCore:

Tests: storage/indexeddb/modern/idbkey-array-equality-private.html
       storage/indexeddb/modern/idbkey-array-equality.html

* Modules/indexeddb/IDBKeyData.cpp:
(WebCore::IDBKeyData::loggingString):
(WebCore::IDBKeyData::operator==): Fix obvious bug.

LayoutTests:

* platform/mac-wk1/TestExpectations: Re-enable the flaky test.
* resources/js-test.js:
* storage/indexeddb/modern/idbkey-array-equality-expected.txt: Added.
* storage/indexeddb/modern/idbkey-array-equality-private-expected.txt: Added.
* storage/indexeddb/modern/idbkey-array-equality-private.html: Added.
* storage/indexeddb/modern/idbkey-array-equality.html: Added.
* storage/indexeddb/modern/resources/idbkey-array-equality.js: Added.

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

4 years agoUnreviewed, fix the EFL clean build after r196123
cdumez@apple.com [Thu, 4 Feb 2016 19:38:12 +0000 (19:38 +0000)]
Unreviewed, fix the EFL clean build after r196123
https://bugs.webkit.org/show_bug.cgi?id=153875

* CMakeLists.txt:
* PlatformGTK.cmake:
* PlatformMac.cmake:
* html/DOMSettableTokenList.h:
* html/DOMSettableTokenList.idl:

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

4 years agoPageGroup::captionPreferences should return a reference
eric.carlson@apple.com [Thu, 4 Feb 2016 19:27:11 +0000 (19:27 +0000)]
PageGroup::captionPreferences should return a reference
https://bugs.webkit.org/show_bug.cgi?id=153877
<rdar://problem/24506917>

Reviewed by Jer Noble.

No new tests, no functional change.

* Modules/mediacontrols/MediaControlsHost.cpp:
(WebCore::MediaControlsHost::sortedTrackListForMenu):
(WebCore::MediaControlsHost::displayNameForTrack):
(WebCore::MediaControlsHost::captionMenuOffItem):
(WebCore::MediaControlsHost::captionDisplayMode):
* dom/Document.cpp:
(WebCore::Document::registerForCaptionPreferencesChangedCallbacks):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::addTextTrack):
(WebCore::HTMLMediaElement::configureTextTrackGroup):
(WebCore::HTMLMediaElement::setSelectedTextTrack):
(WebCore::HTMLMediaElement::configureTextTracks):
(WebCore::HTMLMediaElement::captionPreferencesChanged):
(WebCore::HTMLMediaElement::mediaPlayerPreferredAudioCharacteristics):
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlClosedCaptionsTrackListElement::updateDisplay):
(WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu):
(WebCore::MediaControlTextTrackContainerElement::updateActiveCuesFontSize):
* page/PageGroup.cpp:
(WebCore::PageGroup::captionPreferencesChanged):
(WebCore::PageGroup::captionPreferences):
* page/PageGroup.h:
* platform/cocoa/WebVideoFullscreenModelVideoElement.mm:
(WebVideoFullscreenModelVideoElement::updateLegibleOptions):
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::setShouldDisplayTrackKind):
(WebCore::InternalSettings::shouldDisplayTrackKind):
* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::Internals):
(WebCore::Internals::userPreferredAudioCharacteristics):
(WebCore::Internals::setUserPreferredAudioCharacteristic):
(WebCore::Internals::captionsStyleSheetOverride):
(WebCore::Internals::setCaptionsStyleSheetOverride):
(WebCore::Internals::setPrimaryAudioTrackLanguageOverride):
(WebCore::Internals::setCaptionDisplayMode):

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

4 years agoRemoved unused Settings::setPrivateBrowsingEnabled.
commit-queue@webkit.org [Thu, 4 Feb 2016 19:20:46 +0000 (19:20 +0000)]
Removed unused Settings::setPrivateBrowsingEnabled.
https://bugs.webkit.org/show_bug.cgi?id=153869

Patch by Konstantin Tokarev <annulen@yandex.ru> on 2016-02-04
Reviewed by Alexey Proskuryakov.

Implementation of Settings::setPrivateBrowsingEnabled was removed
in r166661, but declaration is still here.

No new tests needed.

* page/Settings.h:
(WebCore::Settings::setPrivateBrowsingEnabled): Deleted.

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

4 years agoSkip two flaky indexeddb tests on Yosemite Release WK2
ryanhaddad@apple.com [Thu, 4 Feb 2016 19:12:11 +0000 (19:12 +0000)]
Skip two flaky indexeddb tests on Yosemite Release WK2

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations:

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

4 years agoDon't discard in-band cues with negative start times
eric.carlson@apple.com [Thu, 4 Feb 2016 18:20:21 +0000 (18:20 +0000)]
Don't discard in-band cues with negative start times
https://bugs.webkit.org/show_bug.cgi?id=153867
<rdar://problem/19588632>

Reviewed by Jer Noble.

Source/WebCore:

No new tests, updated and un-skipped http/tests/media/track-in-band-hls-metadata.html.

* platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp:
(WebCore::InbandMetadataTextTrackPrivateAVF::addDataCue):  ASSERT if passed negative time value.
(WebCore::InbandMetadataTextTrackPrivateAVF::updatePendingCueEndTimes): Ditto. Correct logging.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::processCue): ASSERT if passed negative time value.
(WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): Convert negative cue times to zero.
(-[WebCoreAVFMovieObserver legibleOutput:didOutputAttributedStrings:nativeSampleBuffers:forItemTime:]):
  Ditto.

LayoutTests:

* http/tests/media/track-in-band-hls-metadata-expected.txt:
* http/tests/media/track-in-band-hls-metadata.html: Test more attributes for correctness,
  fail test immediately if cue.value is undefined so the test doesn't generate an exception
  and exit without any results.
* platform/mac/TestExpectations: Unskip test.

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

4 years agoSpecify an exception for createChannelMerger, createChannelSplitter and createPeriodi...
commit-queue@webkit.org [Thu, 4 Feb 2016 18:03:34 +0000 (18:03 +0000)]
Specify an exception for createChannelMerger, createChannelSplitter and createPeriodicWave
https://bugs.webkit.org/show_bug.cgi?id=150925

Patch by Hyemi Shin <hyemi.sin@samsung.com> on 2016-02-04
Reviewed by Darin Adler.

createChannelMerger and createChannelSplitter should throw INDEX_SIZE_ERR
for invalid numberOfInputs value.
createPeriodicWave should throw INDEX_SIZE_ERR for invalid lengths of parameters.

Source/WebCore:

Tests: webaudio/audiochannelmerger-basic.html
       webaudio/audiochannelsplitter.html
       webaudio/periodicwave-lengths.html

* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::createChannelSplitter):
(WebCore::AudioContext::createChannelMerger):
(WebCore::AudioContext::createPeriodicWave):

LayoutTests:

* webaudio/audiochannelmerger-basic-expected.txt: numberOfInputs could be 32.
* webaudio/audiochannelmerger-basic.html: Ditto.
* webaudio/audiochannelsplitter-expected.txt: Ditto.
* webaudio/audiochannelsplitter.html: Ditto.
* webaudio/periodicwave-lengths-expected.txt: Added.
* webaudio/periodicwave-lengths.html: Added.

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

4 years ago[Fetch API] Add support for iterating over Headers
youenn.fablet@crf.canon.fr [Thu, 4 Feb 2016 17:43:05 +0000 (17:43 +0000)]
[Fetch API] Add support for iterating over Headers
https://bugs.webkit.org/show_bug.cgi?id=153787

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Relanding.

* web-platform-tests/fetch/api/headers/headers-basic-expected.txt:
* web-platform-tests/fetch/api/headers/headers-basic.html:
* web-platform-tests/fetch/api/headers/headers-structure-expected.txt:
* web-platform-tests/fetch/api/request/request-clone.sub-expected.txt:
* web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt:
* web-platform-tests/fetch/api/resources/utils.js:
(checkRequest):
(readTextStream):

Source/WebCore:

Relanding, updating bindings/js/JSKeyValueIterator.h for Windows bots.

Covered by updated tests.
Introducing template class (JSKeyValueIterator) to support key-value iterators in DOM classes.
Using JSKeyValueIterator to implement Headers entries(), keys() and values() as custom methods.
Binding generator should be updated to generate directly these custom methods and handle iterator Symbol.

* CMakeLists.txt:
* Modules/fetch/FetchHeaders.cpp:
(WebCore::FetchHeaders::Iterator::next):
(WebCore::FetchHeaders::Iterator::Iterator):
* Modules/fetch/FetchHeaders.h:
(WebCore::FetchHeaders::createIterator):
* Modules/fetch/FetchHeaders.idl:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSBindingsAllInOne.cpp:
* bindings/js/JSDOMBinding.h:
(WebCore::jsPair):
* bindings/js/JSFetchHeadersCustom.cpp: Added.
(WebCore::JSFetchHeaders::entries):
(WebCore::JSFetchHeaders::keys):
(WebCore::JSFetchHeaders::values):
* bindings/js/JSKeyValueIterator.h: Added.
(WebCore::JSKeyValueIteratorPrototype::create):
(WebCore::JSKeyValueIteratorPrototype::createStructure):
(WebCore::JSKeyValueIteratorPrototype::JSKeyValueIteratorPrototype):
(WebCore::createIterator):
(WebCore::DOMWrapped>::destroy):
(WebCore::DOMWrapped>::next):
(WebCore::DOMWrapped>::finishCreation):

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

4 years agoRebaseline imported/w3c/web-platform-tests/html/semantics/forms/the-select-element...
ryanhaddad@apple.com [Thu, 4 Feb 2016 17:34:26 +0000 (17:34 +0000)]
Rebaseline imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset.html for ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=153850

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset-expected.txt: Added.

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

4 years agoUnreviewed, rolling out r196067.
cdumez@apple.com [Thu, 4 Feb 2016 17:12:43 +0000 (17:12 +0000)]
Unreviewed, rolling out r196067.

Re-enable speculative revalidation now that we have measured
the impact on the perf bots

Reverted changeset:

"Unreviewed, rolling out r195555."
https://bugs.webkit.org/show_bug.cgi?id=153443
http://trac.webkit.org/changeset/196067

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

4 years agoMerge DOMTokenList and DOMSettableTokenList
cdumez@apple.com [Thu, 4 Feb 2016 16:57:44 +0000 (16:57 +0000)]
Merge DOMTokenList and DOMSettableTokenList
https://bugs.webkit.org/show_bug.cgi?id=153677
<rdar://problem/24419675>

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that more checks are passing.

* web-platform-tests/dom/historical-expected.txt:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/nodes/Element-classlist-expected.txt:
* web-platform-tests/html/dom/interfaces-expected.txt:

* web-platform-tests/html/dom/interfaces.html:
Update HTMLAreaElement.relList to match the specification.

Source/WebCore:

Merge DOMTokenList and DOMSettableTokenList, as per a recent
specification change:
- https://github.com/whatwg/dom/pull/120
- https://github.com/whatwg/html/issues/361

No new tests, already covered by existing tests.

* CMakeLists.txt:
* DerivedSources.cpp:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* dom/Element.idl:
* dom/Node.h:
* dom/NodeRareData.h:
* html/AttributeDOMTokenList.h:
* html/DOMSettableTokenList.cpp: Removed.
* html/DOMSettableTokenList.h:
* html/DOMSettableTokenList.idl:
* html/DOMTokenList.cpp:
(WebCore::DOMTokenList::setValue):
* html/DOMTokenList.h:
* html/DOMTokenList.idl:
* html/HTMLAnchorElement.idl:
* html/HTMLAreaElement.idl:
* html/HTMLElement.cpp:
* html/HTMLElement.idl:
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::sandbox):
* html/HTMLIFrameElement.h:
* html/HTMLIFrameElement.idl:
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::sizes):
* html/HTMLLinkElement.h:
* html/HTMLLinkElement.idl:
* html/HTMLOutputElement.cpp:
(WebCore::HTMLOutputElement::htmlFor):
* html/HTMLOutputElement.h:
* html/HTMLOutputElement.idl:
* html/HTMLTableCellElement.idl:
* page/DOMWindow.cpp:
* page/DOMWindow.idl:

LayoutTests:

Update / rebaseline several tests now that relList attributes
use [PutForward=value].

* fast/dom/HTMLElement/class-list-expected.txt:
* fast/dom/HTMLElement/class-list-quirks-expected.txt:
* fast/dom/HTMLElement/script-tests/class-list.js:
* fast/dom/rel-list-expected.txt:
* fast/dom/rel-list.html:

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

4 years agoUnreviewed. Reverting r196115 and r19116, related tohttps://bugs.webkit.org/show_bug...
youenn.fablet@crf.canon.fr [Thu, 4 Feb 2016 12:46:12 +0000 (12:46 +0000)]
Unreviewed. Reverting r196115 and r19116, related tohttps://bugs.webkit.org/show_bug.cgi?id=153787.

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

4 years ago[GTK] Implement mediastream mediaplayer
alex@webkit.org [Thu, 4 Feb 2016 11:39:31 +0000 (11:39 +0000)]
[GTK] Implement mediastream mediaplayer
https://bugs.webkit.org/show_bug.cgi?id=153541

Reviewed by Martin Robinson.

Added the implementation of the mediaplayer for the
mediastream. The code was implemented by Philippe Normand and
Alessandro Decina.

* PlatformGTK.cmake: Added the file to the compilation.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setSrcObject): Set the src of the
media element to the mediastream.
* platform/graphics/MediaPlayer.cpp:
(WebCore::buildMediaEnginesVector): Register the mediastream
mediaplayer as an option in the media engines vector.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp: Added.
(WebCore::MediaPlayerPrivateGStreamerOwr::MediaPlayerPrivateGStreamerOwr):
(WebCore::MediaPlayerPrivateGStreamerOwr::~MediaPlayerPrivateGStreamerOwr):
(WebCore::MediaPlayerPrivateGStreamerOwr::play):
(WebCore::MediaPlayerPrivateGStreamerOwr::pause):
(WebCore::MediaPlayerPrivateGStreamerOwr::hasVideo):
(WebCore::MediaPlayerPrivateGStreamerOwr::hasAudio):
(WebCore::MediaPlayerPrivateGStreamerOwr::currentTime):
(WebCore::MediaPlayerPrivateGStreamerOwr::load):
(WebCore::MediaPlayerPrivateGStreamerOwr::loadingFailed):
(WebCore::MediaPlayerPrivateGStreamerOwr::didLoadingProgress):
(WebCore::MediaPlayerPrivateGStreamerOwr::internalLoad):
(WebCore::MediaPlayerPrivateGStreamerOwr::stop):
(WebCore::MediaPlayerPrivateGStreamerOwr::registerMediaEngine):
(WebCore::MediaPlayerPrivateGStreamerOwr::getSupportedTypes):
(WebCore::MediaPlayerPrivateGStreamerOwr::supportsType):
(WebCore::MediaPlayerPrivateGStreamerOwr::isAvailable):
(WebCore::MediaPlayerPrivateGStreamerOwr::createGSTAudioSinkBin):
(WebCore::MediaPlayerPrivateGStreamerOwr::sourceStopped):
(WebCore::MediaPlayerPrivateGStreamerOwr::sourceMutedChanged):
(WebCore::MediaPlayerPrivateGStreamerOwr::sourceSettingsChanged):
(WebCore::MediaPlayerPrivateGStreamerOwr::preventSourceFromStopping):
(WebCore::MediaPlayerPrivateGStreamerOwr::createVideoSink):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h: Added.
(WebCore::MediaPlayerPrivateGStreamerOwr::engineDescription):
(WebCore::MediaPlayerPrivateGStreamerOwr::load):
(WebCore::MediaPlayerPrivateGStreamerOwr::cancelLoad):
(WebCore::MediaPlayerPrivateGStreamerOwr::prepareToPlay):
(WebCore::MediaPlayerPrivateGStreamerOwr::duration):
(WebCore::MediaPlayerPrivateGStreamerOwr::seek):
(WebCore::MediaPlayerPrivateGStreamerOwr::seeking):
(WebCore::MediaPlayerPrivateGStreamerOwr::setRate):
(WebCore::MediaPlayerPrivateGStreamerOwr::setPreservesPitch):
(WebCore::MediaPlayerPrivateGStreamerOwr::paused):
(WebCore::MediaPlayerPrivateGStreamerOwr::hasClosedCaptions):
(WebCore::MediaPlayerPrivateGStreamerOwr::setClosedCaptionsVisible):
(WebCore::MediaPlayerPrivateGStreamerOwr::maxTimeSeekable):
(WebCore::MediaPlayerPrivateGStreamerOwr::buffered):
(WebCore::MediaPlayerPrivateGStreamerOwr::totalBytes):
(WebCore::MediaPlayerPrivateGStreamerOwr::bytesLoaded):
(WebCore::MediaPlayerPrivateGStreamerOwr::canLoadPoster):
(WebCore::MediaPlayerPrivateGStreamerOwr::setPoster):
(WebCore::MediaPlayerPrivateGStreamerOwr::isLiveStream):
(WebCore::MediaPlayerPrivateGStreamerOwr::audioSink):

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

4 years agoUnreviewed. Speculative Win Build fix
youenn.fablet@crf.canon.fr [Thu, 4 Feb 2016 11:14:04 +0000 (11:14 +0000)]
Unreviewed. Speculative Win Build fix

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

4 years ago[Fetch API] Add support for iterating over Headers
youenn.fablet@crf.canon.fr [Thu, 4 Feb 2016 10:39:37 +0000 (10:39 +0000)]
[Fetch API] Add support for iterating over Headers
https://bugs.webkit.org/show_bug.cgi?id=153787

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

* web-platform-tests/fetch/api/headers/headers-basic-expected.txt:
* web-platform-tests/fetch/api/headers/headers-basic.html:
* web-platform-tests/fetch/api/headers/headers-structure-expected.txt:
* web-platform-tests/fetch/api/request/request-clone.sub-expected.txt:
* web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt:
* web-platform-tests/fetch/api/resources/utils.js: fixed typo in test.

Source/WebCore:

Covered by updated tests.
Introducing template class (JSKeyValueIterator) to support key-value iterators in DOM classes.
Using JSKeyValueIterator to implement Headers entries(), keys() and values() as custom methods.
Binding generator should be updated to generate directly these custom methods and handle iterator Symbol.

* CMakeLists.txt:
* Modules/fetch/FetchHeaders.cpp:
(WebCore::FetchHeaders::Iterator::next):
(WebCore::FetchHeaders::Iterator::Iterator):
* Modules/fetch/FetchHeaders.h:
(WebCore::FetchHeaders::createIterator):
* Modules/fetch/FetchHeaders.idl:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMBinding.h:
(WebCore::jsPair):
* bindings/js/JSBindingsAllInOne.cpp:
* bindings/js/JSFetchHeadersCustom.cpp: Added.
(WebCore::JSFetchHeaders::entries):
(WebCore::JSFetchHeaders::keys):
(WebCore::JSFetchHeaders::values):
* bindings/js/JSKeyValueIterator.h: Added.
(WebCore::JSKeyValueIteratorPrototype::create):
(WebCore::JSKeyValueIteratorPrototype::createStructure):
(WebCore::JSKeyValueIteratorPrototype::JSKeyValueIteratorPrototype):
(WebCore::JSKeyValueIteratorPrototypeFuncNext):

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

4 years agoUnreviewed. EFL gardening after r195740.
hs85.jeong@samsung.com [Thu, 4 Feb 2016 10:10:01 +0000 (10:10 +0000)]
Unreviewed. EFL gardening after r195740.

* platform/efl/accessibility/table-attributes-expected.txt:
* platform/efl/accessibility/table-cell-spans-expected.txt:
* platform/efl/accessibility/table-cells-expected.txt:
* platform/efl/accessibility/table-sections-expected.txt:
* platform/efl/accessibility/table-with-rules-expected.txt:
* platform/efl/css2.1/20110323/table-height-algorithm-023-expected.txt:
* platform/efl/css2.1/20110323/table-height-algorithm-024-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-43b-expected.txt:
* platform/efl/editing/deleting/5099303-expected.txt:
* platform/efl/editing/deleting/5144139-2-expected.txt:
* platform/efl/editing/deleting/5483370-expected.txt:
* platform/efl/editing/deleting/delete-to-select-table-expected.txt:
* platform/efl/editing/deleting/table-cells-expected.txt:
* platform/efl/fast/text/atsui-multiple-renderers-expected.txt:

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

4 years agoUnreviewed non X86_64 buildfix after r196077.
ossy@webkit.org [Thu, 4 Feb 2016 10:05:09 +0000 (10:05 +0000)]
Unreviewed non X86_64 buildfix after r196077.

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

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

4 years agoDo not show context menu when right clicking on a scrollbar
carlosgc@webkit.org [Thu, 4 Feb 2016 08:25:28 +0000 (08:25 +0000)]
Do not show context menu when right clicking on a scrollbar
https://bugs.webkit.org/show_bug.cgi?id=153493

Reviewed by Michael Catanzaro.

Source/WebCore:

Scrollbars don't currently handle right clicks, but we are showing
the context menu when they are right clicked. This is not desired
at least in GTK+ and I've checked that it isn't consistent with
other applications in Mac either.

Test: fast/events/contextmenu-on-scrollbars.html

* page/EventHandler.cpp:
(WebCore::EventHandler::sendContextMenuEvent):

LayoutTests:

Add a test to check that context menu event is not sent when right
clicking on a scrollbar.

* fast/events/contextmenu-on-scrollbars-expected.txt: Added.
* fast/events/contextmenu-on-scrollbars.html: Added.

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

4 years agoFix a typo in Tools/ChangeLog
carlosgc@webkit.org [Thu, 4 Feb 2016 07:37:52 +0000 (07:37 +0000)]
Fix a typo in Tools/ChangeLog

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

4 years ago[WTR] Crash in EventSendingController::contextClick() when context menu event is...
carlosgc@webkit.org [Thu, 4 Feb 2016 07:34:55 +0000 (07:34 +0000)]
[WTR] Crash in EventSendingController::contextClick() when context menu event is not handled
https://bugs.webkit.org/show_bug.cgi?id=153835

Reviewed by Martin Robinson.

WKBundlePageCopyContextMenuAtPointInWindow() returns nullptr when
the context menu event is not hanlded, but we are using the
returned value without null checking it.

* WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::EventSendingController::contextClick):

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

4 years agoFormat revisions for display according to repository type https://bugs.webkit.org...
jmarcell@apple.com [Thu, 4 Feb 2016 06:07:21 +0000 (06:07 +0000)]
Format revisions for display according to repository type https://bugs.webkit.org/show_bug.cgi?id=153818

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView.prototype._popoverLinesForCommitRange): Use new _formatRevisionForDisplay to display revisions according
to repository type.
(BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
(BuildbotQueueView.prototype._formatRevisionForDisplay): Formats revisions for display according to repository type.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test new
_formatRevisionForDisplay function.

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

4 years ago[JSC] Make some classes non JSDestructibleObject
utatane.tea@gmail.com [Thu, 4 Feb 2016 05:41:03 +0000 (05:41 +0000)]
[JSC] Make some classes non JSDestructibleObject
https://bugs.webkit.org/show_bug.cgi?id=153838

Reviewed by Geoffrey Garen.

SymbolPrototype, JSMapIterator and JSSetIterator are trivially destructible.
So there is no need to inherit JSDestructibleObject.

* runtime/JSMapIterator.cpp:
(JSC::JSMapIterator::destroy): Deleted.
* runtime/JSMapIterator.h:
* runtime/JSSetIterator.cpp:
(JSC::JSSetIterator::destroy): Deleted.
* runtime/JSSetIterator.h:
* runtime/MapData.h:
* runtime/SymbolPrototype.h:

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

4 years ago[JSC] Symbol structure has unnecessary flags
utatane.tea@gmail.com [Thu, 4 Feb 2016 05:38:33 +0000 (05:38 +0000)]
[JSC] Symbol structure has unnecessary flags
https://bugs.webkit.org/show_bug.cgi?id=153840

Reviewed by Saam Barati.

* runtime/Symbol.h:
* tests/stress/symbol-get-own-property.js: Added.
(shouldBe):

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

4 years agoLogs/CoreSimulator filling up OS disk on WebKit testers
aakash_jain@apple.com [Thu, 4 Feb 2016 05:16:16 +0000 (05:16 +0000)]
Logs/CoreSimulator filling up OS disk on WebKit testers
https://bugs.webkit.org/show_bug.cgi?id=153853
<rdar://problem/24496003>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.

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

4 years agoAccepted candidates should not be autocorrected
bdakin@apple.com [Thu, 4 Feb 2016 03:36:32 +0000 (03:36 +0000)]
Accepted candidates should not be autocorrected
https://bugs.webkit.org/show_bug.cgi?id=153813
-and corresponding-
rdar://problem/24066924

Reviewed by Darin Adler.

* editing/mac/spelling/accept-misspelled-candidate-expected.txt: Added.
* editing/mac/spelling/accept-misspelled-candidate.html: Added.

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

4 years ago[iOS] Throw away linked code when navigating to a new page.
akling@apple.com [Thu, 4 Feb 2016 03:12:23 +0000 (03:12 +0000)]
[iOS] Throw away linked code when navigating to a new page.
<https://webkit.org/b/153851>

Reviewed by Gavin Barraclough.

Source/JavaScriptCore:

Add a VM API for throwing away linked code only.

* runtime/VM.cpp:
(JSC::VM::deleteAllLinkedCode):
* runtime/VM.h:

Source/WebCore:

When navigating to a new page, tell JSC to throw out any linked code it has lying around.
Linked code is tied to a specific global object, and as we're creating a new one for the
new page, none of it is useful to us here.
In the event that the user navigates back, the cost of relinking some code will be far
lower than the memory cost of keeping all of it around.

* bindings/js/GCController.cpp:
(WebCore::GCController::deleteAllLinkedCode):
* bindings/js/GCController.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::commitProvisionalLoad):

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

4 years agoMarking http/tests/history/back-to-post.php as flaky on ios-simulator
ryanhaddad@apple.com [Thu, 4 Feb 2016 01:48:22 +0000 (01:48 +0000)]
Marking http/tests/history/back-to-post.php as flaky on ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=153314

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

4 years agoSkip imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/select...
ryanhaddad@apple.com [Thu, 4 Feb 2016 01:41:21 +0000 (01:41 +0000)]
Skip imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset.html on ios-simulator
https://bugs.webkit.org/show_bug.cgi?id=153850

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

4 years agoReport wasBlocked and cannotShowURL errors when using NetworkSession
achristensen@apple.com [Thu, 4 Feb 2016 01:39:37 +0000 (01:39 +0000)]
Report wasBlocked and cannotShowURL errors when using NetworkSession
https://bugs.webkit.org/show_bug.cgi?id=153846

Reviewed by Antti Koivisto.

Source/WebCore:

No new tests, but this fixes http/tests/xmlhttprequest/redirect-cross-origin-2.html
when using NetworkSession.

* platform/URL.h:
WEBCORE_EXPORT because we are using portAllowed in WebKit2 now.

Source/WebKit2:

* NetworkProcess/NetworkLoad.cpp:
(WebKit::NetworkLoad::NetworkLoad):
(WebKit::NetworkLoad::didSendData):
(WebKit::NetworkLoad::wasBlocked):
(WebKit::NetworkLoad::cannotShowURL):
(WebKit::NetworkLoad::didReceiveResponseAsync):
* NetworkProcess/NetworkLoad.h:
NetworkDataTask is now RefCounted so we can protect it when reporting errors which delete the NetworkLoad.
* NetworkProcess/NetworkSession.h:
(WebKit::NetworkSessionTaskClient::~NetworkSessionTaskClient):
(WebKit::NetworkDataTask::create):
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSession::takeDownloadID):
(WebKit::NetworkDataTask::NetworkDataTask):
Check the validity of the requested url and check if the port is allowed like we do in the ResourceHandle constructor.
(WebKit::NetworkDataTask::~NetworkDataTask):
Don't remove the task from the NetworkSession's map if we didn't make it because there was an error.
(WebKit::NetworkDataTask::scheduleFailure):
(WebKit::NetworkDataTask::failureTimerFired):
Implemented like ResourceHandle's.
(WebKit::NetworkDataTask::tryPasswordBasedAuthentication):
(WebKit::NetworkDataTask::resume):
(WebKit::NetworkDataTask::suspend):
Handle the failure timer like we do in ResourceHandle::setDefersLoading.

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

4 years agoMarking displaylists tests as flaky on ios-simulator. Previous attempt was unsuccessful.
ryanhaddad@apple.com [Thu, 4 Feb 2016 01:33:42 +0000 (01:33 +0000)]
Marking displaylists tests as flaky on ios-simulator. Previous attempt was unsuccessful.
https://bugs.webkit.org/show_bug.cgi?id=153656

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

4 years agoMarking transitions/clip-path-transitions.html and transitions/clip-path-path-transit...
ryanhaddad@apple.com [Thu, 4 Feb 2016 00:57:35 +0000 (00:57 +0000)]
Marking transitions/clip-path-transitions.html and transitions/clip-path-path-transitions.html as flaky on Mac
https://bugs.webkit.org/show_bug.cgi?id=153809

Unreviewed test gardening.

* platform/mac/TestExpectations:

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

4 years agoWeb Inspector: JS PrettyPrinting unary - and + issues
commit-queue@webkit.org [Thu, 4 Feb 2016 00:56:22 +0000 (00:56 +0000)]
Web Inspector: JS PrettyPrinting unary - and + issues
https://bugs.webkit.org/show_bug.cgi?id=134007
<rdar://problem/17351953>

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

Source/WebInspectorUI:

* UserInterface/Views/CodeMirrorFormatters.js:
(shouldHaveSpaceBeforeToken):
(shouldHaveSpaceAfterLastToken):
(removeLastNewline):
(modifyStateForTokenPre):
(modifyStateForTokenPost):

LayoutTests:

* inspector/codemirror/prettyprinting-javascript-expected.txt:
* inspector/codemirror/prettyprinting-javascript.html:
* inspector/codemirror/resources/prettyprinting/javascript-tests/unary-binary-operators-expected.js: Added.
* inspector/codemirror/resources/prettyprinting/javascript-tests/unary-binary-operators.js: Added.
New tests for unary and some binary operators in JavaScript pretty printing.

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

4 years agogit-add-reviewer should work when run from a subdirectory within the repository
bburg@apple.com [Thu, 4 Feb 2016 00:35:33 +0000 (00:35 +0000)]
git-add-reviewer should work when run from a subdirectory within the repository
https://bugs.webkit.org/show_bug.cgi?id=153842

Reviewed by David Kilzer.

There are two problems that needed to be fixed:

 - We can't assume .git is in $PWD/.git
 - We can't specify absolute paths to `git commit`

Fix these problems using the helpers in VCSUtils that were added to
fix this same issue for prepare-changeCogs.

* Scripts/VCSUtils.pm: Export gitDirectory()
* Scripts/git-add-reviewer:
(nonInteractive): Cache gitDirectory() result.
(addReviewer):
(commit):
(changeLogsForCommit): Make paths relative.

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

4 years agoYet another Yosemite build fix.
jer.noble@apple.com [Thu, 4 Feb 2016 00:16:55 +0000 (00:16 +0000)]
Yet another Yosemite build fix.

* TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:

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

4 years agoiOS build fix after Yosemite build fix broke iOS build.
jer.noble@apple.com [Thu, 4 Feb 2016 00:05:19 +0000 (00:05 +0000)]
iOS build fix after Yosemite build fix broke iOS build.

Source/WebCore:

* platform/network/cocoa/WebCoreNSURLSession.h:
* platform/network/cocoa/WebCoreNSURLSession.mm:

Tools:

* TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:

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

4 years agoRe-sync W3C HTML web-platform-tests
cdumez@apple.com [Thu, 4 Feb 2016 00:04:34 +0000 (00:04 +0000)]
Re-sync W3C HTML web-platform-tests
https://bugs.webkit.org/show_bug.cgi?id=153832

Reviewed by Sam Weinig.

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

* web-platform-tests/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03-expected.txt: Added.
* web-platform-tests/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html: Added.
* web-platform-tests/html/dom/dynamic-markup-insertion/document-writeln/w3c-import.log:
* web-platform-tests/html/dom/elements-obsolete.js:
* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/dom/interfaces.html:
* web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt: Added.
* web-platform-tests/html/semantics/document-metadata/styling/LinkStyle.html: Added.
* web-platform-tests/html/semantics/document-metadata/styling/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log.
* web-platform-tests/html/semantics/embedded-content/media-elements/offsets-into-the-media-resource/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/media-elements/playing-the-media-resource/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/media-elements/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-coords-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-coords.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-processing-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-processing.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-shape-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/area-shape.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-area-element/support/hit-test.js: Added.
(onload):
* web-platform-tests/html/semantics/embedded-content/the-area-element/support/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/w3c-import.log.
* web-platform-tests/html/semantics/embedded-content/the-area-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/toDataURL.nocontext.html:
* web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_03-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_03.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/blank.htm: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/sandbox_allow_script.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/w3c-import.log.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-object-element/w3c-import.log.
* web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-object-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/form-submission-0/url-encoded-expected.txt: Added.
* web-platform-tests/html/semantics/forms/form-submission-0/url-encoded.html: Added.
* web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log:
* web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-button-element/button-activate-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-button-element/button-activate-frame.html: Added.
* web-platform-tests/html/semantics/forms/the-button-element/button-activate.html: Added.
* web-platform-tests/html/semantics/forms/the-button-element/button-events-expected.txt:
* web-platform-tests/html/semantics/forms/the-button-element/button-events.html:
* web-platform-tests/html/semantics/forms/the-button-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-form-element/form-elements-sameobject-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-form-element/form-elements-sameobject.html: Added.
* web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-input-element/checkbox-expected.txt:
* web-platform-tests/html/semantics/forms/the-input-element/checkbox.html:
* web-platform-tests/html/semantics/forms/the-input-element/maxlength-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-input-element/maxlength.html: Added.
* web-platform-tests/html/semantics/forms/the-input-element/radio-expected.txt:
* web-platform-tests/html/semantics/forms/the-input-element/radio.html:
* web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-option-element/option-selected-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-option-element/option-selected.html: Added.
* web-platform-tests/html/semantics/forms/the-option-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset.html: Added.
* web-platform-tests/html/semantics/forms/the-select-element/w3c-import.log:
* web-platform-tests/html/semantics/interactive-elements/the-details-element/w3c-import.log:
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-text-expected.txt:
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-text.html:
* web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
* web-platform-tests/html/semantics/tabular-data/the-tbody-element/rows-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-tbody-element/rows.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-tbody-element/w3c-import.log:
* web-platform-tests/html/semantics/tabular-data/the-tfoot-element/rows-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-tfoot-element/rows.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-tfoot-element/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log.
* web-platform-tests/html/semantics/tabular-data/the-thead-element/rows-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-thead-element/rows.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-thead-element/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log.
* web-platform-tests/html/semantics/tabular-data/the-tr-element/cells-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-tr-element/cells.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-tr-element/w3c-import.log:

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

4 years agoAccepted candidates should not be autocorrected
bdakin@apple.com [Thu, 4 Feb 2016 00:01:46 +0000 (00:01 +0000)]
Accepted candidates should not be autocorrected
https://bugs.webkit.org/show_bug.cgi?id=153813
-and corresponding-
rdar://problem/24066924

Reviewed by Darin Adler.

New document marker to mark inserted candidates. This was we can treat
inserted candidates just like a RejectedCorrection and we won’t accidentally
autocorrect them later on.
* dom/DocumentMarker.h:
(WebCore::DocumentMarker::AllMarkers::AllMarkers):
* editing/AlternativeTextController.cpp:
(WebCore::AlternativeTextController::processMarkersOnTextToBeReplacedByResult):

When handling an acceptant candidate, set m_isHandlingAcceptedCandidate to
true while the text is being inserted, and then mark the range as an accepted
candidate.
* editing/Editor.cpp:
(WebCore::Editor::handleAcceptedCandidate):
* editing/Editor.h:
(WebCore::Editor::isHandlingAcceptedCandidate):

If frame.editor. isHandlingAcceptedCandidate() then return early from
markMisspellingsAfterTyping.
* editing/TypingCommand.cpp:
(WebCore::TypingCommand::markMisspellingsAfterTyping):

Add some test infrastructure.
* testing/Internals.cpp:
(WebCore::Internals::handleAcceptedCandidate):
* testing/Internals.h:
* testing/Internals.idl:

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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