[webkit-changes] [186799] trunk/Source/WebCore
Title: [186799] trunk/Source/WebCore Revision 186799 Author bfulg...@apple.com Date 2015-07-13 18:58:28 -0700 (Mon, 13 Jul 2015) Log Message [Win] Unreviewed build fix. * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: (WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Don't try to build the new Legible Output API features if they aren't available in the build environment. Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp Diff Modified: trunk/Source/WebCore/ChangeLog (186798 => 186799) --- trunk/Source/WebCore/ChangeLog 2015-07-14 01:11:12 UTC (rev 186798) +++ trunk/Source/WebCore/ChangeLog 2015-07-14 01:58:28 UTC (rev 186799) @@ -1,5 +1,14 @@ 2015-07-13 Brent Fulgham bfulg...@apple.com +[Win] Unreviewed build fix. + +* platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: +(WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Don't try to build +the new Legible Output API features if they aren't available in the build +environment. + +2015-07-13 Brent Fulgham bfulg...@apple.com + [Win] Update Media Player logic for new Legible Output API https://bugs.webkit.org/show_bug.cgi?id=146922 rdar://problem/20542574 Modified: trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp (186798 => 186799) --- trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp 2015-07-14 01:11:12 UTC (rev 186798) +++ trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp 2015-07-14 01:58:28 UTC (rev 186799) @@ -189,6 +189,7 @@ bool InbandTextTrackPrivateAVCF::readNativeSampleBuffer(CFArrayRef nativeSamples, CFIndex index, RefPtrArrayBuffer buffer, MediaTime duration, CMFormatDescriptionRef formatDescription) { +#if HAVE(AVCFPLAYERITEM_CALLBACK_VERSION_2) const AVCFPlayerItemLegibleOutputSample* sampleBuffer = reinterpret_castconst AVCFPlayerItemLegibleOutputSample*(CFArrayGetValueAtIndex(nativeSamples, index)); if (!sampleBuffer) return false; @@ -208,6 +209,9 @@ buffer = ArrayBuffer::create(m_sampleInputBuffer.data(), m_sampleInputBuffer.size()); return true; +#else +return InbandTextTrackPrivateAVF::readNativeSampleBuffer(nativeSamples, index, buffer, duration, formatDescription); +#endif } } // namespace WebCore ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186767] trunk/Source/WebInspectorUI
Title: [186767] trunk/Source/WebInspectorUI Revision 186767 Author nvasil...@apple.com Date 2015-07-13 12:03:33 -0700 (Mon, 13 Jul 2015) Log Message Web Inspector: Use -apple-system-monospaced-numbers for line numbers https://bugs.webkit.org/show_bug.cgi?id=146898 Reviewed by Timothy Hatcher. * UserInterface/Views/CodeMirrorOverrides.css: (.CodeMirror .CodeMirror-linenumber): Decrease font-size by 1px to make 4 digit numbers fit. Modified Paths trunk/Source/WebInspectorUI/ChangeLog trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css Diff Modified: trunk/Source/WebInspectorUI/ChangeLog (186766 => 186767) --- trunk/Source/WebInspectorUI/ChangeLog 2015-07-13 17:59:16 UTC (rev 186766) +++ trunk/Source/WebInspectorUI/ChangeLog 2015-07-13 19:03:33 UTC (rev 186767) @@ -1,3 +1,13 @@ +2015-07-13 Nikita Vasilyev nvasil...@apple.com + +Web Inspector: Use -apple-system-monospaced-numbers for line numbers +https://bugs.webkit.org/show_bug.cgi?id=146898 + +Reviewed by Timothy Hatcher. + +* UserInterface/Views/CodeMirrorOverrides.css: +(.CodeMirror .CodeMirror-linenumber): Decrease font-size by 1px to make 4 digit numbers fit. + 2015-07-12 Timothy Hatcher timo...@apple.com Web Inspector: Add -apple-system-monospaced-numbers to font and font-family autocomplete Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css (186766 => 186767) --- trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css 2015-07-13 17:59:16 UTC (rev 186766) +++ trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css 2015-07-13 19:03:33 UTC (rev 186767) @@ -76,8 +76,7 @@ color: rgb(146, 146, 146); -font-size: 9px; -line-height: 13px; +font: 8px/13px -apple-system-monospaced-numbers, Menlo, Monaco, monospace; text-align: right; } ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186768] trunk/Source/WebCore
Title: [186768] trunk/Source/WebCore Revision 186768 Author clo...@igalia.com Date 2015-07-13 12:11:42 -0700 (Mon, 13 Jul 2015) Log Message GTK] Build race with -DENABLE_WAYLAND_TARGET=ON https://bugs.webkit.org/show_bug.cgi?id=146740 Reviewed by Martin Robinson. No new tests, no behavior changes. * PlatformGTK.cmake: platform/graphics/wayland sources should be included into WebCore source list instead of WebCorePlatformGTK. Also move the add_custom_command() block into if(ENABLE_WAYLAND_TARGET), this is not strictly needed to fix this bug, but it seems cleaner. Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/PlatformGTK.cmake Diff Modified: trunk/Source/WebCore/ChangeLog (186767 => 186768) --- trunk/Source/WebCore/ChangeLog 2015-07-13 19:03:33 UTC (rev 186767) +++ trunk/Source/WebCore/ChangeLog 2015-07-13 19:11:42 UTC (rev 186768) @@ -1,3 +1,17 @@ +2015-07-13 Carlos Alberto Lopez Perez clo...@igalia.com + +GTK] Build race with -DENABLE_WAYLAND_TARGET=ON +https://bugs.webkit.org/show_bug.cgi?id=146740 + +Reviewed by Martin Robinson. + +No new tests, no behavior changes. + +* PlatformGTK.cmake: platform/graphics/wayland sources should be +included into WebCore source list instead of WebCorePlatformGTK. +Also move the add_custom_command() block into if(ENABLE_WAYLAND_TARGET), +this is not strictly needed to fix this bug, but it seems cleaner. + 2015-07-13 Matthew Daiter mdai...@apple.com Adding MediaStream Engine building blocks to the code repo Modified: trunk/Source/WebCore/PlatformGTK.cmake (186767 => 186768) --- trunk/Source/WebCore/PlatformGTK.cmake 2015-07-13 19:03:33 UTC (rev 186767) +++ trunk/Source/WebCore/PlatformGTK.cmake 2015-07-13 19:11:42 UTC (rev 186768) @@ -467,17 +467,17 @@ ) endif () -# Wayland protocol extension. -add_custom_command( -OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c -DEPENDS ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml -COMMAND wayland-scanner server-header ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandServerProtocol.h -COMMAND wayland-scanner client-header ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.h -COMMAND wayland-scanner code ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c -) +if (ENABLE_WAYLAND_TARGET) +# Wayland protocol extension. +add_custom_command( +OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c +DEPENDS ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml +COMMAND wayland-scanner server-header ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandServerProtocol.h +COMMAND wayland-scanner client-header ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.h +COMMAND wayland-scanner code ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c +) -if (ENABLE_WAYLAND_TARGET) -list(APPEND WebCorePlatformGTK_SOURCES +list(APPEND WebCore_SOURCES platform/graphics/wayland/PlatformDisplayWayland.cpp platform/graphics/wayland/WaylandEventSource.cpp platform/graphics/wayland/WaylandSurface.cpp ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186765] trunk/LayoutTests
Title: [186765] trunk/LayoutTests Revision 186765 Author bfulg...@apple.com Date 2015-07-13 10:17:02 -0700 (Mon, 13 Jul 2015) Log Message [Win] Skip failing table-related AX tests https://bugs.webkit.org/show_bug.cgi?id=146903 * platform/win/TestExpectations: Modified Paths trunk/LayoutTests/ChangeLog trunk/LayoutTests/platform/win/TestExpectations Diff Modified: trunk/LayoutTests/ChangeLog (186764 => 186765) --- trunk/LayoutTests/ChangeLog 2015-07-13 16:54:53 UTC (rev 186764) +++ trunk/LayoutTests/ChangeLog 2015-07-13 17:17:02 UTC (rev 186765) @@ -1,3 +1,10 @@ +2015-07-13 Brent Fulgham bfulg...@apple.com + +[Win] Skip failing table-related AX tests +https://bugs.webkit.org/show_bug.cgi?id=146903 + +* platform/win/TestExpectations: + 2015-07-12 Chris Fleizach cfleiz...@apple.com AX: WEB: VoiceOver for iOS does not read iframe elements during linear (swipe) navigation. Modified: trunk/LayoutTests/platform/win/TestExpectations (186764 => 186765) --- trunk/LayoutTests/platform/win/TestExpectations 2015-07-13 16:54:53 UTC (rev 186764) +++ trunk/LayoutTests/platform/win/TestExpectations 2015-07-13 17:17:02 UTC (rev 186765) @@ -1658,6 +1658,10 @@ [ Debug ] accessibility/updating-attribute-in-table-causes-crash.html [ Skip ] # Debug assertion [ Debug ] platform/win/accessibility/option-element-selection-and-focus-events.html [ Skip ] # Debug Assertion + +webkit.org/b/146903 accessibility/aria-table-hierarchy.html [ Skip ] +webkit.org/b/146903 accessibility/roles-table-and-cell.html [ Skip ] + ### End Accessibility Issues ### ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186766] trunk/Source/WebCore
Title: [186766] trunk/Source/WebCore Revision 186766 Author commit-qu...@webkit.org Date 2015-07-13 10:59:16 -0700 (Mon, 13 Jul 2015) Log Message Adding MediaStream Engine building blocks to the code repo https://bugs.webkit.org/show_bug.cgi?id=146789 rdar://problem/21747025 Patch by Matthew Daiter mdai...@apple.com on 2015-07-13 Reviewed by Brent Fulgham. * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h: Added. (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setLoadingProgresssed): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setHasAvailableVideoFrame): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::createWeakPtr): * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: Added. (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::MediaPlayerPrivateMediaStreamAVFObjC): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::~MediaPlayerPrivateMediaStreamAVFObjC): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::registerMediaEngine): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::isAvailable): (WebCore::mimeTypeCache): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::getSupportedTypes): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsType): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::load): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::cancelLoad): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::prepareToPlay): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::platformMedia): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::platformLayer): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::play): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::playInternal): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::pause): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::pauseInternal): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::paused): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setVolume): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsScanning): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setMuted): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::naturalSize): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::hasVideo): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::hasAudio): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setVisible): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::durationMediaTime): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::seeking): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setRateDouble): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setPreservesPitch): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::networkState): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::readyState): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::seekable): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::maxMediaTimeSeekable): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::minMediaTimeSeekable): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::buffered): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::didLoadingProgress): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setSize): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::hasAvailableVideoFrame): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsAcceleratedRendering): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::movieLoadType): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::prepareForRendering): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::engineDescription): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::languageOfPrimaryAudioTrack): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::shouldBePlaying): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::addDisplayLayer): (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::removeDisplayLayer): * platform/graphics/avfoundation/objc/MediaStreamPrivateAVFObjC.h: Added. * platform/graphics/avfoundation/objc/MediaStreamPrivateAVFObjC.mm: Added. (WebCore::MediaStreamPrivateAVFObjC::create): (WebCore::MediaStreamPrivateAVFObjC::MediaStreamPrivateAVFObjC): (WebCore::MediaStreamPrivateAVFObjC::~MediaStreamPrivateAVFObjC): (WebCore::MediaStreamPrivateAVFObjC::duration): (WebCore::MediaStreamPrivateAVFObjC::buffered): (WebCore::MediaStreamPrivateAVFObjC::readyState): (WebCore::MediaStreamPrivateAVFObjC::hasAudio): (WebCore::MediaStreamPrivateAVFObjC::hasVideo): (WebCore::MediaStreamPrivateAVFObjC::naturalSize): * platform/mediastream/MediaStreamPrivate.h: (WebCore::MediaStreamPrivate::MediaStreamPrivate): Added constructor. Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/platform/mediastream/MediaStreamPrivate.h Added Paths trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaStreamPrivateAVFObjC.h trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaStreamPrivateAVFObjC.mm Diff Modified: trunk/Source/WebCore/ChangeLog (186765 => 186766) --- trunk/Source/WebCore/ChangeLog 2015-07-13
[webkit-changes] [186762] trunk/Source/WebKit2
Title: [186762] trunk/Source/WebKit2 Revision 186762 Author mcatanz...@igalia.com Date 2015-07-13 08:42:11 -0700 (Mon, 13 Jul 2015) Log Message [Linux] SeccompFilters: handle alternate install prefixes https://bugs.webkit.org/show_bug.cgi?id=140065 Reviewed by Žan Doberšek. If the install prefix is something other than /usr, e.g. /usr/local or ~/jhbuild/install, then we want to make sure to allow libraries and data from that prefix. * PlatformEfl.cmake: * Shared/linux/SeccompFilters/SyscallPolicy.cpp: (WebKit::SyscallPolicy::addDefaultWebProcessPolicy): Modified Paths trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/PlatformEfl.cmake trunk/Source/WebKit2/Shared/linux/SeccompFilters/SyscallPolicy.cpp Diff Modified: trunk/Source/WebKit2/ChangeLog (186761 => 186762) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 07:44:18 UTC (rev 186761) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 15:42:11 UTC (rev 186762) @@ -1,3 +1,18 @@ +2015-07-13 Michael Catanzaro mcatanz...@igalia.com + +[Linux] SeccompFilters: handle alternate install prefixes +https://bugs.webkit.org/show_bug.cgi?id=140065 + +Reviewed by Žan Doberšek. + +If the install prefix is something other than /usr, e.g. /usr/local or +~/jhbuild/install, then we want to make sure to allow libraries and data +from that prefix. + +* PlatformEfl.cmake: +* Shared/linux/SeccompFilters/SyscallPolicy.cpp: +(WebKit::SyscallPolicy::addDefaultWebProcessPolicy): + 2015-07-13 Carlos Garcia Campos cgar...@igalia.com [GTK] Contents not correctly laid out when the web view is not realized Modified: trunk/Source/WebKit2/PlatformEfl.cmake (186761 => 186762) --- trunk/Source/WebKit2/PlatformEfl.cmake 2015-07-13 07:44:18 UTC (rev 186761) +++ trunk/Source/WebKit2/PlatformEfl.cmake 2015-07-13 15:42:11 UTC (rev 186762) @@ -476,7 +476,9 @@ add_definitions(-DTEST_RESOURCES_DIR=\${TEST_RESOURCES_DIR}\ -DTEST_LIB_DIR=\${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 +-DLIBDIR=\${LIB_INSTALL_DIR}\ -DLIBEXECDIR=\${EXEC_INSTALL_DIR}\ +-DDATADIR=\${CMAKE_INSTALL_PREFIX}/share\ -DEXTENSIONMANAGERDIR=\${CMAKE_INSTALL_PREFIX}/${EWEBKIT_EXTENSION_MANAGER_INSTALL_DIR}\ -DWEBPROCESSNAME=\WebProcess\ -DPLUGINPROCESSNAME=\PluginProcess\ Modified: trunk/Source/WebKit2/Shared/linux/SeccompFilters/SyscallPolicy.cpp (186761 => 186762) --- trunk/Source/WebKit2/Shared/linux/SeccompFilters/SyscallPolicy.cpp 2015-07-13 07:44:18 UTC (rev 186761) +++ trunk/Source/WebKit2/Shared/linux/SeccompFilters/SyscallPolicy.cpp 2015-07-13 15:42:11 UTC (rev 186762) @@ -142,6 +142,10 @@ addDirectoryPermission(ASCIILiteral(/usr/lib64), Read); addDirectoryPermission(ASCIILiteral(/usr/share), Read); +// Support for alternative install prefixes, e.g. /usr/local. +addDirectoryPermission(ASCIILiteral(DATADIR), Read); +addDirectoryPermission(ASCIILiteral(LIBDIR), Read); + // SSL Certificates. addDirectoryPermission(ASCIILiteral(/etc/ssl/certs), Read); ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186764] trunk/Source/WebCore
Title: [186764] trunk/Source/WebCore Revision 186764 Author eric.carl...@apple.com Date 2015-07-13 09:54:53 -0700 (Mon, 13 Jul 2015) Log Message [iOS] Cancel AirPlay explicitly when exiting from full screen https://bugs.webkit.org/show_bug.cgi?id=146902 rdar://problem/20923632 Reviewed by Brent Fulgham. * platform/ios/WebVideoFullscreenInterfaceAVKit.h: * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: (WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit): Call setExternalPlayback(false) if playing to an external screen. Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm Diff Modified: trunk/Source/WebCore/ChangeLog (186763 => 186764) --- trunk/Source/WebCore/ChangeLog 2015-07-13 16:25:12 UTC (rev 186763) +++ trunk/Source/WebCore/ChangeLog 2015-07-13 16:54:53 UTC (rev 186764) @@ -1,3 +1,16 @@ +2015-07-13 Eric Carlson eric.carl...@apple.com + +[iOS] Cancel AirPlay explicitly when exiting from full screen +https://bugs.webkit.org/show_bug.cgi?id=146902 +rdar://problem/20923632 + +Reviewed by Brent Fulgham. + +* platform/ios/WebVideoFullscreenInterfaceAVKit.h: +* platform/ios/WebVideoFullscreenInterfaceAVKit.mm: +(WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit): Call setExternalPlayback(false) + if playing to an external screen. + 2015-07-12 Chris Fleizach cfleiz...@apple.com AX: WEB: VoiceOver for iOS does not read iframe elements during linear (swipe) navigation. Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h (186763 => 186764) --- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h 2015-07-13 16:25:12 UTC (rev 186763) +++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h 2015-07-13 16:54:53 UTC (rev 186764) @@ -75,7 +75,7 @@ { return adoptRef(*new WebVideoFullscreenInterfaceAVKit()); } -virtual ~WebVideoFullscreenInterfaceAVKit() { } +virtual ~WebVideoFullscreenInterfaceAVKit(); WEBCORE_EXPORT void setWebVideoFullscreenModel(WebVideoFullscreenModel*); WEBCORE_EXPORT void setWebVideoFullscreenChangeObserver(WebVideoFullscreenChangeObserver*); Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (186763 => 186764) --- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-07-13 16:25:12 UTC (rev 186763) +++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-07-13 16:54:53 UTC (rev 186764) @@ -751,6 +751,13 @@ [m_playerController setFullscreenInterface:this]; } +WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit() +{ +WebAVPlayerController* playerController = m_playerController.get(); +if (playerController playerController.externalPlaybackActive) +setExternalPlayback(false, TargetTypeNone, ); +} + void WebVideoFullscreenInterfaceAVKit::resetMediaState() { if (!m_playerController) { ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186763] branches/safari-600.1.4.17-branch
Title: [186763] branches/safari-600.1.4.17-branch Revision 186763 Author ddkil...@apple.com Date 2015-07-13 09:25:12 -0700 (Mon, 13 Jul 2015) Log Message Merge r186476. rdar://problem/21708269 Modified Paths branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog branches/safari-600.1.4.17-branch/LayoutTests/platform/wk2/TestExpectations branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog branches/safari-600.1.4.17-branch/Source/WebCore/Modules/websockets/WebSocketChannel.cpp branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.exp.in branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/CredentialStorage.cpp branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/CredentialStorage.h branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/NetworkStorageSession.h branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/cf/SocketStreamHandle.h branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/mac/ResourceHandleMac.mm branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp branches/safari-600.1.4.17-branch/Source/WebKit/mac/ChangeLog branches/safari-600.1.4.17-branch/Source/WebKit/mac/Misc/WebCache.h branches/safari-600.1.4.17-branch/Source/WebKit/mac/Misc/WebCache.mm branches/safari-600.1.4.17-branch/Source/WebKit/mac/Misc/WebDownload.mm branches/safari-600.1.4.17-branch/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm branches/safari-600.1.4.17-branch/Source/WebKit/mac/WebView/WebView.mm branches/safari-600.1.4.17-branch/Source/WebKit/mac/WebView/WebViewInternal.h branches/safari-600.1.4.17-branch/Source/WebKit/win/ChangeLog branches/safari-600.1.4.17-branch/Source/WebKit/win/WebDownloadCFNet.cpp branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp branches/safari-600.1.4.17-branch/Tools/ChangeLog branches/safari-600.1.4.17-branch/Tools/DumpRenderTree/mac/DumpRenderTree.mm Added Paths branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/resources/auth-echo.php branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/resources/basic-auth.php Diff Modified: branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog (186762 => 186763) --- branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 15:42:11 UTC (rev 186762) +++ branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 16:25:12 UTC (rev 186763) @@ -1,3 +1,20 @@ +2015-07-13 David Kilzer ddkil...@apple.com + +Merge r186476. rdar://problem/21708269 + +2015-07-07 Brady Eidson beid...@apple.com + +HTTP Auth cached after disabling private browsing/reset. +rdar://problem/8293055 and https://bugs.webkit.org/show_bug.cgi?id=146654 + +Reviewed by Tim Horton. + +* http/tests/security/private-browsing-http-auth-expected.txt: Added. +* http/tests/security/private-browsing-http-auth.html: Added. +* http/tests/security/resources/auth-echo.php: Added. +* http/tests/security/resources/basic-auth.php: Added. +* platform/wk2/TestExpectations: + 2015-07-12 David Kilzer ddkil...@apple.com Merge r185769. rdar://problem/21727217 Added: branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth-expected.txt (0 => 186763) --- branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth-expected.txt (rev 0) +++ branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth-expected.txt 2015-07-13 16:25:12 UTC (rev 186763) @@ -0,0 +1,12 @@ +http://127.0.0.1:8000/security/resources/basic-auth.php?username=webkitpassword=rocks - didReceiveAuthenticationChallenge - Responding with webkit:rocks +This test makes sure that auth credentials cached during a private browsing session do not leak out after private browsing is disabled. + + +Frame: '!--framePath //!--frame0' + +Authenticated as user: webkit password: rocks + + +Frame: '!--framePath //!--frame1' + +Resource loaded with HTTP authentication username '' and password '' Added: branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/private-browsing-http-auth.html (0 => 186763) ---
[webkit-changes] [186771] tags/Safari-601.1.39.0.2/
Title: [186771] tags/Safari-601.1.39.0.2/ Revision 186771 Author bshaf...@apple.com Date 2015-07-13 12:58:31 -0700 (Mon, 13 Jul 2015) Log Message New tag. Added Paths tags/Safari-601.1.39.0.2/ Diff Property changes: tags/Safari-601.1.39.0.2 Added: svn:ignore depcomp compile config.guess GNUmakefile.in config.sub ltmain.sh aconfig.h.in autom4te.cache missing aclocal.m4 install-sh autotoolsconfig.h.in INSTALL README gtk-doc.make out Makefile.chromium WebKitSupportLibrary.zip WebKitBuild Added: svn:mergeinfo ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186772] tags/Safari-601.1.39.0.2/Source
Title: [186772] tags/Safari-601.1.39.0.2/Source Revision 186772 Author bshaf...@apple.com Date 2015-07-13 13:02:29 -0700 (Mon, 13 Jul 2015) Log Message Versioning. Modified Paths tags/Safari-601.1.39.0.2/Source/_javascript_Core/Configurations/Version.xcconfig tags/Safari-601.1.39.0.2/Source/WebCore/Configurations/Version.xcconfig tags/Safari-601.1.39.0.2/Source/WebInspectorUI/Configurations/Version.xcconfig tags/Safari-601.1.39.0.2/Source/WebKit/mac/Configurations/Version.xcconfig tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/Version.xcconfig Diff Modified: tags/Safari-601.1.39.0.2/Source/_javascript_Core/Configurations/Version.xcconfig (186771 => 186772) --- tags/Safari-601.1.39.0.2/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 19:58:31 UTC (rev 186771) +++ tags/Safari-601.1.39.0.2/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) @@ -25,7 +25,7 @@ MINOR_VERSION = 1; TINY_VERSION = 39; MICRO_VERSION = 0; -NANO_VERSION = 1; +NANO_VERSION = 2; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION); // The bundle version and short version string are set based on the current build configuration, see below. Modified: tags/Safari-601.1.39.0.2/Source/WebCore/Configurations/Version.xcconfig (186771 => 186772) --- tags/Safari-601.1.39.0.2/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 19:58:31 UTC (rev 186771) +++ tags/Safari-601.1.39.0.2/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) @@ -25,7 +25,7 @@ MINOR_VERSION = 1; TINY_VERSION = 39; MICRO_VERSION = 0; -NANO_VERSION = 1; +NANO_VERSION = 2; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION); // The bundle version and short version string are set based on the current build configuration, see below. Modified: tags/Safari-601.1.39.0.2/Source/WebInspectorUI/Configurations/Version.xcconfig (186771 => 186772) --- tags/Safari-601.1.39.0.2/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 19:58:31 UTC (rev 186771) +++ tags/Safari-601.1.39.0.2/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) @@ -2,7 +2,7 @@ MINOR_VERSION = 1; TINY_VERSION = 39; MICRO_VERSION = 0; -NANO_VERSION = 1; +NANO_VERSION = 2; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION); // The system version prefix is based on the current system version. Modified: tags/Safari-601.1.39.0.2/Source/WebKit/mac/Configurations/Version.xcconfig (186771 => 186772) --- tags/Safari-601.1.39.0.2/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 19:58:31 UTC (rev 186771) +++ tags/Safari-601.1.39.0.2/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) @@ -25,7 +25,7 @@ MINOR_VERSION = 1; TINY_VERSION = 39; MICRO_VERSION = 0; -NANO_VERSION = 1; +NANO_VERSION = 2; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION); // The bundle version and short version string are set based on the current build configuration, see below. Modified: tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/Version.xcconfig (186771 => 186772) --- tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 19:58:31 UTC (rev 186771) +++ tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) @@ -25,7 +25,7 @@ MINOR_VERSION = 1; TINY_VERSION = 39; MICRO_VERSION = 0; -NANO_VERSION = 1; +NANO_VERSION = 2; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION); // The bundle version and short version string are set based on the current build configuration, see below. ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186776] trunk/Source/JavaScriptCore
Title: [186776] trunk/Source/_javascript_Core Revision 186776 Author fpi...@apple.com Date 2015-07-13 13:10:02 -0700 (Mon, 13 Jul 2015) Log Message If Watchpoint::fire() looks at the state of the world, it should definitely see its set invalidated, and maybe it should see the object of interest in the transitioned-to state https://bugs.webkit.org/show_bug.cgi?id=146897 Reviewed by Mark Lam. The idea is to eventually support adaptive watchpoints. An adaptive watchpoint will be able to watch for a condition that is more fine-grained than any one watchpoint set. For example, we might watch a singleton object to see if it ever acquires a property called foo. So long as it doesn't have such a property, we don't want to invalidate any code. But if it gets that property, then we should deoptimize. Current watchpoints will invalidate code as soon as any property is added (or deleted), because they will use the transition watchpoint set of the singleton object's structure, and that fires anytime there is any transition. An adaptive watchpoint would remember the singleton object, and when it got fired, it would check if the object's new structure has the property foo. If not, it would check if the object's new structure is watchable (i.e. has a valid transition watchpoint set). If the property is missing and the structure is watchable, it would add itself to the watchpoint set of the new structure. Otherwise, it would deoptimize. There are two problems with this idea, and this patch fixes these problems. First, we usually fire the transition watchpoint before we do the structure transition. This means that if the fire() method looked at the singleton object's structure, it would see the old structure, not the new one. It would have no way of knowing what the new structure is. Second, inside the fire() method, the watchpoint set being invalidated still appears valid, since we change the state after we fire all watchpoints. This patch addresses both issues. Now, in the most important case (addPropertyTransition), we fire the watchpoint set after we have modified the object. This is accomplished using a deferral scope called DeferredStructureTransitionWatchpointFire. In cases where there is no deferral, the adaptive watchpoint will conservatively resort to deoptimization because it would find that the singleton object's structure is no longer watchable. This is because in the absence of deferral, the singleton object would still have the original structure, but that structure's watchpoint set would now report itself as having been invalidated. * bytecode/Watchpoint.cpp: (JSC::WatchpointSet::fireAllSlow): Change the state of the set before firing all watchpoints. (JSC::WatchpointSet::fireAllWatchpoints): * runtime/JSObject.h: (JSC::JSObject::putDirectInternal): Use the deferral scope. * runtime/Structure.cpp: (JSC::Structure::Structure): Pass the deferral scope to didTransitionFromThisStructure. (JSC::Structure::addPropertyTransition): Pass the deferral scope to create(). (JSC::StructureFireDetail::dump): This is no longer anonymous. (JSC::DeferredStructureTransitionWatchpointFire::DeferredStructureTransitionWatchpointFire): Start with a null structure. (JSC::DeferredStructureTransitionWatchpointFire::~DeferredStructureTransitionWatchpointFire): Fire the watchpoint if there is a structure. (JSC::DeferredStructureTransitionWatchpointFire::add): Add a structure. Logically this is a list of deferred things, but we assert that there only will be one (happens to be true now). (JSC::Structure::didTransitionFromThisStructure): Defer the watchpoint firing if there is a deferral scope. * runtime/Structure.h: (JSC::StructureFireDetail::StructureFireDetail): Move this to the header. * runtime/StructureInlines.h: (JSC::Structure::create): Pass the deferral scope to the constructor. Modified Paths trunk/Source/_javascript_Core/ChangeLog trunk/Source/_javascript_Core/bytecode/Watchpoint.cpp trunk/Source/_javascript_Core/runtime/JSObject.h trunk/Source/_javascript_Core/runtime/Structure.cpp trunk/Source/_javascript_Core/runtime/Structure.h trunk/Source/_javascript_Core/runtime/StructureInlines.h Diff Modified: trunk/Source/_javascript_Core/ChangeLog (186775 => 186776) --- trunk/Source/_javascript_Core/ChangeLog 2015-07-13 20:07:53 UTC (rev 186775) +++ trunk/Source/_javascript_Core/ChangeLog 2015-07-13 20:10:02 UTC (rev 186776) @@ -1,5 +1,61 @@ 2015-07-12 Filip Pizlo fpi...@apple.com +If Watchpoint::fire() looks at the state of the world, it should definitely see its set invalidated, and maybe it should see the object of interest in the transitioned-to state +https://bugs.webkit.org/show_bug.cgi?id=146897 + +Reviewed by Mark Lam. + +The idea is to eventually support adaptive watchpoints. An adaptive watchpoint will be +able to watch for a condition that is more fine-grained than any one watchpoint set. For +example, we
[webkit-changes] [186773] tags/Safari-601.1.39.0.2/Source/WebKit2
Title: [186773] tags/Safari-601.1.39.0.2/Source/WebKit2 Revision 186773 Author bshaf...@apple.com Date 2015-07-13 13:04:04 -0700 (Mon, 13 Jul 2015) Log Message Merged r186770. rdar://problem/21686508 Modified Paths tags/Safari-601.1.39.0.2/Source/WebKit2/ChangeLog tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/PluginProcess.xcconfig Diff Modified: tags/Safari-601.1.39.0.2/Source/WebKit2/ChangeLog (186772 => 186773) --- tags/Safari-601.1.39.0.2/Source/WebKit2/ChangeLog 2015-07-13 20:02:29 UTC (rev 186772) +++ tags/Safari-601.1.39.0.2/Source/WebKit2/ChangeLog 2015-07-13 20:04:04 UTC (rev 186773) @@ -1,3 +1,19 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186770. + +2015-07-13 Anders Carlsson ander...@apple.com + +Silverlight causes tabs to hang +https://bugs.webkit.org/show_bug.cgi?id=146912 +rdar://problem/21686508 + +Reviewed by Sam Weinig. + +Make sure to link production builds of the legacy plug-in process against the shim on 10.11 and newer. + +* Configurations/PluginProcess.xcconfig: + 2015-07-10 Matthew Hanson matthew_han...@apple.com Disable non-shipping features. Modified: tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/PluginProcess.xcconfig (186772 => 186773) --- tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:02:29 UTC (rev 186772) +++ tags/Safari-601.1.39.0.2/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:04:04 UTC (rev 186773) @@ -27,6 +27,12 @@ INFOPLIST_FILE = PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist; CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; +OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(LDFLAGS_SHIM_$(CONFIGURATION)); + +LDFLAGS_SHIM_Production[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; +LDFLAGS_SHIM_Production[sdk=macosx10.9*] = ; +LDFLAGS_SHIM_Production[sdk=macosx10.10*] = ; + EXCLUDED_SHIM_FILE_NAME[sdk=iphone*] = PluginProcessShim.dylib; SKIP_INSTALL[sdk=iphone*] = YES; ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186775] tags/Safari-601.1.40/Source/WebKit2
Title: [186775] tags/Safari-601.1.40/Source/WebKit2 Revision 186775 Author bshaf...@apple.com Date 2015-07-13 13:07:53 -0700 (Mon, 13 Jul 2015) Log Message Merged r186770. rdar://problem/21686508 Modified Paths tags/Safari-601.1.40/Source/WebKit2/ChangeLog tags/Safari-601.1.40/Source/WebKit2/Configurations/PluginProcess.xcconfig Diff Modified: tags/Safari-601.1.40/Source/WebKit2/ChangeLog (186774 => 186775) --- tags/Safari-601.1.40/Source/WebKit2/ChangeLog 2015-07-13 20:05:47 UTC (rev 186774) +++ tags/Safari-601.1.40/Source/WebKit2/ChangeLog 2015-07-13 20:07:53 UTC (rev 186775) @@ -1,3 +1,19 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186770. + +2015-07-13 Anders Carlsson ander...@apple.com + +Silverlight causes tabs to hang +https://bugs.webkit.org/show_bug.cgi?id=146912 +rdar://problem/21686508 + +Reviewed by Sam Weinig. + +Make sure to link production builds of the legacy plug-in process against the shim on 10.11 and newer. + +* Configurations/PluginProcess.xcconfig: + 2015-07-12 Babak Shafiei bshaf...@apple.com Merge r186712. Modified: tags/Safari-601.1.40/Source/WebKit2/Configurations/PluginProcess.xcconfig (186774 => 186775) --- tags/Safari-601.1.40/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:05:47 UTC (rev 186774) +++ tags/Safari-601.1.40/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:07:53 UTC (rev 186775) @@ -27,6 +27,12 @@ INFOPLIST_FILE = PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist; CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; +OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(LDFLAGS_SHIM_$(CONFIGURATION)); + +LDFLAGS_SHIM_Production[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; +LDFLAGS_SHIM_Production[sdk=macosx10.9*] = ; +LDFLAGS_SHIM_Production[sdk=macosx10.10*] = ; + EXCLUDED_SHIM_FILE_NAME[sdk=iphone*] = PluginProcessShim.dylib; SKIP_INSTALL[sdk=iphone*] = YES; ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186769] trunk/Source/WebCore
Title: [186769] trunk/Source/WebCore Revision 186769 Author bfulg...@apple.com Date 2015-07-13 12:50:44 -0700 (Mon, 13 Jul 2015) Log Message Change MediaPlayer Media Stream method signatures to use references https://bugs.webkit.org/show_bug.cgi?id=146839 rdar://problem/21769035 Patch by Matthew Daiter mdai...@apple.com on 2015-07-13 Reviewed by Darin Adler. * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::loadWithNextMediaEngine): * platform/graphics/MediaPlayerPrivate.h: Changed to references * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::load): Ditto * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::load): Ditto * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: * platform/graphics/mac/MediaPlayerPrivateQTKit.h: * platform/mock/mediasource/MockMediaPlayerMediaSource.h: Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp trunk/Source/WebCore/platform/graphics/MediaPlayerPrivate.h trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h trunk/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h trunk/Source/WebCore/platform/mock/mediasource/MockMediaPlayerMediaSource.h Diff Modified: trunk/Source/WebCore/ChangeLog (186768 => 186769) --- trunk/Source/WebCore/ChangeLog 2015-07-13 19:11:42 UTC (rev 186768) +++ trunk/Source/WebCore/ChangeLog 2015-07-13 19:50:44 UTC (rev 186769) @@ -1,3 +1,24 @@ +2015-07-13 Matthew Daiter mdai...@apple.com + +Change MediaPlayer Media Stream method signatures to use references +https://bugs.webkit.org/show_bug.cgi?id=146839 +rdar://problem/21769035 + +Reviewed by Darin Adler. + +* platform/graphics/MediaPlayer.cpp: +(WebCore::MediaPlayer::loadWithNextMediaEngine): +* platform/graphics/MediaPlayerPrivate.h: Changed to references +* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: +* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h: +* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: +(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::load): Ditto +* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: +(WebCore::MediaPlayerPrivateGStreamer::load): Ditto +* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: +* platform/graphics/mac/MediaPlayerPrivateQTKit.h: +* platform/mock/mediasource/MockMediaPlayerMediaSource.h: + 2015-07-13 Carlos Alberto Lopez Perez clo...@igalia.com GTK] Build race with -DENABLE_WAYLAND_TARGET=ON Modified: trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp (186768 => 186769) --- trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp 2015-07-13 19:11:42 UTC (rev 186768) +++ trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp 2015-07-13 19:50:44 UTC (rev 186769) @@ -90,7 +90,7 @@ void load(const String, MediaSourcePrivateClient*) override { } #endif #if ENABLE(MEDIA_STREAM) -void load(MediaStreamPrivate*) override { } +void load(MediaStreamPrivate) override { } #endif void cancelLoad() override { } @@ -424,7 +424,7 @@ #endif #if ENABLE(MEDIA_STREAM) if (m_mediaStream) -m_private-load(m_mediaStream.get()); +m_private-load(*m_mediaStream); else #endif m_private-load(m_url.string()); Modified: trunk/Source/WebCore/platform/graphics/MediaPlayerPrivate.h (186768 => 186769) --- trunk/Source/WebCore/platform/graphics/MediaPlayerPrivate.h 2015-07-13 19:11:42 UTC (rev 186768) +++ trunk/Source/WebCore/platform/graphics/MediaPlayerPrivate.h 2015-07-13 19:50:44 UTC (rev 186769) @@ -50,7 +50,7 @@ virtual void load(const String url, MediaSourcePrivateClient*) = 0; #endif #if ENABLE(MEDIA_STREAM) -virtual void load(MediaStreamPrivate*) = 0; +virtual void load(MediaStreamPrivate) = 0; #endif virtual void cancelLoad() = 0; Modified: trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h (186768 => 186769) --- trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h 2015-07-13 19:11:42 UTC (rev 186768) +++ trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h 2015-07-13 19:50:44 UTC (rev 186769) @@
[webkit-changes] [186770] trunk/Source/WebKit2
Title: [186770] trunk/Source/WebKit2 Revision 186770 Author ander...@apple.com Date 2015-07-13 12:54:19 -0700 (Mon, 13 Jul 2015) Log Message Silverlight causes tabs to hang https://bugs.webkit.org/show_bug.cgi?id=146912 rdar://problem/21686508 Reviewed by Sam Weinig. Make sure to link production builds of the legacy plug-in process against the shim on 10.11 and newer. * Configurations/PluginProcess.xcconfig: Modified Paths trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/Configurations/PluginProcess.xcconfig Diff Modified: trunk/Source/WebKit2/ChangeLog (186769 => 186770) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 19:50:44 UTC (rev 186769) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 19:54:19 UTC (rev 186770) @@ -1,3 +1,15 @@ +2015-07-13 Anders Carlsson ander...@apple.com + +Silverlight causes tabs to hang +https://bugs.webkit.org/show_bug.cgi?id=146912 +rdar://problem/21686508 + +Reviewed by Sam Weinig. + +Make sure to link production builds of the legacy plug-in process against the shim on 10.11 and newer. + +* Configurations/PluginProcess.xcconfig: + 2015-07-13 Michael Catanzaro mcatanz...@igalia.com [Linux] SeccompFilters: handle alternate install prefixes Modified: trunk/Source/WebKit2/Configurations/PluginProcess.xcconfig (186769 => 186770) --- trunk/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 19:50:44 UTC (rev 186769) +++ trunk/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 19:54:19 UTC (rev 186770) @@ -27,6 +27,12 @@ INFOPLIST_FILE = PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist; CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; +OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(LDFLAGS_SHIM_$(CONFIGURATION)); + +LDFLAGS_SHIM_Production[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; +LDFLAGS_SHIM_Production[sdk=macosx10.9*] = ; +LDFLAGS_SHIM_Production[sdk=macosx10.10*] = ; + EXCLUDED_SHIM_FILE_NAME[sdk=iphone*] = PluginProcessShim.dylib; SKIP_INSTALL[sdk=iphone*] = YES; ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186774] branches/safari-601.1-branch/Source/WebKit2
Title: [186774] branches/safari-601.1-branch/Source/WebKit2 Revision 186774 Author bshaf...@apple.com Date 2015-07-13 13:05:47 -0700 (Mon, 13 Jul 2015) Log Message Merged r186770. rdar://problem/21686508 Modified Paths branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/Configurations/PluginProcess.xcconfig Diff Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186773 => 186774) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 20:04:04 UTC (rev 186773) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 20:05:47 UTC (rev 186774) @@ -1,3 +1,19 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186770. + +2015-07-13 Anders Carlsson ander...@apple.com + +Silverlight causes tabs to hang +https://bugs.webkit.org/show_bug.cgi?id=146912 +rdar://problem/21686508 + +Reviewed by Sam Weinig. + +Make sure to link production builds of the legacy plug-in process against the shim on 10.11 and newer. + +* Configurations/PluginProcess.xcconfig: + 2015-07-12 Babak Shafiei bshaf...@apple.com Merge r186712. Modified: branches/safari-601.1-branch/Source/WebKit2/Configurations/PluginProcess.xcconfig (186773 => 186774) --- branches/safari-601.1-branch/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:04:04 UTC (rev 186773) +++ branches/safari-601.1-branch/Source/WebKit2/Configurations/PluginProcess.xcconfig 2015-07-13 20:05:47 UTC (rev 186774) @@ -27,6 +27,12 @@ INFOPLIST_FILE = PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist; CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; +OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(LDFLAGS_SHIM_$(CONFIGURATION)); + +LDFLAGS_SHIM_Production[sdk=macosx*] = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; +LDFLAGS_SHIM_Production[sdk=macosx10.9*] = ; +LDFLAGS_SHIM_Production[sdk=macosx10.10*] = ; + EXCLUDED_SHIM_FILE_NAME[sdk=iphone*] = PluginProcessShim.dylib; SKIP_INSTALL[sdk=iphone*] = YES; ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186777] trunk/Source
Title: [186777] trunk/Source Revision 186777 Author ander...@apple.com Date 2015-07-13 13:44:35 -0700 (Mon, 13 Jul 2015) Log Message Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API https://bugs.webkit.org/show_bug.cgi?id=146913 rdar://problem/21789252 Reviewed by Dan Bernstein. Source/_javascript_Core: Make a top-level symlink from /System/Library/PrivateFrameworks/_javascript_Core.framework to /System/Library/Frameworks/_javascript_Core.framework. * _javascript_Core.xcodeproj/project.pbxproj: Source/WebKit2: Make a top-level symlink from /System/Library/PrivateFrameworks/WebKit.framework to /System/Library/Frameworks/WebKit.framework. * WebKit2.xcodeproj/project.pbxproj: Modified Paths trunk/Source/_javascript_Core/ChangeLog trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj Diff Modified: trunk/Source/_javascript_Core/ChangeLog (186776 => 186777) --- trunk/Source/_javascript_Core/ChangeLog 2015-07-13 20:10:02 UTC (rev 186776) +++ trunk/Source/_javascript_Core/ChangeLog 2015-07-13 20:44:35 UTC (rev 186777) @@ -1,3 +1,16 @@ +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/_javascript_Core.framework to +/System/Library/Frameworks/_javascript_Core.framework. + +* _javascript_Core.xcodeproj/project.pbxproj: + 2015-07-12 Filip Pizlo fpi...@apple.com If Watchpoint::fire() looks at the state of the world, it should definitely see its set invalidated, and maybe it should see the object of interest in the transitioned-to state Modified: trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (186776 => 186777) --- trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 20:10:02 UTC (rev 186776) +++ trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 20:44:35 UTC (rev 186777) @@ -6664,6 +6664,7 @@ 5D29D8BE0E9860B400C3D2D0 /* Check For Weak VTables and Externals */, 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */, A55DEAA416703DF7003DB841 /* Check For Inappropriate Macros in External Headers */, +1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */, ); buildRules = ( ); @@ -6778,6 +6779,20 @@ shellPath = /bin/sh; shellScript = set -e\n\nif [[ $ENABLE_FTL_JIT != \ENABLE_FTL_JIT\ ]]\nthen\nexit 0\nfi\n\nif [[ ${CONFIGURATION:=Debug} != \Production\ ]]\nthen\n# Copy the llvmForJSC library into the framework.\nditto \${BUILT_PRODUCTS_DIR}/libllvmForJSC.dylib\ \${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libllvmForJSC.dylib\\nfi\n\nif [[ $PLATFORM_NAME != \macosx\ ]]\nthen\nexit 0\nfi\n\nif [ ! -e \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\ ]\nthen\nln -fs \Versions/Current/Libraries\ \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\\nfi; }; + 1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + name = Add Symlink in /System/Library/PrivateFrameworks; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = if [[ ${PLATFORM_NAME} != \iphoneos\ ]]; then\nexit 0\nfi\n\nif [[ ! -d \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\ ]]; then\nmkdir -p \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\\nfi\n\nln -s -h -f ../Frameworks/_javascript_Core.framework \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks/_javascript_Core.framework\; + }; 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; Modified: trunk/Source/WebKit2/ChangeLog (186776 => 186777) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 20:10:02 UTC (rev 186776) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 20:44:35 UTC (rev 186777) @@ -1,5 +1,18 @@ 2015-07-13 Anders Carlsson ander...@apple.com +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/WebKit.framework to +/System/Library/Frameworks/WebKit.framework. + +* WebKit2.xcodeproj/project.pbxproj: + +2015-07-13 Anders Carlsson ander...@apple.com + Silverlight causes tabs to
[webkit-changes] [186778] trunk/Source/WebKit2
Title: [186778] trunk/Source/WebKit2 Revision 186778 Author m...@apple.com Date 2015-07-13 13:50:34 -0700 (Mon, 13 Jul 2015) Log Message Removed now-unused SPI -[WKWebView _loadRequest:withOptions:]. Rubber-stamped by Anders Carlsson. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _loadRequest:withOptions:]): Deleted. * UIProcess/API/Cocoa/WKWebViewPrivate.h: Modified Paths trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h Diff Modified: trunk/Source/WebKit2/ChangeLog (186777 => 186778) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 20:44:35 UTC (rev 186777) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 20:50:34 UTC (rev 186778) @@ -1,3 +1,13 @@ +2015-07-13 Dan Bernstein m...@apple.com + +Removed now-unused SPI -[WKWebView _loadRequest:withOptions:]. + +Rubber-stamped by Anders Carlsson. + +* UIProcess/API/Cocoa/WKWebView.mm: +(-[WKWebView _loadRequest:withOptions:]): Deleted. +* UIProcess/API/Cocoa/WKWebViewPrivate.h: + 2015-07-13 Anders Carlsson ander...@apple.com Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (186777 => 186778) --- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm 2015-07-13 20:44:35 UTC (rev 186777) +++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm 2015-07-13 20:50:34 UTC (rev 186778) @@ -1871,11 +1871,6 @@ @implementation WKWebView (WKPrivate) -- (WKNavigation *)_loadRequest:(NSURLRequest *)request withOptions:(NSDictionary *)loadOptions -{ -return [self loadRequest:request]; -} - - (BOOL)_isEditable { return _page-isEditable(); Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h (186777 => 186778) --- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h 2015-07-13 20:44:35 UTC (rev 186777) +++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h 2015-07-13 20:50:34 UTC (rev 186778) @@ -207,8 +207,6 @@ @property (nonatomic, setter=_setScrollPerformanceDataCollectionEnabled:) BOOL _scrollPerformanceDataCollectionEnabled WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA); @property (nonatomic, readonly) NSArray *_scrollPerformanceData WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA); -- (WKNavigation *)_loadRequest:(NSURLRequest *)request withOptions:(WK_DICTIONARY(NSString *, id) *)loadOptions WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA); - - (void)_saveBackForwardSnapshotForItem:(WKBackForwardListItem *)item WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA); @end ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186791] trunk/Source
Title: [186791] trunk/Source Revision 186791 Author mra...@apple.com Date 2015-07-13 15:51:15 -0700 (Mon, 13 Jul 2015) Log Message Media Session: add plumbing for delivering start/end-of-interruption events https://bugs.webkit.org/show_bug.cgi?id=146837 Reviewed by Tim Horton. WebCore: * Modules/mediasession/MediaSessionEvents.h: Renamed from MediaEventTypes.h and added new constants for interruption events. * WebCore.xcodeproj/project.pbxproj: Renamed MediaEventTypes.h. * page/Page.h: Added stub. * page/Page.cpp: Added stub. WebKit2: Added plumbing. * UIProcess/API/C/WKPage.cpp: (WKPageHandleMediaSessionInterruptionEvent): * UIProcess/API/C/WKPagePrivate.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleMediaSessionInterruptionEvent): * UIProcess/WebPageProxy.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::handleMediaSessionInterruptionEvent): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj trunk/Source/WebCore/page/Page.cpp trunk/Source/WebCore/page/Page.h trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp trunk/Source/WebKit2/UIProcess/WebPageProxy.h trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in Added Paths trunk/Source/WebCore/Modules/mediasession/MediaSessionEvents.h Removed Paths trunk/Source/WebCore/Modules/mediasession/MediaEventTypes.h Diff Modified: trunk/Source/WebCore/ChangeLog (186790 => 186791) --- trunk/Source/WebCore/ChangeLog 2015-07-13 22:38:39 UTC (rev 186790) +++ trunk/Source/WebCore/ChangeLog 2015-07-13 22:51:15 UTC (rev 186791) @@ -1,3 +1,16 @@ +2015-07-13 Matt Rajca mra...@apple.com + +Media Session: add plumbing for delivering start/end-of-interruption events +https://bugs.webkit.org/show_bug.cgi?id=146837 + +Reviewed by Tim Horton. + +* Modules/mediasession/MediaSessionEvents.h: Renamed from MediaEventTypes.h and added new constants for + interruption events. +* WebCore.xcodeproj/project.pbxproj: Renamed MediaEventTypes.h. +* page/Page.h: Added stub. +* page/Page.cpp: Added stub. + 2015-07-13 Simon Fraser simon.fra...@apple.com [iOS WK2] When choosing an initial viewport scale, take overflow on the body into account Deleted: trunk/Source/WebCore/Modules/mediasession/MediaEventTypes.h (186790 => 186791) --- trunk/Source/WebCore/Modules/mediasession/MediaEventTypes.h 2015-07-13 22:38:39 UTC (rev 186790) +++ trunk/Source/WebCore/Modules/mediasession/MediaEventTypes.h 2015-07-13 22:51:15 UTC (rev 186791) @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2015 Apple Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - *notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - *notice, this list of conditions and the following disclaimer in the - *documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef MediaEventTypes_h -#define MediaEventTypes_h - -#if ENABLE(MEDIA_SESSION) - -namespace WebCore { - -enum MediaEventType { -PlayPause, -TrackNext, -TrackPrevious -}; - -} - -#endif - -#endif /* MediaEventTypes_h */ Copied: trunk/Source/WebCore/Modules/mediasession/MediaSessionEvents.h (from rev 186786, trunk/Source/WebCore/Modules/mediasession/MediaEventTypes.h) (0 => 186791) --- trunk/Source/WebCore/Modules/mediasession/MediaSessionEvents.h (rev 0) +++ trunk/Source/WebCore/Modules/mediasession/MediaSessionEvents.h 2015-07-13 22:51:15 UTC (rev 186791) @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2015 Apple Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or
[webkit-changes] [186793] branches/safari-600.1.4.17-branch
Title: [186793] branches/safari-600.1.4.17-branch Revision 186793 Author ddkil...@apple.com Date 2015-07-13 16:06:51 -0700 (Mon, 13 Jul 2015) Log Message Merge r186663. rdar://problem/21708241 Modified Paths branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog branches/safari-600.1.4.17-branch/LayoutTests/http/tests/cookies/resources/setCookies.cgi branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/resources/save-report.php branches/safari-600.1.4.17-branch/LayoutTests/platform/wk2/TestExpectations branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog branches/safari-600.1.4.17-branch/Source/WebCore/loader/PingLoader.cpp Added Paths branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled.html branches/safari-600.1.4.17-branch/LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies.html Diff Modified: branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog (186792 => 186793) --- branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 23:00:22 UTC (rev 186792) +++ branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 23:06:51 UTC (rev 186793) @@ -1,5 +1,38 @@ 2015-07-13 David Kilzer ddkil...@apple.com +Merge r186663. rdar://problem/21708241 + +2015-07-09 Daniel Bates daba...@apple.com + +Fetching Content Security Policy report URL should respect same origin policy +https://bugs.webkit.org/show_bug.cgi?id=146754 +rdar://problem/18860259 + +Reviewed by Brady Eidson. + +Inspired by Blink r149791 (by Mike West mk...@chromium.org): +https://src.chromium.org/viewvc/blink?revision=149791view=revision + +Added additional tests for private browsing mode. + +* http/tests/cookies/resources/setCookies.cgi: +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled.html: Added. +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled.html: Added. +* http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies.html: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled.html: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled-expected.txt: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled.html: Added. +* http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies.html: Added. +* http/tests/security/contentSecurityPolicy/resources/save-report.php: +* platform/wk2/TestExpectations: Skip
[webkit-changes] [186794] trunk/Source/JavaScriptCore
Title: [186794] trunk/Source/_javascript_Core Revision 186794 Author dba...@webkit.org Date 2015-07-13 16:11:05 -0700 (Mon, 13 Jul 2015) Log Message Cleanup: Avoid extraneous increment and decrement of reference count of ScriptArguments in ConsoleClient https://bugs.webkit.org/show_bug.cgi?id=146920 Reviewed by Brian Burg. Remove local variable RefPtrScriptArguments and copy constructor call with an argument that was initialized with an rvalue reference. The argument itself is an lvalue reference. * runtime/ConsoleClient.cpp: (JSC::ConsoleClient::printConsoleMessageWithArguments): (JSC::ConsoleClient::internalMessageWithTypeAndLevel): Modified Paths trunk/Source/_javascript_Core/ChangeLog trunk/Source/_javascript_Core/runtime/ConsoleClient.cpp Diff Modified: trunk/Source/_javascript_Core/ChangeLog (186793 => 186794) --- trunk/Source/_javascript_Core/ChangeLog 2015-07-13 23:06:51 UTC (rev 186793) +++ trunk/Source/_javascript_Core/ChangeLog 2015-07-13 23:11:05 UTC (rev 186794) @@ -1,3 +1,17 @@ +2015-07-13 Daniel Bates daba...@apple.com + +Cleanup: Avoid extraneous increment and decrement of reference count of ScriptArguments in ConsoleClient +https://bugs.webkit.org/show_bug.cgi?id=146920 + +Reviewed by Brian Burg. + +Remove local variable RefPtrScriptArguments and copy constructor call with an argument that +was initialized with an rvalue reference. The argument itself is an lvalue reference. + +* runtime/ConsoleClient.cpp: +(JSC::ConsoleClient::printConsoleMessageWithArguments): +(JSC::ConsoleClient::internalMessageWithTypeAndLevel): + 2015-07-13 Anders Carlsson ander...@apple.com Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API Modified: trunk/Source/_javascript_Core/runtime/ConsoleClient.cpp (186793 => 186794) --- trunk/Source/_javascript_Core/runtime/ConsoleClient.cpp 2015-07-13 23:06:51 UTC (rev 186793) +++ trunk/Source/_javascript_Core/runtime/ConsoleClient.cpp 2015-07-13 23:11:05 UTC (rev 186794) @@ -146,10 +146,8 @@ WTFLogAlways(%s, builder.toString().utf8().data()); } -void ConsoleClient::printConsoleMessageWithArguments(MessageSource source, MessageType type, MessageLevel level, JSC::ExecState* exec, RefPtrScriptArguments prpArguments) +void ConsoleClient::printConsoleMessageWithArguments(MessageSource source, MessageType type, MessageLevel level, JSC::ExecState* exec, RefPtrScriptArguments arguments) { -RefPtrScriptArguments arguments = prpArguments; - bool isTraceMessage = type == MessageType::Trace; size_t stackSize = isTraceMessage ? ScriptCallStack::maxCallStackSizeToCapture : 1; RefPtrScriptCallStack callStack(createScriptCallStackForConsole(exec, stackSize)); @@ -191,13 +189,12 @@ } } -void ConsoleClient::internalMessageWithTypeAndLevel(MessageType type, MessageLevel level, JSC::ExecState* exec, RefPtrScriptArguments prpArguments, ArgumentRequirement argumentRequirement) +void ConsoleClient::internalMessageWithTypeAndLevel(MessageType type, MessageLevel level, JSC::ExecState* exec, RefPtrScriptArguments arguments, ArgumentRequirement argumentRequirement) { -RefPtrScriptArguments arguments = prpArguments; if (argumentRequirement == ArgumentRequired !arguments-argumentCount()) return; -messageWithTypeAndLevel(type, level, exec, arguments.release()); +messageWithTypeAndLevel(type, level, exec, WTF::move(arguments)); } void ConsoleClient::logWithLevel(ExecState* exec, RefPtrScriptArguments arguments, MessageLevel level) ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186796] trunk/Source/WebInspectorUI
Title: [186796] trunk/Source/WebInspectorUI Revision 186796 Author commit-qu...@webkit.org Date 2015-07-13 16:53:14 -0700 (Mon, 13 Jul 2015) Log Message Web Inspector: Uncaught exception in inspector for some ConsoleMessages https://bugs.webkit.org/show_bug.cgi?id=146919 Patch by Joseph Pecoraro pecor...@apple.com on 2015-07-13 Reviewed by Brian Burg. * UserInterface/Views/ConsoleMessageView.js: (WebInspector.ConsoleMessageView.prototype._appendLocationLink): The parameters list may not exist, so null check it before use. Modified Paths trunk/Source/WebInspectorUI/ChangeLog trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js Diff Modified: trunk/Source/WebInspectorUI/ChangeLog (186795 => 186796) --- trunk/Source/WebInspectorUI/ChangeLog 2015-07-13 23:27:30 UTC (rev 186795) +++ trunk/Source/WebInspectorUI/ChangeLog 2015-07-13 23:53:14 UTC (rev 186796) @@ -1,3 +1,14 @@ +2015-07-13 Joseph Pecoraro pecor...@apple.com + +Web Inspector: Uncaught exception in inspector for some ConsoleMessages +https://bugs.webkit.org/show_bug.cgi?id=146919 + +Reviewed by Brian Burg. + +* UserInterface/Views/ConsoleMessageView.js: +(WebInspector.ConsoleMessageView.prototype._appendLocationLink): +The parameters list may not exist, so null check it before use. + 2015-07-13 Nikita Vasilyev nvasil...@apple.com Web Inspector: Use -apple-system-monospaced-numbers for line numbers Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js (186795 => 186796) --- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-07-13 23:27:30 UTC (rev 186795) +++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-07-13 23:53:14 UTC (rev 186796) @@ -322,7 +322,7 @@ return; } -if (this._message.parameters.length === 1) { +if (this._message.parameters this._message.parameters.length === 1) { var parameter = this._createRemoteObjectIfNeeded(this._message.parameters[0]); parameter.findFunctionSourceCodeLocation().then(function(result) { ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186797] trunk/Websites/perf.webkit.org
Title: [186797] trunk/Websites/perf.webkit.org Revision 186797 Author rn...@webkit.org Date 2015-07-13 17:10:32 -0700 (Mon, 13 Jul 2015) Log Message Fix a typo. * public/js/helper-classes.js: Modified Paths trunk/Websites/perf.webkit.org/ChangeLog trunk/Websites/perf.webkit.org/public/js/helper-classes.js Diff Modified: trunk/Websites/perf.webkit.org/ChangeLog (186796 => 186797) --- trunk/Websites/perf.webkit.org/ChangeLog 2015-07-13 23:53:14 UTC (rev 186796) +++ trunk/Websites/perf.webkit.org/ChangeLog 2015-07-14 00:10:32 UTC (rev 186797) @@ -1,3 +1,9 @@ +2015-07-13 Ryosuke Niwa rn...@webkit.org + +Fix a typo. + +* public/js/helper-classes.js: + 2015-06-27 Ryosuke Niwa rn...@webkit.org build-requests should use conform to JSON API format Modified: trunk/Websites/perf.webkit.org/public/js/helper-classes.js (186796 => 186797) --- trunk/Websites/perf.webkit.org/public/js/helper-classes.js 2015-07-13 23:53:14 UTC (rev 186796) +++ trunk/Websites/perf.webkit.org/public/js/helper-classes.js 2015-07-14 00:10:32 UTC (rev 186797) @@ -159,7 +159,7 @@ 'FrameRate': 'fps', 'Runs': '/s', 'Time': 'ms', -'Duration', 'ms', +'Duration': 'ms', 'Malloc': 'B', 'Heap': 'B', 'Allocations': 'B', ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186789] tags/Safari-601.1.40/Source
Title: [186789] tags/Safari-601.1.40/Source Revision 186789 Author bshaf...@apple.com Date 2015-07-13 15:28:00 -0700 (Mon, 13 Jul 2015) Log Message Merged r186777. rdar://problem/21789252 Modified Paths tags/Safari-601.1.40/Source/_javascript_Core/ChangeLog tags/Safari-601.1.40/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj tags/Safari-601.1.40/Source/WebKit2/ChangeLog tags/Safari-601.1.40/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj Diff Modified: tags/Safari-601.1.40/Source/_javascript_Core/ChangeLog (186788 => 186789) --- tags/Safari-601.1.40/Source/_javascript_Core/ChangeLog 2015-07-13 22:26:47 UTC (rev 186788) +++ tags/Safari-601.1.40/Source/_javascript_Core/ChangeLog 2015-07-13 22:28:00 UTC (rev 186789) @@ -1,3 +1,20 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/_javascript_Core.framework to +/System/Library/Frameworks/_javascript_Core.framework. + +* _javascript_Core.xcodeproj/project.pbxproj: + 2015-07-12 Babak Shafiei bshaf...@apple.com Merge r186702. Modified: tags/Safari-601.1.40/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (186788 => 186789) --- tags/Safari-601.1.40/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:26:47 UTC (rev 186788) +++ tags/Safari-601.1.40/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:28:00 UTC (rev 186789) @@ -6664,6 +6664,7 @@ 5D29D8BE0E9860B400C3D2D0 /* Check For Weak VTables and Externals */, 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */, A55DEAA416703DF7003DB841 /* Check For Inappropriate Macros in External Headers */, +1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */, ); buildRules = ( ); @@ -6778,6 +6779,20 @@ shellPath = /bin/sh; shellScript = set -e\n\nif [[ $ENABLE_FTL_JIT != \ENABLE_FTL_JIT\ ]]\nthen\nexit 0\nfi\n\nif [[ ${CONFIGURATION:=Debug} != \Production\ ]]\nthen\n# Copy the llvmForJSC library into the framework.\nditto \${BUILT_PRODUCTS_DIR}/libllvmForJSC.dylib\ \${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libllvmForJSC.dylib\\nfi\n\nif [[ $PLATFORM_NAME != \macosx\ ]]\nthen\nexit 0\nfi\n\nif [ ! -e \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\ ]\nthen\nln -fs \Versions/Current/Libraries\ \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\\nfi; }; + 1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + name = Add Symlink in /System/Library/PrivateFrameworks; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = if [[ ${PLATFORM_NAME} != \iphoneos\ ]]; then\nexit 0\nfi\n\nif [[ ! -d \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\ ]]; then\nmkdir -p \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\\nfi\n\nln -s -h -f ../Frameworks/_javascript_Core.framework \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks/_javascript_Core.framework\; + }; 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; Modified: tags/Safari-601.1.40/Source/WebKit2/ChangeLog (186788 => 186789) --- tags/Safari-601.1.40/Source/WebKit2/ChangeLog 2015-07-13 22:26:47 UTC (rev 186788) +++ tags/Safari-601.1.40/Source/WebKit2/ChangeLog 2015-07-13 22:28:00 UTC (rev 186789) @@ -1,5 +1,22 @@ 2015-07-13 Babak Shafiei bshaf...@apple.com +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/WebKit.framework to +/System/Library/Frameworks/WebKit.framework. + +* WebKit2.xcodeproj/project.pbxproj: + +2015-07-13 Babak Shafiei bshaf...@apple.com + Merge r186770. 2015-07-13 Anders Carlsson ander...@apple.com Modified: tags/Safari-601.1.40/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (186788 => 186789) --- tags/Safari-601.1.40/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2015-07-13 22:26:47 UTC (rev 186788) +++
[webkit-changes] [186779] trunk/Source/WebKit2
Title: [186779] trunk/Source/WebKit2 Revision 186779 Author m...@apple.com Date 2015-07-13 14:38:01 -0700 (Mon, 13 Jul 2015) Log Message Fixed the build. * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _registerPreviewInWindow:]): (-[WKContentView _unregisterPreviewInWindow:]): Modified Paths trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm Diff Modified: trunk/Source/WebKit2/ChangeLog (186778 => 186779) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 20:50:34 UTC (rev 186778) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 21:38:01 UTC (rev 186779) @@ -1,5 +1,13 @@ 2015-07-13 Dan Bernstein m...@apple.com +Fixed the build. + +* UIProcess/ios/WKContentViewInteraction.mm: +(-[WKContentView _registerPreviewInWindow:]): +(-[WKContentView _unregisterPreviewInWindow:]): + +2015-07-13 Dan Bernstein m...@apple.com + Removed now-unused SPI -[WKWebView _loadRequest:withOptions:]. Rubber-stamped by Anders Carlsson. Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (186778 => 186779) --- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm 2015-07-13 20:50:34 UTC (rev 186778) +++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm 2015-07-13 21:38:01 UTC (rev 186779) @@ -3182,14 +3182,20 @@ - (void)_registerPreviewInWindow:(UIWindow *)window { +#pragma clang diagnostic push +#pragma clang diagnostic ignored -Wdeprecated-declarations [window.rootViewController registerPreviewSourceView:self previewingDelegate:self]; +#pragma clang diagnostic pop _previewGestureRecognizer = self.gestureRecognizers.lastObject; [_previewGestureRecognizer setDelegate:self]; } - (void)_unregisterPreviewInWindow:(UIWindow *)window { +#pragma clang diagnostic push +#pragma clang diagnostic ignored -Wdeprecated-declarations [window.rootViewController unregisterPreviewSourceView:self]; +#pragma clang diagnostic pop [_previewGestureRecognizer setDelegate:nil]; _previewGestureRecognizer = nil; } ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186781] branches/safari-600.1.4.17-branch/Source
Title: [186781] branches/safari-600.1.4.17-branch/Source Revision 186781 Author ddkil...@apple.com Date 2015-07-13 14:48:49 -0700 (Mon, 13 Jul 2015) Log Message Merge r186530. rdar://problem/21708151 Modified Paths branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.exp.in branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.xcodeproj/project.pbxproj branches/safari-600.1.4.17-branch/Source/WebCore/loader/LoaderStrategy.cpp branches/safari-600.1.4.17-branch/Source/WebCore/loader/LoaderStrategy.h branches/safari-600.1.4.17-branch/Source/WebCore/loader/PingLoader.cpp branches/safari-600.1.4.17-branch/Source/WebCore/loader/PingLoader.h branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog branches/safari-600.1.4.17-branch/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp branches/safari-600.1.4.17-branch/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h branches/safari-600.1.4.17-branch/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h Added Paths branches/safari-600.1.4.17-branch/Source/WebCore/platform/network/PingHandle.h Diff Modified: branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog (186780 => 186781) --- branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog 2015-07-13 21:40:47 UTC (rev 186780) +++ branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog 2015-07-13 21:48:49 UTC (rev 186781) @@ -1,5 +1,49 @@ 2015-07-13 David Kilzer ddkil...@apple.com +Merge r186530. rdar://problem/21708151 + +* WebCore.exp.in: Export methods. + +2015-07-08 Brady Eidson beid...@apple.com + +Move PingLoaders to the NetworkingProcess. +rdar://problem/18860263 and https://bugs.webkit.org/show_bug.cgi?id=146710 + +Reviewed by Tim Horton. + +No new tests. +There's no current solution for communicating back to a page that a ping load has reached its target. +Until we have such a solution, any attempt at a layout test will be fragile at best. + +* WebCore.xcodeproj/project.pbxproj: + +* loader/LoaderStrategy.cpp: +(WebCore::LoaderStrategy::createPingHandle): Default implementation is create the PingHandle directly. +* loader/LoaderStrategy.h: + +PingLoader becomes a static class for now that crafts the ResourceRequest then passes it off +to the LoaderStrategy: +* loader/PingLoader.cpp: +(WebCore::PingLoader::loadImage): +(WebCore::PingLoader::sendPing): +(WebCore::PingLoader::sendViolationReport): +(WebCore::PingLoader::startPingLoad): +(WebCore::PingLoader::createPingLoader): Deleted. +(WebCore::PingLoader::PingLoader): Deleted. +(WebCore::PingLoader::~PingLoader): Deleted. +* loader/PingLoader.h: +(WebCore::PingLoader::timeoutTimerFired): Deleted. + +PingHandle does what PingLoader used to - It's a basic ResourceHandleClient that simply waits +for any response/completion/failure and then deletes itself. +* platform/network/PingHandle.h: Added. +(WebCore::PingHandle::PingHandle): +(WebCore::PingHandle::usesAsyncCallbacks): +(WebCore::PingHandle::timeoutTimerFired): +(WebCore::PingHandle::~PingHandle): + +2015-07-13 David Kilzer ddkil...@apple.com + Merge r186476. rdar://problem/21708269 * WebCore.exp.in: Add symbol to export list since WEBCORE_EXPORT Modified: branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.exp.in (186780 => 186781) --- branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.exp.in 2015-07-13 21:40:47 UTC (rev 186780) +++ branches/safari-600.1.4.17-branch/Source/WebCore/WebCore.exp.in 2015-07-13 21:48:49 UTC (rev 186781) @@ -371,6 +371,7 @@ __ZN7WebCore14FrameSelection6modifyENS0_11EAlterationENS_18SelectionDirectionENS_15TextGranularityENS_14EUserTriggeredE __ZN7WebCore14FrameSelection9selectAllEv __ZN7WebCore14FrameSelectionC1EPNS_5FrameE +__ZN7WebCore14LoaderStrategy16createPingHandleEPNS_17NetworkingContextERNS_15ResourceRequestEb __ZN7WebCore14LoaderStrategy18createBlobRegistryEv __ZN7WebCore14LoaderStrategy21resourceLoadSchedulerEv __ZN7WebCore14LoaderStrategy25loadResourceSynchronouslyEPNS_17NetworkingContextEmRKNS_15ResourceRequestENS_17StoredCredentialsENS_22ClientCredentialPolicyERNS_13ResourceErrorERNS_16ResourceResponseERN3WTF6VectorIcLm0ENSC_15CrashOnOverflowEEE @@ -868,6 +869,7 @@ __ZN7WebCore20RenderEmbeddedObject44setPluginUnavailabilityReasonWithDescriptionENS0_26PluginUnavailabilityReasonERKN3WTF6StringE __ZN7WebCore20ResourceHandleClient16didReceiveBufferEPNS_14ResourceHandleEN3WTF10PassRefPtrINS_12SharedBufferEEEi
[webkit-changes] [186782] tags/Safari-601.1.39.2/
Title: [186782] tags/Safari-601.1.39.2/ Revision 186782 Author bshaf...@apple.com Date 2015-07-13 15:05:13 -0700 (Mon, 13 Jul 2015) Log Message New tag. Added Paths tags/Safari-601.1.39.2/ Diff Property changes: tags/Safari-601.1.39.2 Added: svn:ignore depcomp compile config.guess GNUmakefile.in config.sub ltmain.sh aconfig.h.in autom4te.cache missing aclocal.m4 install-sh autotoolsconfig.h.in INSTALL README gtk-doc.make out Makefile.chromium WebKitSupportLibrary.zip WebKitBuild Added: svn:mergeinfo ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186783] tags/Safari-601.1.39.2/Source
Title: [186783] tags/Safari-601.1.39.2/Source Revision 186783 Author bshaf...@apple.com Date 2015-07-13 15:09:37 -0700 (Mon, 13 Jul 2015) Log Message Versioning. Modified Paths tags/Safari-601.1.39.2/Source/_javascript_Core/Configurations/Version.xcconfig tags/Safari-601.1.39.2/Source/WebCore/Configurations/Version.xcconfig tags/Safari-601.1.39.2/Source/WebInspectorUI/Configurations/Version.xcconfig tags/Safari-601.1.39.2/Source/WebKit/mac/Configurations/Version.xcconfig tags/Safari-601.1.39.2/Source/WebKit2/Configurations/Version.xcconfig Diff Modified: tags/Safari-601.1.39.2/Source/_javascript_Core/Configurations/Version.xcconfig (186782 => 186783) --- tags/Safari-601.1.39.2/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 22:05:13 UTC (rev 186782) +++ tags/Safari-601.1.39.2/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 22:09:37 UTC (rev 186783) @@ -24,7 +24,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; TINY_VERSION = 39; -MICRO_VERSION = 1; +MICRO_VERSION = 2; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION); Modified: tags/Safari-601.1.39.2/Source/WebCore/Configurations/Version.xcconfig (186782 => 186783) --- tags/Safari-601.1.39.2/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 22:05:13 UTC (rev 186782) +++ tags/Safari-601.1.39.2/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 22:09:37 UTC (rev 186783) @@ -24,7 +24,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; TINY_VERSION = 39; -MICRO_VERSION = 1; +MICRO_VERSION = 2; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION); Modified: tags/Safari-601.1.39.2/Source/WebInspectorUI/Configurations/Version.xcconfig (186782 => 186783) --- tags/Safari-601.1.39.2/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 22:05:13 UTC (rev 186782) +++ tags/Safari-601.1.39.2/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 22:09:37 UTC (rev 186783) @@ -1,7 +1,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; TINY_VERSION = 39; -MICRO_VERSION = 1; +MICRO_VERSION = 2; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION); Modified: tags/Safari-601.1.39.2/Source/WebKit/mac/Configurations/Version.xcconfig (186782 => 186783) --- tags/Safari-601.1.39.2/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 22:05:13 UTC (rev 186782) +++ tags/Safari-601.1.39.2/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 22:09:37 UTC (rev 186783) @@ -24,7 +24,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; TINY_VERSION = 39; -MICRO_VERSION = 1; +MICRO_VERSION = 2; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION); Modified: tags/Safari-601.1.39.2/Source/WebKit2/Configurations/Version.xcconfig (186782 => 186783) --- tags/Safari-601.1.39.2/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 22:05:13 UTC (rev 186782) +++ tags/Safari-601.1.39.2/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 22:09:37 UTC (rev 186783) @@ -24,7 +24,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; TINY_VERSION = 39; -MICRO_VERSION = 1; +MICRO_VERSION = 2; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION); ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186784] trunk/PerformanceTests
Title: [186784] trunk/PerformanceTests Revision 186784 Author fpi...@apple.com Date 2015-07-13 15:09:48 -0700 (Mon, 13 Jul 2015) Log Message Update JetStream version number to 1.1. Rubber stamped by Ryosuke Niwa. * JetStream/create.rb: Modified Paths trunk/PerformanceTests/ChangeLog trunk/PerformanceTests/JetStream/create.rb Diff Modified: trunk/PerformanceTests/ChangeLog (186783 => 186784) --- trunk/PerformanceTests/ChangeLog 2015-07-13 22:09:37 UTC (rev 186783) +++ trunk/PerformanceTests/ChangeLog 2015-07-13 22:09:48 UTC (rev 186784) @@ -1,3 +1,11 @@ +2015-07-13 Filip Pizlo fpi...@apple.com + +Update JetStream version number to 1.1. + +Rubber stamped by Ryosuke Niwa. + +* JetStream/create.rb: + 2015-06-30 Filip Pizlo fpi...@apple.com Update the JetStream documentation to reflect the recent changes Modified: trunk/PerformanceTests/JetStream/create.rb (186783 => 186784) --- trunk/PerformanceTests/JetStream/create.rb 2015-07-13 22:09:37 UTC (rev 186783) +++ trunk/PerformanceTests/JetStream/create.rb 2015-07-13 22:09:48 UTC (rev 186784) @@ -26,7 +26,7 @@ require pathname require shellwords -VERSION = 1.1-alpha4 +VERSION = 1.1 DIRECTORY_NAME = JetStream-#{VERSION} CDJS_FILES = [ ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186788] branches/safari-601.1-branch/Source
Title: [186788] branches/safari-601.1-branch/Source Revision 186788 Author bshaf...@apple.com Date 2015-07-13 15:26:47 -0700 (Mon, 13 Jul 2015) Log Message Merged r186777. rdar://problem/21789252 Modified Paths branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj Diff Modified: branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog (186787 => 186788) --- branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog 2015-07-13 22:24:28 UTC (rev 186787) +++ branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog 2015-07-13 22:26:47 UTC (rev 186788) @@ -1,3 +1,20 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/_javascript_Core.framework to +/System/Library/Frameworks/_javascript_Core.framework. + +* _javascript_Core.xcodeproj/project.pbxproj: + 2015-07-12 Babak Shafiei bshaf...@apple.com Merge r186702. Modified: branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (186787 => 186788) --- branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:24:28 UTC (rev 186787) +++ branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:26:47 UTC (rev 186788) @@ -6664,6 +6664,7 @@ 5D29D8BE0E9860B400C3D2D0 /* Check For Weak VTables and Externals */, 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */, A55DEAA416703DF7003DB841 /* Check For Inappropriate Macros in External Headers */, +1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */, ); buildRules = ( ); @@ -6778,6 +6779,20 @@ shellPath = /bin/sh; shellScript = set -e\n\nif [[ $ENABLE_FTL_JIT != \ENABLE_FTL_JIT\ ]]\nthen\nexit 0\nfi\n\nif [[ ${CONFIGURATION:=Debug} != \Production\ ]]\nthen\n# Copy the llvmForJSC library into the framework.\nditto \${BUILT_PRODUCTS_DIR}/libllvmForJSC.dylib\ \${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libllvmForJSC.dylib\\nfi\n\nif [[ $PLATFORM_NAME != \macosx\ ]]\nthen\nexit 0\nfi\n\nif [ ! -e \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\ ]\nthen\nln -fs \Versions/Current/Libraries\ \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\\nfi; }; + 1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + name = Add Symlink in /System/Library/PrivateFrameworks; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = if [[ ${PLATFORM_NAME} != \iphoneos\ ]]; then\nexit 0\nfi\n\nif [[ ! -d \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\ ]]; then\nmkdir -p \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\\nfi\n\nln -s -h -f ../Frameworks/_javascript_Core.framework \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks/_javascript_Core.framework\; + }; 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186787 => 186788) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 22:24:28 UTC (rev 186787) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 22:26:47 UTC (rev 186788) @@ -1,5 +1,22 @@ 2015-07-13 Babak Shafiei bshaf...@apple.com +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/WebKit.framework to +/System/Library/Frameworks/WebKit.framework. + +* WebKit2.xcodeproj/project.pbxproj: + +2015-07-13 Babak Shafiei bshaf...@apple.com + Merge r186770. 2015-07-13 Anders Carlsson ander...@apple.com Modified: branches/safari-601.1-branch/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (186787 => 186788) ---
[webkit-changes] [186780] trunk/Source/WebCore
Title: [186780] trunk/Source/WebCore Revision 186780 Author bfulg...@apple.com Date 2015-07-13 14:40:47 -0700 (Mon, 13 Jul 2015) Log Message Update WebCore Features.json https://bugs.webkit.org/show_bug.cgi?id=146914 Reviewed by Benjamin Poulain. * features.json: Update with notes for CSS Scroll Snap Points, Filter Effects, backdrop-filters, and initial-letter. Modified Paths trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/features.json Diff Modified: trunk/Source/WebCore/ChangeLog (186779 => 186780) --- trunk/Source/WebCore/ChangeLog 2015-07-13 21:38:01 UTC (rev 186779) +++ trunk/Source/WebCore/ChangeLog 2015-07-13 21:40:47 UTC (rev 186780) @@ -1,3 +1,13 @@ +2015-07-13 Brent Fulgham bfulg...@apple.com + +Update WebCore Features.json +https://bugs.webkit.org/show_bug.cgi?id=146914 + +Reviewed by Benjamin Poulain. + +* features.json: Update with notes for CSS Scroll Snap Points, Filter Effects, +backdrop-filters, and initial-letter. + 2015-07-13 Matthew Daiter mdai...@apple.com Change MediaPlayer Media Stream method signatures to use references Modified: trunk/Source/WebCore/features.json (186779 => 186780) --- trunk/Source/WebCore/features.json 2015-07-13 21:38:01 UTC (rev 186779) +++ trunk/Source/WebCore/features.json 2015-07-13 21:40:47 UTC (rev 186780) @@ -16,6 +16,16 @@ } }, { +name: CSS Inline Layout Module Level 3, +status: { +status: In Development, +enabled-by-default: true +}, +url: http://dev.w3.org/csswg/css-inline/, +keywords: [css inline layout, css inline, inline], +category: css +}, +{ name: CSS Media Queries Level 4, url: http://dev.w3.org/csswg/mediaqueries-4/, keywords: [css media queries, media queries], @@ -28,6 +38,21 @@ category: css }, { +name: CSS Scroll Snap Points Module Level 1, +status: { +status: In Development, +enabled-by-default: true +}, +url: http://dev.w3.org/csswg/css-snappoints/, +webkit-url: https://bugs.webkit.org/show_bug.cgi?id=134283, +keywords: [css scroll snap points, scroll snap, snap points], +category: css, +contact: { +name: Brent Fulgham, +email: bfulg...@apple.com +} +}, +{ name: CSS Selectors Level 4, url: http://dev.w3.org/csswg/selectors-4/, keywords: [css selectors, selectors], @@ -51,6 +76,12 @@ category: html }, { +name: Filter Effects Module Level 2, +url: http://dev.w3.org/fxtf/filters-2/, +keywords: [css filters, filter effects, filters], +category: css +}, +{ name: HTML5, url: https://html.spec.whatwg.org, keywords: [html, html5, html5.1], @@ -61,6 +92,16 @@ url: https://streams.spec.whatwg.org, keywords: [streams api], category: webapps +}, +{ +name: WebGL, +status: { +status: In Development, +enabled-by-default: true +}, +url: https://www.khronos.org/registry/webgl/specs/1.0/, +keywords: [webgl], +category: html } ], @@ -188,6 +229,16 @@ } }, { +name: Filter Effects backdrop-filter propery, +status: { +status: Done, +enabled-by-default: true +}, +url: http://dev.w3.org/fxtf/filters-2/#propdef-backdrop-filter, +specification: Filter Effects Module Level 2, +description: This property specifies styling for filters applied to the backdrop of an element. +}, +{ name: Force Click Events, status: { status: Prototyping, @@ -197,6 +248,16 @@ description: Provide the events necessary to handle force click events in the page, overriding the default behavior. }, { +name: Initial Letter, +status: { +status: Done, +enabled-by-default: true +}, +url: http://dev.w3.org/csswg/css-inline/#propdef-initial-letter, +specification: CSS Inline Layout Module Level 3, +description: This property specifies styling for dropped, raised, and sunken initial letters. +}, +{ name: Interaction Media Features (pointer, hover, any-pointer, any-hover), status: { status: Done, ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186785] branches/safari-600.1.4.17-branch/Source/WebKit2
Title: [186785] branches/safari-600.1.4.17-branch/Source/WebKit2 Revision 186785 Author ddkil...@apple.com Date 2015-07-13 15:16:54 -0700 (Mon, 13 Jul 2015) Log Message Merge r186531. rdar://problem/21708155 Modified Paths branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.h branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm Diff Modified: branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog (186784 => 186785) --- branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog 2015-07-13 22:09:48 UTC (rev 186784) +++ branches/safari-600.1.4.17-branch/Source/WebKit2/ChangeLog 2015-07-13 22:16:54 UTC (rev 186785) @@ -1,5 +1,34 @@ 2015-07-13 David Kilzer ddkil...@apple.com +Merge r186531. rdar://problem/21708155 + +2015-07-07 Andy Estes aes...@apple.com + +[iOS][WK2] Ignore synthetic clicks in subframes initiated on a previous page +https://bugs.webkit.org/show_bug.cgi?id=146712 + +Reviewed by Benjamin Poulain. + +r178980 fixed an issue where, if a main frame navigation occurs in response to a touch event, a synthetic click +event could fire on the navigated-to page. This change extends this fix to apply to subframes. + +* WebProcess/WebPage/WebFrame.cpp: +(WebKit::WebFrame::WebFrame): +* WebProcess/WebPage/WebFrame.h: +(WebKit::WebFrame::firstLayerTreeTransactionIDAfterDidCommitLoad): +(WebKit::WebFrame::setFirstLayerTreeTransactionIDAfterDidCommitLoad): +* WebProcess/WebPage/WebPage.cpp: +(WebKit::WebPage::didCommitLoad): Stored the next layer tree transaction ID, and called cancelPotentialTapInFrame(), for the committed frame. +* WebProcess/WebPage/WebPage.h: +* WebProcess/WebPage/ios/WebPageIOS.mm: +(WebKit::WebPage::handleTap): Determined the first post-commit layer tree transaction ID from the tap target node's frame. +(WebKit::WebPage::commitPotentialTap): Ditto. +(WebKit::WebPage::cancelPotentialTap): Called cancelPotentialTapInFrame(), passing m_mainFrame. +(WebKit::WebPage::cancelPotentialTapInFrame): Taught to only cancel a potential tap whose target node is a descendant of the given frame. +(WebKit::WebPage::updateVisibleContentRects): Updated to use the main frame's first post-commit layer tree transaction ID. + +2015-07-13 David Kilzer ddkil...@apple.com + Merge r186530. rdar://problem/21708151 2015-07-08 Brady Eidson beid...@apple.com Modified: branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp (186784 => 186785) --- branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp 2015-07-13 22:09:48 UTC (rev 186784) +++ branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp 2015-07-13 22:16:54 UTC (rev 186785) @@ -151,6 +151,9 @@ , m_frameLoaderClient(WTF::move(frameLoaderClient)) , m_loadListener(0) , m_frameID(generateFrameID()) +#if PLATFORM(IOS) +, m_firstLayerTreeTransactionIDAfterDidCommitLoad(0) +#endif { m_frameLoaderClient-setWebFrame(this); WebProcess::shared().addWebFrame(m_frameID, this); Modified: branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.h (186784 => 186785) --- branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.h 2015-07-13 22:09:48 UTC (rev 186784) +++ branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebFrame.h 2015-07-13 22:16:54 UTC (rev 186785) @@ -149,6 +149,11 @@ RetainPtrCFDataRef webArchiveData(FrameFilterFunction, void* context); #endif +#if PLATFORM(IOS) +uint64_t firstLayerTreeTransactionIDAfterDidCommitLoad() const { return m_firstLayerTreeTransactionIDAfterDidCommitLoad; } +void setFirstLayerTreeTransactionIDAfterDidCommitLoad(uint64_t transactionID) { m_firstLayerTreeTransactionIDAfterDidCommitLoad = transactionID; } +#endif + private: static PassRefPtrWebFrame create(std::unique_ptrWebFrameLoaderClient); WebFrame(std::unique_ptrWebFrameLoaderClient); @@ -163,6 +168,10 @@ LoadListener* m_loadListener; uint64_t m_frameID; + +#if PLATFORM(IOS) +uint64_t m_firstLayerTreeTransactionIDAfterDidCommitLoad; +#endif }; } // namespace WebKit Modified: branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (186784 => 186785) --- branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2015-07-13 22:09:48 UTC (rev 186784) +++ branches/safari-600.1.4.17-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2015-07-13 22:16:54 UTC (rev
[webkit-changes] [186787] tags/Safari-601.1.39.2/Source
Title: [186787] tags/Safari-601.1.39.2/Source Revision 186787 Author bshaf...@apple.com Date 2015-07-13 15:24:28 -0700 (Mon, 13 Jul 2015) Log Message Merged r186777. rdar://problem/21789252 Modified Paths tags/Safari-601.1.39.2/Source/_javascript_Core/ChangeLog tags/Safari-601.1.39.2/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj tags/Safari-601.1.39.2/Source/WebKit2/ChangeLog tags/Safari-601.1.39.2/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj Diff Modified: tags/Safari-601.1.39.2/Source/_javascript_Core/ChangeLog (186786 => 186787) --- tags/Safari-601.1.39.2/Source/_javascript_Core/ChangeLog 2015-07-13 22:24:10 UTC (rev 186786) +++ tags/Safari-601.1.39.2/Source/_javascript_Core/ChangeLog 2015-07-13 22:24:28 UTC (rev 186787) @@ -1,3 +1,20 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/_javascript_Core.framework to +/System/Library/Frameworks/_javascript_Core.framework. + +* _javascript_Core.xcodeproj/project.pbxproj: + 2015-07-10 Matthew Hanson matthew_han...@apple.com Disable non-shipping features. Modified: tags/Safari-601.1.39.2/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (186786 => 186787) --- tags/Safari-601.1.39.2/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:24:10 UTC (rev 186786) +++ tags/Safari-601.1.39.2/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2015-07-13 22:24:28 UTC (rev 186787) @@ -6654,6 +6654,7 @@ 5D29D8BE0E9860B400C3D2D0 /* Check For Weak VTables and Externals */, 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */, A55DEAA416703DF7003DB841 /* Check For Inappropriate Macros in External Headers */, +1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */, ); buildRules = ( ); @@ -6768,6 +6769,20 @@ shellPath = /bin/sh; shellScript = set -e\n\nif [[ $ENABLE_FTL_JIT != \ENABLE_FTL_JIT\ ]]\nthen\nexit 0\nfi\n\nif [[ ${CONFIGURATION:=Debug} != \Production\ ]]\nthen\n# Copy the llvmForJSC library into the framework.\nditto \${BUILT_PRODUCTS_DIR}/libllvmForJSC.dylib\ \${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libllvmForJSC.dylib\\nfi\n\nif [[ $PLATFORM_NAME != \macosx\ ]]\nthen\nexit 0\nfi\n\nif [ ! -e \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\ ]\nthen\nln -fs \Versions/Current/Libraries\ \${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries\\nfi; }; + 1A02D9A81B34A882000D1522 /* Add Symlink in /System/Library/PrivateFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + name = Add Symlink in /System/Library/PrivateFrameworks; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = if [[ ${PLATFORM_NAME} != \iphoneos\ ]]; then\nexit 0\nfi\n\nif [[ ! -d \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\ ]]; then\nmkdir -p \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks\\nfi\n\nln -s -h -f ../Frameworks/_javascript_Core.framework \${INSTALL_ROOT}/${SYSTEM_LIBRARY_DIR}/PrivateFrameworks/_javascript_Core.framework\; + }; 3713F014142905240036387F /* Check For Inappropriate Objective-C Class Names */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; Modified: tags/Safari-601.1.39.2/Source/WebKit2/ChangeLog (186786 => 186787) --- tags/Safari-601.1.39.2/Source/WebKit2/ChangeLog 2015-07-13 22:24:10 UTC (rev 186786) +++ tags/Safari-601.1.39.2/Source/WebKit2/ChangeLog 2015-07-13 22:24:28 UTC (rev 186787) @@ -1,3 +1,20 @@ +2015-07-13 Babak Shafiei bshaf...@apple.com + +Merge r186777. + +2015-07-13 Anders Carlsson ander...@apple.com + +Apps linked with a deployment target of iOS 7.x or earlier crash when using modern WebKit API +https://bugs.webkit.org/show_bug.cgi?id=146913 +rdar://problem/21789252 + +Reviewed by Dan Bernstein. + +Make a top-level symlink from /System/Library/PrivateFrameworks/WebKit.framework to +/System/Library/Frameworks/WebKit.framework. + +* WebKit2.xcodeproj/project.pbxproj: + 2015-07-12 Babak Shafiei bshaf...@apple.com Merge r186719. Modified: tags/Safari-601.1.39.2/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (186786 => 186787) --- tags/Safari-601.1.39.2/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2015-07-13 22:24:10 UTC (rev 186786) +++
[webkit-changes] [186790] branches/safari-600.1.4.17-branch/LayoutTests
Title: [186790] branches/safari-600.1.4.17-branch/LayoutTests Revision 186790 Author ddkil...@apple.com Date 2015-07-13 15:38:39 -0700 (Mon, 13 Jul 2015) Log Message Merge r186542. rdar://problem/21708151 Modified Paths branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog branches/safari-600.1.4.17-branch/LayoutTests/platform/mac-wk2/TestExpectations Diff Modified: branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog (186789 => 186790) --- branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 22:28:00 UTC (rev 186789) +++ branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 22:38:39 UTC (rev 186790) @@ -1,5 +1,20 @@ 2015-07-13 David Kilzer ddkil...@apple.com +Merge r186542. rdar://problem/21708151 + +2015-07-08 Brady Eidson beid...@apple.com + +Now that PingLoaders work in the NetworkProcess, re-enable http/tests/navigation/ping-cookie.html +https://bugs.webkit.org/show_bug.cgi?id=146747 + +Reviewed by Tim Horton. + +* platform/gtk/TestExpectations: +* platform/ios-simulator-wk2/TestExpectations: +* platform/mac-wk2/TestExpectations: + +2015-07-13 David Kilzer ddkil...@apple.com + Merge r186476. rdar://problem/21708269 2015-07-07 Brady Eidson beid...@apple.com Modified: branches/safari-600.1.4.17-branch/LayoutTests/platform/mac-wk2/TestExpectations (186789 => 186790) --- branches/safari-600.1.4.17-branch/LayoutTests/platform/mac-wk2/TestExpectations 2015-07-13 22:28:00 UTC (rev 186789) +++ branches/safari-600.1.4.17-branch/LayoutTests/platform/mac-wk2/TestExpectations 2015-07-13 22:38:39 UTC (rev 186790) @@ -655,10 +655,6 @@ # testRunner.setAlwaysAcceptCookies does not work with NetworkProcess [ Mavericks ] http/tests/cookies/third-party-cookie-relaxing.html [ Skip ] -# rdar://problem/12829991 -# PPT: PingLoader is still in WebProcess. As a result, this test fails and also fails to delete its cookie, breaking many other cookie tests. -[ Mavericks ] http/tests/navigation/ping-cookie.html [ Skip ] - # rdar://problem/13751647 PPT: Status text not passed over IPC [ Mavericks ] http/tests/xmlhttprequest/web-apps/012.html [ Failure ] [ Mavericks ] http/tests/xmlhttprequest/web-apps/013.html [ Failure ] ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186798] trunk/Source/WebCore
Title: [186798] trunk/Source/WebCore Revision 186798 Author bfulg...@apple.com Date 2015-07-13 18:11:12 -0700 (Mon, 13 Jul 2015) Log Message [Win] Update Media Player logic for new Legible Output API https://bugs.webkit.org/show_bug.cgi?id=146922 rdar://problem/20542574 Reviewed by Eric Carlson. * AVFoundationSupport.py: Check for updated AVFCF feature. * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: (WebCore::InbandTextTrackPrivateAVF::processNativeSamples): Update to call the new 'readNativeSampleBuffer' method. (WebCore::InbandTextTrackPrivateAVF::readNativeSampleBuffer): Added. This is a no-op on Windows if it has the new AVCF API. Otherwise, it contains the same implementation that has always been used in 'processNativeSamples'. * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: (WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Added. Use the new Legible Output API instead of the old CoreMedia solution if it is available. * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: (WebCore::InbandTextTrackPrivateAVCF::mediaSelectionOption): * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: (WebCore::InbandTextTrackPrivateLegacyAVCF::readNativeSampleBuffer): Add a stub implementation. * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: (WebCore::AVFWrapper::createPlayerItem): Use the new Legible Output API if it is available. Modified Paths trunk/Source/WebCore/AVFoundationSupport.py trunk/Source/WebCore/ChangeLog trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp Diff Modified: trunk/Source/WebCore/AVFoundationSupport.py (186797 => 186798) --- trunk/Source/WebCore/AVFoundationSupport.py 2015-07-14 00:10:32 UTC (rev 186797) +++ trunk/Source/WebCore/AVFoundationSupport.py 2015-07-14 01:11:12 UTC (rev 186798) @@ -57,3 +57,7 @@ regexp = re.compile(CACFLayerSetContentsScale) if fileContains(/include/QuartzCore/CACFLayer.h, regexp): print #define HAVE_CACFLAYER_SETCONTENTSSCALE 1 +if lookFor(/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h): +regexp = re.compile(kAVCFPlayerItemLegibleOutput_CallbacksVersion_2) +if fileContains(/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h, regexp): +print #define HAVE_AVCFPLAYERITEM_CALLBACK_VERSION_2 1 Modified: trunk/Source/WebCore/ChangeLog (186797 => 186798) --- trunk/Source/WebCore/ChangeLog 2015-07-14 00:10:32 UTC (rev 186797) +++ trunk/Source/WebCore/ChangeLog 2015-07-14 01:11:12 UTC (rev 186798) @@ -1,3 +1,30 @@ +2015-07-13 Brent Fulgham bfulg...@apple.com + +[Win] Update Media Player logic for new Legible Output API +https://bugs.webkit.org/show_bug.cgi?id=146922 +rdar://problem/20542574 + +Reviewed by Eric Carlson. + +* AVFoundationSupport.py: Check for updated AVFCF feature. +* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: +(WebCore::InbandTextTrackPrivateAVF::processNativeSamples): Update to call the +new 'readNativeSampleBuffer' method. +(WebCore::InbandTextTrackPrivateAVF::readNativeSampleBuffer): Added. This is a no-op +on Windows if it has the new AVCF API. Otherwise, it contains the same implementation +that has always been used in 'processNativeSamples'. +* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: +* platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: +(WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Added. Use the new +Legible Output API instead of the old CoreMedia solution if it is available. +* platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: +(WebCore::InbandTextTrackPrivateAVCF::mediaSelectionOption): +* platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: +(WebCore::InbandTextTrackPrivateLegacyAVCF::readNativeSampleBuffer): Add a stub implementation. +* platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: +* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: +(WebCore::AVFWrapper::createPlayerItem): Use the new Legible Output API if it is available. + 2015-07-13 Matt Rajca mra...@apple.com Media Session: add plumbing for delivering start/end-of-interruption events Modified: trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp (186797
[webkit-changes] [186749] branches/safari-600.1.4.17-branch
Title: [186749] branches/safari-600.1.4.17-branch Revision 186749 Author ddkil...@apple.com Date 2015-07-12 23:11:46 -0700 (Sun, 12 Jul 2015) Log Message Merge r185769. rdar://problem/21727217 Modified Paths branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog branches/safari-600.1.4.17-branch/Source/WebCore/ChangeLog branches/safari-600.1.4.17-branch/Source/WebCore/dom/ScriptElement.cpp branches/safari-600.1.4.17-branch/Source/WebCore/dom/ScriptElement.h branches/safari-600.1.4.17-branch/Source/WebCore/html/HTMLScriptElement.cpp branches/safari-600.1.4.17-branch/Source/WebCore/html/HTMLScriptElement.h branches/safari-600.1.4.17-branch/Source/WebCore/svg/SVGScriptElement.cpp branches/safari-600.1.4.17-branch/Source/WebCore/svg/SVGScriptElement.h Added Paths branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash.html branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/named-map-removed-while-inserting-parent-crash-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/named-map-removed-while-inserting-parent-crash.html branches/safari-600.1.4.17-branch/LayoutTests/fast/forms/form-control-removed-while-inserting-parent-crash-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/fast/forms/form-control-removed-while-inserting-parent-crash.html branches/safari-600.1.4.17-branch/LayoutTests/svg/dom/element-removed-while-inserting-parent-crash-expected.txt branches/safari-600.1.4.17-branch/LayoutTests/svg/dom/element-removed-while-inserting-parent-crash.html Diff Modified: branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog (186748 => 186749) --- branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 05:24:09 UTC (rev 186748) +++ branches/safari-600.1.4.17-branch/LayoutTests/ChangeLog 2015-07-13 06:11:46 UTC (rev 186749) @@ -1,5 +1,28 @@ 2015-07-12 David Kilzer ddkil...@apple.com +Merge r185769. rdar://problem/21727217 + +2015-06-19 Andy Estes aes...@apple.com + +Various assertion failures occur when executing script in the midst of DOM insertion +https://bugs.webkit.org/show_bug.cgi?id=132482 + +Reviewed by Darin Adler. + +Wrote named-map-removed-while-inserting-parent-crash.html by reducing the test case attached to bug 132482. +The remaining tests were taken from blink r132482. + +* fast/dom/element-removed-while-inserting-parent-crash-expected.txt: Added. +* fast/dom/element-removed-while-inserting-parent-crash.html: Added. +* fast/dom/named-map-removed-while-inserting-parent-crash-expected.txt: Added. +* fast/dom/named-map-removed-while-inserting-parent-crash.html: Added. +* fast/forms/form-control-removed-while-inserting-parent-crash-expected.txt: Added. +* fast/forms/form-control-removed-while-inserting-parent-crash.html: Added. +* svg/dom/element-removed-while-inserting-parent-crash-expected.txt: Added. +* svg/dom/element-removed-while-inserting-parent-crash.html: Added. + +2015-07-12 David Kilzer ddkil...@apple.com + Merge r186474. rdar://problem/21716537 2015-07-07 Zalan Bujtas za...@apple.com Added: branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash-expected.txt (0 => 186749) --- branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash-expected.txt (rev 0) +++ branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash-expected.txt 2015-07-13 06:11:46 UTC (rev 186749) @@ -0,0 +1 @@ +PASS Added: branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash.html (0 => 186749) --- branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash.html (rev 0) +++ branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/element-removed-while-inserting-parent-crash.html 2015-07-13 06:11:46 UTC (rev 186749) @@ -0,0 +1,21 @@ +!DOCTYPE html +html +body +script +if (window.testRunner) +testRunner.dumpAsText(); + +var element = document.createElement(); + +var script = document.createElement('script'); +script.textContent = 'document.currentScript.nextSibling.remove()'; + +var container = document.createElement('div'); +container.appendChild(script); +container.appendChild(element); + +document.body.appendChild(container); +document.body.innerHTML = 'PASS'; +/script +/body +/html Added: branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/named-map-removed-while-inserting-parent-crash-expected.txt (0 => 186749) --- branches/safari-600.1.4.17-branch/LayoutTests/fast/dom/named-map-removed-while-inserting-parent-crash-expected.txt (rev 0) +++
[webkit-changes] [186751] branches/safari-601.1-branch/Source/WebCore
Title: [186751] branches/safari-601.1-branch/Source/WebCore Revision 186751 Author bshaf...@apple.com Date 2015-07-12 23:45:40 -0700 (Sun, 12 Jul 2015) Log Message Merged r186683. rdar://problem/21371589 Modified Paths branches/safari-601.1-branch/Source/WebCore/ChangeLog branches/safari-601.1-branch/Source/WebCore/loader/FrameLoader.cpp branches/safari-601.1-branch/Source/WebCore/loader/HistoryController.cpp branches/safari-601.1-branch/Source/WebCore/loader/HistoryController.h Diff Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (186750 => 186751) --- branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:44:22 UTC (rev 186750) +++ branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:45:40 UTC (rev 186751) @@ -1,5 +1,37 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186683. + +2015-07-10 Brady Eidson beid...@apple.com + +Crash in HistoryController::updateForCommit dereferencing a null HistoryItem. +rdar://problem/21371589 and https://bugs.webkit.org/show_bug.cgi?id=146842 + +Reviewed by Chris Dumez. + +No new tests (Unknown how to reproduce). + +This patch basically rolls back part of http://trac.webkit.org/changeset/179472. + +r179472 changed HistoryController::setCurrentItem() to take a reference instead of a pointer. +Unfortunately, we sometimes call setCurrentItem(nullptr). + +We'd like to *not* do that, and there are assertions in place to try to catch when we do, +but in the meantime it is not valid to dereference nullptr. + +* loader/FrameLoader.cpp: +(WebCore::FrameLoader::loadSameDocumentItem): + +* loader/HistoryController.cpp: +(WebCore::HistoryController::updateForCommit): +(WebCore::HistoryController::recursiveUpdateForCommit): +(WebCore::HistoryController::recursiveUpdateForSameDocumentNavigation): +(WebCore::HistoryController::setCurrentItem): Take a ptr instead of a ref. +(WebCore::HistoryController::createItem): +* loader/HistoryController.h: + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186718. 2015-07-11 Joseph Pecoraro pecor...@apple.com Modified: branches/safari-601.1-branch/Source/WebCore/loader/FrameLoader.cpp (186750 => 186751) --- branches/safari-601.1-branch/Source/WebCore/loader/FrameLoader.cpp 2015-07-13 06:44:22 UTC (rev 186750) +++ branches/safari-601.1-branch/Source/WebCore/loader/FrameLoader.cpp 2015-07-13 06:45:40 UTC (rev 186751) @@ -3181,7 +3181,7 @@ if (FrameView* view = m_frame.view()) view-setWasScrolledByUser(false); -history().setCurrentItem(item); +history().setCurrentItem(item); // loadInSameDocument() actually changes the URL and notifies load delegates of a fake load loadInSameDocument(item.url(), item.stateObject(), false); Modified: branches/safari-601.1-branch/Source/WebCore/loader/HistoryController.cpp (186750 => 186751) --- branches/safari-601.1-branch/Source/WebCore/loader/HistoryController.cpp 2015-07-13 06:44:22 UTC (rev 186750) +++ branches/safari-601.1-branch/Source/WebCore/loader/HistoryController.cpp 2015-07-13 06:45:40 UTC (rev 186751) @@ -470,8 +470,13 @@ // the provisional item for restoring state. // Note previousItem must be set before we close the URL, which will // happen when the data source is made non-provisional below + +// FIXME: https://bugs.webkit.org/show_bug.cgi?id=146842 +// We should always have a provisional item when committing, but we sometimes don't. +// Not having one leads to us not having a m_currentItem later, which is also a terrible known issue. +// We should get to the bottom of this. ASSERT(m_provisionalItem); -setCurrentItem(*m_provisionalItem); +setCurrentItem(m_provisionalItem.get()); m_provisionalItem = nullptr; // Tell all other frames in the tree to commit their provisional items and @@ -512,7 +517,7 @@ view-setWasScrolledByUser(false); // Now commit the provisional item -setCurrentItem(*m_provisionalItem); +setCurrentItem(m_provisionalItem.get()); m_provisionalItem = nullptr; // Restore form state (works from currentItem) @@ -561,7 +566,7 @@ return; // Commit the provisional item. -setCurrentItem(*m_provisionalItem); +setCurrentItem(m_provisionalItem.get()); m_provisionalItem = nullptr; // Iterate over the rest of the tree. @@ -577,11 +582,11 @@ m_frameLoadComplete = true; } -void HistoryController::setCurrentItem(HistoryItem item) +void HistoryController::setCurrentItem(HistoryItem* item) { m_frameLoadComplete = false; m_previousItem = m_currentItem; -m_currentItem = item; +m_currentItem = item; } void
[webkit-changes] [186753] branches/safari-601.1-branch/Source/JavaScriptCore
Title: [186753] branches/safari-601.1-branch/Source/_javascript_Core Revision 186753 Author bshaf...@apple.com Date 2015-07-12 23:49:28 -0700 (Sun, 12 Jul 2015) Log Message Merged r186691. rdar://problem/21771059 Modified Paths branches/safari-601.1-branch/Source/_javascript_Core/CMakeLists.txt branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.vcxproj/_javascript_Core.vcxproj branches/safari-601.1-branch/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj branches/safari-601.1-branch/Source/_javascript_Core/bytecode/CodeBlock.cpp branches/safari-601.1-branch/Source/_javascript_Core/bytecode/CodeOrigin.cpp branches/safari-601.1-branch/Source/_javascript_Core/bytecode/Operands.h branches/safari-601.1-branch/Source/_javascript_Core/bytecode/StructureSet.cpp branches/safari-601.1-branch/Source/_javascript_Core/bytecode/StructureSet.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractValue.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractValue.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGByteCodeParser.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGCFAPhase.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGCommonData.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGCommonData.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGFrozenValue.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGGraph.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGGraph.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGInPlaceAbstractState.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGJITCode.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGJITCode.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGJITCompiler.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGJITCompiler.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGMinifiedGraph.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGOSREntry.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGOSREntry.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGPlan.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGStructureAbstractValue.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGStructureAbstractValue.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGValidate.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGValueStrength.cpp branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGValueStrength.h branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitPropertyValue.cpp branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitPropertyValue.h branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitTimeObjectMaterialization.cpp branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitTimeObjectMaterialization.h branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitValue.cpp branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLExitValue.h branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLJITCode.cpp branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLJITCode.h branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLOSRExit.cpp branches/safari-601.1-branch/Source/_javascript_Core/ftl/FTLOSRExit.h branches/safari-601.1-branch/Source/_javascript_Core/jit/JITCode.cpp branches/safari-601.1-branch/Source/_javascript_Core/jit/JITCode.h Added Paths branches/safari-601.1-branch/Source/_javascript_Core/bytecode/TrackedReferences.cpp branches/safari-601.1-branch/Source/_javascript_Core/bytecode/TrackedReferences.h branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGMinifiedGraph.cpp branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/dead-osr-entry-value.js Diff Modified: branches/safari-601.1-branch/Source/_javascript_Core/CMakeLists.txt (186752 => 186753) --- branches/safari-601.1-branch/Source/_javascript_Core/CMakeLists.txt 2015-07-13 06:47:05 UTC (rev 186752) +++ branches/safari-601.1-branch/Source/_javascript_Core/CMakeLists.txt 2015-07-13 06:49:28 UTC (rev 186753) @@ -110,6 +110,7 @@ bytecode/StructureStubClearingWatchpoint.cpp bytecode/StructureStubInfo.cpp bytecode/ToThisStatus.cpp +bytecode/TrackedReferences.cpp bytecode/UnlinkedCodeBlock.cpp bytecode/UnlinkedInstructionStream.cpp bytecode/ValueRecovery.cpp @@ -193,6 +194,7 @@ dfg/DFGLongLivedState.cpp dfg/DFGLoopPreHeaderCreationPhase.cpp dfg/DFGMayExit.cpp +dfg/DFGMinifiedGraph.cpp dfg/DFGMinifiedNode.cpp dfg/DFGMovHintRemovalPhase.cpp dfg/DFGNaiveDominators.cpp Modified: branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog (186752 => 186753) ---
[webkit-changes] [186756] branches/safari-601.1-branch/Source
Title: [186756] branches/safari-601.1-branch/Source Revision 186756 Author bshaf...@apple.com Date 2015-07-12 23:54:36 -0700 (Sun, 12 Jul 2015) Log Message Merged r186707. rdar://problem/21779205 Modified Paths branches/safari-601.1-branch/Source/WebCore/ChangeLog branches/safari-601.1-branch/Source/WebCore/page/DiagnosticLoggingClient.h branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/NetworkProcess/NetworkProcess.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.messages.in branches/safari-601.1-branch/Source/WebKit2/UIProcess/WebPageProxy.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/WebPageProxy.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/WebPageProxy.messages.in branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.cpp Diff Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (186755 => 186756) --- branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:52:30 UTC (rev 186755) +++ branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:54:36 UTC (rev 186756) @@ -1,5 +1,23 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186707. + +2015-07-10 Chris Dumez cdu...@apple.com + +[WK2] Diagnostic logging messages are causing too much IPC +https://bugs.webkit.org/show_bug.cgi?id=146873 +rdar://problem/21779205 + +Reviewed by Ryosuke Niwa. + +Move shouldLogAfterSampling() utility function to DiagnosticLoggingClient +so it can be easily reused. + +* page/DiagnosticLoggingClient.h: +(WebCore::DiagnosticLoggingClient::shouldLogAfterSampling): + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186684. 2015-07-10 Zalan Bujtas za...@apple.com Modified: branches/safari-601.1-branch/Source/WebCore/page/DiagnosticLoggingClient.h (186755 => 186756) --- branches/safari-601.1-branch/Source/WebCore/page/DiagnosticLoggingClient.h 2015-07-13 06:52:30 UTC (rev 186755) +++ branches/safari-601.1-branch/Source/WebCore/page/DiagnosticLoggingClient.h 2015-07-13 06:54:36 UTC (rev 186756) @@ -28,6 +28,7 @@ #include DiagnosticLoggingResultType.h #include wtf/Forward.h +#include wtf/RandomNumber.h namespace WebCore { @@ -41,10 +42,21 @@ virtual void mainFrameDestroyed() = 0; +static bool shouldLogAfterSampling(ShouldSample); + protected: virtual ~DiagnosticLoggingClient() { } }; +inline bool DiagnosticLoggingClient::shouldLogAfterSampling(ShouldSample shouldSample) +{ +if (shouldSample == ShouldSample::No) +return true; + +static const double selectionProbability = 0.05; +return randomNumber() = selectionProbability; } +} + #endif Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186755 => 186756) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:52:30 UTC (rev 186755) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:54:36 UTC (rev 186756) @@ -1,5 +1,46 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186707. + +2015-07-10 Chris Dumez cdu...@apple.com + +[WK2] Diagnostic logging messages are causing too much IPC +https://bugs.webkit.org/show_bug.cgi?id=146873 +rdar://problem/21779205 + +Reviewed by Ryosuke Niwa. + +Diagnostic logging messages are causing too much IPC. To address the +problem, we now do the sampling of the senders' side (WebContent +process and Networking process) instead of the receiver's side +(UIProcess). + +* NetworkProcess/NetworkProcess.cpp: +(WebKit::NetworkProcess::logDiagnosticMessage): +(WebKit::NetworkProcess::logDiagnosticMessageWithResult): +(WebKit::NetworkProcess::logDiagnosticMessageWithValue): +* UIProcess/Network/NetworkProcessProxy.cpp: +(WebKit::NetworkProcessProxy::logSampledDiagnosticMessage): +(WebKit::NetworkProcessProxy::logSampledDiagnosticMessageWithResult): +(WebKit::NetworkProcessProxy::logSampledDiagnosticMessageWithValue): +* UIProcess/Network/NetworkProcessProxy.h: +* UIProcess/Network/NetworkProcessProxy.messages.in: +* UIProcess/WebPageProxy.cpp: +(WebKit::WebPageProxy::logDiagnosticMessage): +(WebKit::WebPageProxy::logDiagnosticMessageWithResult): +(WebKit::WebPageProxy::logDiagnosticMessageWithValue): +(WebKit::WebPageProxy::logSampledDiagnosticMessage): +(WebKit::WebPageProxy::logSampledDiagnosticMessageWithResult): +
[webkit-changes] [186758] branches/safari-601.1-branch
Title: [186758] branches/safari-601.1-branch Revision 186758 Author bshaf...@apple.com Date 2015-07-12 23:59:01 -0700 (Sun, 12 Jul 2015) Log Message Merged r186741. rdar://problem/21051187 Modified Paths branches/safari-601.1-branch/LayoutTests/ChangeLog branches/safari-601.1-branch/Source/WebCore/ChangeLog branches/safari-601.1-branch/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm Added Paths branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access.html Diff Modified: branches/safari-601.1-branch/LayoutTests/ChangeLog (186757 => 186758) --- branches/safari-601.1-branch/LayoutTests/ChangeLog 2015-07-13 06:56:28 UTC (rev 186757) +++ branches/safari-601.1-branch/LayoutTests/ChangeLog 2015-07-13 06:59:01 UTC (rev 186758) @@ -1,3 +1,17 @@ +2015-07-12 Babak Shafiei bshaf...@apple.com + +Merge r186741. + +2015-07-12 Chris Fleizach cfleiz...@apple.com + +AX: WEB: VoiceOver for iOS does not read iframe elements during linear (swipe) navigation. +https://bugs.webkit.org/show_bug.cgi?id=146861 + +Reviewed by Darin Adler. + +* platform/ios-simulator/accessibility/iframe-access-expected.txt: Added. +* platform/ios-simulator/accessibility/iframe-access.html: Added. + 2015-07-10 Hunseop Jeong hs85.je...@samsung.com Fix typo in LayoutTests/platform/wk2/TestExpectation. Copied: branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt (from rev 186741, trunk/LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt) (0 => 186758) --- branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt (rev 0) +++ branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access-expected.txt 2015-07-13 06:59:01 UTC (rev 186758) @@ -0,0 +1,18 @@ + +This makes sure that an iframe is accessible on iOS + +On success, you will see a series of PASS messages, followed by TEST COMPLETE. + + +AXIdentifier: content +AXIdentifier: iframe +AXIdentifier: +AXIdentifier: +AXIdentifier: +AXIdentifier: frame-button +AXIdentifier: frame-link +AXIdentifier: +PASS successfullyParsed is true + +TEST COMPLETE + Copied: branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access.html (from rev 186741, trunk/LayoutTests/platform/ios-simulator/accessibility/iframe-access.html) (0 => 186758) --- branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access.html (rev 0) +++ branches/safari-601.1-branch/LayoutTests/platform/ios-simulator/accessibility/iframe-access.html 2015-07-13 06:59:01 UTC (rev 186758) @@ -0,0 +1,52 @@ +!DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN +html +head +script src="" +script +var successfullyParsed = false; +/script +/head +body id=body + +div id=content +iframe id=iframe _onload_=startTest(); src="" id='frame-button'Click me/buttona href='' id='frame-link'a/a/body/iframe +/div + +p id=description/p +div id=console/div + +script + +description(This makes sure that an iframe is accessible on iOS); + +function dumpAccessibilityChildren(element, level) { +if (!element) { +return; +} +var indent = ; +for (var k = 0; k level; k++) { indent += ; } +debug(indent + element.identifier); +var childrenCount = element.childrenCount; +for (var k = 0; k childrenCount; k++) { +dumpAccessibilityChildren(element.childAtIndex(k), level+1); +} +} + +window.jsTestIsAsync = true; +function startTest() { + +if (window.accessibilityController) { +// Dump the tree to confirm that the items inside the frame can be accessed. +var content = accessibilityController.accessibleElementById(content); +dumpAccessibilityChildren(content); +finishJSTest(); +} +} + +successfullyParsed = true; +/script + +script src="" +/body +/html + Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (186757 => 186758) --- branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:56:28 UTC (rev 186757) +++ branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:59:01 UTC (rev 186758) @@ -1,5 +1,23 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186741. + +2015-07-12 Chris Fleizach cfleiz...@apple.com + +AX: WEB: VoiceOver for iOS does not read iframe elements during linear (swipe) navigation. +https://bugs.webkit.org/show_bug.cgi?id=146861 + +Reviewed by Darin Adler. + +AttachmentViews exist only on WK1 so we need account for both platforms. + +Test:
[webkit-changes] [186759] tags/Safari-601.1.40/
Title: [186759] tags/Safari-601.1.40/ Revision 186759 Author bshaf...@apple.com Date 2015-07-13 00:11:20 -0700 (Mon, 13 Jul 2015) Log Message New tag. Added Paths tags/Safari-601.1.40/ Diff Property changes: tags/Safari-601.1.40 Added: svn:ignore depcomp compile config.guess GNUmakefile.in config.sub ltmain.sh aconfig.h.in autom4te.cache missing aclocal.m4 install-sh autotoolsconfig.h.in INSTALL README gtk-doc.make out Makefile.chromium WebKitSupportLibrary.zip WebKitBuild Added: svn:mergeinfo ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186760] branches/safari-601.1-branch/Source
Title: [186760] branches/safari-601.1-branch/Source Revision 186760 Author bshaf...@apple.com Date 2015-07-13 00:13:31 -0700 (Mon, 13 Jul 2015) Log Message Versioning. Modified Paths branches/safari-601.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig branches/safari-601.1-branch/Source/WebCore/Configurations/Version.xcconfig branches/safari-601.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig branches/safari-601.1-branch/Source/WebKit/mac/Configurations/Version.xcconfig branches/safari-601.1-branch/Source/WebKit2/Configurations/Version.xcconfig Diff Modified: branches/safari-601.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig (186759 => 186760) --- branches/safari-601.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 07:11:20 UTC (rev 186759) +++ branches/safari-601.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig 2015-07-13 07:13:31 UTC (rev 186760) @@ -23,7 +23,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; -TINY_VERSION = 40; +TINY_VERSION = 41; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); Modified: branches/safari-601.1-branch/Source/WebCore/Configurations/Version.xcconfig (186759 => 186760) --- branches/safari-601.1-branch/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 07:11:20 UTC (rev 186759) +++ branches/safari-601.1-branch/Source/WebCore/Configurations/Version.xcconfig 2015-07-13 07:13:31 UTC (rev 186760) @@ -23,7 +23,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; -TINY_VERSION = 40; +TINY_VERSION = 41; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); Modified: branches/safari-601.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig (186759 => 186760) --- branches/safari-601.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 07:11:20 UTC (rev 186759) +++ branches/safari-601.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig 2015-07-13 07:13:31 UTC (rev 186760) @@ -1,6 +1,6 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; -TINY_VERSION = 40; +TINY_VERSION = 41; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); Modified: branches/safari-601.1-branch/Source/WebKit/mac/Configurations/Version.xcconfig (186759 => 186760) --- branches/safari-601.1-branch/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 07:11:20 UTC (rev 186759) +++ branches/safari-601.1-branch/Source/WebKit/mac/Configurations/Version.xcconfig 2015-07-13 07:13:31 UTC (rev 186760) @@ -23,7 +23,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; -TINY_VERSION = 40; +TINY_VERSION = 41; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); Modified: branches/safari-601.1-branch/Source/WebKit2/Configurations/Version.xcconfig (186759 => 186760) --- branches/safari-601.1-branch/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 07:11:20 UTC (rev 186759) +++ branches/safari-601.1-branch/Source/WebKit2/Configurations/Version.xcconfig 2015-07-13 07:13:31 UTC (rev 186760) @@ -23,7 +23,7 @@ MAJOR_VERSION = 601; MINOR_VERSION = 1; -TINY_VERSION = 40; +TINY_VERSION = 41; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186750] branches/safari-601.1-branch/Source/WebKit2
Title: [186750] branches/safari-601.1-branch/Source/WebKit2 Revision 186750 Author bshaf...@apple.com Date 2015-07-12 23:44:22 -0700 (Sun, 12 Jul 2015) Log Message Merged r186678. rdar://problem/21251875 Modified Paths branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm Diff Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186749 => 186750) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:11:46 UTC (rev 186749) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:44:22 UTC (rev 186750) @@ -1,5 +1,22 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186678. + +2015-07-09 Jon Honeycutt jhoneyc...@apple.com + +[iOS] Document picker has overlapping icons on iPad +https://bugs.webkit.org/show_bug.cgi?id=146808 +rdar://problem/21251875 + +Reviewed by Sam Weinig. + +* UIProcess/ios/forms/WKFileUploadPanel.mm: +(-[WKFileUploadPanel documentMenu:didPickDocumentPicker:]): +Don't show this UI as a popover on iPad; the default is a full screen +form sheet. + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186719. 2015-07-11 Joseph Pecoraro pecor...@apple.com Modified: branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm (186749 => 186750) --- branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm 2015-07-13 06:11:46 UTC (rev 186749) +++ branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm 2015-07-13 06:44:22 UTC (rev 186750) @@ -603,9 +603,7 @@ - (void)documentMenu:(UIDocumentMenuViewController *)documentMenu didPickDocumentPicker:(UIDocumentPickerViewController *)documentPicker { documentPicker.delegate = self; -documentPicker.modalPresentationStyle = UIModalPresentationFullScreen; - -[self _presentForCurrentInterfaceIdiom:documentPicker]; +[self _presentFullscreenViewController:documentPicker animated:YES]; } - (void)documentMenuWasCancelled:(UIDocumentMenuViewController *)documentMenu ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186752] branches/safari-601.1-branch/Source
Title: [186752] branches/safari-601.1-branch/Source Revision 186752 Author bshaf...@apple.com Date 2015-07-12 23:47:05 -0700 (Sun, 12 Jul 2015) Log Message Merged r186684. rdar://problem/21501819 Modified Paths branches/safari-601.1-branch/Source/WebCore/ChangeLog branches/safari-601.1-branch/Source/WebCore/page/Frame.cpp branches/safari-601.1-branch/Source/WebCore/page/Frame.h branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm Diff Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (186751 => 186752) --- branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:45:40 UTC (rev 186751) +++ branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:47:05 UTC (rev 186752) @@ -1,5 +1,25 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186684. + +2015-07-10 Zalan Bujtas za...@apple.com + +Crash at WebCore::WebPage::innerFrameQuad. +https://bugs.webkit.org/show_bug.cgi?id=146843 +rdar://problem/21501819 + +Reviewed by Andreas Kling. + +We may end up with a null rootEditableElement() after calling Document::updateLayout(). + +Speculative fix. Not reproducible. + +* page/Frame.cpp: Some const cleanup. +(WebCore::Frame::visiblePositionForPoint): +* page/Frame.h: + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186683. 2015-07-10 Brady Eidson beid...@apple.com Modified: branches/safari-601.1-branch/Source/WebCore/page/Frame.cpp (186751 => 186752) --- branches/safari-601.1-branch/Source/WebCore/page/Frame.cpp 2015-07-13 06:45:40 UTC (rev 186751) +++ branches/safari-601.1-branch/Source/WebCore/page/Frame.cpp 2015-07-13 06:47:05 UTC (rev 186752) @@ -816,7 +816,7 @@ return document() ? document()-displayStringModifiedByEncoding(str) : str; } -VisiblePosition Frame::visiblePositionForPoint(const IntPoint framePoint) +VisiblePosition Frame::visiblePositionForPoint(const IntPoint framePoint) const { HitTestResult result = eventHandler().hitTestResultAtPoint(framePoint, HitTestRequest::ReadOnly | HitTestRequest::Active); Node* node = result.innerNonSharedNode(); Modified: branches/safari-601.1-branch/Source/WebCore/page/Frame.h (186751 => 186752) --- branches/safari-601.1-branch/Source/WebCore/page/Frame.h 2015-07-13 06:45:40 UTC (rev 186751) +++ branches/safari-601.1-branch/Source/WebCore/page/Frame.h 2015-07-13 06:47:05 UTC (rev 186752) @@ -223,7 +223,7 @@ WEBCORE_EXPORT String displayStringModifiedByEncoding(const String) const; -WEBCORE_EXPORT VisiblePosition visiblePositionForPoint(const IntPoint framePoint); +WEBCORE_EXPORT VisiblePosition visiblePositionForPoint(const IntPoint framePoint) const; Document* documentAtPoint(const IntPoint windowPoint); WEBCORE_EXPORT RefPtrRange rangeForPoint(const IntPoint framePoint); Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186751 => 186752) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:45:40 UTC (rev 186751) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:47:05 UTC (rev 186752) @@ -1,5 +1,33 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186684. + +2015-07-10 Zalan Bujtas za...@apple.com + +Crash at WebCore::WebPage::innerFrameQuad. +https://bugs.webkit.org/show_bug.cgi?id=146843 +rdar://problem/21501819 + +Reviewed by Andreas Kling. + +We may end up with a null rootEditableElement() after calling Document::updateLayout(). + +Speculative fix. Not reproducible. + +* WebProcess/WebPage/WebPage.h: Some const cleanup. +* WebProcess/WebPage/ios/WebPageIOS.mm: +(WebKit::innerFrameQuad): null check assistedNode.rootEditableElement() +(WebKit::constrainPoint): +(WebKit::WebPage::selectWithGesture): +(WebKit::WebPage::visiblePositionInFocusedNodeForPoint): +(WebKit::WebPage::selectPositionAtPoint): +(WebKit::WebPage::selectPositionAtBoundaryWithDirection): +(WebKit::WebPage::selectTextWithGranularityAtPoint): +(WebKit::WebPage::updateSelectionWithExtentPoint): +(WebKit::WebPage::getPositionInformation): + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186678. 2015-07-09 Jon Honeycutt jhoneyc...@apple.com Modified: branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h (186751 => 186752) --- branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h 2015-07-13 06:45:40 UTC (rev 186751) +++ branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h 2015-07-13 06:47:05 UTC (rev
[webkit-changes] [186754] branches/safari-601.1-branch/Source/JavaScriptCore
Title: [186754] branches/safari-601.1-branch/Source/_javascript_Core Revision 186754 Author bshaf...@apple.com Date 2015-07-12 23:50:43 -0700 (Sun, 12 Jul 2015) Log Message Merged r186702. rdar://problem/21736607 Modified Paths branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h Added Paths branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/misc-is-object-or-null.js branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/other-is-object-or-null.js Diff Modified: branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog (186753 => 186754) --- branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog 2015-07-13 06:49:28 UTC (rev 186753) +++ branches/safari-601.1-branch/Source/_javascript_Core/ChangeLog 2015-07-13 06:50:43 UTC (rev 186754) @@ -1,5 +1,23 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186702. + +2015-07-10 Filip Pizlo fpi...@apple.com + +AI folding of IsObjectOrNull is broken for non-object types that may be null +https://bugs.webkit.org/show_bug.cgi?id=146867 + +Reviewed by Ryosuke Niwa. + +* dfg/DFGAbstractInterpreterInlines.h: +(JSC::DFG::AbstractInterpreterAbstractStateType::executeEffects): Fix the bug and add some text describing what is going on. +* tests/stress/misc-is-object-or-null.js: Added. Test for the bug. +(foo): +* tests/stress/other-is-object-or-null.js: Added. Test for a bug I almost introduced. +(foo): + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186691. 2015-07-04 Filip Pizlo fpi...@apple.com Modified: branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h (186753 => 186754) --- branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h 2015-07-13 06:49:28 UTC (rev 186753) +++ branches/safari-601.1-branch/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h 2015-07-13 06:50:43 UTC (rev 186754) @@ -961,6 +961,10 @@ break; } +// FIXME: This code should really use AbstractValue::isType() and +// AbstractValue::couldBeType(). +// https://bugs.webkit.org/show_bug.cgi?id=146870 + bool constantWasSet = false; switch (node-op()) { case IsUndefined: @@ -1034,13 +1038,28 @@ // FIXME: Use the masquerades-as-undefined watchpoint thingy. // https://bugs.webkit.org/show_bug.cgi?id=144456 +// These expressions are complicated to parse. A helpful way to parse this is that +// !(T ~S) means T is a subset of S. Conversely, !(T S) means T is a +// disjoint set from S. Things like T - S means that, provided that S is a +// subset of T, it's the set of all things in T but not in S. Things like T | S +// mean the union of T and S. + +// Is the child's type an object that isn't an other-object (i.e. object that could +// have masquaredes-as-undefined traps) and isn't a function? Then: we should fold +// this to true. if (!(child.m_type ~(SpecObject - SpecObjectOther - SpecFunction))) { setConstant(node, jsBoolean(true)); constantWasSet = true; break; } -if (!(child.m_type (SpecObject - SpecFunction))) { +// Is the child's type definitely not either of: an object that isn't a function, +// or either undefined or null? Then: we should fold this to false. This means +// for example that if it's any non-function object, including those that have +// masquerades-as-undefined traps, then we don't fold. It also means we won't fold +// if it's undefined-or-null, since the type bits don't distinguish between +// undefined (which should fold to false) and null (which should fold to true). +if (!(child.m_type ((SpecObject - SpecFunction) | SpecOther))) { setConstant(node, jsBoolean(false)); constantWasSet = true; break; Copied: branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/misc-is-object-or-null.js (from rev 186702, trunk/Source/_javascript_Core/tests/stress/misc-is-object-or-null.js) (0 => 186754) --- branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/misc-is-object-or-null.js (rev 0) +++ branches/safari-601.1-branch/Source/_javascript_Core/tests/stress/misc-is-object-or-null.js 2015-07-13 06:50:43 UTC (rev 186754) @@ -0,0 +1,13 @@ +function foo(p) { +var x = p ? null : false; +return (typeof x) == object; +} + +noInline(foo); + +for (var i = 0; i 1; ++i) { +
[webkit-changes] [186755] branches/safari-601.1-branch/Source/WebKit2
Title: [186755] branches/safari-601.1-branch/Source/WebKit2 Revision 186755 Author bshaf...@apple.com Date 2015-07-12 23:52:30 -0700 (Sun, 12 Jul 2015) Log Message Merged r186703. rdar://problem/21555051 Modified Paths branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm Diff Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186754 => 186755) --- branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:50:43 UTC (rev 186754) +++ branches/safari-601.1-branch/Source/WebKit2/ChangeLog 2015-07-13 06:52:30 UTC (rev 186755) @@ -1,5 +1,25 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186703. + +2015-07-10 Dean Jackson d...@apple.com + +Airplay button and placeholder are missing in inline controls +https://bugs.webkit.org/show_bug.cgi?id=146869 +rdar://problem/21555051 + +Reviewed by Simon Fraser. + +Fix a typo in the ENABLE that was causing the Airplay +setting (allowsAirPlayForMediaPlayback, which becomes +webkitWirelessVideoPlaybackDisabled) to default to false. + +* UIProcess/API/Cocoa/WKWebViewConfiguration.mm: +(-[WKWebViewConfiguration init]): Change WIRELESS_TARGET_PLAYBACK +to WIRELESS_PLAYBACK_TARGET. + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186684. 2015-07-10 Zalan Bujtas za...@apple.com Modified: branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (186754 => 186755) --- branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm 2015-07-13 06:50:43 UTC (rev 186754) +++ branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm 2015-07-13 06:52:30 UTC (rev 186755) @@ -107,7 +107,7 @@ _allowsPictureInPictureMediaPlayback = YES; #endif -#if ENABLE(WIRELESS_TARGET_PLAYBACK) +#if ENABLE(WIRELESS_PLAYBACK_TARGET) _allowsAirPlayForMediaPlayback = YES; #endif ___ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes
[webkit-changes] [186757] branches/safari-601.1-branch/Source
Title: [186757] branches/safari-601.1-branch/Source Revision 186757 Author bshaf...@apple.com Date 2015-07-12 23:56:28 -0700 (Sun, 12 Jul 2015) Log Message Merged r186712. rdar://problem/20483550 Modified Paths branches/safari-601.1-branch/Source/WebCore/ChangeLog branches/safari-601.1-branch/Source/WebCore/platform/ios/ScrollViewIOS.mm branches/safari-601.1-branch/Source/WebKit2/ChangeLog branches/safari-601.1-branch/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h branches/safari-601.1-branch/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewInternal.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/PageClient.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/WebPageProxy.cpp branches/safari-601.1-branch/Source/WebKit2/UIProcess/WebPageProxy.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/PageClientImplIOS.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/PageClientImplIOS.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/WKContentView.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/mac/PageClientImpl.h branches/safari-601.1-branch/Source/WebKit2/UIProcess/mac/PageClientImpl.mm branches/safari-601.1-branch/Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm branches/safari-601.1-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp Diff Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (186756 => 186757) --- branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:54:36 UTC (rev 186756) +++ branches/safari-601.1-branch/Source/WebCore/ChangeLog 2015-07-13 06:56:28 UTC (rev 186757) @@ -1,5 +1,41 @@ 2015-07-12 Babak Shafiei bshaf...@apple.com +Merge r186712. + +2015-07-10 Simon Fraser simon.fra...@apple.com + +[iOS WK2] Scrolling issues on horizontally scrollable RTL pages +https://bugs.webkit.org/show_bug.cgi?id=146872 +rdar://problem/7569416 + +Reviewed by Sam Weinig. + +Horizontally scrollable RTL pages in WebKit2 had a variety of issues: they had +a gap down the right edge, and unreachable content on the left side, focussing +form fields scrolled to the wrong location, and programmatic scrolls scrolled +to the wrong place. + +Fix by plumbing the WebCore notion of scrollOrigin through to the UI process, +and using it in various places. There are three main aspects to the patch: + +1. scroll origin is included in RemoteLayerTreeTransaction, and plumbed through + to -[WKWebView _scrollToContentOffset:] for correct programmatic scrolling, + including zooming to focussed form elements. +2. WebPageProxy::computeCustomFixedPositionRect() uses the actual documentRect() + rather than just conjuring up a rect with a zero origin, which makes position:fixed + work correctly. +3. _interactionViewsContainerView (which hosts tap highlights) is positioned to + coincide with the origin of the documentRect (i.e. at the scroll origin, which + may not be top-left). This allows tap highlights to show in the correct location. +4. ScrollView::unobscuredContentRect() is fixed to take scroll origin into account; + if the returned rect is wrong, RenderLayer::hitTest() incorrectly clips the hit + testing area. + +* platform/ios/ScrollViewIOS.mm: +(WebCore::ScrollView::unobscuredContentRect): + +2015-07-12 Babak Shafiei bshaf...@apple.com + Merge r186707. 2015-07-10 Chris Dumez cdu...@apple.com Modified: branches/safari-601.1-branch/Source/WebCore/platform/ios/ScrollViewIOS.mm (186756 => 186757) --- branches/safari-601.1-branch/Source/WebCore/platform/ios/ScrollViewIOS.mm 2015-07-13 06:54:36 UTC (rev 186756) +++ branches/safari-601.1-branch/Source/WebCore/platform/ios/ScrollViewIOS.mm 2015-07-13 06:56:28 UTC (rev 186757) @@ -108,7 +108,7 @@ } if (!m_unobscuredContentSize.isEmpty()) -return IntRect(IntPoint(m_scrollOffset), roundedIntSize(m_unobscuredContentSize)); +return IntRect(scrollOrigin() + m_scrollOffset, roundedIntSize(m_unobscuredContentSize)); return unobscuredContentRectInternal(); } Modified: branches/safari-601.1-branch/Source/WebKit2/ChangeLog (186756 => 186757) ---
[webkit-changes] [186761] trunk/Source/WebKit2
Title: [186761] trunk/Source/WebKit2 Revision 186761 Author carlo...@webkit.org Date 2015-07-13 00:44:18 -0700 (Mon, 13 Jul 2015) Log Message [GTK] Contents not correctly laid out when the web view is not realized https://bugs.webkit.org/show_bug.cgi?id=142532 Reviewed by Darin Adler. The problem is that we are not reporting any size until the web view is realized, so any web view loaded in a separate tab in the browser, will report 0x0 as the window.innerWidth, window.innerHeight until the view is realized. Websites that use the window.innerWidth/innerHeight during the page load to decide how to lay out the contents will be rendered wrongly. I haven't been able to reproduce this with unit tests, as this requires the particular case of same window but different web views using tabs for example. * UIProcess/API/gtk/PageClientImpl.cpp: (WebKit::PageClientImpl::viewSize): Always report the drawing area size to make usre it's in sync with the WebProcess page size. * UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkitWebViewBaseSizeAllocate): Remove the optimization of only report the size when it has changed, since both the redirected window and the drawing area already do that check. Also remove the optimization of waiting until the view is mapped to report its size, since that's often too late for websites using the window size during load. (webkitWebViewBaseMap): Never report size on map, it should have already been reported by size-allocate. Modified Paths trunk/Source/WebKit2/ChangeLog trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp Diff Modified: trunk/Source/WebKit2/ChangeLog (186760 => 186761) --- trunk/Source/WebKit2/ChangeLog 2015-07-13 07:13:31 UTC (rev 186760) +++ trunk/Source/WebKit2/ChangeLog 2015-07-13 07:44:18 UTC (rev 186761) @@ -1,3 +1,33 @@ +2015-07-13 Carlos Garcia Campos cgar...@igalia.com + +[GTK] Contents not correctly laid out when the web view is not realized +https://bugs.webkit.org/show_bug.cgi?id=142532 + +Reviewed by Darin Adler. + +The problem is that we are not reporting any size until the web +view is realized, so any web view loaded in a separate tab in the +browser, will report 0x0 as the window.innerWidth, +window.innerHeight until the view is realized. Websites that use +the window.innerWidth/innerHeight during the page load to decide +how to lay out the contents will be rendered wrongly. +I haven't been able to reproduce this with unit tests, as this +requires the particular case of same window but different web +views using tabs for example. + +* UIProcess/API/gtk/PageClientImpl.cpp: +(WebKit::PageClientImpl::viewSize): Always report the drawing area +size to make usre it's in sync with the WebProcess page size. +* UIProcess/API/gtk/WebKitWebViewBase.cpp: +(webkitWebViewBaseSizeAllocate): Remove the optimization of only +report the size when it has changed, since both the redirected +window and the drawing area already do that check. Also remove the +optimization of waiting until the view is mapped to report its +size, since that's often too late for websites using the window +size during load. +(webkitWebViewBaseMap): Never report size on map, it should have +already been reported by size-allocate. + 2015-07-11 Nikita Vasilyev nvasil...@apple.com Web Inspector: Inspector should be able to be docked to the bottom of a narrow window Modified: trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp (186760 => 186761) --- trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp 2015-07-13 07:13:31 UTC (rev 186760) +++ trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp 2015-07-13 07:44:18 UTC (rev 186761) @@ -84,11 +84,8 @@ WebCore::IntSize PageClientImpl::viewSize() { -if (!gtk_widget_get_realized(m_viewWidget)) -return IntSize(); -GtkAllocation allocation; -gtk_widget_get_allocation(m_viewWidget, allocation); -return IntSize(allocation.width, allocation.height); +auto* drawingArea = static_castDrawingAreaProxyImpl*(webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(m_viewWidget))-drawingArea()); +return drawingArea ? drawingArea-size() : IntSize(); } bool PageClientImpl::isViewWindowActive() Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp (186760 => 186761) --- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp 2015-07-13 07:13:31 UTC (rev 186760) +++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp 2015-07-13 07:44:18 UTC (rev 186761) @@ -155,7 +155,6 @@ CString tooltipText; IntRect tooltipArea; GRefPtrAtkObject accessible; -bool needsResizeOnMap; GtkWidget* authenticationDialog; GtkWidget* inspectorView; AttachmentSide inspectorAttachmentSide; @@ -551,8