[webkit-changes] [220579] trunk/Source

2017-08-10 Thread mark . lam
Title: [220579] trunk/Source








Revision 220579
Author mark@apple.com
Date 2017-08-10 22:31:32 -0700 (Thu, 10 Aug 2017)


Log Message
Make the MASM_PROBE mechanism mandatory for DFG and FTL builds.
https://bugs.webkit.org/show_bug.cgi?id=175446


Reviewed by Saam Barati.

Source/_javascript_Core:

* assembler/AbstractMacroAssembler.h:
* assembler/MacroAssembler.cpp:
(JSC::MacroAssembler::probe):
* assembler/MacroAssembler.h:
* assembler/MacroAssemblerARM.cpp:
(JSC::MacroAssembler::probe):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::trustedImm32FromPtr):
* assembler/MacroAssemblerARM64.cpp:
(JSC::MacroAssembler::probe):
* assembler/MacroAssemblerARMv7.cpp:
(JSC::MacroAssembler::probe):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::trustedImm32FromPtr):
* assembler/MacroAssemblerPrinter.cpp:
* assembler/MacroAssemblerPrinter.h:
* assembler/MacroAssemblerX86Common.cpp:
* assembler/testmasm.cpp:
(JSC::isSpecialGPR):
(JSC::testProbeModifiesProgramCounter):
(JSC::run):
* b3/B3LowerToAir.cpp:
(JSC::B3::Air::LowerToAir::print):
* b3/air/AirPrintSpecial.cpp:
* b3/air/AirPrintSpecial.h:

Source/WTF:

This is needed in order to support https://bugs.webkit.org/show_bug.cgi?id=174645.
One consequence of this is that the DFG will now be disabled for the MIPS and
Windows ports. See:
https://bugs.webkit.org/show_bug.cgi?id=175447
https://bugs.webkit.org/show_bug.cgi?id=175449

Also, we should only ENABLE_SIGNAL_BASED_VM_TRAPS if the DFG is enabled.  It was
never meaningful to use SIGNAL_BASED_VM_TRAPS with the baseline JIT anyway.  This
is a mis-configuration error that is now fixed.

* wtf/Platform.h:

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/assembler/AbstractMacroAssembler.h
trunk/Source/_javascript_Core/assembler/MacroAssembler.cpp
trunk/Source/_javascript_Core/assembler/MacroAssembler.h
trunk/Source/_javascript_Core/assembler/MacroAssemblerARM.cpp
trunk/Source/_javascript_Core/assembler/MacroAssemblerARM.h
trunk/Source/_javascript_Core/assembler/MacroAssemblerARM64.cpp
trunk/Source/_javascript_Core/assembler/MacroAssemblerARMv7.cpp
trunk/Source/_javascript_Core/assembler/MacroAssemblerARMv7.h
trunk/Source/_javascript_Core/assembler/MacroAssemblerPrinter.cpp
trunk/Source/_javascript_Core/assembler/MacroAssemblerPrinter.h
trunk/Source/_javascript_Core/assembler/MacroAssemblerX86Common.cpp
trunk/Source/_javascript_Core/assembler/testmasm.cpp
trunk/Source/_javascript_Core/b3/B3LowerToAir.cpp
trunk/Source/_javascript_Core/b3/air/AirPrintSpecial.cpp
trunk/Source/_javascript_Core/b3/air/AirPrintSpecial.h
trunk/Source/WTF/ChangeLog
trunk/Source/WTF/wtf/Platform.h




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (220578 => 220579)

--- trunk/Source/_javascript_Core/ChangeLog	2017-08-11 04:47:06 UTC (rev 220578)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-08-11 05:31:32 UTC (rev 220579)
@@ -1,5 +1,39 @@
 2017-08-10  Mark Lam  
 
+Make the MASM_PROBE mechanism mandatory for DFG and FTL builds.
+https://bugs.webkit.org/show_bug.cgi?id=175446
+
+
+Reviewed by Saam Barati.
+
+* assembler/AbstractMacroAssembler.h:
+* assembler/MacroAssembler.cpp:
+(JSC::MacroAssembler::probe):
+* assembler/MacroAssembler.h:
+* assembler/MacroAssemblerARM.cpp:
+(JSC::MacroAssembler::probe):
+* assembler/MacroAssemblerARM.h:
+(JSC::MacroAssemblerARM::trustedImm32FromPtr):
+* assembler/MacroAssemblerARM64.cpp:
+(JSC::MacroAssembler::probe):
+* assembler/MacroAssemblerARMv7.cpp:
+(JSC::MacroAssembler::probe):
+* assembler/MacroAssemblerARMv7.h:
+(JSC::MacroAssemblerARMv7::trustedImm32FromPtr):
+* assembler/MacroAssemblerPrinter.cpp:
+* assembler/MacroAssemblerPrinter.h:
+* assembler/MacroAssemblerX86Common.cpp:
+* assembler/testmasm.cpp:
+(JSC::isSpecialGPR):
+(JSC::testProbeModifiesProgramCounter):
+(JSC::run):
+* b3/B3LowerToAir.cpp:
+(JSC::B3::Air::LowerToAir::print):
+* b3/air/AirPrintSpecial.cpp:
+* b3/air/AirPrintSpecial.h:
+
+2017-08-10  Mark Lam  
+
 Apply the UNLIKELY macro to some unlikely things.
 https://bugs.webkit.org/show_bug.cgi?id=175440
 


Modified: trunk/Source/_javascript_Core/assembler/AbstractMacroAssembler.h (220578 => 220579)

--- trunk/Source/_javascript_Core/assembler/AbstractMacroAssembler.h	2017-08-11 04:47:06 UTC (rev 220578)
+++ trunk/Source/_javascript_Core/assembler/AbstractMacroAssembler.h	2017-08-11 05:31:32 UTC (rev 220579)
@@ -43,10 +43,8 @@
 
 #if ENABLE(ASSEMBLER)
 
-#if ENABLE(MASM_PROBE)
 struct ProbeContext;
 typedef void (*ProbeFunction)(struct ProbeContext*);
-#endif
 
 class AllowMacroScratchRegisterUsage;
 class DisallowMacroScratchRegisterUsage;


Modified: 

[webkit-changes] [220578] trunk/Source

2017-08-10 Thread mitz
Title: [220578] trunk/Source








Revision 220578
Author m...@apple.com
Date 2017-08-10 21:47:06 -0700 (Thu, 10 Aug 2017)


Log Message
Restored svn:ignore values that went missing when the project got renamed.

Source/WebKit:

* WebKit.xcodeproj: Added property svn:ignore.

Source/WebKitLegacy:

* WebKitLegacy.xcodeproj: Added property svn:ignore.

Modified Paths

trunk/Source/WebKit/ChangeLog
trunk/Source/WebKitLegacy/ChangeLog


Property Changed

trunk/Source/WebKit/WebKit.xcodeproj/
trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/




Diff

Modified: trunk/Source/WebKit/ChangeLog (220577 => 220578)

--- trunk/Source/WebKit/ChangeLog	2017-08-11 04:22:59 UTC (rev 220577)
+++ trunk/Source/WebKit/ChangeLog	2017-08-11 04:47:06 UTC (rev 220578)
@@ -1,3 +1,9 @@
+2017-08-10  Dan Bernstein  
+
+Restored svn:ignore values that went missing when the project got renamed.
+
+* WebKit.xcodeproj: Added property svn:ignore.
+
 2017-08-10  Brady Eidson  
 
 Rename the source files for the WTF persistent coders.
Index: trunk/Source/WebKit/WebKit.xcodeproj
===
--- trunk/Source/WebKit/WebKit.xcodeproj	2017-08-11 04:22:59 UTC (rev 220577)
+++ trunk/Source/WebKit/WebKit.xcodeproj	2017-08-11 04:47:06 UTC (rev 220578)


Property changes: trunk/Source/WebKit/WebKit.xcodeproj



Added: svn:ignore
+project.xcworkspace
+xcuserdata

Modified: trunk/Source/WebKitLegacy/ChangeLog (220577 => 220578)

--- trunk/Source/WebKitLegacy/ChangeLog	2017-08-11 04:22:59 UTC (rev 220577)
+++ trunk/Source/WebKitLegacy/ChangeLog	2017-08-11 04:47:06 UTC (rev 220578)
@@ -1,3 +1,9 @@
+2017-08-10  Dan Bernstein  
+
+Restored svn:ignore values that went missing when the project got renamed.
+
+* WebKitLegacy.xcodeproj: Added property svn:ignore.
+
 2017-08-10  Chris Dumez  
 
 [Beacon] Do connect-src CSP check on redirects as well
Index: trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj
===
--- trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj	2017-08-11 04:22:59 UTC (rev 220577)
+++ trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj	2017-08-11 04:47:06 UTC (rev 220578)


Property changes: trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj



Added: svn:ignore
+project.xcworkspace
+xcuserdata




___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220577] trunk/Source/WebCore

2017-08-10 Thread mitz
Title: [220577] trunk/Source/WebCore








Revision 220577
Author m...@apple.com
Date 2017-08-10 21:22:59 -0700 (Thu, 10 Aug 2017)


Log Message
Fixed building for macOS 10.12 with the macOS 10.13 SDK.

Suppressed the unguarded-availability-new warning around uses of AVSampleBufferAudioRenderer
and AVSampleBufferRenderSynchronizer. Even though the 10.13 SDK declares them as available
starting in that release, they have been available as SPI earlier.

* platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setHasAvailableAudioSample):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::addAudioRenderer):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::removeAudioRenderer):
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(-[WebAVSampleBufferErrorListener beginObservingRenderer:]):
(-[WebAVSampleBufferErrorListener stopObservingRenderer:]):
(-[WebAVSampleBufferErrorListener observeValueForKeyPath:ofObject:change:context:]):
(WebCore::SourceBufferPrivateAVFObjC::trackDidChangeEnabled):
(WebCore::SourceBufferPrivateAVFObjC::rendererDidReceiveError):
(WebCore::SourceBufferPrivateAVFObjC::flush):

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h
trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm




Diff

Modified: trunk/Source/WebCore/ChangeLog (220576 => 220577)

--- trunk/Source/WebCore/ChangeLog	2017-08-11 03:37:00 UTC (rev 220576)
+++ trunk/Source/WebCore/ChangeLog	2017-08-11 04:22:59 UTC (rev 220577)
@@ -1,3 +1,26 @@
+2017-08-10  Dan Bernstein  
+
+Fixed building for macOS 10.12 with the macOS 10.13 SDK.
+
+Suppressed the unguarded-availability-new warning around uses of AVSampleBufferAudioRenderer
+and AVSampleBufferRenderSynchronizer. Even though the 10.13 SDK declares them as available
+starting in that release, they have been available as SPI earlier.
+
+* platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h:
+* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setHasAvailableAudioSample):
+(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::addAudioRenderer):
+(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::removeAudioRenderer):
+* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+(-[WebAVSampleBufferErrorListener beginObservingRenderer:]):
+(-[WebAVSampleBufferErrorListener stopObservingRenderer:]):
+(-[WebAVSampleBufferErrorListener observeValueForKeyPath:ofObject:change:context:]):
+(WebCore::SourceBufferPrivateAVFObjC::trackDidChangeEnabled):
+(WebCore::SourceBufferPrivateAVFObjC::rendererDidReceiveError):
+(WebCore::SourceBufferPrivateAVFObjC::flush):
+
 2017-08-10  Brady Eidson  
 
 Rename the source files for the WTF persistent coders.


Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h (220576 => 220577)

--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h	2017-08-11 03:37:00 UTC (rev 220576)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h	2017-08-11 04:22:59 UTC (rev 220577)
@@ -54,7 +54,11 @@
 
 // SourceBufferPrivateAVFObjCErrorClient
 void layerDidReceiveError(AVSampleBufferDisplayLayer *, NSError *, bool& shouldIgnore) override;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wunguarded-availability-new"
 void rendererDidReceiveError(AVSampleBufferAudioRenderer *, NSError *, bool& shouldIgnore) override;
+#pragma clang diagnostic pop
 
 void addSourceBuffer(SourceBufferPrivateAVFObjC*);
 void removeSourceBuffer(SourceBufferPrivateAVFObjC*);


Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h (220576 => 220577)

--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h	2017-08-11 03:37:00 UTC (rev 220576)
+++ 

[webkit-changes] [220576] branches/safari-604.1.38.1-branch/Source/WebKit

2017-08-10 Thread jmarcell
Title: [220576] branches/safari-604.1.38.1-branch/Source/WebKit








Revision 220576
Author jmarc...@apple.com
Date 2017-08-10 20:37:00 -0700 (Thu, 10 Aug 2017)


Log Message
Cherry-pick r220505. rdar://problem/33829962

Modified Paths

branches/safari-604.1.38.1-branch/Source/WebKit/ChangeLog
branches/safari-604.1.38.1-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h




Diff

Modified: branches/safari-604.1.38.1-branch/Source/WebKit/ChangeLog (220575 => 220576)

--- branches/safari-604.1.38.1-branch/Source/WebKit/ChangeLog	2017-08-11 03:06:56 UTC (rev 220575)
+++ branches/safari-604.1.38.1-branch/Source/WebKit/ChangeLog	2017-08-11 03:37:00 UTC (rev 220576)
@@ -1,3 +1,17 @@
+2017-08-10  Jason Marcell  
+
+Cherry-pick r220505. rdar://problem/33829962
+
+2017-08-09  John Wilander  
+
+Resource Load Statistics: Increase grandfathering time to 3 days
+https://bugs.webkit.org/show_bug.cgi?id=175414
+
+
+Reviewed by Brent Fulgham.
+
+* UIProcess/WebResourceLoadStatisticsStore.h:
+
 2017-08-09  Jason Marcell  
 
 Cherry-pick r220459. rdar://problem/33820786


Modified: branches/safari-604.1.38.1-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h (220575 => 220576)

--- branches/safari-604.1.38.1-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 03:06:56 UTC (rev 220575)
+++ branches/safari-604.1.38.1-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 03:37:00 UTC (rev 220576)
@@ -163,7 +163,7 @@
 std::optional timeToLiveUserInteraction;
 Seconds timeToLiveCookiePartitionFree { 24_h };
 Seconds minimumTimeBetweenDataRecordsRemoval { 1_h };
-Seconds grandfatheringTime { 1_h };
+Seconds grandfatheringTime { 72_h };
 bool shouldNotifyPagesWhenDataRecordsWereScanned { false };
 bool shouldClassifyResourcesBeforeDataRecordsRemoval { true };
 bool shouldSubmitTelemetry { true };






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220574] trunk/Source

2017-08-10 Thread beidson
Title: [220574] trunk/Source








Revision 220574
Author beid...@apple.com
Date 2017-08-10 19:59:06 -0700 (Thu, 10 Aug 2017)


Log Message
Rename the source files for the WTF persistent coders.
https://bugs.webkit.org/show_bug.cgi?id=175441

Reviewed by Tim Horton.

Source/WebCore:

* platform/network/NetworkLoadMetrics.h:

Source/WebKit:

* NetworkProcess/cache/NetworkCacheCoders.h:
* NetworkProcess/cache/NetworkCacheKey.cpp:
* NetworkProcess/cache/NetworkCacheKey.h:
* UIProcess/API/APIContentRuleListStore.cpp:

Source/WTF:

* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:

* wtf/persistence/PersistentCoder.h: Renamed from Source/WTF/wtf/persistence/Coder.h.
* wtf/persistence/PersistentCoders.cpp: Renamed from Source/WTF/wtf/persistence/Coders.cpp.
* wtf/persistence/PersistentCoders.h: Renamed from Source/WTF/wtf/persistence/Coders.h.
* wtf/persistence/PersistentDecoder.cpp: Renamed from Source/WTF/wtf/persistence/Decoder.cpp.
* wtf/persistence/PersistentDecoder.h: Renamed from Source/WTF/wtf/persistence/Decoder.h.
* wtf/persistence/PersistentEncoder.cpp: Renamed from Source/WTF/wtf/persistence/Encoder.cpp.
* wtf/persistence/PersistentEncoder.h: Renamed from Source/WTF/wtf/persistence/Encoder.h.

Modified Paths

trunk/Source/WTF/ChangeLog
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
trunk/Source/WTF/wtf/CMakeLists.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/platform/network/NetworkLoadMetrics.h
trunk/Source/WebKit/ChangeLog
trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheCoders.h
trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.cpp
trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.h
trunk/Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp


Added Paths

trunk/Source/WTF/wtf/persistence/PersistentCoder.h
trunk/Source/WTF/wtf/persistence/PersistentCoders.cpp
trunk/Source/WTF/wtf/persistence/PersistentCoders.h
trunk/Source/WTF/wtf/persistence/PersistentDecoder.cpp
trunk/Source/WTF/wtf/persistence/PersistentDecoder.h
trunk/Source/WTF/wtf/persistence/PersistentEncoder.cpp
trunk/Source/WTF/wtf/persistence/PersistentEncoder.h


Removed Paths

trunk/Source/WTF/wtf/persistence/Coder.h
trunk/Source/WTF/wtf/persistence/Coders.cpp
trunk/Source/WTF/wtf/persistence/Coders.h
trunk/Source/WTF/wtf/persistence/Decoder.cpp
trunk/Source/WTF/wtf/persistence/Decoder.h
trunk/Source/WTF/wtf/persistence/Encoder.cpp
trunk/Source/WTF/wtf/persistence/Encoder.h




Diff

Modified: trunk/Source/WTF/ChangeLog (220573 => 220574)

--- trunk/Source/WTF/ChangeLog	2017-08-11 02:58:04 UTC (rev 220573)
+++ trunk/Source/WTF/ChangeLog	2017-08-11 02:59:06 UTC (rev 220574)
@@ -1,3 +1,21 @@
+2017-08-10  Brady Eidson  
+
+Rename the source files for the WTF persistent coders.
+https://bugs.webkit.org/show_bug.cgi?id=175441
+
+Reviewed by Tim Horton.
+
+* WTF.xcodeproj/project.pbxproj:
+* wtf/CMakeLists.txt:
+
+* wtf/persistence/PersistentCoder.h: Renamed from Source/WTF/wtf/persistence/Coder.h.
+* wtf/persistence/PersistentCoders.cpp: Renamed from Source/WTF/wtf/persistence/Coders.cpp.
+* wtf/persistence/PersistentCoders.h: Renamed from Source/WTF/wtf/persistence/Coders.h.
+* wtf/persistence/PersistentDecoder.cpp: Renamed from Source/WTF/wtf/persistence/Decoder.cpp.
+* wtf/persistence/PersistentDecoder.h: Renamed from Source/WTF/wtf/persistence/Decoder.h.
+* wtf/persistence/PersistentEncoder.cpp: Renamed from Source/WTF/wtf/persistence/Encoder.cpp.
+* wtf/persistence/PersistentEncoder.h: Renamed from Source/WTF/wtf/persistence/Encoder.h.
+
 2017-08-10  Yusuke Suzuki  
 
 Unreviewed, attempt to fix build failure with VC2017


Modified: trunk/Source/WTF/WTF.xcodeproj/project.pbxproj (220573 => 220574)

--- trunk/Source/WTF/WTF.xcodeproj/project.pbxproj	2017-08-11 02:58:04 UTC (rev 220573)
+++ trunk/Source/WTF/WTF.xcodeproj/project.pbxproj	2017-08-11 02:59:06 UTC (rev 220574)
@@ -63,6 +63,9 @@
 		2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CDED0F118115C85004DBA70 /* RunLoop.cpp */; };
 		3337DB9CE743410FAF076E17 /* StackTrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 313EDEC9778E49C9BEA91CFC /* StackTrace.cpp */; };
 		515F794E1CFC9F4A00CCED93 /* CrossThreadCopier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 515F794B1CFC9F4A00CCED93 /* CrossThreadCopier.cpp */; };
+		51F1752B1F3D486000C74950 /* PersistentCoders.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51F175261F3D486000C74950 /* PersistentCoders.cpp */; };
+		51F1752C1F3D486000C74950 /* PersistentDecoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51F175271F3D486000C74950 /* PersistentDecoder.cpp */; };
+		51F1752D1F3D486000C74950 /* PersistentEncoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51F175291F3D486000C74950 /* PersistentEncoder.cpp */; };
 		52183012C99E476A84EEBEA8 /* SymbolImpl.cpp in Sources */ = {isa = 

[webkit-changes] [220573] branches/safari-604.1.38.0-branch/Source/WebKit

2017-08-10 Thread jmarcell
Title: [220573] branches/safari-604.1.38.0-branch/Source/WebKit








Revision 220573
Author jmarc...@apple.com
Date 2017-08-10 19:58:04 -0700 (Thu, 10 Aug 2017)


Log Message
Cherry-pick r220505. rdar://problem/33829964

Modified Paths

branches/safari-604.1.38.0-branch/Source/WebKit/ChangeLog
branches/safari-604.1.38.0-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h




Diff

Modified: branches/safari-604.1.38.0-branch/Source/WebKit/ChangeLog (220572 => 220573)

--- branches/safari-604.1.38.0-branch/Source/WebKit/ChangeLog	2017-08-11 02:17:10 UTC (rev 220572)
+++ branches/safari-604.1.38.0-branch/Source/WebKit/ChangeLog	2017-08-11 02:58:04 UTC (rev 220573)
@@ -1,3 +1,17 @@
+2017-08-10  Jason Marcell  
+
+Cherry-pick r220505. rdar://problem/33829964
+
+2017-08-09  John Wilander  
+
+Resource Load Statistics: Increase grandfathering time to 3 days
+https://bugs.webkit.org/show_bug.cgi?id=175414
+
+
+Reviewed by Brent Fulgham.
+
+* UIProcess/WebResourceLoadStatisticsStore.h:
+
 2017-08-09  Jason Marcell  
 
 Cherry-pick r220459. rdar://problem/33820787


Modified: branches/safari-604.1.38.0-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h (220572 => 220573)

--- branches/safari-604.1.38.0-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 02:17:10 UTC (rev 220572)
+++ branches/safari-604.1.38.0-branch/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 02:58:04 UTC (rev 220573)
@@ -163,7 +163,7 @@
 std::optional timeToLiveUserInteraction;
 Seconds timeToLiveCookiePartitionFree { 24_h };
 Seconds minimumTimeBetweenDataRecordsRemoval { 1_h };
-Seconds grandfatheringTime { 1_h };
+Seconds grandfatheringTime { 72_h };
 bool shouldNotifyPagesWhenDataRecordsWereScanned { false };
 bool shouldClassifyResourcesBeforeDataRecordsRemoval { true };
 bool shouldSubmitTelemetry { true };






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220571] trunk/Source/WebKit

2017-08-10 Thread wilander
Title: [220571] trunk/Source/WebKit








Revision 220571
Author wilan...@apple.com
Date 2017-08-10 18:47:03 -0700 (Thu, 10 Aug 2017)


Log Message
Resource Load Statistics: Increase grandfathering time to 7 days
https://bugs.webkit.org/show_bug.cgi?id=175414


Reviewed by Brent Fulgham.

* UIProcess/WebResourceLoadStatisticsStore.h:

Modified Paths

trunk/Source/WebKit/ChangeLog
trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h




Diff

Modified: trunk/Source/WebKit/ChangeLog (220570 => 220571)

--- trunk/Source/WebKit/ChangeLog	2017-08-11 01:41:56 UTC (rev 220570)
+++ trunk/Source/WebKit/ChangeLog	2017-08-11 01:47:03 UTC (rev 220571)
@@ -1,5 +1,15 @@
 2017-08-10  John Wilander  
 
+Resource Load Statistics: Increase grandfathering time to 7 days
+https://bugs.webkit.org/show_bug.cgi?id=175414
+
+
+Reviewed by Brent Fulgham.
+
+* UIProcess/WebResourceLoadStatisticsStore.h:
+
+2017-08-10  John Wilander  
+
 Resource Load Statistics: Add significant figures to telemetry calls
 https://bugs.webkit.org/show_bug.cgi?id=175442
 


Modified: trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h (220570 => 220571)

--- trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 01:41:56 UTC (rev 220570)
+++ trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2017-08-11 01:47:03 UTC (rev 220571)
@@ -164,7 +164,7 @@
 std::optional timeToLiveUserInteraction;
 Seconds timeToLiveCookiePartitionFree { 24_h };
 Seconds minimumTimeBetweenDataRecordsRemoval { 1_h };
-Seconds grandfatheringTime { 72_h };
+Seconds grandfatheringTime { 24_h * 7 };
 bool shouldNotifyPagesWhenDataRecordsWereScanned { false };
 bool shouldClassifyResourcesBeforeDataRecordsRemoval { true };
 bool shouldSubmitTelemetry { true };






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220570] trunk/LayoutTests

2017-08-10 Thread n_wang
Title: [220570] trunk/LayoutTests








Revision 220570
Author n_w...@apple.com
Date 2017-08-10 18:41:56 -0700 (Thu, 10 Aug 2017)


Log Message
Layout test accessibility/press-target-uses-text-descendant-node.html is flaky.
https://bugs.webkit.org/show_bug.cgi?id=175272


Since accessibilityPress is async, we shouldn't rely on the timeout.

Reviewed by Chris Fleizach.

* accessibility/press-target-uses-text-descendant-node.html:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/accessibility/press-target-uses-text-descendant-node.html




Diff

Modified: trunk/LayoutTests/ChangeLog (220569 => 220570)

--- trunk/LayoutTests/ChangeLog	2017-08-11 00:41:53 UTC (rev 220569)
+++ trunk/LayoutTests/ChangeLog	2017-08-11 01:41:56 UTC (rev 220570)
@@ -1,3 +1,15 @@
+2017-08-10  Nan Wang  
+
+Layout test accessibility/press-target-uses-text-descendant-node.html is flaky.
+https://bugs.webkit.org/show_bug.cgi?id=175272
+
+
+Since accessibilityPress is async, we shouldn't rely on the timeout.
+
+Reviewed by Chris Fleizach.
+
+* accessibility/press-target-uses-text-descendant-node.html:
+
 2017-08-10  Ryan Haddad  
 
 Unreviewed test gardening for High Sierra.


Modified: trunk/LayoutTests/accessibility/press-target-uses-text-descendant-node.html (220569 => 220570)

--- trunk/LayoutTests/accessibility/press-target-uses-text-descendant-node.html	2017-08-11 00:41:53 UTC (rev 220569)
+++ trunk/LayoutTests/accessibility/press-target-uses-text-descendant-node.html	2017-08-11 01:41:56 UTC (rev 220570)
@@ -38,20 +38,24 @@
 
 description("Make sure that when performing a press, we target the deepest descendant, but also one that is an Element at the least.");
 
+document.getElementById("link").addEventListener("click", pressedLink);
+document.getElementById("button").addEventListener("click", pressedButton);
 function startTest() {
accessibilityController.accessibleElementById("link").press();
-   setTimeout(function() {
-   debug("\nNow pressing on button\n");
-   accessibilityController.accessibleElementById("button").press();
-   setTimeout(function() {
-   finishJSTest();
-   }, 10);
-   }, 10);
 }
 
 if (window.accessibilityController) {
window.jsTestIsAsync = true;
 }
+
+function pressedLink() {
+debug("\nNow pressing on button\n");
+accessibilityController.accessibleElementById("button").press();
+}
+
+function pressedButton() {
+finishJSTest();
+}
 
 
 






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220569] trunk/Source/WebCore

2017-08-10 Thread utatane . tea
Title: [220569] trunk/Source/WebCore








Revision 220569
Author utatane@gmail.com
Date 2017-08-10 17:41:53 -0700 (Thu, 10 Aug 2017)


Log Message
Make ThreadGlobalData RefCounted for web thread
https://bugs.webkit.org/show_bug.cgi?id=175439

Reviewed by Mark Lam.

When the web thread is enabled, we share ThreadGlobalData between the web thread and the main thread.
The problem happens when the main thread is dying. It could start deallocating TLS and the web
thread may see the destructed ThreadGlobalData.

Even though, the current implementation is safe because the main thread do not perform TLS deallocation
in the Darwin environment. But this is not true in Windows. And we should not rely on this condition
that depends on the platforms.

In this patch, we make ThreadGlobalData ThreadSafeRefCounted. This type verbosely describes that
ThreadGlobalData could be shared between threads when the web thread enabled. And make the life time
management simple instead of relying on the platform dependent TLS implementation.

* platform/ThreadGlobalData.cpp:
(WebCore::ThreadGlobalData::setWebCoreThreadData):
(WebCore::threadGlobalData):
* platform/ThreadGlobalData.h:
(WebCore::ThreadGlobalData::cachedResourceRequestInitiators): Deleted.
(WebCore::ThreadGlobalData::eventNames): Deleted.
(WebCore::ThreadGlobalData::threadTimers): Deleted.
(WebCore::ThreadGlobalData::qualifiedNameCache): Deleted.
(WebCore::ThreadGlobalData::cachedConverterICU): Deleted.
(WebCore::ThreadGlobalData::cachedConverterTEC): Deleted.

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/platform/ThreadGlobalData.cpp
trunk/Source/WebCore/platform/ThreadGlobalData.h




Diff

Modified: trunk/Source/WebCore/ChangeLog (220568 => 220569)

--- trunk/Source/WebCore/ChangeLog	2017-08-11 00:41:09 UTC (rev 220568)
+++ trunk/Source/WebCore/ChangeLog	2017-08-11 00:41:53 UTC (rev 220569)
@@ -1,5 +1,35 @@
 2017-08-10  Yusuke Suzuki  
 
+Make ThreadGlobalData RefCounted for web thread
+https://bugs.webkit.org/show_bug.cgi?id=175439
+
+Reviewed by Mark Lam.
+
+When the web thread is enabled, we share ThreadGlobalData between the web thread and the main thread.
+The problem happens when the main thread is dying. It could start deallocating TLS and the web
+thread may see the destructed ThreadGlobalData.
+
+Even though, the current implementation is safe because the main thread do not perform TLS deallocation
+in the Darwin environment. But this is not true in Windows. And we should not rely on this condition
+that depends on the platforms.
+
+In this patch, we make ThreadGlobalData ThreadSafeRefCounted. This type verbosely describes that
+ThreadGlobalData could be shared between threads when the web thread enabled. And make the life time
+management simple instead of relying on the platform dependent TLS implementation.
+
+* platform/ThreadGlobalData.cpp:
+(WebCore::ThreadGlobalData::setWebCoreThreadData):
+(WebCore::threadGlobalData):
+* platform/ThreadGlobalData.h:
+(WebCore::ThreadGlobalData::cachedResourceRequestInitiators): Deleted.
+(WebCore::ThreadGlobalData::eventNames): Deleted.
+(WebCore::ThreadGlobalData::threadTimers): Deleted.
+(WebCore::ThreadGlobalData::qualifiedNameCache): Deleted.
+(WebCore::ThreadGlobalData::cachedConverterICU): Deleted.
+(WebCore::ThreadGlobalData::cachedConverterTEC): Deleted.
+
+2017-08-10  Yusuke Suzuki  
+
 [JSC] Use @toNumber in builtins
 https://bugs.webkit.org/show_bug.cgi?id=172692
 


Modified: trunk/Source/WebCore/platform/ThreadGlobalData.cpp (220568 => 220569)

--- trunk/Source/WebCore/platform/ThreadGlobalData.cpp	2017-08-11 00:41:09 UTC (rev 220568)
+++ trunk/Source/WebCore/platform/ThreadGlobalData.cpp	2017-08-11 00:41:53 UTC (rev 220569)
@@ -81,7 +81,7 @@
 }
 
 #if USE(WEB_THREAD)
-static ThreadSpecific* staticData { nullptr };
+static ThreadSpecific* staticData { nullptr };
 static ThreadGlobalData* sharedMainThreadStaticData { nullptr };
 
 void ThreadGlobalData::setWebCoreThreadData()
@@ -90,11 +90,7 @@
 ASSERT(() != sharedMainThreadStaticData);
 
 // Set WebThread's ThreadGlobalData object to be the same as the main UI thread.
-// The web thread never finishes, and we expect the main thread to also never finish.
-// Hence, it is safe to store the same ThreadGlobalData pointer in a thread specific std::unique_ptr.
-// FIXME: Make ThreadGlobalData RefCounted for web thread.
-// https://bugs.webkit.org/show_bug.cgi?id=175439
-(**staticData).reset(sharedMainThreadStaticData);
+**staticData = adoptRef(sharedMainThreadStaticData);
 
 ASSERT(() == sharedMainThreadStaticData);
 }
@@ -102,20 +98,22 @@
 ThreadGlobalData& threadGlobalData()
 {
 if (UNLIKELY(!staticData)) {
-staticData = 

[webkit-changes] [220568] trunk/Source/WebKit

2017-08-10 Thread wilander
Title: [220568] trunk/Source/WebKit








Revision 220568
Author wilan...@apple.com
Date 2017-08-10 17:41:09 -0700 (Thu, 10 Aug 2017)


Log Message
Resource Load Statistics: Add significant figures to telemetry calls
https://bugs.webkit.org/show_bug.cgi?id=175442


Reviewed by Brent Fulgham.

With this change, logged values are allowed to have 3 significant figures
as opposed to today's 0 which is wrong.

* UIProcess/WebResourceLoadStatisticsTelemetry.cpp:
(WebKit::submitTopList):
(WebKit::WebResourceLoadStatisticsTelemetry::calculateAndSubmit):

Modified Paths

trunk/Source/WebKit/ChangeLog
trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp




Diff

Modified: trunk/Source/WebKit/ChangeLog (220567 => 220568)

--- trunk/Source/WebKit/ChangeLog	2017-08-11 00:36:24 UTC (rev 220567)
+++ trunk/Source/WebKit/ChangeLog	2017-08-11 00:41:09 UTC (rev 220568)
@@ -1,3 +1,18 @@
+2017-08-10  John Wilander  
+
+Resource Load Statistics: Add significant figures to telemetry calls
+https://bugs.webkit.org/show_bug.cgi?id=175442
+
+
+Reviewed by Brent Fulgham.
+
+With this change, logged values are allowed to have 3 significant figures
+as opposed to today's 0 which is wrong.
+
+* UIProcess/WebResourceLoadStatisticsTelemetry.cpp:
+(WebKit::submitTopList):
+(WebKit::WebResourceLoadStatisticsTelemetry::calculateAndSubmit):
+
 2017-08-10  Mark Lam  
 
 Apply the UNLIKELY macro to some unlikely things.


Modified: trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp (220567 => 220568)

--- trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp	2017-08-11 00:36:24 UTC (rev 220567)
+++ trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp	2017-08-11 00:41:09 UTC (rev 220568)
@@ -41,6 +41,7 @@
 namespace WebKit {
 
 const unsigned minimumPrevalentResourcesForTelemetry = 3;
+const unsigned significantFiguresForLoggedValues = 3;
 static bool notifyPagesWhenTelemetryWasCaptured = false;
 
 struct PrevalentResourceTelemetry {
@@ -170,15 +171,15 @@
 String descriptionPreamble = preambleBuilder.toString();
 
 webPageProxy.logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), descriptionPreamble + "PrevalentResourcesWithUserInteraction",
-topPrevalentResourcesWithUserInteraction, 0, ShouldSample::No);
+topPrevalentResourcesWithUserInteraction, significantFiguresForLoggedValues, ShouldSample::No);
 webPageProxy.logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), descriptionPreamble + "SubframeUnderTopFrameOrigins",
-topSubframeUnderTopFrameOrigins, 0, ShouldSample::No);
+topSubframeUnderTopFrameOrigins, significantFiguresForLoggedValues, ShouldSample::No);
 webPageProxy.logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), descriptionPreamble + "SubresourceUnderTopFrameOrigins",
-topSubresourceUnderTopFrameOrigins, 0, ShouldSample::No);
+topSubresourceUnderTopFrameOrigins, significantFiguresForLoggedValues, ShouldSample::No);
 webPageProxy.logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), descriptionPreamble + "SubresourceUniqueRedirectsTo",
-topSubresourceUniqueRedirectsTo, 0, ShouldSample::No);
+topSubresourceUniqueRedirectsTo, significantFiguresForLoggedValues, ShouldSample::No);
 webPageProxy.logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), descriptionPreamble + "NumberOfTimesDataRecordsRemoved",
-topNumberOfTimesDataRecordsRemoved, 0, ShouldSample::No);
+topNumberOfTimesDataRecordsRemoved, significantFiguresForLoggedValues, ShouldSample::No);
 }
 
 static void submitTopLists(const Vector& sortedPrevalentResources, const Vector& sortedPrevalentResourcesWithoutUserInteraction, WebPageProxy& webPageProxy)
@@ -257,13 +258,13 @@
 return;
 }
 
-webPageProxy->logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), ASCIILiteral("totalNumberOfPrevalentResources"), sortedPrevalentResources.size(), 0, ShouldSample::No);
-webPageProxy->logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), ASCIILiteral("totalNumberOfPrevalentResourcesWithUserInteraction"), prevalentResourcesDaysSinceUserInteraction.size(), 0, ShouldSample::No);
+webPageProxy->logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), ASCIILiteral("totalNumberOfPrevalentResources"), sortedPrevalentResources.size(), significantFiguresForLoggedValues, ShouldSample::No);
+webPageProxy->logDiagnosticMessageWithValue(DiagnosticLoggingKeys::resourceLoadStatisticsTelemetryKey(), ASCIILiteral("totalNumberOfPrevalentResourcesWithUserInteraction"), 

[webkit-changes] [220567] trunk

2017-08-10 Thread utatane . tea
Title: [220567] trunk








Revision 220567
Author utatane@gmail.com
Date 2017-08-10 17:36:24 -0700 (Thu, 10 Aug 2017)


Log Message
Unreviewed, attempt to fix build failure with VC2017

Source/WTF:

* wtf/PriorityQueue.h:

Tools:

* TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
(TEST):

Modified Paths

trunk/Source/WTF/ChangeLog
trunk/Source/WTF/wtf/PriorityQueue.h
trunk/Tools/ChangeLog
trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp




Diff

Modified: trunk/Source/WTF/ChangeLog (220566 => 220567)

--- trunk/Source/WTF/ChangeLog	2017-08-11 00:36:23 UTC (rev 220566)
+++ trunk/Source/WTF/ChangeLog	2017-08-11 00:36:24 UTC (rev 220567)
@@ -1,5 +1,11 @@
 2017-08-10  Yusuke Suzuki  
 
+Unreviewed, attempt to fix build failure with VC2017
+
+* wtf/PriorityQueue.h:
+
+2017-08-10  Yusuke Suzuki  
+
 Run more WTF tests
 https://bugs.webkit.org/show_bug.cgi?id=174970
 


Modified: trunk/Source/WTF/wtf/PriorityQueue.h (220566 => 220567)

--- trunk/Source/WTF/wtf/PriorityQueue.h	2017-08-11 00:36:23 UTC (rev 220566)
+++ trunk/Source/WTF/wtf/PriorityQueue.h	2017-08-11 00:36:24 UTC (rev 220567)
@@ -37,7 +37,7 @@
 // 2) You can iterate the elements.
 // 3) It has in-place decrease/increaseKey methods, although they are still O(n) rather than O(log(n)).
 
-template, size_t inlineCapacity = 0>
+template, size_t inlineCapacity = 0>
 class PriorityQueue {
 using BufferType = Vector;
 using const_iterator = typename BufferType::const_iterator;


Modified: trunk/Tools/ChangeLog (220566 => 220567)

--- trunk/Tools/ChangeLog	2017-08-11 00:36:23 UTC (rev 220566)
+++ trunk/Tools/ChangeLog	2017-08-11 00:36:24 UTC (rev 220567)
@@ -1,5 +1,12 @@
 2017-08-10  Yusuke Suzuki  
 
+Unreviewed, attempt to fix build failure with VC2017
+
+* TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
+(TEST):
+
+2017-08-10  Yusuke Suzuki  
+
 Unreviewed, suppress warnings on GCC
 
 * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:


Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp (220566 => 220567)

--- trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp	2017-08-11 00:36:23 UTC (rev 220566)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp	2017-08-11 00:36:24 UTC (rev 220567)
@@ -76,7 +76,7 @@
 TEST(WTF_PriorityQueue, CustomPriorityFunction)
 {
 const unsigned numElements = 10;
-PriorityQueue queue;
+PriorityQueue queue;
 
 EXPECT_EQ(0_z, queue.size());
 EXPECT_TRUE(queue.isEmpty());
@@ -106,7 +106,7 @@
 
 TEST(WTF_PriorityQueue, MoveOnly)
 {
-PriorityQueue::compare> queue;
+PriorityQueue::compare> queue;
 
 Vector values = { 23, 54, 4, 8, 1, 2, 4, 0 };
 Vector sorted = values;
@@ -123,7 +123,7 @@
 
 TEST(WTF_PriorityQueue, DecreaseKey)
 {
-PriorityQueue::compare> queue;
+PriorityQueue::compare> queue;
 
 Vector values = { 23, 54, 4, 8, 1, 2, 4, 0 };
 Vector sorted = values;
@@ -149,7 +149,7 @@
 
 TEST(WTF_PriorityQueue, IncreaseKey)
 {
-PriorityQueue::compare> queue;
+PriorityQueue::compare> queue;
 
 Vector values = { 23, 54, 4, 8, 1, 2, 4, 0 };
 Vector sorted = values;
@@ -175,7 +175,7 @@
 
 TEST(WTF_PriorityQueue, Iteration)
 {
-PriorityQueue::compare> queue;
+PriorityQueue::compare> queue;
 
 Vector values = { 23, 54, 4, 8, 1, 2, 4, 0 };
 Vector sorted = values;






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220566] trunk/Source/WebCore

2017-08-10 Thread utatane . tea
Title: [220566] trunk/Source/WebCore








Revision 220566
Author utatane@gmail.com
Date 2017-08-10 17:36:23 -0700 (Thu, 10 Aug 2017)


Log Message
[JSC] Use @toNumber in builtins
https://bugs.webkit.org/show_bug.cgi?id=172692

Reviewed by Sam Weinig.

Use @toNumber bytecode intrinsic. It emits op_to_number, which efficiently converts
a given argument to a number.

* Modules/streams/ReadableByteStreamInternals.js:
(privateInitializeReadableByteStreamController):
(readableByteStreamControllerRespond):
* Modules/streams/StreamInternals.js:
(validateAndNormalizeQueuingStrategy):
(enqueueValueWithSize):

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/streams/ReadableByteStreamInternals.js
trunk/Source/WebCore/Modules/streams/StreamInternals.js




Diff

Modified: trunk/Source/WebCore/ChangeLog (220565 => 220566)

--- trunk/Source/WebCore/ChangeLog	2017-08-11 00:29:03 UTC (rev 220565)
+++ trunk/Source/WebCore/ChangeLog	2017-08-11 00:36:23 UTC (rev 220566)
@@ -1,3 +1,20 @@
+2017-08-10  Yusuke Suzuki  
+
+[JSC] Use @toNumber in builtins
+https://bugs.webkit.org/show_bug.cgi?id=172692
+
+Reviewed by Sam Weinig.
+
+Use @toNumber bytecode intrinsic. It emits op_to_number, which efficiently converts
+a given argument to a number.
+
+* Modules/streams/ReadableByteStreamInternals.js:
+(privateInitializeReadableByteStreamController):
+(readableByteStreamControllerRespond):
+* Modules/streams/StreamInternals.js:
+(validateAndNormalizeQueuingStrategy):
+(enqueueValueWithSize):
+
 2017-08-10  Nan Wang  
 
 AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24


Modified: trunk/Source/WebCore/Modules/streams/ReadableByteStreamInternals.js (220565 => 220566)

--- trunk/Source/WebCore/Modules/streams/ReadableByteStreamInternals.js	2017-08-11 00:29:03 UTC (rev 220565)
+++ trunk/Source/WebCore/Modules/streams/ReadableByteStreamInternals.js	2017-08-11 00:36:23 UTC (rev 220566)
@@ -64,7 +64,7 @@
 this.@started = false;
 this.@closeRequested = false;
 
-let hwm = @Number(highWaterMark);
+let hwm = @toNumber(highWaterMark);
 if (@isNaN(hwm) || hwm < 0)
 @throwRangeError("highWaterMark value is negative or not a number");
 this.@strategyHWM = hwm;
@@ -71,7 +71,7 @@
 
 let autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize;
 if (autoAllocateChunkSize !== @undefined) {
-autoAllocateChunkSize = @Number(autoAllocateChunkSize);
+autoAllocateChunkSize = @toNumber(autoAllocateChunkSize);
 if (autoAllocateChunkSize <= 0 || autoAllocateChunkSize === @Number.POSITIVE_INFINITY || autoAllocateChunkSize === @Number.NEGATIVE_INFINITY)
 @throwRangeError("autoAllocateChunkSize value is negative or equal to positive or negative infinity");
 }
@@ -393,7 +393,7 @@
 {
 "use strict";
 
-bytesWritten = @Number(bytesWritten);
+bytesWritten = @toNumber(bytesWritten);
 
 if (@isNaN(bytesWritten) || bytesWritten === @Number.POSITIVE_INFINITY || bytesWritten < 0 )
 @throwRangeError("bytesWritten has an incorrect value");


Modified: trunk/Source/WebCore/Modules/streams/StreamInternals.js (220565 => 220566)

--- trunk/Source/WebCore/Modules/streams/StreamInternals.js	2017-08-11 00:29:03 UTC (rev 220565)
+++ trunk/Source/WebCore/Modules/streams/StreamInternals.js	2017-08-11 00:36:23 UTC (rev 220566)
@@ -84,7 +84,7 @@
 const normalizedStrategy = { };
 
 normalizedStrategy.size = size;
-normalizedStrategy.highWaterMark = @Number(highWaterMark);
+normalizedStrategy.highWaterMark = @toNumber(highWaterMark);
 
 if (@isNaN(normalizedStrategy.highWaterMark) || normalizedStrategy.highWaterMark < 0)
 @throwRangeError("highWaterMark value is negative or not a number");
@@ -112,7 +112,7 @@
 {
 "use strict";
 
-size = @Number(size);
+size = @toNumber(size);
 if (!@isFinite(size) || size < 0)
 @throwRangeError("size has an incorrect value");
 queue.content.@push({ value: value, size: size });






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220565] trunk/Tools

2017-08-10 Thread utatane . tea
Title: [220565] trunk/Tools








Revision 220565
Author utatane@gmail.com
Date 2017-08-10 17:29:03 -0700 (Thu, 10 Aug 2017)


Log Message
Unreviewed, suppress warnings on GCC

* TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
(TestWebKitAPI::CheckedArithmeticTester::run):

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp




Diff

Modified: trunk/Tools/ChangeLog (220564 => 220565)

--- trunk/Tools/ChangeLog	2017-08-11 00:23:36 UTC (rev 220564)
+++ trunk/Tools/ChangeLog	2017-08-11 00:29:03 UTC (rev 220565)
@@ -1,3 +1,10 @@
+2017-08-10  Yusuke Suzuki  
+
+Unreviewed, suppress warnings on GCC
+
+* TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
+(TestWebKitAPI::CheckedArithmeticTester::run):
+
 2017-08-10  Dan Bernstein  
 
 [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE


Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp (220564 => 220565)

--- trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2017-08-11 00:23:36 UTC (rev 220564)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2017-08-11 00:29:03 UTC (rev 220565)
@@ -169,14 +169,8 @@
 Checked nvalue; // to hold a not overflowed value.
 Checked ovalue; // to hold an overflowed value.
 
-#if COMPILER(GCC)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#endif
 bool unused;
-#if COMPILER(GCC)
-#pragma GCC diagnostic pop
-#endif
+UNUSED_PARAM(unused);
 
 _value = 75;
 type _largeValue = 100;






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220564] branches/safari-604.1.38.0-branch/LayoutTests

2017-08-10 Thread jlewis3
Title: [220564] branches/safari-604.1.38.0-branch/LayoutTests








Revision 220564
Author jlew...@apple.com
Date 2017-08-10 17:23:36 -0700 (Thu, 10 Aug 2017)


Log Message
Unreviwed test gardening. 

* platform/ios-11/TestExpectations:

Modified Paths

branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog
branches/safari-604.1.38.0-branch/LayoutTests/platform/ios-11/TestExpectations




Diff

Modified: branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog (220563 => 220564)

--- branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog	2017-08-10 23:57:47 UTC (rev 220563)
+++ branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog	2017-08-11 00:23:36 UTC (rev 220564)
@@ -1,3 +1,9 @@
+2017-08-10  Matt Lewis  
+
+Unreviwed test gardening. 
+
+* platform/ios-11/TestExpectations:
+
 2017-08-09  Jason Marcell  
 
 Cherry-pick r220456. rdar://problem/33805190


Modified: branches/safari-604.1.38.0-branch/LayoutTests/platform/ios-11/TestExpectations (220563 => 220564)

--- branches/safari-604.1.38.0-branch/LayoutTests/platform/ios-11/TestExpectations	2017-08-10 23:57:47 UTC (rev 220563)
+++ branches/safari-604.1.38.0-branch/LayoutTests/platform/ios-11/TestExpectations	2017-08-11 00:23:36 UTC (rev 220564)
@@ -118,3 +118,31 @@
 
 #  REGRESSION: LayoutTest fast/text/ipa-tone-letters.html is failing
 fast/text/ipa-tone-letters.html [ Failure ]
+
+animations/trigger-computed-style.html [ Failure ]
+animations/trigger-container-scroll-boundaries.html [ Failure ]
+animations/trigger-parsing.html [ Failure ]
+fast/canvas/webgl/copyBufferSubData.html [ Failure ]
+fast/canvas/webgl/getBufferSubData-webgl1.html [ Failure ]
+fast/canvas/webgl/webgl2-buffer-targets.html [ Failure ]
+fast/canvas/webgl/webgl2-buffers.html [ Failure ]
+fast/canvas/webgl/webgl2-context-creation.html [ Failure ]
+fast/canvas/webgl/webgl2-runtime-flag.html [ Failure ]
+fast/canvas/webgl/webgl2-texStorage.html [ Failure ]
+fast/canvas/webgl/webgl2-texture-upload-enums.html [ Failure ]
+fast/forms/color/input-appearance-color.html [ Failure ]
+fast/shadow-dom/color-input-element-shadow-manipulation.html [ Failure ]
+http/tests/subresource-integrity/sri-enabled-with-setting.html [ Failure ]
+http/tests/subresource-integrity/sri-script.html [ Failure ]
+http/tests/subresource-integrity/sri-style.html [ Failure ]
+webgl/webgl-vertex-array-object-defined.html [ Failure ]
+webgl/webgl2-rendering-context-defined.html [ Failure ]
+webgl/webgl2-rendering-context-obtain.html [ Failure ]
+fast/css/pseudo-visited-background-color-on-input.html [ ImageOnlyFailure ]
+webgl/1.0.2/conformance/ogles/GL/asin/asin_001_to_006.html [ Skip ]
+webgl/1.0.2/conformance/ogles/GL/acos/acos_001_to_006.html [ Skip ]
+webgl/1.0.2/conformance/attribs/gl-vertex-attrib-zero-issues.html [ Skip ]
+fast/events/ios/before-input-events-prevent-candidate-insertion.html [ Timeout ]
+imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type.html [ Failure ]
+imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.html [ Failure ]
+imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker.html [ Failure ]






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220563] trunk/Tools

2017-08-10 Thread mitz
Title: [220563] trunk/Tools








Revision 220563
Author m...@apple.com
Date 2017-08-10 16:57:47 -0700 (Thu, 10 Aug 2017)


Log Message
[Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
https://bugs.webkit.org/show_bug.cgi?id=173223

Reviewed by Tim Horton.

The rebuilds were happening due to a difference in the compiler options that the IDE and
xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
xcodebuild pass that option, too, set INDEX_ENABLE_DATA_STORE to YES and
INDEX_DATA_STORE_DIR to the Index Datastore path specified in Xcode Locations preferences >
Advanced when a Custom Absolute path is selected.

* Scripts/webkitdirs.pm:
(determineBaseProductDir):

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/webkitdirs.pm




Diff

Modified: trunk/Tools/ChangeLog (220562 => 220563)

--- trunk/Tools/ChangeLog	2017-08-10 23:42:14 UTC (rev 220562)
+++ trunk/Tools/ChangeLog	2017-08-10 23:57:47 UTC (rev 220563)
@@ -1,3 +1,19 @@
+2017-08-10  Dan Bernstein  
+
+[Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+https://bugs.webkit.org/show_bug.cgi?id=173223
+
+Reviewed by Tim Horton.
+
+The rebuilds were happening due to a difference in the compiler options that the IDE and
+xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+xcodebuild pass that option, too, set INDEX_ENABLE_DATA_STORE to YES and
+INDEX_DATA_STORE_DIR to the Index Datastore path specified in Xcode Locations preferences >
+Advanced when a Custom Absolute path is selected.
+
+* Scripts/webkitdirs.pm:
+(determineBaseProductDir):
+
 2017-08-10  Yusuke Suzuki  
 
 Run more WTF tests


Modified: trunk/Tools/Scripts/webkitdirs.pm (220562 => 220563)

--- trunk/Tools/Scripts/webkitdirs.pm	2017-08-10 23:42:14 UTC (rev 220562)
+++ trunk/Tools/Scripts/webkitdirs.pm	2017-08-10 23:57:47 UTC (rev 220563)
@@ -230,6 +230,7 @@
 determineSourceDir();
 
 my $setSharedPrecompsDir;
+my $indexDataStoreDir;
 $baseProductDir = $ENV{"WEBKIT_OUTPUTDIR"};
 
 if (!defined($baseProductDir) and isAppleCocoaWebKit()) {
@@ -247,7 +248,10 @@
 if ($buildLocationStyle eq "Custom") {
 my $buildLocationType = join '', readXcodeUserDefault("IDECustomBuildLocationType");
 # FIXME: Read CustomBuildIntermediatesPath and set OBJROOT accordingly.
-$baseProductDir = readXcodeUserDefault("IDECustomBuildProductsPath") if $buildLocationType eq "Absolute";
+if ($buildLocationType eq "Absolute") {
+$baseProductDir = readXcodeUserDefault("IDECustomBuildProductsPath");
+$indexDataStoreDir = readXcodeUserDefault("IDECustomIndexStorePath");
+}
 }
 
 # DeterminedByTargets corresponds to a setting of "Legacy" in Xcode.
@@ -280,6 +284,7 @@
 die "Can't handle Xcode product directory with a variable in it.\n" if $baseProductDir =~ /\$/;
 @baseProductDirOption = ("SYMROOT=$baseProductDir", "OBJROOT=$baseProductDir");
 push(@baseProductDirOption, "SHARED_PRECOMPS_DIR=${baseProductDir}/PrecompiledHeaders") if $setSharedPrecompsDir;
+push(@baseProductDirOption, "INDEX_ENABLE_DATA_STORE=YES", "INDEX_DATA_STORE_DIR=${indexDataStoreDir}") if $indexDataStoreDir;
 }
 
 if (isCygwin()) {






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220562] trunk

2017-08-10 Thread utatane . tea
Title: [220562] trunk








Revision 220562
Author utatane@gmail.com
Date 2017-08-10 16:42:14 -0700 (Thu, 10 Aug 2017)


Log Message
Run more WTF tests
https://bugs.webkit.org/show_bug.cgi?id=174970

Reviewed by Michael Catanzaro.

Source/WTF:

CHAR_BIT is not defined.

* wtf/LEBDecoder.h:

Tools:

Some of WTF tests are not executed in non Apple ports while they are generic ones.
This patch adds these tests to non-Apple port TestWebKitAPI.
Currently, we do not add Signals.cpp since it depends on signal functionality.

* TestWebKitAPI/CMakeLists.txt:
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
(isHigherPriority):
(TEST):
* TestWebKitAPI/Tests/WTF/Signals.cpp: Copied from Tools/TestWebKitAPI/Tests/WTF/ThreadMessages.cpp.
(TEST):
* TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
(TEST):

Modified Paths

trunk/Source/WTF/ChangeLog
trunk/Source/WTF/wtf/LEBDecoder.h
trunk/Tools/ChangeLog
trunk/Tools/TestWebKitAPI/CMakeLists.txt
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp
trunk/Tools/TestWebKitAPI/Tests/WTF/ThreadMessages.cpp


Added Paths

trunk/Tools/TestWebKitAPI/Tests/WTF/Signals.cpp




Diff

Modified: trunk/Source/WTF/ChangeLog (220561 => 220562)

--- trunk/Source/WTF/ChangeLog	2017-08-10 23:21:03 UTC (rev 220561)
+++ trunk/Source/WTF/ChangeLog	2017-08-10 23:42:14 UTC (rev 220562)
@@ -1,3 +1,14 @@
+2017-08-10  Yusuke Suzuki  
+
+Run more WTF tests
+https://bugs.webkit.org/show_bug.cgi?id=174970
+
+Reviewed by Michael Catanzaro.
+
+CHAR_BIT is not defined.
+
+* wtf/LEBDecoder.h:
+
 2017-08-09  Yusuke Suzuki  
 
 [WTF] ThreadSpecific should not introduce additional indirection


Modified: trunk/Source/WTF/wtf/LEBDecoder.h (220561 => 220562)

--- trunk/Source/WTF/wtf/LEBDecoder.h	2017-08-10 23:21:03 UTC (rev 220561)
+++ trunk/Source/WTF/wtf/LEBDecoder.h	2017-08-10 23:42:14 UTC (rev 220562)
@@ -27,6 +27,7 @@
 
 #include "Compiler.h"
 #include 
+#include 
 
 // This file contains a bunch of helper functions for decoding LEB numbers.
 // See https://en.wikipedia.org/wiki/LEB128 for more information about the


Modified: trunk/Tools/ChangeLog (220561 => 220562)

--- trunk/Tools/ChangeLog	2017-08-10 23:21:03 UTC (rev 220561)
+++ trunk/Tools/ChangeLog	2017-08-10 23:42:14 UTC (rev 220562)
@@ -1,3 +1,24 @@
+2017-08-10  Yusuke Suzuki  
+
+Run more WTF tests
+https://bugs.webkit.org/show_bug.cgi?id=174970
+
+Reviewed by Michael Catanzaro.
+
+Some of WTF tests are not executed in non Apple ports while they are generic ones.
+This patch adds these tests to non-Apple port TestWebKitAPI.
+Currently, we do not add Signals.cpp since it depends on signal functionality.
+
+* TestWebKitAPI/CMakeLists.txt:
+* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
+* TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
+(isHigherPriority):
+(TEST):
+* TestWebKitAPI/Tests/WTF/Signals.cpp: Copied from Tools/TestWebKitAPI/Tests/WTF/ThreadMessages.cpp.
+(TEST):
+* TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
+(TEST):
+
 2017-08-10  obinna obike  
 
 Remove obsolete link from webkit-queues status page


Modified: trunk/Tools/TestWebKitAPI/CMakeLists.txt (220561 => 220562)

--- trunk/Tools/TestWebKitAPI/CMakeLists.txt	2017-08-10 23:21:03 UTC (rev 220561)
+++ trunk/Tools/TestWebKitAPI/CMakeLists.txt	2017-08-10 23:42:14 UTC (rev 220562)
@@ -42,10 +42,10 @@
 ${TESTWEBKITAPI_DIR}/TestsController.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/AtomicString.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/BloomFilter.cpp
-${TESTWEBKITAPI_DIR}/Tests/WTF/CrossThreadTask.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/CString.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/CheckedArithmeticOperations.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/Condition.cpp
+${TESTWEBKITAPI_DIR}/Tests/WTF/CrossThreadTask.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/DateMath.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/Deque.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/EnumTraits.cpp
@@ -55,6 +55,7 @@
 ${TESTWEBKITAPI_DIR}/Tests/WTF/HashMap.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/HashSet.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/IntegerToStringConversion.cpp
+${TESTWEBKITAPI_DIR}/Tests/WTF/LEBDecoder.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/LifecycleLogger.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/ListHashSet.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/Lock.cpp
@@ -68,6 +69,7 @@
 ${TESTWEBKITAPI_DIR}/Tests/WTF/Optional.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/OptionSet.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/ParkingLot.cpp
+${TESTWEBKITAPI_DIR}/Tests/WTF/PriorityQueue.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/RedBlackTree.cpp
 ${TESTWEBKITAPI_DIR}/Tests/WTF/Ref.cpp
 

[webkit-changes] [220560] branches/safari-604.1.38.1-branch/Source

2017-08-10 Thread jmarcell
Title: [220560] branches/safari-604.1.38.1-branch/Source








Revision 220560
Author jmarc...@apple.com
Date 2017-08-10 16:20:26 -0700 (Thu, 10 Aug 2017)


Log Message
Versioning.

Modified Paths

branches/safari-604.1.38.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/WebCore/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/WebCore/PAL/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/WebKit/Configurations/Version.xcconfig
branches/safari-604.1.38.1-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig




Diff

Modified: branches/safari-604.1.38.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.1-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.1-branch/Source/WebCore/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.1-branch/Source/WebCore/PAL/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -2,7 +2,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The system version prefix is based on the current system version.


Modified: branches/safari-604.1.38.1-branch/Source/WebKit/Configurations/Version.xcconfig (220559 => 220560)

--- branches/safari-604.1.38.1-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
+++ branches/safari-604.1.38.1-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:20:26 UTC (rev 220560)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 1;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: 

[webkit-changes] [220559] branches/safari-604.1.38.0-branch/Source

2017-08-10 Thread jmarcell
Title: [220559] branches/safari-604.1.38.0-branch/Source








Revision 220559
Author jmarc...@apple.com
Date 2017-08-10 16:18:13 -0700 (Thu, 10 Aug 2017)


Log Message
Versioning.

Modified Paths

branches/safari-604.1.38.0-branch/Source/_javascript_Core/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/WebCore/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/WebCore/PAL/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/WebInspectorUI/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/WebKit/Configurations/Version.xcconfig
branches/safari-604.1.38.0-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig




Diff

Modified: branches/safari-604.1.38.0-branch/Source/_javascript_Core/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.0-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.0-branch/Source/WebCore/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.0-branch/Source/WebCore/PAL/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: branches/safari-604.1.38.0-branch/Source/WebInspectorUI/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -2,7 +2,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The system version prefix is based on the current system version.


Modified: branches/safari-604.1.38.0-branch/Source/WebKit/Configurations/Version.xcconfig (220558 => 220559)

--- branches/safari-604.1.38.0-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
+++ branches/safari-604.1.38.0-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:18:13 UTC (rev 220559)
@@ -25,7 +25,7 @@
 MINOR_VERSION = 1;
 TINY_VERSION = 38;
 MICRO_VERSION = 0;
-NANO_VERSION = 4;
+NANO_VERSION = 5;
 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: 

[webkit-changes] [220558] branches/safari-604-branch/Source

2017-08-10 Thread jmarcell
Title: [220558] branches/safari-604-branch/Source








Revision 220558
Author jmarc...@apple.com
Date 2017-08-10 16:16:42 -0700 (Thu, 10 Aug 2017)


Log Message
Versioning.

Modified Paths

branches/safari-604-branch/Source/_javascript_Core/Configurations/Version.xcconfig
branches/safari-604-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
branches/safari-604-branch/Source/WebCore/Configurations/Version.xcconfig
branches/safari-604-branch/Source/WebCore/PAL/Configurations/Version.xcconfig
branches/safari-604-branch/Source/WebInspectorUI/Configurations/Version.xcconfig
branches/safari-604-branch/Source/WebKit/Configurations/Version.xcconfig
branches/safari-604-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig




Diff

Modified: branches/safari-604-branch/Source/_javascript_Core/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/WebCore/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/WebCore/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/WebCore/PAL/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/WebInspectorUI/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -1,6 +1,6 @@
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/WebKit/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/WebKit/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 MICRO_VERSION = 0;
 NANO_VERSION = 0;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION);


Modified: branches/safari-604-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig (220557 => 220558)

--- branches/safari-604-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig	2017-08-10 23:14:19 UTC (rev 220557)
+++ branches/safari-604-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig	2017-08-10 23:16:42 UTC (rev 220558)
@@ -23,7 +23,7 @@
 
 MAJOR_VERSION = 604;
 MINOR_VERSION = 2;
-TINY_VERSION = 2;
+TINY_VERSION = 3;
 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] [220557] tags/Safari-604.2.2/

2017-08-10 Thread jmarcell
Title: [220557] tags/Safari-604.2.2/








Revision 220557
Author jmarc...@apple.com
Date 2017-08-10 16:14:19 -0700 (Thu, 10 Aug 2017)


Log Message
Tag Safari-604.2.2.

Added Paths

tags/Safari-604.2.2/




Diff




___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220556] trunk/Source

2017-08-10 Thread mark . lam
Title: [220556] trunk/Source








Revision 220556
Author mark@apple.com
Date 2017-08-10 16:00:06 -0700 (Thu, 10 Aug 2017)


Log Message
Apply the UNLIKELY macro to some unlikely things.
https://bugs.webkit.org/show_bug.cgi?id=175440


Reviewed by Yusuke Suzuki.

Source/_javascript_Core:

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::~CodeBlock):
(JSC::CodeBlock::jettison):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleCall):
(JSC::DFG::ByteCodeParser::handleVarargsCall):
(JSC::DFG::ByteCodeParser::handleGetById):
(JSC::DFG::ByteCodeParser::handlePutById):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::parseCodeBlock):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::JITCompiler):
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
(JSC::DFG::JITCompiler::disassemble):
* dfg/DFGJITFinalizer.cpp:
(JSC::DFG::JITFinalizer::finalizeCommon):
* dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::compileOSRExit):
* dfg/DFGPlan.cpp:
(JSC::DFG::Plan::Plan):
* ftl/FTLJITFinalizer.cpp:
(JSC::FTL::JITFinalizer::finalizeCommon):
* ftl/FTLLink.cpp:
(JSC::FTL::link):
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::compileWithoutLinking):
(JSC::JIT::link):
* runtime/ScriptExecutable.cpp:
(JSC::ScriptExecutable::installCode):
* runtime/VM.cpp:
(JSC::VM::VM):

Source/WebKit:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::getBytecodeProfile):

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp
trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.cpp
trunk/Source/_javascript_Core/dfg/DFGJITCompiler.cpp
trunk/Source/_javascript_Core/dfg/DFGJITFinalizer.cpp
trunk/Source/_javascript_Core/dfg/DFGOSRExit.cpp
trunk/Source/_javascript_Core/dfg/DFGPlan.cpp
trunk/Source/_javascript_Core/ftl/FTLJITFinalizer.cpp
trunk/Source/_javascript_Core/ftl/FTLLink.cpp
trunk/Source/_javascript_Core/ftl/FTLOSRExitCompiler.cpp
trunk/Source/_javascript_Core/jit/JIT.cpp
trunk/Source/_javascript_Core/runtime/ScriptExecutable.cpp
trunk/Source/_javascript_Core/runtime/VM.cpp
trunk/Source/WebKit/ChangeLog
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (220555 => 220556)

--- trunk/Source/_javascript_Core/ChangeLog	2017-08-10 22:57:33 UTC (rev 220555)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-08-10 23:00:06 UTC (rev 220556)
@@ -1,3 +1,47 @@
+2017-08-10  Mark Lam  
+
+Apply the UNLIKELY macro to some unlikely things.
+https://bugs.webkit.org/show_bug.cgi?id=175440
+
+
+Reviewed by Yusuke Suzuki.
+
+* bytecode/CodeBlock.cpp:
+(JSC::CodeBlock::~CodeBlock):
+(JSC::CodeBlock::jettison):
+* dfg/DFGByteCodeParser.cpp:
+(JSC::DFG::ByteCodeParser::handleCall):
+(JSC::DFG::ByteCodeParser::handleVarargsCall):
+(JSC::DFG::ByteCodeParser::handleGetById):
+(JSC::DFG::ByteCodeParser::handlePutById):
+(JSC::DFG::ByteCodeParser::parseBlock):
+(JSC::DFG::ByteCodeParser::parseCodeBlock):
+* dfg/DFGJITCompiler.cpp:
+(JSC::DFG::JITCompiler::JITCompiler):
+(JSC::DFG::JITCompiler::linkOSRExits):
+(JSC::DFG::JITCompiler::link):
+(JSC::DFG::JITCompiler::disassemble):
+* dfg/DFGJITFinalizer.cpp:
+(JSC::DFG::JITFinalizer::finalizeCommon):
+* dfg/DFGOSRExit.cpp:
+(JSC::DFG::OSRExit::compileOSRExit):
+* dfg/DFGPlan.cpp:
+(JSC::DFG::Plan::Plan):
+* ftl/FTLJITFinalizer.cpp:
+(JSC::FTL::JITFinalizer::finalizeCommon):
+* ftl/FTLLink.cpp:
+(JSC::FTL::link):
+* ftl/FTLOSRExitCompiler.cpp:
+(JSC::FTL::compileStub):
+* jit/JIT.cpp:
+(JSC::JIT::privateCompileMainPass):
+(JSC::JIT::compileWithoutLinking):
+(JSC::JIT::link):
+* runtime/ScriptExecutable.cpp:
+(JSC::ScriptExecutable::installCode):
+* runtime/VM.cpp:
+(JSC::VM::VM):
+
 2017-08-09  Yusuke Suzuki  
 
 [WTF] ThreadSpecific should not introduce additional indirection


Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (220555 => 220556)

--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2017-08-10 22:57:33 UTC (rev 220555)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2017-08-10 23:00:06 UTC (rev 220556)
@@ -839,7 +839,7 @@
 
 CodeBlock::~CodeBlock()
 {
-if (m_vm->m_perBytecodeProfiler)
+if (UNLIKELY(m_vm->m_perBytecodeProfiler))
 m_vm->m_perBytecodeProfiler->notifyDestruction(this);
 
 if (unlinkedCodeBlock()->didOptimize() == MixedTriState)
@@ -1917,7 +1917,8 @@
 
 #if ENABLE(DFG_JIT)
 if (reason != Profiler::JettisonDueToOldAge) {
-if (Profiler::Compilation* compilation = jitCode()->dfgCommon()->compilation.get())
+Profiler::Compilation* compilation = 

[webkit-changes] [220554] tags/Safari-604.1.38.1.4/

2017-08-10 Thread jmarcell
Title: [220554] tags/Safari-604.1.38.1.4/








Revision 220554
Author jmarc...@apple.com
Date 2017-08-10 15:44:14 -0700 (Thu, 10 Aug 2017)


Log Message
Tag Safari-604.1.38.1.4.

Added Paths

tags/Safari-604.1.38.1.4/




Diff




___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220553] trunk/Source/WebKit

2017-08-10 Thread cdumez
Title: [220553] trunk/Source/WebKit








Revision 220553
Author cdu...@apple.com
Date 2017-08-10 15:42:29 -0700 (Thu, 10 Aug 2017)


Log Message
Turn on support for Beacon API by default in STP
https://bugs.webkit.org/show_bug.cgi?id=175445


Reviewed by Youenn Fablet.

* Shared/WebPreferencesDefinitions.h:

Modified Paths

trunk/Source/WebKit/ChangeLog
trunk/Source/WebKit/Shared/WebPreferencesDefinitions.h




Diff

Modified: trunk/Source/WebKit/ChangeLog (220552 => 220553)

--- trunk/Source/WebKit/ChangeLog	2017-08-10 22:39:48 UTC (rev 220552)
+++ trunk/Source/WebKit/ChangeLog	2017-08-10 22:42:29 UTC (rev 220553)
@@ -1,3 +1,13 @@
+2017-08-10  Chris Dumez  
+
+Turn on support for Beacon API by default in STP
+https://bugs.webkit.org/show_bug.cgi?id=175445
+
+
+Reviewed by Youenn Fablet.
+
+* Shared/WebPreferencesDefinitions.h:
+
 2017-08-10  Ross Kirsling  
 
 Fix iOS simulator build after change "[WTF] Move TextStream into WTF"


Modified: trunk/Source/WebKit/Shared/WebPreferencesDefinitions.h (220552 => 220553)

--- trunk/Source/WebKit/Shared/WebPreferencesDefinitions.h	2017-08-10 22:39:48 UTC (rev 220552)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefinitions.h	2017-08-10 22:42:29 UTC (rev 220553)
@@ -359,7 +359,7 @@
 //   wider testing).
 
 #define FOR_EACH_WEBKIT_EXPERIMENTAL_FEATURE_PREFERENCE(macro) \
-macro(BeaconAPIEnabled, beaconAPIEnabled, Bool, bool, false, "Beacon API", "Beacon API prototype") \
+macro(BeaconAPIEnabled, beaconAPIEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Beacon API", "Beacon API") \
 macro(ConstantPropertiesEnabled, constantPropertiesEnabled, Bool, bool, true, "Constant Properties", "Enable CSS constant() properties") \
 macro(DisplayContentsEnabled, displayContentsEnabled, Bool, bool, false, "CSS display: contents", "Enable CSS display: contents support") \
 macro(SpringTimingFunctionEnabled, springTimingFunctionEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Spring Animations", "CSS Spring Animation prototype") \






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220552] tags/Safari-604.1.38.0.4/

2017-08-10 Thread jmarcell
Title: [220552] tags/Safari-604.1.38.0.4/








Revision 220552
Author jmarc...@apple.com
Date 2017-08-10 15:39:48 -0700 (Thu, 10 Aug 2017)


Log Message
Tag Safari-604.1.38.0.4.

Added Paths

tags/Safari-604.1.38.0.4/




Diff




___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [220551] trunk

2017-08-10 Thread n_wang
Title: [220551] trunk








Revision 220551
Author n_w...@apple.com
Date 2017-08-10 15:15:49 -0700 (Thu, 10 Aug 2017)


Log Message
AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24
https://bugs.webkit.org/show_bug.cgi?id=175340


Reviewed by Chris Fleizach.

Source/WebCore:

The issue here is that we manualy set the parent object of the AccessibilitySVGRoot object
and there are chances that the parent doesn't detach it properly during the parent's destroying
process. Accessing the stale parent object will lead to a crash.
Fixed this by making the parent object a weak pointer so we don't access an invalid memory. 

Test: accessibility/add-children-pseudo-element.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::AccessibilityRenderObject):
* accessibility/AccessibilityRenderObject.h:
(WebCore::AccessibilityRenderObject::createWeakPtr):
* accessibility/AccessibilitySVGRoot.cpp:
(WebCore::AccessibilitySVGRoot::AccessibilitySVGRoot):
(WebCore::AccessibilitySVGRoot::setParent):
(WebCore::AccessibilitySVGRoot::parentObject const):
* accessibility/AccessibilitySVGRoot.h:

LayoutTests:

* accessibility/add-children-pseudo-element-expected.txt: Added.
* accessibility/add-children-pseudo-element.html: Added.
* accessibility/resources/svg-circle.svg: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp
trunk/Source/WebCore/accessibility/AccessibilityRenderObject.h
trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.cpp
trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.h


Added Paths

trunk/LayoutTests/accessibility/add-children-pseudo-element-expected.txt
trunk/LayoutTests/accessibility/add-children-pseudo-element.html
trunk/LayoutTests/accessibility/resources/svg-circle.svg




Diff

Modified: trunk/LayoutTests/ChangeLog (220550 => 220551)

--- trunk/LayoutTests/ChangeLog	2017-08-10 22:08:34 UTC (rev 220550)
+++ trunk/LayoutTests/ChangeLog	2017-08-10 22:15:49 UTC (rev 220551)
@@ -1,3 +1,15 @@
+2017-08-10  Nan Wang  
+
+AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24
+https://bugs.webkit.org/show_bug.cgi?id=175340
+
+
+Reviewed by Chris Fleizach.
+
+* accessibility/add-children-pseudo-element-expected.txt: Added.
+* accessibility/add-children-pseudo-element.html: Added.
+* accessibility/resources/svg-circle.svg: Added.
+
 2017-08-10  Chris Dumez  
 
 [Beacon] Do connect-src CSP check on redirects as well


Added: trunk/LayoutTests/accessibility/add-children-pseudo-element-expected.txt (0 => 220551)

--- trunk/LayoutTests/accessibility/add-children-pseudo-element-expected.txt	(rev 0)
+++ trunk/LayoutTests/accessibility/add-children-pseudo-element-expected.txt	2017-08-10 22:15:49 UTC (rev 220551)
@@ -0,0 +1,12 @@
+Language Email 
+Make sure that we are updating the render block flow element's children correctly.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS element.childrenCount is 3
+PASS element.childrenCount is 2
+PASS successfullyParsed is true
+
+TEST COMPLETE
+


Added: trunk/LayoutTests/accessibility/add-children-pseudo-element.html (0 => 220551)

--- trunk/LayoutTests/accessibility/add-children-pseudo-element.html	(rev 0)
+++ trunk/LayoutTests/accessibility/add-children-pseudo-element.html	2017-08-10 22:15:49 UTC (rev 220551)
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+Language + +
+ +
+Email + +
+ +
+ +

+
+ +