Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25043] Windows: Ti.Network.Cookie isValid() is missing

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2018-09-24T14:55:07.000+0000
Affected Version/sRelease 6.1.1
Fix Version/sRelease 7.5.0
ComponentsWindows
Labelscookie, parity
ReporterMichael Gangolf
AssigneeKota Iguchi
Created2017-07-31T23:59:23.000+0000
Updated2018-09-25T12:38:46.000+0000

Description

The method isValid() in Titanium.Network.Cookie is missing on Windows. Test Case
var cookie1 = Ti.Network.createCookie({
	domain: 'example.com',
	name: 'test_cookie',
	value: '12',
	path: '/'
});

var cookie2 = Ti.Network.createCookie({
	name: 'test_cookie',
	value: '12',
	path: '/'
});

console.log('is cookie valid: ' + cookie1.isValid());
console.log('is cookie valid: ' + cookie2.isValid());

Comments

  1. Kota Iguchi 2018-08-04

    https://github.com/appcelerator/titanium_mobile_windows/pull/1275
  2. Josh Longton 2018-09-24

    *FR Passed*
  3. Josh Longton 2018-09-25

    *Closing ticket* The fix is present in SDK; {noformat} 7.5.0.v20180925002114 {noformat}

JSON Source