JJianliang Wang[Feature] Preserve root causes in native Lynx errors
| Files | Last commit | Last update |
|---|---|---|
initial commit | 1 year ago | |
initial commit | 1 year ago | |
[Feature] Preserve root causes in native Lynx errors Add an optional root cause field to the C++ LynxError model and forward it through the page and background runtime error bridges on Android, iOS, and Harmony. Reuse the existing Android and iOS error properties and add Harmony accessors with JSON cache invalidation. Empty root causes remain omitted from serialized errors, while legacy Harmony custom info remains supported. Add Android and Harmony regression coverage for root cause getters, serialization, empty values, and cache updates. Regenerate Harmony API metadata for the added accessors and callback parameter. TEST: Android LynxErrorTest (8 host tests); Darwin production bridge bodies (4 host cases); Harmony LynxErrorTest (3 host tests); coding-style; android-check-style; git diff --check. Device suites were not run. | 12 days ago |