author Drew Willcoxon <>
Tue, 14 May 2019 09:37:30 +0000
changeset 473801 4934e59477f4d9cb7ab742973b4c31ee3b9bd261
parent 468434 6e7f3417ee5639add10e58d697ef0f1510dab0ef
child 474338 8952fe75cb7a65e4f8d718439f6e156ed179c66f
permissions -rw-r--r--
Bug 1485288 - Fix intermittent browser/base/content/test/urlbar/browser_urlbarStop.js by waiting for URLBarSetURI to be called by using a progress listener. r=mak When the load is stopped, tabbrowser calls URLBarSetURI [1] and then calls onStateChange [2] on its progress listeners. That's the URLBarSetURI call that updates the urlbar value in this case. So to properly wait until the urlbar value has been updated, add our own progress listener in the test. [1] [2] Differential Revision:

  "name": "mozilla-central",
  "description": "This package file is for node modules used in mozilla-central",
  "repository": {},
  "license": "MPL-2.0",
  "dependencies": {},
  "devDependencies": {
    "eslint": "5.16.0",
    "eslint-plugin-babel": "5.3.0",
    "eslint-plugin-file-header": "0.0.1",
    "eslint-plugin-flowtype": "3.6.0",
    "eslint-plugin-html": "5.0.3",
    "eslint-plugin-import": "2.16.0",
    "eslint-plugin-jest": "22.4.1",
    "eslint-plugin-jsx-a11y": "6.2.1",
    "eslint-plugin-mozilla": "file:tools/lint/eslint/eslint-plugin-mozilla",
    "eslint-plugin-no-unsanitized": "3.0.2",
    "eslint-plugin-prettier": "3.0.1",
    "eslint-plugin-react": "7.12.4",
    "eslint-plugin-spidermonkey-js": "file:tools/lint/eslint/eslint-plugin-spidermonkey-js"
  "notes(private)": "We don't want to publish to npm, so this is marked as private",
  "private": true