broken soundcloud auth flow - window doesn't close after authenticated

Open
#76 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
20/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Review PR #47 first, then inspect scripts/main.js at notifyDialog and connectCallback and soundcloud_auth.html, as identified by the stack trace. Confirm the authenticated SoundCloud popup closes instead of remaining on the automatic-close message across the reported browsers.

Written by the indexing model from the issue text.

Description

After authenticating with soundcloud with the popup flow, the popup never closes and just sits there with This popup should automatically close in a few seconds message. I see the following stacktrace in the console:

Uncaught TypeError: Cannot read property 'search' of undefined
    at Object.notifyDialog (/scripts/main.js:97393)
    at Object.connectCallback (/scripts/main.js:97386)
    at soundcloud_auth.html:9
notifyDialog @ /scripts/main.js:97393
connectCallback @ /scripts/main.js:97386
(anonymous) @ soundcloud_auth.html:9

I can consistently reproduce this issue on:

  • Safari: Version 10.0.1 (12602.2.14.0.7)
  • Chrome: Version 55.0.2883.95 (64-bit)
  • Firefox: Version 50.1.0

PR: #47 fixes this issue.

Dominant language
JavaScript
Stars
388
Forks
76
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from soundcloud/soundcloud-javascript

All issues in soundcloud/soundcloud-javascript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.