Bug 1609660 - Rename "Script" marker to "ScriptEvaluation". r=gerald

Depends on D60231

Differential Revision: https://phabricator.services.mozilla.com/D60232

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nazım Can Altınova 2020-01-17 21:26:57 +00:00
Родитель d8afe0647a
Коммит 551cb5c008
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2702,8 +2702,8 @@ nsresult ScriptLoader::EvaluateScript(ScriptLoadRequest* aRequest) {
#endif
nsAutoCString profilerLabelString;
GetProfilerLabelForRequest(aRequest, profilerLabelString);
AUTO_PROFILER_TEXT_MARKER_DOCSHELL("Script", profilerLabelString, JS,
docShell);
AUTO_PROFILER_TEXT_MARKER_DOCSHELL("ScriptEvaluation", profilerLabelString,
JS, docShell);
// New script entry point required, due to the "Create a script" sub-step of
// http://www.whatwg.org/specs/web-apps/current-work/#execute-the-script-block