Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1BE017308 for ; Thu, 12 Mar 2015 06:17:48 +0000 (UTC) Received: (qmail 5228 invoked by uid 500); 12 Mar 2015 06:17:45 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 5193 invoked by uid 500); 12 Mar 2015 06:17:45 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 5182 invoked by uid 99); 12 Mar 2015 06:17:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 06:17:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Rob.Paveza@microsoft.com designates 64.4.22.89 as permitted sender) Received: from [64.4.22.89] (HELO na01-by1-obe.outbound.o365filtering.com) (64.4.22.89) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 06:17:18 +0000 Received: from BLUSR01CA103.namsdf01.sdf.exchangelabs.com (10.255.124.148) by BL2SR01MB605.namsdf01.sdf.exchangelabs.com (10.255.109.167) with Microsoft SMTP Server (TLS) id 15.1.125.2; Thu, 12 Mar 2015 06:17:15 +0000 Received: from SN2FFOFD001.ffo.gbl (2a01:111:f400:7c04::24) by BLUSR01CA103.outlook.office365.com (2a01:111:e400:801::20) with Microsoft SMTP Server (TLS) id 15.1.125.2 via Frontend Transport; Thu, 12 Mar 2015 06:17:14 +0000 Received: from hybrid.exchange.microsoft.com (131.107.159.100) by SN2FFOFD001.mail.o365filtering.com (10.111.201.20) with Microsoft SMTP Server (TLS) id 15.1.112.5 via Frontend Transport; Thu, 12 Mar 2015 06:17:14 +0000 Received: from DFM-TK5MBX15-01.exchange.corp.microsoft.com (157.54.110.8) by DFM-TK5EDG15-02.exchange.corp.microsoft.com (157.54.27.97) with Microsoft SMTP Server (TLS) id 15.0.1044.22; Thu, 12 Mar 2015 06:17:14 +0000 Received: from DFM-DB3MBX15-07.exchange.corp.microsoft.com (10.221.22.29) by DFM-TK5MBX15-01.exchange.corp.microsoft.com (157.54.110.8) with Microsoft SMTP Server (TLS) id 15.0.1076.7; Wed, 11 Mar 2015 23:17:14 -0700 Received: from DFM-DB3MBX15-05.exchange.corp.microsoft.com (10.221.22.37) by DFM-DB3MBX15-07.exchange.corp.microsoft.com (10.221.22.29) with Microsoft SMTP Server (TLS) id 15.0.1076.7; Wed, 11 Mar 2015 23:17:11 -0700 Received: from DFM-DB3MBX15-05.exchange.corp.microsoft.com ([169.254.9.64]) by DFM-DB3MBX15-05.exchange.corp.microsoft.com ([169.254.9.64]) with mapi id 15.00.1076.000; Wed, 11 Mar 2015 23:17:11 -0700 From: Rob Paveza To: "dev@cordova.apache.org" Subject: RE: [GitHub] cordova-windows pull request: Fix for callback invocation with NO_... Thread-Topic: [GitHub] cordova-windows pull request: Fix for callback invocation with NO_... Thread-Index: AQHQXGINWTHBlzq7RUCS6dbbnGh+2p0Y1COA//+LYTA= Date: Thu, 12 Mar 2015 06:17:06 +0000 Message-ID: <073f22be8c954fc597ab080d993df8e8@DFM-DB3MBX15-05.exchange.corp.microsoft.com> References: <20150312061421.BF977E18C3@git1-us-west.apache.org> In-Reply-To: <20150312061421.BF977E18C3@git1-us-west.apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [157.54.51.13] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:131.107.159.100;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10019020)(6009001)(438002)(189002)(199003)(252514010)(377454003)(13464003)(450100001)(62966003)(77156002)(64706001)(2950100001)(2900100001)(46406003)(50986999)(54356999)(76176999)(46102003)(47776003)(66066001)(2501003)(97736003)(102836002)(68736005)(15975445007)(23726002)(108616004)(92566002)(86362001)(92726002)(106116001)(6806004)(106466001)(110136001)(107886001)(2351001)(50466002)(33646002)(97756001)(86612001)(19580395003)(19580405001)(87936001)(2656002)(24736002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2SR01MB605;H:hybrid.exchange.microsoft.com;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2SR01MB605; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(5005002)(5002009);SRVR:BL2SR01MB605;BCL:0;PCL:0;RULEID:;SRVR:BL2SR01MB605; X-Forefront-PRVS: 05134F8B4F Received-SPF: Pass (protection.outlook.com: domain of microsoft.com designates 131.107.159.100 as permitted sender) receiver=protection.outlook.com; client-ip=131.107.159.100; helo=hybrid.exchange.microsoft.com; Authentication-Results: spf=pass (sender IP is 131.107.159.100) smtp.mailfrom=Rob.Paveza@microsoft.com; X-OriginatorOrg: msft.ccsctp.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2015 06:17:14.8089 (UTC) X-MS-Exchange-CrossTenant-Id: f686d426-8d16-42db-81b7-ab578e110ccd X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f686d426-8d16-42db-81b7-ab578e110ccd;Ip=[131.107.159.100];Helo=[hybrid.exchange.microsoft.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2SR01MB605 X-Virus-Checked: Checked by ClamAV on apache.org Only question is if callback.status might be undefined (stands to reason if= it can be null). If so, the present check is insufficient and changes bec= ause you test with =3D=3D=3D. -Rob -----Original Message----- From: robpaveza [mailto:git@git.apache.org]=20 Sent: Wednesday, March 11, 2015 11:14 PM To: dev@cordova.apache.org Subject: [GitHub] cordova-windows pull request: Fix for callback invocation= with NO_... Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/61#discussion_r26280733 =20 --- Diff: cordova-js-src/exec.js --- @@ -60,18 +60,32 @@ module.exports =3D function (success, fail, service= , action, args) { // CB-5806 [Windows8] Add keepCallback support to proxy onSuccess =3D function (result, callbackOptions) { callbackOptions =3D callbackOptions || {}; + var callbackStatus; + if (callbackOptions.status !=3D=3D null) { --- End diff -- =20 Is undefined a possible value here? --- If your project is set up for it, you can reply to this email and have your= reply appear on GitHub as well. If your project does not have this feature= enabled and wishes so, or if the feature is enabled but not working, pleas= e contact infrastructure at infrastructure@apache.org or file a JIRA ticket= with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org