smlinux/heavybuilds/firefox/isnan.patch
PktSurf b84f8a4a14 Upgraded base/chrony to version 4.4
Upgraded base/cmake to version 3.27.7
Upgraded base/glib to 2.78.1
Upgraded base/libvpx to 1.10.0
Added AMDGPU and BPF build targets to base/llvm
Added a patch to extra/ffmpegthumbnailer for fixing a build error against ffmpeg 5.X versions
Upgraded gtk/libwnck3 to 3.36.0
Upgraded heavybuilds/firefox to 115.5.0
Added some patches to base/wpa-supplicant
Added glslang to xorg
2023-12-10 23:23:41 +05:30

38 lines
1.6 KiB
Diff

--- a/dom/webtransport/api/WebTransportDatagramDuplexStream.cpp 2023-12-03 10:38:07.439311864 +0530
+++ b/dom/webtransport/api/WebTransportDatagramDuplexStream.cpp 2023-12-03 10:38:25.075311277 +0530
@@ -62,7 +62,7 @@
ErrorResult& aRv) {
// https://w3c.github.io/webtransport/#dom-webtransportdatagramduplexstream-incomingmaxage
// Step 1
- if (isnan(aMaxAge) || aMaxAge < 0.) {
+ if (std::isnan(aMaxAge) || aMaxAge < 0.) {
aRv.ThrowRangeError("Invalid IncomingMaxAge");
return;
}
@@ -78,7 +78,7 @@
ErrorResult& aRv) {
// https://w3c.github.io/webtransport/#dom-webtransportdatagramduplexstream-outgoingmaxage
// Step 1
- if (isnan(aMaxAge) || aMaxAge < 0.) {
+ if (std::isnan(aMaxAge) || aMaxAge < 0.) {
aRv.ThrowRangeError("Invalid OutgoingMaxAge");
return;
}
@@ -94,7 +94,7 @@
double aWaterMark, ErrorResult& aRv) {
// https://w3c.github.io/webtransport/#dom-webtransportdatagramduplexstream-incominghighwatermark
// Step 1
- if (isnan(aWaterMark) || aWaterMark < 0.) {
+ if (std::isnan(aWaterMark) || aWaterMark < 0.) {
aRv.ThrowRangeError("Invalid OutgoingMaxAge");
return;
}
@@ -110,7 +110,7 @@
double aWaterMark, ErrorResult& aRv) {
// https://w3c.github.io/webtransport/#dom-webtransportdatagramduplexstream-outgoinghighwatermark
// Step 1
- if (isnan(aWaterMark) || aWaterMark < 0.) {
+ if (std::isnan(aWaterMark) || aWaterMark < 0.) {
aRv.ThrowRangeError("Invalid OutgoingHighWaterMark");
return;
}