Provide way of handling unsupported DNR rules

Open
#449 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
api

Research direction

Start by reading the issue and linked TPAC discussion in pull request #448, focusing on static DNR rulesets and the reported Chrome and Firefox behavior. Determine Safari's behavior and compare the suggested getFailedRules() and isRuleSupported() approaches; the work is done when a compatible handling design is agreed.

Written by the indexing model from the issue text.

Description

proposal supportive: chrome supportive: firefox supportive: safari topic: dnr

In our TPAC meeting on Tuesday (https://github.com/w3c/webextensions/pull/448), it was brought up that there is currently no easy way to support new types of DNR rules while being compatible with browsers that do not recognise them. This is primarily an issue for static rulesets.

It was mentioned that Chrome has a hard-error when any DNR rule in a ruleset fails to load, and Firefox has a soft failure where the rules are ignored. The behaviour in Safari needs to be determined.

There were suggestions to add API methods like getFailedRules() or isRuleSupported().

Dominant language
Bikeshed
Stars
711
Forks
95
Avg merge
10d 11h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from w3c/webextensions

All issues in w3c/webextensions

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.