From bd9325754999c2c3a01562ea090654f1ab07cc59 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 29 Jan 2016 09:10:41 -0800 Subject: Merge to XFA: Fix behaviour of app.alert() with a single object argument. Original Review URL: https://codereview.chromium.org/1641693003 . (cherry picked from commit 66519af52b61ca158044651d0507d47efb364f87) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1639253008 . --- testing/resources/javascript/app_alert_expected.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'testing/resources/javascript/app_alert_expected.txt') diff --git a/testing/resources/javascript/app_alert_expected.txt b/testing/resources/javascript/app_alert_expected.txt index 91205bc91d..b44fa73a94 100644 --- a/testing/resources/javascript/app_alert_expected.txt +++ b/testing/resources/javascript/app_alert_expected.txt @@ -1 +1,15 @@ Alert: This test passes if alert() logs output under the test utility. +title[icon=1,type=2]: message +title: message +title[icon=3,type=4]: message +Alert: undefined +Alert: null +Alert: true +Alert: false +Alert: 42 +Alert: [1, 2, 3] +Alert: [1, 2, [object Object]] +title[icon=5,type=6]: [object Object] +Alert: Caught expected error app.alert: Incorrect number of parameters passed to function. +Alert: Caught expected error app.alert: Incorrect number of parameters passed to function. +Alert: Caught expected error app.alert: Incorrect number of parameters passed to function. -- cgit v1.2.3