mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 20:35:07 +00:00
![]() Required by code that brand checks native constructors. For example, Wistia brand checks XMLHttpRequest by doing: ``` XMLHttpRequest.prototype.constructor.toString() ``` It then checks if it matches either one of: ``` function XMLHttpRequest() { [native code] } ``` ``` [object XMLHttpRequestConstructor] ``` If neither matches, it disables HLS playback and prints: "The XMLHttpRequest constructor has been tampered with. Because this affects CORS/Range XHR requests, HLS playback has been disabled. To enable HLS playback and other important features, please remove code that changes the definition of window.XMLHttpRequest." We hit this path due to not giving generated constructors a name, as we would provide `function () { [native code] }`. |
||
---|---|---|
.. | ||
BindingsGenerator | ||
CMakeLists.txt | ||
GenerateCSSEnums.cpp | ||
GenerateCSSMediaFeatureID.cpp | ||
GenerateCSSPropertyID.cpp | ||
GenerateCSSTransformFunctions.cpp | ||
GenerateCSSValueID.cpp | ||
GenerateWindowOrWorkerInterfaces.cpp | ||
GeneratorUtil.h |