- 14 Mar, 2016 1 commit
-
-
littledan authored
test262 "negative" test expectations list which exception is thrown. The ES2017 draft specification is very specific about which exception class is thrown from which path, and V8 works hard to be correct with respect to that spec. Previously, the test262 test runner would accept any nonzero status code, such as from a crash, or a FAIL printed out, for a negative test. This patch makes negative tests check for the right answer using a quick-and-dirty parsing of the exception printing from d8 to find the exception class. It invokes d8 in a way to get a status code of 0 from thrown exceptions so that 'negative' tests aren't actually implemented by negating the output. Amazingly, this didn't catch any test262 failures, but I verified the extra checking interactively by changing a negative test to expect a different type and saw it fail. BUG=v8:4803 R=machenbach LOG=Y Review URL: https://codereview.chromium.org/1766503002 Cr-Commit-Position: refs/heads/master@{#34763}
-
- 21 Jul, 2015 1 commit
-
-
adamk authored
Many mjsunit tests (as well as the promises-aplus adapter scripts) were using Object.observe simply for microtask-enqueueing purposes. Replaced such uses with %EnqueueMicrotask. Review URL: https://codereview.chromium.org/1246933002 Cr-Commit-Position: refs/heads/master@{#29779}
-
- 21 May, 2014 1 commit
-
-
jkummerow@chromium.org authored
Using urllib for SSL connections when behind a proxy is known to be broken, so apply the same fix from depot_tools r149742 and use a wrapper around urllib2 instead. R=jkummerow@chromium.org TEST=run test262 behind corporate proxy Review URL: https://codereview.chromium.org/297663003 Patch from Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21402 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Apr, 2014 1 commit
-
-
rossberg@chromium.org authored
Fix GetSourceForTest which returned an incorrect result. With this fix promises-aplus shows correct sources when --cat option is specified. BUG= R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/258763002 Patch from Yutaka Hirano <yhirano@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21026 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Mar, 2014 1 commit
-
-
rossberg@chromium.org authored
This CL introduces Promises/A+ tests[1]. This CL doesn't contain the test itself: it will be downloaded by test cfg.py. This CL includes some helper JS functions to run the test in d8 shell. [1]: https://github.com/promises-aplus/promises-tests BUG=347095 LOG=Y R=rossberg@chromium.org Review URL: https://codereview.chromium.org/196733002 Patch from Yutaka Hirano <yhirano@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-