Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 811102: bustage fix #3 :(, a=sigh

--HG--
extra : transplant_source : %0F%D8%1Bv%3EP%935%7E%E2%1A%E4F%0C%7F%F8%1F%FFP%1D
  • Loading branch information...
commit c299617154f5ac15eac8953a1503f7ec915288bb 1 parent f5705fe
Gavin Sharp gavinsharp authored
10 toolkit/components/social/test/browser/browser_frameworker.js
@@ -512,6 +512,11 @@ let tests = {
512 512 },
513 513
514 514 testWorkerConnectError: function(cbnext) {
  515 + let run = function () {
  516 + onconnect = function(e) {
  517 + throw new Error("worker failure");
  518 + }
  519 + }
515 520 let worker = getFrameWorkerHandle(makeWorkerUrl(run),
516 521 undefined, "testWorkerConnectError");
517 522 Services.obs.addObserver(function handleError() {
@@ -520,11 +525,6 @@ let tests = {
520 525 worker.terminate();
521 526 cbnext();
522 527 }, 'social:frameworker-error', false);
523   - let run = function () {
524   - onconnect = function(e) {
525   - throw new Error("worker failure");
526   - }
527   - }
528 528 worker.port.onmessage = function(e) {
529 529 ok(false, "social:frameworker-error was handled");
530 530 cbnext();

0 comments on commit c299617

Please sign in to comment.
Something went wrong with that request. Please try again.