Bug 1924888 - Remove filename default value for DescribeScriptedCaller r=sfink
This is preparation for incoming changes. Differential Revision: https://phabricator.services.mozilla.com/D225725
This commit is contained in:
@@ -954,7 +954,7 @@ class MOZ_RAII JS_PUBLIC_API AutoFilename {
|
|||||||
* record, this will also return false.
|
* record, this will also return false.
|
||||||
*/
|
*/
|
||||||
extern JS_PUBLIC_API bool DescribeScriptedCaller(
|
extern JS_PUBLIC_API bool DescribeScriptedCaller(
|
||||||
JSContext* cx, AutoFilename* filename = nullptr, uint32_t* lineno = nullptr,
|
JSContext* cx, AutoFilename* filename, uint32_t* lineno = nullptr,
|
||||||
JS::ColumnNumberOneOrigin* column = nullptr);
|
JS::ColumnNumberOneOrigin* column = nullptr);
|
||||||
|
|
||||||
extern JS_PUBLIC_API JSObject* GetScriptedCallerGlobal(JSContext* cx);
|
extern JS_PUBLIC_API JSObject* GetScriptedCallerGlobal(JSContext* cx);
|
||||||
|
|||||||
Reference in New Issue
Block a user