icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -940,6 +940,12 @@ Result<Ok, nsresult> Key::EncodeBinary(
return Err(NS_ERROR_DOM_INDEXEDDB_DATA_ERR);
}
JSObject* obj = aArrayBufferOrView.asObjectUnbarriered();
if (JS::IsSharedArrayBufferObject(obj) ||
(JS_IsArrayBufferViewObject(obj) && JS::IsArrayBufferViewShared(obj))) {
return Err(NS_ERROR_DOM_INDEXEDDB_DATA_ERR);
}
// 1. Let aData be the result of getting the bytes held by the buffer source
// input.
// 2. Return a new key with type binary and value aData.