Tags: youtube/cobalt
Tags
Cherry pick PR #7191: android: Capture top 4 Java stack frames on exc… …eption (#7193) Refer to the original PR: #7191 The previous FindFirstJavaFileAndLine only extracted the first file and line number from a Java exception, which is often insufficient for debugging. This updates the regex to also capture the method name and iterates to find the top 4 frames of the stack trace. The resulting string (e.g., method1@file1:10&method2@file2:20) will provide much richer context for crash analysis. Bug: 430385989 Change-Id: Ifd005980c49de10e5a257d10e8169026c88449c6 Co-authored-by: Colin Liang <colinliang@google.com>
Cherry pick PR #7110: starboard: Check pthread_join completes success… …fully (#7120) Refer to the original PR: #7110 The code relies on a fundamental invariant: after pthread_join() returns, the joined thread is guaranteed to have terminated. This means no more callbacks will be made from that thread. A failure in `pthread_join()` breaches this invariant and leads to an unexpected state where the supposedly-completed thread is still running and calling callbacks. This can lead to use-after-free errors or other race conditions. This change adds a check to enforce this invariant, preventing the application from continuing in a corrupt state. #vibe-coded Bug: 443334872 --------- Co-authored-by: Kyujung Youn <kjyoun@google.com>
Cherry pick PR #5406: Register main thread and in-process renderer th… …read in HangWatcher (#5406) (#6834) Refer to the original PR: #5406 Enable HangWatcher for both main browser thread and in-process renderer thread. There are some changes in the HangWatcher enums to support single-process mode. b/396518491
Cherry pick PR #6857: Use environmental variables for on-host sharding ( #6887) Refer to the original PR: #6857 Chrome test launcher doesn't support shard related command line arguments. Also disable flaky tests including all of the Blink unit test. Issue: 436300102 --------- Co-authored-by: Igor Sarkisov <isarkisov@google.com>
Cherry pick PR #6668: Add BooleanHung definition to cobalt-specific e… …nums.xml. (#6779) Refer to the original PR: #6668 Add BooleanHung definition to cobalt-specific enums.xml. It's not picked up from the main file main/tools/metrics/histograms/enums.xml Bug: 432566177 Co-authored-by: Anton <antonlunev@google.com>
Cherry pick PR #6699: cobalt/shell: Remove origin trials deps (#6715) Refer to the original PR: #6699 Origin Trials are for experimenting with Web features that are not yet ready for production. Cobalt has no need for such a feature, since it is not delivering new features for apps, but delivering a base for browsing and media playback. Test: out/android-arm_devel/bin/run_cobalt_browsertests -v Test: out/android-arm_devel/cobalt_unittests -v Fixed: 431035934 Co-authored-by: Adam Walls <avvall@google.com>
Cherry pick PR #6460: Use a copy of ContextLifecycleObserver for exit… … notifications (#6553) Refer to the original PR: #6460 We see a crash in blink::HeapObserverSet::AddObserver where the set called this function while being iterated over. HeapObserverSet<ContextLifecycleObserver> is only held in the ContextLifecycleNotifier, so we are quite certain this is where the add-while-iterating issue happens. This is an attempt to fix. Bug: 427982512 Co-authored-by: johnx <johnx@google.com>
Cherry pick PR #6425: BACKPORT: Export GetFieldTrialParamByFeatureAsT… …imeDelta function (#6432) Refer to the original PR: #6425 This PR backports https://chromium-review.googlesource.com/c/chromium/src/+/4891966 to help implement the Chrobalt-Starboard Features Extension. This adds the necessary header function to help convert base::TimeDelta feature parameters to their respective int64_t values under Starboard. This change is backported from m120+. There are no revisions added to this cherry-pick. Bug: 416039556 Original Commit Description: This CL exports GetFieldTrialParamByFeatureAsTimeDelta function to be accessible from outside. Change-Id: I25d3da13dabf6815cf5e1f6dbfa7e86c01b0b540 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4891966 (cherry picked from commit fedb8270fc77e0f79a79cdfd8efbdc7ebb25bdec) Co-authored-by: John Ocampo <johneocampo@google.com> Co-authored-by: Minoru Chikamune <chikamune@chromium.org>
PreviousNext