Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Test improvements Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 * 24 *
25 */ 25 */
26 26
27 // https://html.spec.whatwg.org/#the-workerglobalscope-common-interface 27 // https://html.spec.whatwg.org/#the-workerglobalscope-common-interface
28 28
29 [ 29 [
30 ActiveScriptWrappable, 30 ActiveScriptWrappable,
31 DependentLifetime, 31 DependentLifetime,
32 Exposed=Worker, 32 Exposed=Worker,
33 ImmutablePrototype,
33 ] interface WorkerGlobalScope : EventTarget { 34 ] interface WorkerGlobalScope : EventTarget {
34 readonly attribute WorkerGlobalScope self; 35 readonly attribute WorkerGlobalScope self;
35 readonly attribute WorkerLocation location; 36 readonly attribute WorkerLocation location;
36 37
37 // TODO(foolip): onerror should be an OnErrorEventHandler. 38 // TODO(foolip): onerror should be an OnErrorEventHandler.
38 attribute EventHandler onerror; 39 attribute EventHandler onerror;
39 // attribute EventHandler onlanguagechange; 40 // attribute EventHandler onlanguagechange;
40 // attribute EventHandler onoffline; 41 // attribute EventHandler onoffline;
41 // attribute EventHandler ononline; 42 // attribute EventHandler ononline;
42 43
(...skipping 16 matching lines...) Expand all
59 attribute EventHandler onrejectionhandled; 60 attribute EventHandler onrejectionhandled;
60 attribute EventHandler onunhandledrejection; 61 attribute EventHandler onunhandledrejection;
61 62
62 // Secure Contexts 63 // Secure Contexts
63 // https://w3c.github.io/webappsec-secure-contexts/#dom-windoworworkerglobal scope-issecurecontext 64 // https://w3c.github.io/webappsec-secure-contexts/#dom-windoworworkerglobal scope-issecurecontext
64 [ImplementedAs=isSecureContextForBindings] readonly attribute boolean isSecu reContext; 65 [ImplementedAs=isSecureContextForBindings] readonly attribute boolean isSecu reContext;
65 }; 66 };
66 67
67 WorkerGlobalScope implements WindowBase64; 68 WorkerGlobalScope implements WindowBase64;
68 WorkerGlobalScope implements WindowTimers; 69 WorkerGlobalScope implements WindowTimers;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.idl ('k') | third_party/WebKit/Source/core/workers/WorkletGlobalScope.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698