Merge m-c to fx-team.
[gecko.git] / dom / workers / WorkerScope.h
blob90690f6e35ddf416046a3b8fd9e7277524b3c56b
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_dom_workers_workerscope_h__
7 #define mozilla_dom_workers_workerscope_h__
9 #include "Workers.h"
11 BEGIN_WORKERS_NAMESPACE
13 JSObject*
14 CreateDedicatedWorkerGlobalScope(JSContext* aCx);
16 bool
17 ClassIsWorkerGlobalScope(JSClass* aClass);
19 END_WORKERS_NAMESPACE
21 #endif /* mozilla_dom_workers_workerscope_h__ */