aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/DOMImplementation.webidl
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-09-11 02:51:51 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-09-19 16:03:13 +0200
commit49219baab8fa67baba2383d50b0a4da84b2b9068 (patch)
tree1226a7ed6734089f7d133e943446120c2e5c2037 /components/script/dom/webidls/DOMImplementation.webidl
parent4dbf391e837652d8a509224e3a07f65d923fb9c2 (diff)
downloadservo-49219baab8fa67baba2383d50b0a4da84b2b9068.tar.gz
servo-49219baab8fa67baba2383d50b0a4da84b2b9068.zip
Annotate many DOM attribute and methods with [Constant] and [Pure]
Diffstat (limited to 'components/script/dom/webidls/DOMImplementation.webidl')
-rw-r--r--components/script/dom/webidls/DOMImplementation.webidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/DOMImplementation.webidl b/components/script/dom/webidls/DOMImplementation.webidl
index 98b90a29630..8bedebe8a87 100644
--- a/components/script/dom/webidls/DOMImplementation.webidl
+++ b/components/script/dom/webidls/DOMImplementation.webidl
@@ -23,5 +23,6 @@ interface DOMImplementation {
[NewObject]
Document createHTMLDocument(optional DOMString title);
+ [Pure]
boolean hasFeature(); // useless, always return true
};