Question about skip-review behavior when only rule IDs change in DNR rulesets

50 views
Skip to first unread message

Maxim Topciu

unread,
May 12, 2025, 4:08:28 PM (6 days ago) May 12
to Chromium Extensions, [email protected]
Hi all,  

I’d like to clarify a case regarding declarativeNetRequest (DNR) rulesets and the skip-review mechanism.  

In our testing, we observed that when only the IDs of static rules change between versions (but the rules themselves remain identical), the Chrome Web Store review process still flagged the extension for review.  

Example:  
In version v5.1.83, a rule had this ID:

{
  "id": 3987098,
  "action": { "type": "redirect", "redirect": { "extensionPath": "/web-accessible-resources/redirects/nooptext.js" } },
  "condition": { "urlFilter": "||go.oclasrv.com/apu.php?" },
  "priority": 1001001
}

In version v5.1.84, the same rule received a different ID:

{
  "id": 3988422,
  "action": { "type": "redirect", "redirect": { "extensionPath": "/web-accessible-resources/redirects/nooptext.js" } },
  "condition": { "urlFilter": "||go.oclasrv.com/apu.php?" },
  "priority": 1001001
}

The only change was the id value.

Could you please confirm:
  • Does a change in id values of static DNR rules alone trigger a full review?
  • Or should skip-review still apply if rule contents are identical apart from IDs?

Thanks a lot for your help and clarification!

Oliver Dunk

unread,
May 12, 2025, 4:56:40 PM (6 days ago) May 12
to Maxim Topciu, Chromium Extensions, [email protected]
Hi Maxim,

Since the ID of the rule changed, it would be treated as if rule 3987098 had been removed and rule 3988422 had been added.

According to the logic used by the Chrome Web Store, updates only qualify if additions and removals are safe rules, which means those with an `action` of `block`, `allow`, `allowAllRequests` or `upgradeScheme`.

In this case, a `redirect` rule was removed and another one added, so it would be expected that this doesn't qualify. We have discussed having an exception for local paths, but that isn't something which is implemented today unfortunately.

I hope that helps.
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/ba3d50f2-90ea-4b79-8350-54acd4565b3en%40chromium.org.

Maxim Topciu

unread,
May 12, 2025, 5:19:11 PM (6 days ago) May 12
to Oliver Dunk, Chromium Extensions, [email protected]
I was expecting something like this. Thank you for clarifying.
--
Sincerely yours, 
Maxim Topciu
Reply all
Reply to author
Forward
0 new messages