Skip to content

(New-test)TestWebKitAPI.WKWebExtensionAPITabs.CreateTabsOverflowIndex is a constant failure #47254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

akutira-umich
Copy link
Contributor

@akutira-umich akutira-umich commented Jun 26, 2025

fcf76aa

(New-test)TestWebKitAPI.WKWebExtensionAPITabs.CreateTabsOverflowIndex is a constant failure
rdar://152666936
https://bugs.webkit.org/show_bug.cgi?id=294077

Reviewed by Timothy Hatcher.

Changed std::min to MIN in order have a larger max range. Changed the expected max value to the max safe integer instead of NSUIntegerMax.

* Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPITabsCocoa.mm:
(WebKit::clampIndex):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm:
(TestWebKitAPI::TEST(WKWebExtensionAPITabs, CreateTabsOverflowIndex)):

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

24ab297

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2 ⏳ 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 wpe-cairo
✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🧪 api-gtk
✅ 🧪 vision-wk2 ✅ 🧪 mac-intel-wk2 🛠 playstation
✅ 🛠 🧪 unsafe-merge ✅ 🛠 tv ✅ 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@akutira-umich akutira-umich force-pushed the eng/New-test-TestWebKitAPI-WKWebExtensionAPITabs-CreateTabsOverflowIndex-is-a-constant-failure branch from 2f58967 to 063d81f Compare June 27, 2025 00:13
@akutira-umich akutira-umich force-pushed the eng/New-test-TestWebKitAPI-WKWebExtensionAPITabs-CreateTabsOverflowIndex-is-a-constant-failure branch from 063d81f to f7ad82e Compare June 27, 2025 00:16
@akutira-umich akutira-umich force-pushed the eng/New-test-TestWebKitAPI-WKWebExtensionAPITabs-CreateTabsOverflowIndex-is-a-constant-failure branch from f7ad82e to 24ab297 Compare June 27, 2025 00:23
@xeenon xeenon added WebKit Extensions Bugs related to extension support. safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing and removed safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks labels Jun 27, 2025
… is a constant failure

rdar://152666936
https://bugs.webkit.org/show_bug.cgi?id=294077

Reviewed by Timothy Hatcher.

Changed std::min to MIN in order have a larger max range. Changed the expected max value to the max safe integer instead of NSUIntegerMax.

* Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPITabsCocoa.mm:
(WebKit::clampIndex):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm:
(TestWebKitAPI::TEST(WKWebExtensionAPITabs, CreateTabsOverflowIndex)):

Canonical link: https://commits.webkit.org/296705@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/New-test-TestWebKitAPI-WKWebExtensionAPITabs-CreateTabsOverflowIndex-is-a-constant-failure branch from 24ab297 to fcf76aa Compare June 27, 2025 03:50
@webkit-commit-queue
Copy link
Collaborator

Committed 296705@main (fcf76aa): https://commits.webkit.org/296705@main

Reviewed commits have been landed. Closing PR #47254 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit fcf76aa into WebKit:main Jun 27, 2025
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Extensions Bugs related to extension support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants