Bug 743615 - Base worker structured clone tags on the dom ones to ensure against collisions. r=bent

This commit is contained in:
Bobby Holley 2012-04-24 12:58:07 +02:00
Родитель ecee851d11
Коммит c1fbbaa1d6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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