mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
The `<geolocation>` HTML element looks up IDS_PERMISSION_REQUEST_GEOLOCATION via ResourceBundle::GetLocalizedString(). These string IDs are defined in third_party/blink/public/strings/permission_element_strings.grd. Electron didn't include that in its pak file, causing CHECK(!data->empty()). Ths PR adds the per-locale permission_element_strings paks and the aggregated permission_element_generated_strings pak to electron_paks.gni. This matches how it's done in `chrome/chrome_repack_locales.gni` and in `chrome/chrome_paks.gni`. Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5907626 Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>