Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 580007: Changed CreateWorker to coalesce any matching queued shared workers when a (Closed)

Created:
10 years, 10 months ago by Andrew T Wilson (Slow)
Modified:
9 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com, Paweł Hajdan Jr., jam, ben+cc_chromium.org
Visibility:
Public.

Description

Changed CreateWorker to coalesce any matching queued shared workers when a shared worker is started. Added tests for worker close and queued shared worker cases. BUG=29998 TEST=new UI tests added. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38549

Patch Set 1 #

Patch Set 2 : Style/comment tweaks. #

Total comments: 2

Patch Set 3 : Now supports multiple queued instances of one shared worker. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -30 lines) Patch
M chrome/browser/worker_host/worker_process_host.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/worker_host/worker_process_host.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/worker_host/worker_service.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/worker_host/worker_service.cc View 1 2 5 chunks +53 lines, -23 lines 0 comments Download
A chrome/test/data/workers/many_shared_workers.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/test/data/workers/queued_shared_worker_shutdown.html View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/test/data/workers/shutdown_shared_worker.html View 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/test/data/workers/single_shared_worker.html View 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/test/data/workers/worker_close.html View 1 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/test/data/workers/worker_common.js View 1 1 chunk +12 lines, -3 lines 0 comments Download
M chrome/worker/worker_uitest.cc View 1 2 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Andrew T Wilson (Slow)
10 years, 10 months ago (2010-02-07 21:01:45 UTC) #1
jam
http://codereview.chromium.org/580007/diff/1001/1011 File chrome/worker/worker_uitest.cc (right): http://codereview.chromium.org/580007/diff/1001/1011#newcode512 chrome/worker/worker_uitest.cc:512: // to allow the queued worker to be executed. ...
10 years, 10 months ago (2010-02-08 00:08:28 UTC) #2
Andrew T Wilson (Slow)
Turns out after I thought about it some more that I was not handling another ...
10 years, 10 months ago (2010-02-09 05:09:22 UTC) #3
jam
10 years, 10 months ago (2010-02-09 22:47:51 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698