RESOLVED FIXED 193359
Prevent WorkerRunLoop::runInMode from spinning in nested cases
https://bugs.webkit.org/show_bug.cgi?id=193359
Summary Prevent WorkerRunLoop::runInMode from spinning in nested cases
youenn fablet
Reported 2019-01-11 13:04:44 PST
CacheStorage::Engine should create one engine for all ephemeral sessions
Attachments
Patch (7.86 KB, patch)
2019-01-14 09:45 PST, youenn fablet
no flags
Patch (7.92 KB, patch)
2019-01-14 15:46 PST, youenn fablet
no flags
Archive of layout-test-results from ews117 for mac-highsierra (2.56 MB, application/zip)
2019-01-14 17:34 PST, EWS Watchlist
no flags
Patch (15.76 KB, patch)
2019-01-14 17:51 PST, youenn fablet
no flags
Patch for landing (15.77 KB, patch)
2019-01-16 10:26 PST, youenn fablet
no flags
youenn fablet
Comment 1 2019-01-11 13:04:56 PST
youenn fablet
Comment 2 2019-01-14 09:45:48 PST
youenn fablet
Comment 3 2019-01-14 15:46:47 PST
EWS Watchlist
Comment 4 2019-01-14 17:34:43 PST
Comment on attachment 359087 [details] Patch Attachment 359087 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/10750813 New failing tests: inspector/worker/worker-create-and-terminate.html inspector/unit-tests/target-manager.html http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html inspector/worker/resources-in-worker.html inspector/page/searchInResources.html
EWS Watchlist
Comment 5 2019-01-14 17:34:45 PST
Created attachment 359105 [details] Archive of layout-test-results from ews117 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-highsierra Platform: Mac OS X 10.13.6
youenn fablet
Comment 6 2019-01-14 17:51:49 PST
Joseph Pecoraro
Comment 7 2019-01-15 15:50:15 PST
Comment on attachment 359108 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359108&action=review r=me > Source/WebCore/ChangeLog:13 > + - The run loop timer to be active and need to fire immediatly. A few grammatical issues / typos in the ChangeLog. You could try giving it a cleanup pass. Here: "The run loop timer is active and needs to fire immediately" > Source/WebCore/workers/WorkerRunLoop.cpp:-118 > - m_runLoop.m_nestedCount++; I liked the older style, it was easier to follow when the increments happen because it is not clever. > Source/WebCore/workers/WorkerRunLoop.h:92 > + bool isBeingDebugged() const { return m_debugCount; } I'd rather see a condition like `m_debugCount >= 1` but I'll leave that up to you.
youenn fablet
Comment 8 2019-01-16 10:26:16 PST
Created attachment 359278 [details] Patch for landing
WebKit Commit Bot
Comment 9 2019-01-16 11:07:29 PST
Comment on attachment 359278 [details] Patch for landing Clearing flags on attachment: 359278 Committed r240042: <https://trac.webkit.org/changeset/240042>
WebKit Commit Bot
Comment 10 2019-01-16 11:07:30 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.