[MNT]: Clarify web browser policy

未關閉
#32,165 17 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
30/100
Issue 類型
文件
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
javascript

研究方向

先閱讀 issue 中引用的 web_backend JavaScript 檔案以及圍繞 #31669 的討論,然後檢視現有的瀏覽器能力檢查。完成的標準是:專案已就支援的瀏覽器版本形成一致的政策,並且已識別出需要清理的過時或不必要的檢查。

由索引模型根據 Issue 內容生成。

描述

Maintenance
Summary

I needed a quick break from macOS backend work, so I'm looking at modernizing and cleaning up the web_backend JavaScript files. They currently use a mixture of outdated JavaScript syntax while also using modern web browser features like ResizeObserver.

I noticed that we removed the ResizeObserver ponyfill in #31669. Do we have an official policy on which specific web browser versions we support?

For example, we have code to check CanvasRenderingContext2D.backingStorePixelRatio; however, that property was never official and removed around ~2015. We also warn if a WebSocket doesn't support binaryType; however, it has 100% tracked user support on caniuse.

Proposed fix
主要語言
Python
星號
23.5k
分支
8.6k
平均合併
1 天 19 小時
30 天內合併 PR
64

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

matplotlib/matplotlib 的其他 Issue

查看 matplotlib/matplotlib 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。