Bug Tracker

Modify

Ticket #4969 (closed bug: wontfix)

Opened 4 years ago

Last modified 3 years ago

filter.length check in testrunner.js

Reported by: jnorell Owned by:
Priority: minor Milestone: 1.4
Component: misc Version: 1.3.2
Keywords: testrunner.js Galio Cc:
Blocking: Blocked by:

Description

Trying to run the test suite in Galio browser, validTest() is returning false for everything. The name.indexOf(filter) check there returns -1 in Galio, whereas it returns 0 in iceape. As best I can tell, Galio is actually correct on this one. The attached tweak has them both working (skips that test if the filter is empty).

Attachments

jquery123.filter.length.patch Download (410 bytes) - added by jnorell 4 years ago.
tweak validTest() to work in Galio browser

Change History

Changed 4 years ago by jnorell

tweak validTest() to work in Galio browser

comment:1 Changed 4 years ago by jnorell

Note, the logic in this patch may not be correct (it returns "true" if any of the filters are empty?) - but I'm not entirely sure the rest of the test there is correct, either (it looks like if multiple filters are specified, if any of them do not match, the test is deemed valid ... I've not dug into how those filters are supposed to work, as it looks like in practice they are never set.)

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfiled to misc

comment:3 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to wontfix

We don’t support Galio.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.