Skip to content

Commit

Permalink
Bug 1619038 [wpt PR 22027] - WPT: Upstream and add some transaction s…
Browse files Browse the repository at this point in the history
…cheduling tests, a=testonly

Automatic update from web-platform-tests
WPT: Upstream and add some transaction scheduling tests (#22027)

In service of w3c/IndexedDB#253 move some
transaction scheduling tests from Blink to WPT.

This involved converting them from js-test.js to testharness.js, but
the overall logic of each test was retained.

This also adds one new test which verifies the change described
in w3c/IndexedDB#319 - all browsers implicitly
block R-O transactions behind overlapping R/W transactions.

Change-Id: I596aaa75b79bf3bf3e17a2553abb4e11329d59ab
Bug: 921193
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081237
Reviewed-by: Daniel Murphy <dmurphchromium.org>
Commit-Queue: Joshua Bell <jsbellchromium.org>
Auto-Submit: Joshua Bell <jsbellchromium.org>
Cr-Commit-Position: refs/heads/master{#746553}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: 5e1160e543827227c05b10c7660795436a76b307
wpt-pr: 22027

UltraBlame original commit: 6b1929e476680a2aafc78037914b756199333f09
  • Loading branch information
marco-c committed Mar 9, 2020
1 parent 4f8b35e commit 09dd1a6
Show file tree
Hide file tree
Showing 8 changed files with 2,626 additions and 0 deletions.
35 changes: 35 additions & 0 deletions testing/web-platform/tests/IndexedDB/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -1081,3 +1081,38 @@ false
}
;
}
function
barrier_func
(
count
func
)
{
let
n
=
0
;
return
(
)
=
>
{
if
(
+
+
n
=
=
=
count
)
func
(
)
;
}
;
}
Loading

0 comments on commit 09dd1a6

Please sign in to comment.