OLD | NEW |
1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 | 229 |
230 # [Exposed] | 230 # [Exposed] |
231 EXPOSED_EXECUTION_CONTEXT_METHOD = { | 231 EXPOSED_EXECUTION_CONTEXT_METHOD = { |
232 'CompositorWorker': 'isCompositorWorkerGlobalScope', | 232 'CompositorWorker': 'isCompositorWorkerGlobalScope', |
233 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', | 233 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', |
234 'ServiceWorker': 'isServiceWorkerGlobalScope', | 234 'ServiceWorker': 'isServiceWorkerGlobalScope', |
235 'SharedWorker': 'isSharedWorkerGlobalScope', | 235 'SharedWorker': 'isSharedWorkerGlobalScope', |
236 'Window': 'isDocument', | 236 'Window': 'isDocument', |
237 'Worker': 'isWorkerGlobalScope', | 237 'Worker': 'isWorkerGlobalScope', |
| 238 'Worklet': 'isWorkletGlobalScope', |
238 } | 239 } |
239 | 240 |
240 | 241 |
241 EXPOSED_WORKERS = set([ | 242 EXPOSED_WORKERS = set([ |
242 'CompositorWorker', | 243 'CompositorWorker', |
243 'DedicatedWorker', | 244 'DedicatedWorker', |
244 'SharedWorker', | 245 'SharedWorker', |
245 'ServiceWorker', | 246 'ServiceWorker', |
246 ]) | 247 ]) |
247 | 248 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 except StopIteration: | 594 except StopIteration: |
594 return None | 595 return None |
595 | 596 |
596 | 597 |
597 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 598 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
598 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 599 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
599 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 600 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
600 IdlInterface.named_property_getter = property(named_property_getter) | 601 IdlInterface.named_property_getter = property(named_property_getter) |
601 IdlInterface.named_property_setter = property(named_property_setter) | 602 IdlInterface.named_property_setter = property(named_property_setter) |
602 IdlInterface.named_property_deleter = property(named_property_deleter) | 603 IdlInterface.named_property_deleter = property(named_property_deleter) |
OLD | NEW |