Issue #2402 - Workers.setTimeout/setInterval must handle CSP rejections. https://bugzilla.mozilla.org/show_bug.cgi?id=1490165 Has some namespace issues adding the files, so differs slightly.

This commit is contained in:
Brian Smith 2024-01-08 03:22:44 -06:00 committed by roytam1
commit e74612e23e
10 changed files with 270 additions and 65 deletions

View file

@ -6,7 +6,7 @@
#ifndef mozilla_dom_workers_workerprivate_h__
#define mozilla_dom_workers_workerprivate_h__
#include "Workers.h"
#include "mozilla/dom/workers/Workers.h"
#include "js/CharacterEncoding.h"
#include "nsIContentPolicy.h"
@ -34,8 +34,8 @@
#include "nsThreadUtils.h"
#include "nsTObserverArray.h"
#include "Queue.h"
#include "WorkerHolder.h"
#include "mozilla/dom/workerinternals/Queue.h"
#include "mozilla/dom/workers/bindings/WorkerHolder.h"
#ifdef XP_WIN
#undef PostMessage