WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
204923
Web Inspector: evaluating alert(1) while staying on debugger in inline script triggers assertion in debug build
https://bugs.webkit.org/show_bug.cgi?id=204923
Summary
Web Inspector: evaluating alert(1) while staying on debugger in inline script...
Yury Semikhatsky
Reported
2019-12-05 14:52:45 PST
Created
attachment 384962
[details]
Test page Steps to reproduce with debug build: 1. Open inspector on the attached page. 2. Reload the page, wait for pause on debugger; statement. 3. Evaluate 'alert(1)' in the console. Result: Inspected WebProcess crashes with the following trace ../../Source/WebCore/dom/ScriptExecutionContext.cpp(257) : virtual void WebCore::ScriptExecutionContext::suspendActiveDOMObjects(WebCore::ReasonForSuspension) 1 0x7fac696b1959 /home/yurys/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x9) [0x7fac696b1959] 2 0x7fac7415a75b /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x94fb75b) [0x7fac7415a75b] 3 0x7fac76e2d189 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore22ScriptExecutionContext23suspendActiveDOMObjectsENS_19ReasonForSuspensionE+0x89) [0x7fac76e2d189] 4 0x7fac76c8e6d4 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore8Document23suspendActiveDOMObjectsENS_19ReasonForSuspensionE+0x64) [0x7fac76c8e6d4] 5 0x7fac76c8cdc9 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore8Document21suspendScheduledTasksENS_19ReasonForSuspensionE+0xa9) [0x7fac76c8cdc9] 6 0x7fac7776f0f3 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore21PageGroupLoadDeferrerC2ERNS_4PageEb+0x133) [0x7fac7776f0f3] 7 0x7fac77656ecc /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore6Chrome18runJavaScriptAlertERNS_5FrameERKN3WTF6StringE+0x3c) [0x7fac77656ecc] 8 0x7fac7766f90f /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore9DOMWindow5alertERKN3WTF6StringE+0x11f) [0x7fac7766f90f] 9 0x7fac754f71ba /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa8981ba) [0x7fac754f71ba] 10 0x7fac754f6fe7 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa897fe7) [0x7fac754f6fe7] 11 0x7fac754aa6ff /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa84b6ff) [0x7fac754aa6ff] 12 0x7fac754aa3e4 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore32jsDOMWindowInstanceFunctionAlertEPN3JSC14JSGlobalObjectEPNS0_9CallFrameE+0x24) [0x7fac754aa3e4] 13 0x7fac07fff16b [0x7fac07fff16b]
Attachments
Test page
(586 bytes, text/html)
2019-12-05 14:52 PST
,
Yury Semikhatsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug