Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: test/webkit/fast/js/kde/cast.js

Issue 149413010: A64: Synchronize with r16024. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/kde/assignments-expected.txt ('k') | test/webkit/fast/js/kde/cast-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/kde/cast.js
diff --git a/test/webkit/codegen-jless.js b/test/webkit/fast/js/kde/cast.js
similarity index 87%
copy from test/webkit/codegen-jless.js
copy to test/webkit/fast/js/kde/cast.js
index ba8ba6fad07dc6fef9235aaa74b58c66c4c51cc2..c8d3792a63c082515bb4f81c07fafe25cfd59b53 100644
--- a/test/webkit/codegen-jless.js
+++ b/test/webkit/fast/js/kde/cast.js
@@ -21,8 +21,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-description(
-"Tests particular unusual cases of jump-if-less codegen."
-);
-
-shouldBe("!(true && undefined > 0) ? 'true' : 'false'", "'true'");
+description("KDE JS Test");
+shouldBeTrue("Boolean(1) === true");
+shouldBeTrue("var s = String; s(1) === '1'");
+shouldBeTrue("n = Number; n(true) === 1");
+shouldBe("String(Array('a', 'b'        ))", "'a,b'");
« no previous file with comments | « test/webkit/fast/js/kde/assignments-expected.txt ('k') | test/webkit/fast/js/kde/cast-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698