summaryrefslogtreecommitdiffstats
path: root/js/src/jsscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsscript.h')
-rw-r--r--js/src/jsscript.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jsscript.h b/js/src/jsscript.h
index c19fbfc71..74803c0f6 100644
--- a/js/src/jsscript.h
+++ b/js/src/jsscript.h
@@ -620,6 +620,8 @@ class ScriptSourceObject : public NativeObject
// are provided by |options|, re-wrapping as necessary.
static bool initFromOptions(JSContext* cx, HandleScriptSource source,
const ReadOnlyCompileOptions& options);
+ static bool initElementProperties(JSContext* cx, HandleScriptSource source,
+ HandleObject element, HandleString elementAttrName);
ScriptSource* source() const {
return static_cast<ScriptSource*>(getReservedSlot(SOURCE_SLOT).toPrivate());