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:
Matthew Gaudet
2024-10-16 15:58:18 +00:00
parent 5a552eacaa
commit a3317eae37

View File

@@ -954,7 +954,7 @@ class MOZ_RAII JS_PUBLIC_API AutoFilename {
* record, this will also return false.
*/
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);
extern JS_PUBLIC_API JSObject* GetScriptedCallerGlobal(JSContext* cx);