Closed
Bug 1236122
Opened 8 years ago
Closed 7 years ago
Complete test coverage for the WebExtension webRequest API.
Categories
(WebExtensions :: General, defect, P3)
WebExtensions
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: kmag, Unassigned)
References
Details
(Whiteboard: [test] triaged)
This is still missing coverage for: * Events with filters with |types|, |tabId|, or |windowId| properties. * Attempt to use blocking listeners without the appropriate permissions. * Initial process data with any initial content policy data. * |addContentPolicy| and |WebRequest:RemoveContentPolicy| calls where |contentPolicies.size| is anything other than 0. * |shouldLoad| calls with non-blocking policies. * |typeMatches| calls with non-null |filterTypes|. * |urlMatches| calls with a null |urlFilter|. * |addListener| without a |urls| property in the filter. * The |getHeaders| method. * |runChannelListener| with |opts.requestHeaders| or |opts.responseHeaders| in the listener options, or |result.requestHeaders|, |result.responseHeaders|, or |result.cancel| in the listener result. * |examine| calls with |onStart.size| of 0, and |onStop.size| of both 0 and non-0. https://people.mozilla.org/~kmaglione/webextension-test-coverage/toolkit/components/extensions/ext-webRequest.js.html https://people.mozilla.org/~kmaglione/webextension-test-coverage/toolkit/modules/addons/WebRequestContent.js.html https://people.mozilla.org/~kmaglione/webextension-test-coverage/toolkit/modules/addons/WebRequestCommon.jsm.html https://people.mozilla.org/~kmaglione/webextension-test-coverage/toolkit/modules/addons/WebRequest.jsm.html
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: [test] triaged
Updated•8 years ago
|
Flags: blocking-webextensions?
Updated•8 years ago
|
Flags: blocking-webextensions? → blocking-webextensions+
Updated•8 years ago
|
QA Contact: g.maone
Updated•8 years ago
|
Component: WebExtensions: Untriaged → WebExtensions: General
Flags: blocking-webextensions+
Comment 1•7 years ago
|
||
We have pretty extensive coverage at this point.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•