OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All Rights Reserved. | 3 * Copyright (C) 2010 Apple Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 19 matching lines...) Expand all Loading... |
30 */ | 30 */ |
31 | 31 |
32 // http://www.whatwg.org/specs/web-apps/current-work/#shared-workers-and-the-sha
redworker-interface | 32 // http://www.whatwg.org/specs/web-apps/current-work/#shared-workers-and-the-sha
redworker-interface |
33 | 33 |
34 [ | 34 [ |
35 ActiveDOMObject, | 35 ActiveDOMObject, |
36 Constructor(DOMString scriptURL, optional DOMString name = null), | 36 Constructor(DOMString scriptURL, optional DOMString name = null), |
37 ConstructorCallWith=ExecutionContext, | 37 ConstructorCallWith=ExecutionContext, |
38 RaisesException=Constructor, | 38 RaisesException=Constructor, |
39 RuntimeEnabled=SharedWorker, | 39 RuntimeEnabled=SharedWorker, |
40 WillBeGarbageCollected, | |
41 ] interface SharedWorker : EventTarget { | 40 ] interface SharedWorker : EventTarget { |
42 readonly attribute MessagePort port; | 41 readonly attribute MessagePort port; |
43 }; | 42 }; |
44 | 43 |
45 SharedWorker implements AbstractWorker; | 44 SharedWorker implements AbstractWorker; |
OLD | NEW |