Update web-platform-tests to revision b'c72ee0c082d350b8b44f7a6bac1f028752b13527' (#34837)

Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
This commit is contained in:
Servo WPT Sync 2025-01-05 02:59:46 +01:00 committed by GitHub
parent d1de3cc407
commit 15eb405f36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
335 changed files with 11790 additions and 765 deletions

View file

@ -0,0 +1,2 @@
[cross-partition-navigation.tentative.https.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[cross-partition-worker-creation.tentative.https.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[cross-partition.tentative.https.html]
expected: TIMEOUT

View file

@ -97,3 +97,51 @@
[An interpolation to inherit updates correctly on a parent style change.]
expected: FAIL
[CSS Transitions: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL

View file

@ -23,14 +23,5 @@
[@font-face matching for quoted and unquoted serif]
expected: FAIL
[@font-face matching for quoted and unquoted sans-serif]
expected: FAIL
[@font-face matching for quoted and unquoted cursive]
expected: FAIL
[@font-face matching for quoted and unquoted fantasy]
expected: FAIL
[@font-face matching for quoted and unquoted monospace]
expected: FAIL

View file

@ -37,3 +37,21 @@
[e.style['font-size-adjust'\] = "ic-height from-font" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "ex-height calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(0.5 + 1)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(-0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(10 + (sign(20cqw - 10px) * 5))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-stretch-computed.html]
[Property font-stretch value 'calc(100% + (sign(20cqw - 10px) * 5%))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-stretch-valid.html]
[e.style['font-stretch'\] = "calc(100% + (sign(20cqw - 10px) * 5%))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-style-computed.html]
[Property font-style value 'oblique calc(30deg + (sign(20cqw - 10px) * 5deg))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-style-valid.html]
[e.style['font-style'\] = "oblique calc(30deg + (sign(2cqw - 10px) * 5deg))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-weight-computed.html]
[Property font-weight value 'calc(100 + (sign(20cqw - 10px) * 5))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-weight-valid.html]
[e.style['font-weight'\] = "calc(100 + (sign(20cqw - 10px) * 5))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,6 @@
[counter-increment-valid.html]
[e.style['counter-increment'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,6 @@
[counter-reset-valid.html]
[e.style['counter-reset'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -10,3 +10,12 @@
[e.style['counter-set'\] = "first -1 second third 99" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(1)" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,2 @@
[the-check-pseudo-element.tentative.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[the-select-arrow-pseudo-element.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[dynamic-available-size-iframe.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[block-height-1.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[block-height-2.html]
expected: TIMEOUT

View file

@ -40,3 +40,6 @@
[sec-fetch-storage-access - Not sent to non-trustworthy same-site destination]
expected: FAIL
[sec-fetch-mode - Not sent to non-trustworthy same-site destination]
expected: FAIL

View file

@ -70,6 +70,3 @@
[sec-fetch-storage-access - source[srcset\] - Cross-site, no attributes]
expected: FAIL
[sec-fetch-mode - img[src\] - attributes: crossorigin=use-credentials]
expected: FAIL

View file

@ -2,8 +2,5 @@
[Navigating to a different document with window.open]
expected: FAIL
[Navigating to a different document with link click]
expected: FAIL
[Navigating to a different document with form submission]
expected: FAIL

View file

@ -1,3 +0,0 @@
[form-submit-cross-frame.html]
[No replace before load, triggered by cross-iframe formElement.submit()]
expected: FAIL

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edge-cases.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edges.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edge-cases.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edge-cases.tentative.worker.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edges.tentative.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position-edges.tentative.worker.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[2d.text.measure.caret-position.tentative.html]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,4 +1,4 @@
[iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html]
type: testharness
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -2,4 +2,4 @@
type: testharness
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -1,3 +0,0 @@
[form-submit-iframe-then-location-navigate.html]
[Verifies that location navigations take precedence when following form submissions.]
expected: FAIL

View file

@ -0,0 +1,2 @@
[detached-frame.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-A-A.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-A.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-AA.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-AB.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-B-A.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-B-B.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[include-frames-originA-B.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[performance-entry-source.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[with-filter-options-originA.html]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[WorkerGlobalScope-close.html]
[Test sending a message after closing.]
expected: FAIL

View file

@ -14,6 +14,3 @@
[Opening a blob URL in a new window by clicking an <a> tag works immediately before revoking the URL.]
expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in <script> tags.]
expected: TIMEOUT

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
[align-content-block-012.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-border-area-on-body-not-propagated-to-root.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-text-on-body-not-propagated-to-root.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[empty-flex-box-and-margin-collapsing.html]
expected: FAIL

View file

@ -97,3 +97,51 @@
[An interpolation to inherit updates correctly on a parent style change.]
expected: FAIL
[CSS Transitions: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [normal\] to [oblique 10deg\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [initial\] to [inherit\] at (0) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [oblique 20deg\] to [normal\] at (1) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[CSS Transitions with transition: all: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[CSS Animations: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL
[Web Animations: property <font-style> from [oblique -90deg\] to [oblique 90deg\] at (0.5) should be [oblique 0deg\]]
expected: FAIL

View file

@ -37,3 +37,21 @@
[e.style['font-size-adjust'\] = "ic-height from-font" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "ex-height calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(0.5 + 1)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(-0.5)" should set the property value]
expected: FAIL
[e.style['font-size-adjust'\] = "cap-height calc(10 + (sign(20cqw - 10px) * 5))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-stretch-computed.html]
[Property font-stretch value 'calc(100% + (sign(20cqw - 10px) * 5%))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-stretch-valid.html]
[e.style['font-stretch'\] = "calc(100% + (sign(20cqw - 10px) * 5%))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-style-computed.html]
[Property font-style value 'oblique calc(30deg + (sign(20cqw - 10px) * 5deg))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-style-valid.html]
[e.style['font-style'\] = "oblique calc(30deg + (sign(2cqw - 10px) * 5deg))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-weight-computed.html]
[Property font-weight value 'calc(100 + (sign(20cqw - 10px) * 5))']
expected: FAIL

View file

@ -0,0 +1,3 @@
[font-weight-valid.html]
[e.style['font-weight'\] = "calc(100 + (sign(20cqw - 10px) * 5))" should set the property value]
expected: FAIL

View file

@ -10,3 +10,12 @@
[e.style['counter-increment'\] = "first -1 second third 99" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "section calc(1)" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -28,3 +28,12 @@
[e.style['counter-reset'\] = "reversed(first) -1 reversed(second) third 99" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "section calc(1)" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -10,3 +10,12 @@
[e.style['counter-set'\] = "first -1 second third 99" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(1)" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(-2.5)" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property value]
expected: FAIL

View file

@ -0,0 +1,2 @@
[incremental-scroll-002.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[line-clamp-content-height-with-dynamic-change.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[scrollbar-gutter-root-both-edges.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[segment-break-transformation-punctuation-001.html]
expected: FAIL

View file

@ -0,0 +1,15 @@
[attr-null-namespace.xhtml]
[Sanity check]
expected: FAIL
[Attribute in null-namespace is substituted]
expected: FAIL
[Fallback is taken when attribute does not exist in null-namespace]
expected: FAIL
[Attribute in null-namespace is substituted (JS)]
expected: FAIL
[Fallback is taken when attribute does not does exist in null-namespace (JS)]
expected: FAIL

View file

@ -1,3 +1,3 @@
[traverse_the_history_5.html]
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +1,5 @@
[createImageBitmap-serializable.html]
expected: ERROR
expected: TIMEOUT
[Serialize ImageBitmap created from a vector SVGImageElement]
expected: NOTRUN

View file

@ -1,4 +1,4 @@
[iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

View file

@ -1,4 +1,4 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -16,3 +16,15 @@
[Reload fetchStart > Original fetchStart]
expected: FAIL
[Reload domComplete > Original domComplete]
expected: FAIL
[Reload domContentLoadedEventEnd > Original domContentLoadedEventEnd]
expected: FAIL
[Reload loadEventEnd > Original loadEventEnd]
expected: FAIL
[Reload loadEventStart > Original loadEventStart]
expected: FAIL

View file

@ -1,4 +1,3 @@
[003.html]
expected: ERROR
[shared]
expected: FAIL

View file

@ -16,7 +16,7 @@ promise_test(async t => {
});
t.add_cleanup(() => { delete Object.prototype['10']; });
const tx = db.transaction('store', 'readwrite', { durability: 'relaxed' });
const tx = db.transaction('store', 'readwrite');
const result = await promiseForRequest(t, tx.objectStore('store').put(
'value', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'key']));

View file

@ -12,7 +12,7 @@ promise_test(async t => {
Object.prototype.a = {b: {c: 'on proto'}};
t.add_cleanup(() => { delete Object.prototype.a; });
const tx = db.transaction('store', 'readwrite', {durability: "relaxed"});
const tx = db.transaction('store', 'readwrite');
tx.objectStore('store').put({});
const result = await promiseForRequest(t, tx.objectStore('store').get(1));
@ -40,7 +40,7 @@ promise_test(async t => {
});
t.add_cleanup(() => { delete Object.prototype['id']; });
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
tx.objectStore('store').put({});
const result = await promiseForRequest(t, tx.objectStore('store').get(1));

View file

@ -33,7 +33,7 @@ function composite_blob_test({ blobCount, blobSize, name }) {
db.createObjectStore("blobs");
});
const write_tx = db.transaction("blobs", "readwrite", {durability: "relaxed"});
const write_tx = db.transaction("blobs", "readwrite");
let store = write_tx.objectStore("blobs");
store.put(memBlobs, key);
// Make the blobs eligible for GC which is most realistic and most likely
@ -42,7 +42,7 @@ function composite_blob_test({ blobCount, blobSize, name }) {
await promiseForTransaction(testCase, write_tx);
const read_tx = db.transaction("blobs", "readonly", {durability: "relaxed"});
const read_tx = db.transaction("blobs", "readonly");
store = read_tx.objectStore("blobs");
const read_req = store.get(key);

View file

@ -12,27 +12,43 @@ indexeddb_test(
var blob = new Blob(['mulder', 'scully'], {type: type});
assert_equals(blob.type, type, 'Blob type should match constructor option');
var tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
var tx = db.transaction('store', 'readwrite');
tx.objectStore('store').put(blob, 'key');
tx.oncomplete = t.step_func(function() {
var tx = db.transaction('store', 'readonly', {durability: 'relaxed'});
tx.objectStore('store').get('key').onsuccess = t.step_func(function(e) {
var tx = db.transaction('store', 'readonly');
tx.objectStore('store').get('key').onsuccess =
t.step_func(function(e) {
var result = e.target.result;
assert_equals(result.type, type, 'Blob type should survive round-trip');
// Test createObjectURL i.e. a blob:// URL.
var url = URL.createObjectURL(result);
var xhr = new XMLHttpRequest(), async = true;
xhr.open('GET', url, async);
xhr.send();
xhr.onreadystatechange = t.step_func(function() {
if (xhr.readyState !== XMLHttpRequest.DONE)
return;
assert_equals(xhr.getResponseHeader('Content-Type'), type,
'Blob type should be preserved when fetched');
if (xhr.readyState !== XMLHttpRequest.DONE)
return;
assert_equals(
xhr.getResponseHeader('Content-Type'), type,
'Blob type should be preserved when fetched');
// Test POSTing blob in request.
var xhr2 = new XMLHttpRequest();
xhr2.open('POST', '../xhr/resources/content.py', true);
xhr2.send(result);
xhr2.onreadystatechange = t.step_func(function() {
if (xhr2.readyState !== XMLHttpRequest.DONE)
return;
assert_equals(xhr2.status, 200);
assert_equals(xhr2.getResponseHeader('X-Request-Content-Type'), type);
assert_equals(xhr2.response, 'mulderscully');
t.done();
});
});
});
});
});
},
'Ensure that content type round trips when reading blob data'

View file

@ -23,7 +23,7 @@ indexeddb_test(
request.onsuccess = t.step_func(function() {
const blobBContent = "Second blob content";
const trans = db.transaction('store1', 'readwrite', {durability: 'relaxed'});
const trans = db.transaction('store1', 'readwrite');
const store1 = trans.objectStore('store1');
const blobB = new Blob([blobBContent], {"type" : "text/plain"});
store1.put(blobB, key);

View file

@ -14,13 +14,13 @@ indexeddb_test(
const blobB = new Blob([blobBContent], {"type" : "text/plain"});
value = { a0: blobA, a1: blobA, b0: blobB };
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
var store = tx.objectStore('store');
store.put(value, key);
value = null;
const trans = db.transaction('store', 'readonly', {durability: 'relaxed'});
const trans = db.transaction('store', 'readonly');
store = trans.objectStore('store');
const request = store.get(key);
@ -28,7 +28,7 @@ indexeddb_test(
const record = request.result;
trans.oncomplete = t.step_func(function() {
const trans = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const trans = db.transaction('store', 'readwrite');
store = trans.objectStore('store');
const request = store.delete(key);

View file

@ -14,7 +14,7 @@ indexeddb_test(
const blobB = new Blob([blobBContent], {"type" : "text/plain"});
const value = { a0: blobA, a1: blobA, b0: blobB };
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
const store = tx.objectStore('store');
store.put(value, key);

View file

@ -54,7 +54,7 @@ function createObjectStoreWithIndex(
}
function createTransactionAndReturnObjectStore(db, storeName) {
const tx = db.transaction(storeName, 'readwrite', {durability: 'relaxed'});
const tx = db.transaction(storeName, 'readwrite');
const store = tx.objectStore(storeName);
return {tx, store};
}

View file

@ -31,7 +31,7 @@ async_test(t => {
assert_equals(db.version, 1);
assert_equals(db.objectStoreNames.length, 1);
assert_throws_dom('InvalidStateError', function() {
db.transaction('os', 'readonly', {durability: 'relaxed'});
db.transaction('os', 'readonly');
});
t.done();

View file

@ -21,7 +21,7 @@ async_test(t => {
};
function verifyOverloads() {
trans = db.transaction('store', 'readonly', {durability: 'relaxed'});
trans = db.transaction('store', 'readonly');
store = trans.objectStore('store');
index = store.index('index');

View file

@ -16,7 +16,7 @@ for (const entry of entries) {
db.createObjectStore("store");
},
function open_func(t, db) {
const store = db.transaction("store", "readwrite", {durability: 'relaxed'}).objectStore("store");
const store = db.transaction("store", "readwrite").objectStore("store");
for (let i = 1; i <= 10; ++i) {
store.put(i, i);

View file

@ -9,7 +9,7 @@ indexeddb_test(
db.createObjectStore('store');
},
function(t, db) {
let tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
let tx = db.transaction('store', 'readwrite');
let store = tx.objectStore('store');
let r1 = store.add('value', 'key');
r1.onerror = t.unreached_func('first add should succeed');

View file

@ -11,7 +11,7 @@ function createObjectStore() {
}
function initializeTransaction(t, db, mode = 'readonly') {
const tx = db.transaction('store', mode, {durability: 'relaxed'});
const tx = db.transaction('store', mode);
const release_tx = keep_alive(tx, 'store');
assert_true(
is_transaction_active(tx, 'store'),

View file

@ -14,7 +14,7 @@ function fire_error_event_test(func, description) {
db.createObjectStore('s');
},
(t, db) => {
const tx = db.transaction('s', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('s', 'readwrite');
tx.oncomplete = t.unreached_func('transaction should abort');
const store = tx.objectStore('s');
store.put(0, 0);

View file

@ -14,7 +14,7 @@ function fire_success_event_test(func, description) {
db.createObjectStore('s');
},
(t, db) => {
const tx = db.transaction('s', 'readonly', {durability: 'relaxed'});
const tx = db.transaction('s', 'readonly');
tx.oncomplete = t.unreached_func('transaction should abort');
const store = tx.objectStore('s');
const request = store.get(0);

View file

@ -11,7 +11,7 @@
indexeddb_test(
(t, db) => { db.createObjectStore('store'); },
(t, db) => {
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
const store = tx.objectStore('store');
const array = new Uint8Array([1,2,3,4]);
@ -32,7 +32,7 @@ indexeddb_test(
indexeddb_test(
(t, db) => { db.createObjectStore('store'); },
(t, db) => {
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
const store = tx.objectStore('store');
const array = new Uint8Array([1,2,3,4]);

View file

@ -19,7 +19,7 @@ function assert_buffer_equals(a, b, message) {
// Verifies that a JavaScript value round-trips through IndexedDB as a key.
function check_key_roundtrip_and_done(t, db, key, key_buffer) {
const tx = db.transaction('store', 'readwrite', {durability: 'relaxed'});
const tx = db.transaction('store', 'readwrite');
const store = tx.objectStore('store');
// Verify put with key

View file

@ -19,7 +19,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -61,7 +61,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -107,7 +107,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -146,7 +146,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {

View file

@ -13,7 +13,7 @@ indexeddb_test(
store.put('value', 'key');
},
(t, db) => {
const tx = db.transaction('s', 'readonly', {durability: 'relaxed'});
const tx = db.transaction('s', 'readonly');
const store = tx.objectStore('s');
const r = store.openKeyCursor();
@ -66,7 +66,7 @@ indexeddb_test(
store.put('value', 'key');
},
(t, db) => {
const tx = db.transaction('s', 'readonly', {durability: 'relaxed'});
const tx = db.transaction('s', 'readonly');
const store = tx.objectStore('s');
const r = store.openKeyCursor();

View file

@ -25,7 +25,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -54,7 +54,7 @@ indexeddb_test(
indexeddb_test(
upgrade_func,
function(t, db) {
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
var cursor = e.target.result;
@ -85,7 +85,7 @@ indexeddb_test(
indexeddb_test(
upgrade_func,
function(t, db) {
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
var cursor = e.target.result;
@ -111,7 +111,7 @@ indexeddb_test(
indexeddb_test(
upgrade_func,
function(t, db) {
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
var cursor = e.target.result;
@ -129,7 +129,7 @@ indexeddb_test(
indexeddb_test(
upgrade_func,
function(t, db) {
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
var cursor = e.target.result;
@ -167,7 +167,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
var cursor = e.target.result;

View file

@ -22,7 +22,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -64,7 +64,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor(null, "prev");
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor(null, "prev");
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -106,7 +106,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor();
rq.onsuccess = t.step_func(function(e) {
@ -139,7 +139,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor(IDBKeyRange.lowerBound("cupcake", true));
rq.onsuccess = t.step_func(function(e) {
@ -177,7 +177,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor("pancake");
rq.onsuccess = t.step_func(function(e) {
@ -210,7 +210,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor("pie");
rq.onsuccess = t.step_func(function(e) {

View file

@ -13,7 +13,7 @@ indexeddb_test(
s.put('value', 'key');
},
(t, db) => {
const s = db.transaction('s', 'readonly', {durability: 'relaxed'}).objectStore('s');
const s = db.transaction('s', 'readonly').objectStore('s');
const r = s.openKeyCursor();
r.onsuccess = t.step_func(() => {
r.onsuccess = null;
@ -36,7 +36,7 @@ indexeddb_test(
s.put('value', 'key');
},
(t, db) => {
const s = db.transaction('s', 'readonly', {durability: 'relaxed'}).objectStore('s');
const s = db.transaction('s', 'readonly').objectStore('s');
const r = s.openKeyCursor();
r.onsuccess = t.step_func(() => {
r.onsuccess = null;
@ -62,7 +62,7 @@ indexeddb_test(
s.put('value', 'key');
},
(t, db) => {
const s = db.transaction('s', 'readonly', {durability: 'relaxed'}).objectStore('s');
const s = db.transaction('s', 'readonly').objectStore('s');
const r = s.openKeyCursor();
r.onsuccess = t.step_func(() => {
r.onsuccess = null;

View file

@ -30,7 +30,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -57,7 +57,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index").openCursor();
var rq = db.transaction("test", "readonly").objectStore("test").index("index").openCursor();
rq.onsuccess = t.step_func(function(e) {
if (!e.target.result) {
@ -102,7 +102,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor();
rq.onsuccess = t.step_func(function(e) {
@ -137,7 +137,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor(IDBKeyRange.lowerBound("cupcake", true));
rq.onsuccess = t.step_func(function(e) {
@ -177,7 +177,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor("pancake");
rq.onsuccess = t.step_func(function(e) {
@ -210,7 +210,7 @@ indexeddb_test(
upgrade_func,
function(t, db) {
var count = 0;
var rq = db.transaction("test", "readonly", {durability: 'relaxed'}).objectStore("test").index("index")
var rq = db.transaction("test", "readonly").objectStore("test").index("index")
.openCursor("pie");
rq.onsuccess = t.step_func(function(e) {

Some files were not shown because too many files have changed in this diff Show more