Skip to content

Commit

Permalink
Fix worker scope in the web memory API
Browse files Browse the repository at this point in the history
This replaces "DedicatedWorker" with "DedicatedWorkerGlobalScope" in
the result of the memory measurement.

Bug: 1211293
Change-Id: I593539633c6fba537f587029d3a87fb26d0b12c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2909540
Reviewed-by: Michael Lippautz <[email protected]>
Commit-Queue: Ulan Degenbaev <[email protected]>
Cr-Commit-Position: refs/heads/master@{#884997}
  • Loading branch information
ulan authored and chromium-wpt-export-bot committed May 20, 2021
1 parent 26efaf8 commit d6955f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion measure-memory/main-frame-and-worker.https.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ promise_test(async testCase => {
},
{
url: worker_url,
scope: 'DedicatedWindow',
scope: 'DedicatedWorkerGlobalScope',
container: null,
},
]);
Expand Down

0 comments on commit d6955f5

Please sign in to comment.