Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25091] Windows: Mocha test Titanium.Blob constructed from File.read() test failure

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionWon't Fix
Resolution Date2017-09-01T06:33:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsfailure-reviewed
ReporterEric Merriman
AssigneeKota Iguchi
Created2017-08-11T16:21:08.000+0000
Updated2018-08-02T22:20:03.000+0000

Description

Titanium.Blob constructed from File.read() please investigate the failure. Please use https://github.com/ewanharris/titanium-mobile-mocha-suite/tree/TIMOB-24816 to find the related test You can use https://github.com/ewanharris/mocha-test to quickly debug (most) mocha tests)

Comments

  1. Ewan Harris 2017-08-24

    Running in mocha-test shows that the error is as below, error originates from the should(blob).be.an.instanceof(Ti.Blob); check as Ti.Blob is null
       [ERROR] ----- Titanium Javascript Runtime Error -----
       [ERROR] In app.js: 1688,26
       [ERROR] Message: Uncaught Error: null is not an object (evaluating 'f.toString().match')
       
  2. Kota Iguchi 2017-09-01

    Same as TIMOB-25012, this fails on iOS too. I would resolve this as "won't fix" because we take iOS as reference platform.
  3. Eric Merriman 2018-08-02

    Closing old "Won't fix" tickets. If you disagree, please reopen.

JSON Source