blob: ed9c140741be33103e256e45e788400e14cc3056 [file] [log] [blame]
description(
"Regression test for https://webkit.org/b/155917. This test should run without throwing an exception."
);
Object.create = function() {
throw "User defined Object.create should not be used by Date.prototype methods.";
};
(new Date).toLocaleString();
(new Date).toLocaleDateString();
(new Date).toLocaleTimeString();