summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini
blob: 3548a329dce2d80d094cab1c1c680eb276a29ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[idb-explicit-commit.any.html]
  disabled:
    if win10_2004 and ccov: https://bugzilla.mozilla.org/show_bug.cgi?id=1733368
  expected:
    if (os == "win") and (processor == "x86_64") and debug and not swgl: [ERROR, OK, TIMEOUT]
    if (os == "win") and (processor == "x86_64") and debug and swgl: [ERROR, OK]
    if (os == "linux") and not fission and not debug: [OK, ERROR]
    if (os == "linux") and not fission and debug: OK
    if (os == "win") and (processor == "x86_64") and not debug: [ERROR, OK, TIMEOUT]
    if os == "mac": [ERROR, OK]
    if os == "android": OK
    ERROR
  [Transactions that explicitly commit and have errors should abort.]
    expected:
      if (os == "win") and debug and (processor == "x86_64") and swgl: [FAIL, PASS]
      if (os == "win") and debug and (processor == "x86_64") and not swgl: [FAIL, PASS, NOTRUN]
      if (os == "win") and not debug and (processor == "x86"): FAIL
      if (os == "win") and not debug and (processor == "x86_64"): [FAIL, PASS, NOTRUN]
      if (os == "win") and debug and (processor == "x86"): [FAIL, PASS]
      if (os == "linux") and not fission and not debug: [PASS, FAIL]
      if (os == "linux") and fission: FAIL
      if os == "mac": [FAIL, PASS]

  [Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.]
    expected:
      if (os == "win") and (processor == "x86_64") and not swgl: [PASS, NOTRUN]
      if (os == "win") and (processor == "x86_64") and swgl: [PASS, TIMEOUT]

  [Calling abort on a committed transaction throws and does not prevent persisting the data.]
    expected:
      if (os == "win") and (processor == "x86_64") and debug and not swgl: [PASS, TIMEOUT]
      if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN]

  [Transactions with same scope should stay in program order, even if one calls commit.]
    expected:
      if (os == "win") and (processor == "x86_64") and not swgl: [PASS, NOTRUN]

  [Calling txn.commit() when txn is inactive should throw.]
    expected:
      if (os == "win") and (processor == "x86_64") and not swgl: [PASS, NOTRUN]

  [A committed transaction becomes inactive immediately.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN]

  [commit() on a version change transaction does not cause errors.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT]

  [Calling commit on an aborted transaction throws.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN]

  [Puts issued after commit are not fulfilled.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN]

  [Calling commit on a committed transaction throws.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN]

  [A committed transaction is inactive in future request callbacks.]
    expected:
      if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN]


[idb-explicit-commit.any.worker.html]
  expected:
    if (os == "win") and (processor == "x86_64"): [OK, TIMEOUT]
  [Calling txn.commit() when txn is inactive should throw.]
    expected:
      if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN]
      if (os == "win") and (processor == "x86_64") and not debug: [PASS, NOTRUN]

  [A committed transaction is inactive in future request callbacks.]
    expected:
      if swgl and (os == "win"): [PASS, TIMEOUT]

  [Puts issued after commit are not fulfilled.]
    expected:
      if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT]
      if (os == "win") and swgl: [PASS, NOTRUN]

  [Calling commit on an aborted transaction throws.]
    expected:
      if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN]
      if (os == "win") and swgl: [PASS, NOTRUN]

  [Calling abort on a committed transaction throws and does not prevent persisting the data.]
    expected:
      if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN]
      if (os == "win") and swgl: [PASS, NOTRUN]

  [Transactions that explicitly commit and have errors should abort.]
    expected:
      if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN]
      if (os == "win") and (processor == "x86_64") and debug and not swgl: [PASS, TIMEOUT]
      if (os == "win") and (processor == "x86_64") and not debug: [PASS, NOTRUN]

  [Transactions with same scope should stay in program order, even if one calls commit.]
    expected:
      if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN]
      if (os == "win") and (processor == "x86_64") and not debug: [PASS, NOTRUN]

  [Calling commit on a committed transaction throws.]
    expected:
      if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN]
      if (os == "win") and (processor == "x86_64") and not debug: [PASS, NOTRUN]

  [Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.]
    expected:
      if (os == "win") and (processor == "x86_64"): [PASS, NOTRUN]