diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-06-21 19:35:36 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-09-22 16:16:48 -0400 |
commit | a1091772ec9258d4e2c4184e07edab730e4d559c (patch) | |
tree | f9a92d79c1d844a288f64c20260dabe5675047a5 /components/script/dom/webidls/Promise.webidl | |
parent | 73b296350927bad6d526cce21434ce68a75216fa (diff) | |
download | servo-a1091772ec9258d4e2c4184e07edab730e4d559c.tar.gz servo-a1091772ec9258d4e2c4184e07edab730e4d559c.zip |
Implement binding support for returning and accepting Promises in WebIDL.
Diffstat (limited to 'components/script/dom/webidls/Promise.webidl')
-rw-r--r-- | components/script/dom/webidls/Promise.webidl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Promise.webidl b/components/script/dom/webidls/Promise.webidl new file mode 100644 index 00000000000..d437d244d58 --- /dev/null +++ b/components/script/dom/webidls/Promise.webidl @@ -0,0 +1,11 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// This interface is entirely internal to Servo, and should not be accessible to +// web pages. + +[NoInterfaceObject] +// Need to escape "Promise" so it's treated as an identifier. +interface _Promise { +}; |