WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
211244
Web Inspector: Worker: should use the name of the worker if it exists
https://bugs.webkit.org/show_bug.cgi?id=211244
Summary
Web Inspector: Worker: should use the name of the worker if it exists
Devin Rousso
Reported
2020-04-30 11:58:34 PDT
test.html ``` let worker = new Worker("worker.js", {name: "My Worker"}); ``` worker.js ``` console.log(self.name); ```
Attachments
Patch
(29.03 KB, patch)
2020-04-30 13:09 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2020-04-30 13:09:59 PDT
Created
attachment 398084
[details]
Patch
EWS Watchlist
Comment 2
2020-04-30 13:10:42 PDT
This patch modifies the inspector protocol. Please ensure that any frontend changes appropriately use feature checks for new protocol features.
Blaze Burg
Comment 3
2020-05-01 15:59:55 PDT
Comment on
attachment 398084
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=398084&action=review
r=me great cleanup! Please investigate Windows EWS failure: C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\DerivedSources\ForwardingHeaders\JavaScriptCore/InspectorFrontendDispatchers.h(351,10): message : see declaration of 'Inspector::WorkerFrontendDispatcher::workerCreated' (compiling source file C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\DerivedSources\WebCore\unified-sources\UnifiedSource-84c9f43f-6.cpp) [C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
> LayoutTests/inspector/worker/runtime-basic-expected.txt:13 > Target - Page - location and href - Location: inspector/worker/runtime-basic.html >
Very nice!
Devin Rousso
Comment 4
2020-05-04 11:16:49 PDT
(In reply to Brian Burg from
comment #3
)
> Please investigate Windows EWS failure: > > C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\DerivedSources\ForwardingHeaders\JavaScriptCore/InspectorFrontendDispatchers.h(351,10): message : see declaration of 'Inspector::WorkerFrontendDispatcher::workerCreated' (compiling source file C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\DerivedSources\WebCore\unified-sources\UnifiedSource-84c9f43f-6.cpp) [C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
The windows bot doesn't seem to update/regenerate DerivedSources properly. This has happened a bunch of times when I've made changes to the protocol. A clean build has always fixed the issue.
Devin Rousso
Comment 5
2020-05-04 11:39:00 PDT
***
Bug 164678
has been marked as a duplicate of this bug. ***
EWS
Comment 6
2020-05-04 12:51:33 PDT
Committed
r261104
: <
https://trac.webkit.org/changeset/261104
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 398084
[details]
.
Radar WebKit Bug Importer
Comment 7
2020-05-04 12:52:21 PDT
<
rdar://problem/62857411
>
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