Implement Document.currentScript

This commit is contained in:
James Gilbertson 2015-02-26 06:43:49 -07:00
parent 8ad3c5aeb6
commit 5f5d1246ef
5 changed files with 24 additions and 31 deletions

View file

@ -83,6 +83,7 @@ partial interface Document {
readonly attribute HTMLCollection anchors;
readonly attribute HTMLCollection applets;
NodeList getElementsByName(DOMString elementName);
readonly attribute HTMLScriptElement? currentScript;
// special event handler IDL attributes that only apply to Document objects
[LenientThis] attribute EventHandler onreadystatechange;