Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL browser_noopener_null_uri.js  Sprache: JAVA


add_task(async function browserNoopenerNullUri() {
  await BrowserTestUtils.withNewTab({ gBrowser }, async function (aBrowser) {
    let numTabs = gBrowser.tabs.length;
    await SpecialPowers.spawn(aBrowser, [], async () => {
      ok(
        !content.window.open(undefined, undefined, "noopener"),
        "window.open should return null"
      );
    });
    await TestUtils.waitForCondition(() => gBrowser.tabs.length == numTabs + 1);
    // We successfully opened a tab in content process!
  });
  // We only have to close the tab we opened earlier
  await BrowserTestUtils.removeTab(gBrowser.tabs[1]);
});

Messung
CHZG
1009910099

¤ Dauer der Verarbeitung: 0.52 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,052
#Domains=945,592