Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8fc72133af5b348dd53040a8b69568add700b9a9
      
https://github.com/WebKit/WebKit/commit/8fc72133af5b348dd53040a8b69568add700b9a9
  Author: Alexey Shvayka <ashva...@apple.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M PerformanceTests/JetStream3/JetStreamDriver.js

  Log Message:
  -----------
  JetStream3 harness: remove `await` right after `return` in async functions
https://bugs.webkit.org/show_bug.cgi?id=247271

Reviewed by Tim Nguyen.

Awaiting a promise before returning from an async function is redundant as the
function's result is a promise anyway. This is a non-observable style change.

* PerformanceTests/JetStream3/JetStreamDriver.js:
(prototype.async _loadInternal):
(prototype.async load):
(const.fileLoader):
(prototype.async loadBlob):

Canonical link: https://commits.webkit.org/256584@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to