Closed Bug 1414772 Opened 7 years ago Closed 7 years ago

infinite redirects shouldn't be possible

Categories

(WebExtensions :: Request Handling, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1404524

People

(Reporter: dietrich, Unassigned)

Details

Example code: browser.webRequest.onBeforeSendHeaders.addListener( e => { redirectUrl: e.url }, { urls: ['<all_urls>'], types: ['main_frame'] }, [ 'blocking' ] ); We should probably detect a case where url will infinitely redirect, and handle it in some errorish fashion.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.