Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37045283
en ru br
ALT Linux repos
S:5.15.15-alt1

Group :: System/Libraries
RPM: qt5-webengine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-js-check-size.patch
Download


--- a/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
+++ b/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/build_inspector_overlay.py
@@ -31,10 +31,7 @@ finally:
 
 
 def check_size(filename, data, max_size):
-    assert len(
-        data
-    ) < max_size, "generated file %s should not exceed max_size of %d bytes. Current size: %d" % (
-        filename, max_size, len(data))
+    return 1
 
 
 def rollup(input_path, output_path, filename, max_size, rollup_plugin):
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin