github / github/browser-support

Identification of JavaScript files with Public Class Fields ...

Đang mở
#101 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
165
Fork
43
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
2

Mô tả

Dear GitHub support,

could you please make JavaScript files with Public Class Fields, Private Elements and Static Initialization Blocks identifiable again?

The irreplaceable but abandoned Waterfox Classic web browser (which is based on Firefox 56) does not support these web features. As a workaround, the unofficial [Polly+ extension](https://github.com/BrowserWorks/Waterfox-Classic/issues/182#issuecomment-1362129403) can transform JavaScript files on loading using the [Babel standalone](https://babeljs.io/docs/babel-standalone) script to avoid errors. This has been the case since late 2023, [after the compatible service was removed from GitHub](https://github.com/martok/palefill/issues/94#issuecomment-1854367897).

Previously, only URLs containing specific substrings were transformed (such as ``modules_oddbird_popover|modules_github_arianotify|modules_github_text-expander-element|modules_tanstack_|modules_date-fns_addWeeks|/repositories-|modules_emotion_is|_memoize_dist|_hotkey_dist|_primer_live-region-e|_hydro-analyt|_accname_dist|/environment-|e-attachment-e|/commits-|combobox-nav_|_lit-labs|_g-emoji-e|_quote-selection_|_mergebox_i|-alive-subscription_|_handlewithcare_r|copilot-|/issues-react-|-relay_hooks|dom-input-range_|emoji-regex_|focus-visible_|swc_helpers``), where a script would otherwise have caused errors.

In November 2025, the meaningful JavaScript filenames were replaced with random characters (example: https://github.githubassets.com/assets/2785-addb5ec08646.js).

Please tell me how I can identify files that use the aforementioned web functions for performance reasons.

Thanks.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

The issue names no repository files, tests, or entry points. Start by determining whether browser-support contains the detection or transformation logic, then define a reproducible check for JavaScript files using Public Class Fields, Private Elements, or Static Initialization Blocks; done requires an agreed implementation scope and validation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.