| Summary: | REGRESSION (Safari 13.1?): Web Inspector: Debugger hang at breakpoint when using Keyboard Maestro | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | macdevign <macdevign> | ||||||||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Critical | CC: | bburg, hi, inspector-bugzilla-changes, joepeck, timothy, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Local Build | ||||||||||||
| Hardware: | Mac | ||||||||||||
| OS: | macOS 10.15 | ||||||||||||
| Bug Depends on: | 202716 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
macdevign
2020-04-08 02:32:43 PDT
The Keyboard Maestro vendor ask me to file for this issue as it is webkit's issue. Created attachment 396120 [details]
Patch
Comment on attachment 396120 [details]
Patch
Not sure how this has gone unnoticed, but I can see the same symptoms described in this issue using WK1/WebKitLegacy `Tools/Scripts/run-minibrowser` :(
Comment on attachment 396120 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396120&action=review r=me > Source/WebCore/inspector/mac/PageScriptDebugServerMac.mm:2 > + * Copyright (C) 2020 Apple Inc. All rights reserved. This is effectively a copy of `Copyright (C) 2008-2018 Apple` code. > Source/WebCore/inspector/mac/PageScriptDebugServerMac.mm:26 > +#include "config.h" Style: #import > Source/WebCore/inspector/mac/PageScriptDebugServerMac.mm:33 > +#endif // PLATFORM(MAC) && ENABLE(WEBPROCESS_NSRUNLOOP) I don't think the endif comment is useful in this case given the small block. In fact, we often don't even bother with ENABLE guards around an include like this since it would be fine to include for all cases and just not have the symbols be used. It necessary reduces clutter to remove guards around includes. Only if it had a meaningful impact on compile times might it be worth it. > Source/WebCore/inspector/mac/PageScriptDebugServerMac.mm:51 > +#endif // ENABLE(WEBPROCESS_NSRUNLOOP) Ditto. > It necessary reduces clutter to remove guards around includes.
I meant "It reduces clutter".
Created attachment 396166 [details]
Patch
Created attachment 396167 [details]
Patch
Committed r259931: <https://trac.webkit.org/changeset/259931> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396167 [details]. Thank for resolving this issue. Just like to find out that this fix is included in next point release of Catalina/xcode ? And the Keyboard Maestro vendor does not need to make any change to the software ? It will show up in Safari Technology Preview next. Check the next STP release and see if it resolves the issue for you. Otherwise, we can't comment on future software releases. Comment on attachment 396120 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396120&action=review >> Source/WebCore/inspector/mac/PageScriptDebugServerMac.mm:33 >> +#endif // PLATFORM(MAC) && ENABLE(WEBPROCESS_NSRUNLOOP) > > I don't think the endif comment is useful in this case given the small block. In fact, we often don't even bother with ENABLE guards around an include like this since it would be fine to include for all cases and just not have the symbols be used. It necessary reduces clutter to remove guards around includes. Only if it had a meaningful impact on compile times might it be worth it. I make an exception for guarding code that we expect to rip out on some timeline, like after a certain release. Is ENABLE(WEBPROCESS_NSRUNLOOP) a permanent thing? |