Lines Matching defs:extension

29 #include "extensions/common/extension.h"
191 .AppendASCII("extension")));
311 // Setup listeners to wait on strings we expect the extension pages to send.
324 const extensions::Extension* extension = LoadExtension(
327 ASSERT_TRUE(extension);
329 // Two tabs. One in extension domain and one in non-extension domain.
330 // Two popups - one in extension domain and one in non-extension domain.
331 // Two panels - one in extension domain and one in non-extension domain.
338 UninstallExtension(extension->id());
340 // Wait for the tabs and popups in non-extension domain to stay open.
346 // extension domain popups that will close (instead of 1 popup on non-Ash).
352 // On linux ash we close all popup applications when closing its extension.
373 // Setup listeners to wait on strings we expect the extension pages to send.
386 const extensions::Extension* extension = LoadExtension(
389 ASSERT_TRUE(extension);
391 // Two tabs. One in extension domain and one in non-extension domain.
392 // Two popups - one in extension domain and one in non-extension domain.
393 // Two panels - one in extension domain and one in non-extension domain.
400 // Crash the extension.
403 process_manager()->GetBackgroundHostForExtension(extension->id());
407 WaitForExtensionCrash(extension->id());
424 // Load the extension that will open a panel which then calls window.open.
428 // Expect one panel (opened by extension) and one tab (from the panel calling
451 // Tests that an extension page can call window.open to an extension URL and
452 // the new window has extension privileges.
472 // Tests that if an extension page calls window.open to an invalid extension
484 GURL("chrome-extension://thisissurelynotavalidextensionid/newtab.html"),
490 // Tests that calling window.open from the newtab page to an extension URL
491 // gives the new window extension privileges - even though the opening page
492 // does not have extension privileges, we break the script connection, so