| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 Exposed=ServiceWorker, | 6 Exposed=ServiceWorker, |
| 7 RuntimeEnabled=ServiceWorker | 7 RuntimeEnabled=ServiceWorker |
| 8 ] interface Client { | 8 ] interface Client { |
| 9 readonly attribute unsigned long id; | 9 readonly attribute unsigned long id; |
| 10 |
| 11 // FIXME: Currently we think targetOrigin's probably not necessary, but |
| 12 // re-add it if the ongoing issue [1] concludes the other way. |
| 13 // [1] https://github.com/slightlyoff/ServiceWorker/issues/190 |
| 14 [Custom, RaisesException, CallWith=ExecutionContext] void postMessage(Serial
izedScriptValue message, optional MessagePort[] messagePorts); |
| 10 }; | 15 }; |
| OLD | NEW |