[ENGG-1977] MV3: 2KB limit for regexFilter in DNR
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #1869 @wrongsahil による — マージ済み
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- devtools
調査の方向性
Start by reproducing the Chrome declarativeNetRequest error with host-based regex rules and review the linked regex-rules documentation. Compare the suggested URL source conditions and redirect-rule approach against the affected replace-rule use cases. Done means supported rules no longer exceed the 2KB compiled regexFilter limit.
索引モデルが issue の本文から書いたものです。
説明
When creating host regex rules Unchecked runtime.lastError: Rule with id 1 was skipped as the "regexFilter" value exceeded the 2KB memory limit when compiled. Learn more: https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#regex-rules
Possible Solutions
1. Using URL source conditions instead of HOST source conditions
If you are using HOST - EQUALS | CONTAINS | MATCHES | WILDCARD, then try switching it to URL source condition.
2. Try using Redirect Rule
Almost all the usecases that are supported by replace rule are also supported by Redirect Rule . Try creating a redirect rule instead
Some patterns to convert Replace rule into Redirect rule
Pattern 1
Current Replace Rule
Converted Redirect Rule
Pattern 2
Current Replace Rule
Converted Redirect Rule
- 主要言語
- TypeScript
- スター
- 96
- フォーク
- 25
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
requestly/interceptor のほかの issue
-
status:triage type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
requestly/interceptor#130 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Query parameter rules drop equals signs from existing values対応中かも @jashkarangiya が 22 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
requestly/interceptor#121 ·
メンテナーはふだん 1 日以内に返信
-
status:triage type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
requestly/interceptor#128 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
requestly/interceptor#26 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Setting up proxy on mobile/emulator via QR再び着手できるかも @chiru-chintha が 164 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンmigration:misfiled-interceptor
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
requestly/interceptor#27 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
requestly/interceptor の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
area:ui enhancement issue-form:feature platform:cross-platform review: high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
1lck/Lithe-IDEA#1092 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
developmentseed/deck.gl-raster#693 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Marker-Inc-Korea/AutoRAG#1801 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信