Closed kevva closed 9 years ago
@kevva Any thoughts on how we can fix this?
Not any good solutions yet, no.
These seems to be fixed by https://github.com/kevva/screenshot-stream/commit/34410dc2e02ced49afb355bbb27069bf34408ffe
pageres http://www.nationalgeographic.com 320x480 1024x768 1366x768
pageres cnn.com 320x480
This one still throws though:
❯ pageres bbc.co.uk 1000x1000
ncat(array_slice.call(arguments))
);
}
};
// 15. If the [[Class]] internal property of Target is "Function", then
// a. Let L be the length property of Target minus the length of A.
// b. Set the length own property of F to either 0 or L, whichever is
// larger.
// 16. Else set the length own property of F to 0.
var boundLength = Math.max(0, target.length - args.length);
Is it related to the es5-shim?
Apparently, yes https://github.com/es-shims/es5-shim/blob/master/es5-shim.js#L278.
@sindresorhus, should we just read the whole es5-shim file and compare the error output against it? lol.
Sure, better than it not working.
Page should reload or something without inserting the es5-shim if it fails on the first attempt.
https://github.com/sindresorhus/pageres/issues/136.