B2G/gecko/browser/base/content/test/browser_social_isVisible.js
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
This Source Code Form is subject to the terms of the Mozilla Public
License, v.
This Source Code Form is subject to the terms of the Mozilla Public License v .
function test() {
  waitForExplicitFinish();
  let manifest = { 
    name: "provider 1",
    origin: "https://example.com",
    sidebarURL: "https://example.com/browser/browser/base/content/test/social_sidebar.html",
    workerURL: "https://example.com/browser/browser/base/content/test/social_worker.js",
    iconURL: "https://example.com/browser/browser/base/content/test/moz.png"
  };
  runSocialTestWithProvider(manifest, function (finishcb) {
    runSocialTests(tests, undefined, undefined, finishcb);
  });
}
function test ( ) { waitForExplicitFinish ( ) ; let manifest = { name : "provider 1" , origin : "https://example.com" , sidebarURL : "https://example.com/browser/browser/base/content/test/social_sidebar.html" , workerURL : "https://example.com/browser/browser/base/content/test/social_worker.js" , iconURL : "https://example.com/browser/browser/base/content/test/moz.png" } ; runSocialTestWithProvider ( manifest , function ( finishcb ) { runSocialTests ( tests , undefined , undefined , finishcb ) ; } ) ; }
This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0.
This Source Code Form is subject to the terms of the Mozilla Public License v . 2 . 0 .
// normal provider