Bug#931807: libwebkit2gtk-4.0-37: JavaScript code fails without error message on ppc64el and s390x
Dmitry Shachnev
mitya57 at debian.org
Wed Jul 10 19:54:59 BST 2019
On Wed, Jul 10, 2019 at 07:10:27PM +0300, Dmitry Shachnev wrote:
> I managed to reproduce this with C code (not Python). Attached is a test
> case that is small from C point of view (trimming down the HTML part would
> be more difficult).
After several hours of debugging, I was able to trim the HTML to the
following:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
for (var i = 0; i < 2; i++) {
var foo = {};
foo.bar = null;
}
</script>
</head>
<body>
</body>
</html>
To reproduce, save this to test.html and in my test.c, replace the URL
with file:///path/to/test.html.
In case of Sphinx, the following code in jQuery broke it:
jQuery.each( {
margin: "",
padding: "",
border: "Width"
}, function( prefix, suffix ) {
jQuery.cssHooks[ prefix + suffix ] = {
...
};
if ( prefix !== "margin" ) {
jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
}
} );
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-webkit-maintainers/attachments/20190710/ee825655/attachment.sig>
More information about the Pkg-webkit-maintainers
mailing list