Closed Bug 1816579 Opened 1 year ago Closed 1 year ago

ReadableStream cannot be constructed in content scripts

Categories

(WebExtensions :: Untriaged, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1757836

People

(Reporter: elias.holzmann, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

  • Install the attached web extension (contains a content script constructing a ReadableStream and logging it)
  • Visit any web page (not internal pages and not AMO so that content scripts aren't blocked)
  • Open Browser Console (Ctrl+Shift+J), switch to multiprocess mode (for reasons unclear to me, the error message is not shown in the web console)
  • Give permission to run content script on the current page

Actual results:

Error: Permission denied to access property "autoAllocateChunkSize"

Expected results:

The result of "new ReadableStream({})" should be logged, i.e.

ReadableStream { locked: false }

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1757836
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: