jashkenas / jashkenas/underscore

Failing _.delay test in webkit

Open
#3,025 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question test
Dominant language
JavaScript
Stars
27.3k
Forks
5.4k
Avg merge
2d 5h
Merged PRs (30d)
1

Description

I just ran the tests from current master in Gnome Web 50.6. All tests passed except for `_.delay`:

Image

It seems to run the assertions as intended initially, but then there is this cryptic error about global variables (which I could not find in the source code) and apparently an unexpected third assertion is run. I have a hunch this is due to a WebKit bug or a Gnome Web bug, but it deserves some investigation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the _.delay test in Gnome Web 50.6 and compare its behavior with the other browsers mentioned by the test suite. Trace the reported global-variable error and unexpected third assertion; done means identifying whether the failure is in Underscore or WebKit/Gnome Web and recording or addressing the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.