Commit Graph
61 Commits
Author SHA1 Message Date
Andrew McCreight 095ee4e38e Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-25 12:34:08 -08:00
Jan Varga ea0cabfec0 Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku 2015-11-22 10:43:55 +01:00
Wes Kocher 508f2256e5 Backed out changeset 7fd167583034 (bug 1226291) for android m(16) failures CLOSED TREE 2015-11-20 12:00:13 -08:00
Andrew McCreight 98362f662f Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-20 09:18:22 -08:00
Andrew Halberstadt 21a1942ba7 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.
2015-11-05 10:00:59 -05:00
dlee 08aaf1510c Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Yoshi Huang d563322200 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
 dom/apps/tests/test_third_party_homescreen.html    |   8 +-
 .../test/test_messagemanager_assertpermission.html |   4 +-
 dom/base/test/test_messagemanager_targetchain.html |  16 +--
 ...rowserElement_AllowEmbedAppsInNestedOOIframe.js |  11 +-
 .../mochitest/browserElement_CopyPaste.js          |   9 +-
 .../browserElement_DisallowEmbedAppsInOOP.js       |   9 +-
 .../mochitest/browserElement_Proxy.js              |  10 +-
 .../browserElement_SetInputMethodActive.js         |   3 +-
 .../mochitest/browserElement_SetVisibleFrames.js   |  17 ++--
 .../mochitest/browserElement_SetVisibleFrames2.js  |  16 +--
 .../priority/test_ExpectingSystemMessage2.html     |  16 +--
 .../mochitest/priority/test_NestedFrames.html      |  16 +--
 dom/cache/test/mochitest/driver.js                 |  11 +-
 .../test/mochitest/test_cache_orphaned_body.html   |  33 +-----
 .../test/mochitest/test_cache_orphaned_cache.html  |  33 +-----
 dom/cache/test/mochitest/test_cache_restart.html   |  11 +-
 dom/cache/test/mochitest/test_cache_shrink.html    |  33 +-----
 dom/indexedDB/test/file.js                         |  12 +--
 dom/indexedDB/test/helpers.js                      |   9 +-
 dom/indexedDB/test/webapp_clearBrowserData.js      |   6 +-
 dom/inputmethod/mochitest/test_bug1043828.html     |   5 +-
 dom/inputmethod/mochitest/test_bug944397.html      |   5 +-
 .../mochitest/test_focus_blur_manage_events.html   |   5 +-
 .../mochitest/test_input_registry_events.html      |   5 +-
 .../mochitest/test_simple_manage_events.html       |   5 +-
 .../tests/test_permission_for_nested_oop_app.html  |   3 +-
 .../tests/test_permission_for_two_oop_apps.html    |   3 +-
 dom/ipc/tests/test_permission_helper.js            |  21 ++--
 .../test_permission_when_oop_app_crashes.html      |   3 +-
 dom/tv/test/mochitest/head.js                      |   5 +-
 .../test_SpecialPowersPushAppPermissions.html      |  14 ++-
 .../tests/Harness_sanity/test_bug816847.html       |   6 +-
 .../components/SpecialPowersObserver.js            |   4 +-
 .../content/SpecialPowersObserverAPI.js            |  24 +----
 testing/specialpowers/content/specialpowersAPI.js  | 111 ++++++++-------------
 35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang cb2176d7db Backout e54c3b878993 2015-10-27 15:49:11 +08:00
Yoshi Huang 1c86cab3dd Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley 2015-10-07 14:35:43 +08:00
Ehsan Akhgari 438907bab9 Bug 1213151 - Part 2: Use SpecialPowers.cleanUpSTSData() in a few tests; r=jdm 2015-10-09 10:56:19 -04:00
Ehsan Akhgari d913217d08 Bug 1213151 - Part 1: Add a SpecialPowers API for cleaning up the STS data that works in both e10s and non-e10s modes; r=jdm 2015-10-09 10:56:17 -04:00
Bill McCloskey 70ffec68ff Bug 1190662 - [webext] Browser action popup HTML should be reloaded each time popup is opened (r=gabor) 2015-09-23 17:18:26 -07:00
Phil Ringnalda aaf72d29b9 Backed out 12 changesets (bug 1202482, bug 1202483, bug 1202481, bug 1202486, bug 1202479, bug 1202478, bug 1197475, bug 1203331, bug 1139860, bug 1202501, bug 1199473, bug 1190662) for Mulet mochitest-5 timeouts
CLOSED TREE

Backed out changeset 6503123e95dd (bug 1139860)
Backed out changeset b83bc163064d (bug 1203331)
Backed out changeset 2f501bd57cd2 (bug 1202481)
Backed out changeset 37e6ac7beb42 (bug 1202486)
Backed out changeset f9b6e99e620e (bug 1202483)
Backed out changeset 466af9f9baee (bug 1202482)
Backed out changeset 6be690e265a2 (bug 1202479)
Backed out changeset 57ff88bfccf4 (bug 1197475)
Backed out changeset 7e8c04ff6049 (bug 1202478)
Backed out changeset 525227997274 (bug 1202501)
Backed out changeset da317cdb79d3 (bug 1199473)
Backed out changeset 73b8ddd6dac9 (bug 1190662)
2015-09-22 19:29:51 -07:00
Bill McCloskey e15f883a0d Bug 1190662 - [webext] Browser action popup HTML should be reloaded each time popup is opened (r=gabor) 2015-09-22 16:09:20 -07:00
Bill McCloskey 69388b1d70 Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-04 09:45:01 -07:00
Bill McCloskey 0f310ec0ca Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Carsten "Tomcat" Book ebb221ac2d Backed out 11 changesets (bug 1201377, bug 1199800, bug 1197437, bug 1199832, bug 1199698, bug 1199842) for breaking browser_ext_tabs_executeScript.js test on a CLOSED TREE
Backed out changeset 8d8d73d3c3e1 (bug 1201377)
Backed out changeset 4ed8951e3f54 (bug 1199842)
Backed out changeset 5830178bc008 (bug 1199832)
Backed out changeset 4445c570fe49 (bug 1199698)
Backed out changeset 35fc1e25d167 (bug 1199800)
Backed out changeset 54c4c3bd2454 (bug 1199800)
Backed out changeset bd3112ce6b9b (bug 1199800)
Backed out changeset 701e56e18ca7 (bug 1199800)
Backed out changeset 4407d50a7995 (bug 1199800)
Backed out changeset af2fbe345712 (bug 1199800)
Backed out changeset 0a41d20fcf77 (bug 1197437)
2015-09-04 09:59:34 +02:00
Bill McCloskey d77e121881 Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-03 20:59:03 -07:00
Bill McCloskey e26678da25 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-03 20:59:01 -07:00
Yoshi Huang 8b5f32856e Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bill McCloskey bb5e250df8 Bug 1197507 - [webext] Allow Mochitests to load WebExtensions via special powers (r=gabor) 2015-08-25 15:14:10 -07:00
Bobby Holley d12b79b75a Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang 22d5c28f38 Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Michael Layzell 33c106d99d Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv 2015-08-18 20:24:30 -04:00
chunminchang a9f69be393 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Wes Kocher 110ce4497c Backed out changeset 020ac30e270a (bug 1141415) for windows mochitest bustage 2015-05-27 14:45:35 -07:00
chunminchang 070caf25e5 Bug 1141415 - Add expire setting of permission to SpecialPowers. r=jmaher 2015-05-27 10:44:52 +08:00
chunminchang 15e9c22777 Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Alexandre Lissy 0684391f91 Bug 1167056 - Fix broken indentation. r=gwagner 2015-05-20 22:42:00 -04:00
Ben Kelly 50866fae8b Bug 1165395 Test Cache API after QuotaManager reset. r=janv 2015-05-19 17:47:16 -07:00
Ryan VanderMeulen 599c538000 Backed out changeset f7054968c36b (bug 1165395) for B2G debug crashes.
CLOSED TREE
2015-05-19 11:42:01 -04:00
Ben Kelly 973416a6fb Bug 1165395 Test Cache API after QuotaManager reset. r=janv 2015-05-19 06:50:20 -07:00
Alexandre Lissy 3101b58c81 Bug 1159128 - Only save valid app notifications. r=mhenretty 2015-05-14 10:59:00 +02:00
Ehsan Akhgari 7de8c95e5d Bug 1162787 - Make the service worker periodic tests robust to the idle daily service firing its notification when the tests are being run; r=nsm 2015-05-07 16:23:50 -07:00
Ehsan Akhgari a845becb34 Bug 1112469 - Part 5: Actually test the code path that handles the idle-daily message; r=nsm
This is much better than testing just the
nsIServiceWorkerManager::UpdateAllRegistrations API.
2015-04-17 14:06:18 -04:00
Andreas Tolfsen 058de3f08e Bug 1107706: Part 6: Make SpecialPowersError a prototypal Error
If special powers is imported using Components.utils.import on B2G which
has some special concepts around global scoping, a TypeError will be
raised unless the custom error is a prototypal Error.

An explanation can be found for a similar issue in bug 843892, which
states that toString is attached to the instances rather than the
prototype, and that this causes problems once the object goes through
Object.freeze.  It was patched in bug 1014484.

This patch also renames SpecialPowersException to SpecialPowersError.
2015-02-26 17:40:21 +00:00
Bill McCloskey 05e7cc3688 Bug 1128798 - [e10s] Make a version of nsIContentPolicy that doesn't pass the node as a parameter (r=mrbkap,tanvi,ckerschb) 2015-02-20 08:54:12 -08:00
Jonathan Griffin 273ad53881 Bug 1121577 - Only enable SpecialPowers at newSession, r=AutomatedTester 2015-01-16 15:38:25 -08:00
Fabrice Desré e1ed4d9800 Bug 1113779 - UserCustomizations.jsm spams desktop mochitest test logs r=mccr8 2015-01-16 14:16:03 -08:00
Christoph Kerschbaumer 566f5d96dc Bug 1087742: Make JS callers of ios.newChannel call ios.newChannel2 in testing/ (r=jmaher) 2014-10-24 15:23:45 -07:00
Fabrice Desré 0b04f7fd8d Bug 923897 - Extensibility support for b2g r=ferjm,bholley 2014-12-16 15:32:28 -08:00
Bill McCloskey 61cc705b2e Bug 641685 - [e10s] Make setTestPluginEnabledState work in content processes (r=bsmedberg) 2014-10-29 08:04:51 -07:00
Ben Turner e30152a851 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Ben Turner 4937da099f Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ben Turner aede706b17 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-13 12:12:19 -04:00
Joel Maher e62024f3d2 Bug 1004671 - SpecialPowers observer isn't robust enough in OOP. r=ted 2014-05-16 06:55:34 -04:00
Alexandre Poirot bc12354907 Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Alexandre Poirot 1a5002a499 Bug 968857 - [SpecialPowers] Big files are truncated when loaded with loadChromeScript. r=ted
With this patch, loadChromeScript now completely reads the input. This also
moves the loading code in its own function.

This also improves error reporting.
2014-02-06 17:36:44 +01:00
Nathan Froyd e8f42fca45 Bug 960619 - part 4 - explicitly return values from SpecialPowersObserverAPI._receiveMessageAPI to avoid warning spew; r=jmaher 2014-01-16 09:53:50 -05:00
Nathan Froyd d8f2e97376 Bug 960619 - part 3 - avoid warning about non-top-level-ish declaration of functions in SpecialPowersObserverAPI.js; r=jmaher 2014-01-16 09:37:02 -05:00