Loading dom/canvas/ClientWebGLContext.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -5202,6 +5202,14 @@ bool ClientWebGLContext::ReadPixels_SharedPrecheck( return false; } // Security check passed, but don't let content readPixel calls through for // now, if Resist Fingerprinting Mode is enabled. if (ShouldResistFingerprinting(RFPTarget::CanvasRandomization)) { JsWarning("readPixels: Not allowed in Resist Fingerprinting Mode"); out_error.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); return false; } return true; } Loading Loading
dom/canvas/ClientWebGLContext.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -5202,6 +5202,14 @@ bool ClientWebGLContext::ReadPixels_SharedPrecheck( return false; } // Security check passed, but don't let content readPixel calls through for // now, if Resist Fingerprinting Mode is enabled. if (ShouldResistFingerprinting(RFPTarget::CanvasRandomization)) { JsWarning("readPixels: Not allowed in Resist Fingerprinting Mode"); out_error.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); return false; } return true; } Loading