Title: [291236] trunk/LayoutTests
- Revision
- 291236
- Author
- [email protected]
- Date
- 2022-03-14 09:52:10 -0700 (Mon, 14 Mar 2022)
Log Message
[model] model-element/model-element-camera.html fails due to `promise_rejects` being undefined
https://bugs.webkit.org/show_bug.cgi?id=237833
rdar://88982597
Unreviewed test fix after testharness.js was updated in bug 235398 but neglected to update this
test to use promise_rejects_dom.
* model-element/model-element-camera.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (291235 => 291236)
--- trunk/LayoutTests/ChangeLog 2022-03-14 16:50:57 UTC (rev 291235)
+++ trunk/LayoutTests/ChangeLog 2022-03-14 16:52:10 UTC (rev 291236)
@@ -1,3 +1,14 @@
+2022-03-14 Antoine Quint <[email protected]>
+
+ [model] model-element/model-element-camera.html fails due to `promise_rejects` being undefined
+ https://bugs.webkit.org/show_bug.cgi?id=237833
+ rdar://88982597
+
+ Unreviewed test fix after testharness.js was updated in bug 235398 but neglected to update this
+ test to use promise_rejects_dom.
+
+ * model-element/model-element-camera.html:
+
2022-03-14 Matteo Flores <[email protected]>
[GTK][WPE] EXIF orientation tests are failing since added in r249364 - "EXIF orientation should be respected when rendering images"
Modified: trunk/LayoutTests/model-element/model-element-camera.html (291235 => 291236)
--- trunk/LayoutTests/model-element/model-element-camera.html 2022-03-14 16:50:57 UTC (rev 291235)
+++ trunk/LayoutTests/model-element/model-element-camera.html 2022-03-14 16:52:10 UTC (rev 291236)
@@ -20,11 +20,11 @@
const model = makeModel();
const getCameraPromise = model.getCamera();
- await promise_rejects(test, "AbortError", getCameraPromise,
+ await promise_rejects_dom(test, "AbortError", getCameraPromise,
"The promise returned by getCamera() should be rejected if the model element is not ready.");
const setCameraPromise = model.setCamera(expectedCamera);
- await promise_rejects(test, "AbortError", setCameraPromise,
+ await promise_rejects_dom(test, "AbortError", setCameraPromise,
"The promise returned by setCamera() should be rejected if the model element is not ready.");
}, "<model> cannot get or set the camera until it's ready");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes