See this profile: https://perfht.ml/2l8Rq1f There is some inlining involved here...
John is going to help this out, thanks!
Assignee: nobody → jdai
After I traced into the profile, I found there are two places use Preferences::GetBool(). One is HTMLInputElement::ValueAsDateEnabled() which has been handled by bug 1341376, another is HTMLInputElement::SetFilesOrDirectories(). However, I didn't find calls to Preferences::GetBool() in Exception::Initializa() call stack.  http://searchfox.org/mozilla-central/source/dom/html/HTMLInputElement.cpp#3047-3062
Hi :Ehsan, Could you give me a more detailed STR? I couldn't hit the Exception::Initialize() in debugger. Thank you.
Sorry I don't have any STRs besides the profile that I saw in comment 0. If you didn't hit this in the debugger that means that we're walking the stack incorrectly. Moving the bug to Gecko Profiler.
Assignee: jdai → nobody
Component: DOM → Gecko Profiler
Summary: Stop calling Preferences::GetBool from Exception::Initialize → Walking the stack incorrectly in the profiler makes us show a call to Preferences::GetBool from Exception::Initialize
You need to log in before you can comment on or make changes to this bug.