[webkit-changes] [289689] trunk/Source/JavaScriptCore

2022-02-11 Thread don . olmstead
Title: [289689] trunk/Source/_javascript_Core








Revision 289689
Author don.olmst...@sony.com
Date 2022-02-11 18:29:56 -0800 (Fri, 11 Feb 2022)


Log Message
Allow structureHeapAddressSize to be set during build
https://bugs.webkit.org/show_bug.cgi?id=236527

Reviewed by Yusuke Suzuki.

Add `STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB` as a way to set the size of
structureHeapAddressSize at build time. Set a default for the PlayStation port.

* PlatformPlayStation.cmake:
* runtime/JSCConfig.h:

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/PlatformPlayStation.cmake
trunk/Source/_javascript_Core/runtime/JSCConfig.h




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (289688 => 289689)

--- trunk/Source/_javascript_Core/ChangeLog	2022-02-12 02:04:36 UTC (rev 289688)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-02-12 02:29:56 UTC (rev 289689)
@@ -1,3 +1,16 @@
+2022-02-11  Don Olmstead  
+
+Allow structureHeapAddressSize to be set during build
+https://bugs.webkit.org/show_bug.cgi?id=236527
+
+Reviewed by Yusuke Suzuki.
+
+Add `STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB` as a way to set the size of
+structureHeapAddressSize at build time. Set a default for the PlayStation port.
+
+* PlatformPlayStation.cmake:
+* runtime/JSCConfig.h:
+
 2022-02-10  Keith Miller  
 
 tryReserveUncommittedAligned should explicitly take the alignment requested


Modified: trunk/Source/_javascript_Core/PlatformPlayStation.cmake (289688 => 289689)

--- trunk/Source/_javascript_Core/PlatformPlayStation.cmake	2022-02-12 02:04:36 UTC (rev 289688)
+++ trunk/Source/_javascript_Core/PlatformPlayStation.cmake	2022-02-12 02:29:56 UTC (rev 289689)
@@ -34,5 +34,10 @@
 )
 endif ()
 
+# This overrides the default value of 1GB for the structure heap address size
+list(APPEND _javascript_Core_DEFINITIONS
+STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB=128
+)
+
 # This overrides the default x64 value of 1GB for the memory pool size
 add_definitions(-DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=64)


Modified: trunk/Source/_javascript_Core/runtime/JSCConfig.h (289688 => 289689)

--- trunk/Source/_javascript_Core/runtime/JSCConfig.h	2022-02-12 02:04:36 UTC (rev 289688)
+++ trunk/Source/_javascript_Core/runtime/JSCConfig.h	2022-02-12 02:29:56 UTC (rev 289689)
@@ -41,7 +41,9 @@
 using JITWriteSeparateHeapsFunction = void (*)(off_t, const void*, size_t);
 #endif
 
-#if PLATFORM(IOS_FAMILY) && CPU(ARM64) && !CPU(ARM64E)
+#if defined(STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB) && STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB > 0
+constexpr uintptr_t structureHeapAddressSize = STRUCTURE_HEAP_ADDRESS_SIZE_IN_MB * MB;
+#elif PLATFORM(IOS_FAMILY) && CPU(ARM64) && !CPU(ARM64E)
 constexpr uintptr_t structureHeapAddressSize = 512 * MB;
 #else
 constexpr uintptr_t structureHeapAddressSize = 1 * GB;






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


[webkit-changes] [289688] tags/Safari-614.1.3/

2022-02-11 Thread kocsen_chung
Title: [289688] tags/Safari-614.1.3/








Revision 289688
Author kocsen_ch...@apple.com
Date 2022-02-11 18:04:36 -0800 (Fri, 11 Feb 2022)


Log Message
Tag Safari-614.1.3.

Added Paths

tags/Safari-614.1.3/




Diff




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


[webkit-changes] [289687] trunk/Tools

2022-02-11 Thread jbedard
Title: [289687] trunk/Tools








Revision 289687
Author jbed...@apple.com
Date 2022-02-11 18:04:19 -0800 (Fri, 11 Feb 2022)


Log Message
git-webkit setup should allow changing the credentials
https://bugs.webkit.org/show_bug.cgi?id=235297


Reviewed by Dewei Zhu.

* Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker.credentials): Pass validater into webkitscmpy.credentials if caller requests validation.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
(Tracker.credentials): Pass validater into webkitscmpy.credentials if caller requests validation.
* Tools/Scripts/libraries/webkitcorepy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/credentials.py:
(credentials): Allow caller to provide a callback which will validate credentials to ensure
they work, re-prompt user if credentials fail validation.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.git): Request validation of GitHub credentials.
* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py:
(GitHub.credentials): Pass validation flag.

Canonical link: https://commits.webkit.org/247173@main

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/libraries/webkitbugspy/setup.py
trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py
trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py
trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py
trunk/Tools/Scripts/libraries/webkitcorepy/setup.py
trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py
trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/credentials.py
trunk/Tools/Scripts/libraries/webkitscmpy/setup.py
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py




Diff

Modified: trunk/Tools/ChangeLog (289686 => 289687)

--- trunk/Tools/ChangeLog	2022-02-12 01:52:57 UTC (rev 289686)
+++ trunk/Tools/ChangeLog	2022-02-12 02:04:19 UTC (rev 289687)
@@ -1,3 +1,29 @@
+2022-02-08  Jonathan Bedard  
+
+git-webkit setup should allow changing the credentials
+https://bugs.webkit.org/show_bug.cgi?id=235297
+
+
+Reviewed by Dewei Zhu.
+
+* Scripts/libraries/webkitbugspy/setup.py: Bump version.
+* Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
+* Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
+(Tracker.credentials): Pass validater into webkitscmpy.credentials if caller requests validation.
+* Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
+(Tracker.credentials): Pass validater into webkitscmpy.credentials if caller requests validation.
+* Scripts/libraries/webkitcorepy/setup.py: Bump version.
+* Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto.
+* Scripts/libraries/webkitcorepy/webkitcorepy/credentials.py:
+(credentials): Allow caller to provide a callback which will validate credentials to ensure
+they work, re-prompt user if credentials fail validation.
+* Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
+(Setup.git): Request validation of GitHub credentials.
+* Scripts/libraries/webkitscmpy/setup.py: Bump version.
+* Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
+* Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py:
+(GitHub.credentials): Pass validation flag.
+
 2022-02-09  Jonathan Bedard  
 
 [git-webkit] Link issue to pull requests


Modified: trunk/Tools/Scripts/libraries/webkitbugspy/setup.py (289686 => 289687)

--- trunk/Tools/Scripts/libraries/webkitbugspy/setup.py	2022-02-12 01:52:57 UTC (rev 289686)
+++ trunk/Tools/Scripts/libraries/webkitbugspy/setup.py	2022-02-12 02:04:19 UTC (rev 289687)
@@ -30,7 +30,7 @@
 
 setup(
 name='webkitbugspy',
-version='0.3.2',
+version='0.3.3',
 description='Library containing a shared API for various bug trackers.',
 long_description=readme(),
 classifiers=[


Modified: trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py (289686 => 289687)

--- trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py	2022-02-12 01:52:57 UTC (rev 289686)
+++ trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py	2022-02-12 02:04:19 UTC (rev 289687)
@@ -46,7 +46,7 @@
 "Please install webkitcorepy with `pip install webkitcorepy --extra-index-url `"
 )
 
-version = Version(0, 3, 2)
+version = Version(0, 3, 3)
 
 fro

[webkit-changes] [289686] trunk

2022-02-11 Thread zalan
Title: [289686] trunk








Revision 289686
Author za...@apple.com
Date 2022-02-11 17:52:57 -0800 (Fri, 11 Feb 2022)


Log Message
`contain:content` breaks fullscreen
https://bugs.webkit.org/show_bug.cgi?id=236470


Reviewed by Simon Fraser.

Source/WebCore:

Paint/layout containment forms a containing block for fixed positioned block boxes. It makes all fixed
positioned descendants anchored (contained) to this layout container.
This patch enables fullscreen boxes break out of this non-ICB based layout scope (this is similar to what we
do for other, "layout scope changing" properties, see canContainFixedPositionObjects).

Test: fullscreen/fullscreen-prevented-by-containment.html

* css/fullscreen.css:
(:-webkit-full-screen-ancestor:not(iframe)):
* css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::CSSParserContext):

LayoutTests:

* fullscreen/fullscreen-prevented-by-containment-expected.txt: Added.
* fullscreen/fullscreen-prevented-by-containment.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/css/fullscreen.css
trunk/Source/WebCore/css/parser/CSSParserContext.cpp


Added Paths

trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment-expected.txt
trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment.html




Diff

Modified: trunk/LayoutTests/ChangeLog (289685 => 289686)

--- trunk/LayoutTests/ChangeLog	2022-02-12 01:46:34 UTC (rev 289685)
+++ trunk/LayoutTests/ChangeLog	2022-02-12 01:52:57 UTC (rev 289686)
@@ -1,3 +1,14 @@
+2022-02-11  Alan Bujtas  
+
+`contain:content` breaks fullscreen
+https://bugs.webkit.org/show_bug.cgi?id=236470
+
+
+Reviewed by Simon Fraser.
+
+* fullscreen/fullscreen-prevented-by-containment-expected.txt: Added.
+* fullscreen/fullscreen-prevented-by-containment.html: Added.
+
 2022-02-11  Truitt Savell  
 
 Marking expectations for compositing/iframes/border-radius-composited-frame.html as it is failing on EWS


Added: trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment-expected.txt (0 => 289686)

--- trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment-expected.txt	(rev 0)
+++ trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment-expected.txt	2022-02-12 01:52:57 UTC (rev 289686)
@@ -0,0 +1,4 @@
+This is the fullscreen element (click to activate)
+EVENT(webkitfullscreenchange) TEST(fullscreener.offsetWidth == window.innerWidth && fullscreener.offsetHeight == window.innerHeight) OK
+END OF TEST
+


Added: trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment.html (0 => 289686)

--- trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment.html	(rev 0)
+++ trunk/LayoutTests/fullscreen/fullscreen-prevented-by-containment.html	2022-02-12 01:52:57 UTC (rev 289686)
@@ -0,0 +1,32 @@
+
+
+.content-ancestor {
+  background-color: red;
+  height: 500px;
+  width: 500px;
+}
+.content {
+  contain: content;
+}
+
+#fullscreener {
+  background-color: green;
+}
+
+
+
+
This is the fullscreen element (click to activate)
+
+