| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 except StopIteration: | 608 except StopIteration: |
| 608 return None | 609 return None |
| 609 | 610 |
| 610 | 611 |
| 611 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 612 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
| 612 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 613 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
| 613 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 614 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
| 614 IdlInterface.named_property_getter = property(named_property_getter) | 615 IdlInterface.named_property_getter = property(named_property_getter) |
| 615 IdlInterface.named_property_setter = property(named_property_setter) | 616 IdlInterface.named_property_setter = property(named_property_setter) |
| 616 IdlInterface.named_property_deleter = property(named_property_deleter) | 617 IdlInterface.named_property_deleter = property(named_property_deleter) |
| OLD | NEW |