зеркало из https://github.com/mozilla/gecko-dev.git
Bug 743615 - Base worker structured clone tags on the dom ones to ensure against collisions. r=bent
This commit is contained in:
Родитель
ecee851d11
Коммит
c1fbbaa1d6
|
@ -55,6 +55,7 @@
|
||||||
#include "nsStringGlue.h"
|
#include "nsStringGlue.h"
|
||||||
#include "nsTArray.h"
|
#include "nsTArray.h"
|
||||||
#include "nsTPriorityQueue.h"
|
#include "nsTPriorityQueue.h"
|
||||||
|
#include "StructuredCloneTags.h"
|
||||||
|
|
||||||
#include "EventTarget.h"
|
#include "EventTarget.h"
|
||||||
#include "Queue.h"
|
#include "Queue.h"
|
||||||
|
@ -812,7 +813,7 @@ GetWorkerPrivateFromContext(JSContext* aCx);
|
||||||
|
|
||||||
enum WorkerStructuredDataType
|
enum WorkerStructuredDataType
|
||||||
{
|
{
|
||||||
DOMWORKER_SCTAG_FILE = JS_SCTAG_USER_MIN + 0x1000,
|
DOMWORKER_SCTAG_FILE = SCTAG_DOM_MAX,
|
||||||
DOMWORKER_SCTAG_BLOB,
|
DOMWORKER_SCTAG_BLOB,
|
||||||
|
|
||||||
DOMWORKER_SCTAG_END
|
DOMWORKER_SCTAG_END
|
||||||
|
|
Загрузка…
Ссылка в новой задаче