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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 | 243 |
244 # [Exposed] | 244 # [Exposed] |
245 EXPOSED_EXECUTION_CONTEXT_METHOD = { | 245 EXPOSED_EXECUTION_CONTEXT_METHOD = { |
246 'CompositorWorker': 'isCompositorWorkerGlobalScope', | 246 'CompositorWorker': 'isCompositorWorkerGlobalScope', |
247 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', | 247 'DedicatedWorker': 'isDedicatedWorkerGlobalScope', |
248 'ServiceWorker': 'isServiceWorkerGlobalScope', | 248 'ServiceWorker': 'isServiceWorkerGlobalScope', |
249 'SharedWorker': 'isSharedWorkerGlobalScope', | 249 'SharedWorker': 'isSharedWorkerGlobalScope', |
250 'Window': 'isDocument', | 250 'Window': 'isDocument', |
251 'Worker': 'isWorkerGlobalScope', | 251 'Worker': 'isWorkerGlobalScope', |
| 252 'Worklet': 'isWorkletGlobalScope', |
252 } | 253 } |
253 | 254 |
254 | 255 |
255 EXPOSED_WORKERS = set([ | 256 EXPOSED_WORKERS = set([ |
256 'CompositorWorker', | 257 'CompositorWorker', |
257 'DedicatedWorker', | 258 'DedicatedWorker', |
258 'SharedWorker', | 259 'SharedWorker', |
259 'ServiceWorker', | 260 'ServiceWorker', |
260 ]) | 261 ]) |
261 | 262 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 except StopIteration: | 579 except StopIteration: |
579 return None | 580 return None |
580 | 581 |
581 | 582 |
582 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 583 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
583 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 584 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
584 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 585 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
585 IdlInterface.named_property_getter = property(named_property_getter) | 586 IdlInterface.named_property_getter = property(named_property_getter) |
586 IdlInterface.named_property_setter = property(named_property_setter) | 587 IdlInterface.named_property_setter = property(named_property_setter) |
587 IdlInterface.named_property_deleter = property(named_property_deleter) | 588 IdlInterface.named_property_deleter = property(named_property_deleter) |
OLD | NEW |