Commit Graph

222 Commits

Author SHA1 Message Date
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Bill McCloskey
76e83b0cee Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-04 09:45:01 -07:00
Bill McCloskey
5fe87365b7 Bug 1199800 - [webext] Allow extensions to be used from chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Bill McCloskey
6009269655 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-04 09:45:00 -07:00
Carsten "Tomcat" Book
c8fb1255f1 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
1795b9d2fc Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-03 20:59:03 -07:00
Bill McCloskey
c3b3c11657 Bug 1199800 - [webext] Allow extensions to be used from chrome tests (r=gabor) 2015-09-03 20:59:02 -07:00
Bill McCloskey
7fd166cee3 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-03 20:59:01 -07:00
Yoshi Huang
2e408d4ba7 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bill McCloskey
4f64c66aee Bug 1197507 - [webext] Allow Mochitests to load WebExtensions via special powers (r=gabor) 2015-08-25 15:14:10 -07:00
Bobby Holley
8f42e826dc Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
f41381bebf Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Michael Layzell
5dd6c9804e Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv 2015-08-18 20:24:30 -04:00
Xidorn Quan
86f2fffdae Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug 2015-07-21 20:50:20 +10:00
Michael Layzell
a609e7908c Bug 1173523 - Part 13: Update SpecialPowers to use new API for nsIPermission, r=jmaher 2015-07-16 14:49:45 -04:00
Wes Kocher
24d022d24f Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
d5039159df Bug 1173523 - Part 13: Update SpecialPowers to use new API for nsIPermission, r=jmaher 2015-07-14 15:06:29 -04:00
chunminchang
2ff0d6c351 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Wes Kocher
86b78b48ff Backed out changeset 020ac30e270a (bug 1141415) for windows mochitest bustage 2015-05-27 14:45:35 -07:00
chunminchang
81c321995e Bug 1141415 - Add expire setting of permission to SpecialPowers. r=jmaher 2015-05-27 10:44:52 +08:00
chunminchang
8ceda383ae Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Blake Kaplan
ee2c5df167 Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Birunthan Mohanathas
bb7ff5cd7f Bug 1166840 - Merge SpecialPowers.{copyString,clipboardCopyString}. r=ehsan 2015-05-21 21:50:04 +01:00
Birunthan Mohanathas
81f8950ec4 Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Alexandre Lissy
195d4aa194 Bug 1167056 - Fix broken indentation. r=gwagner 2015-05-20 22:42:00 -04:00
Jonathan Griffin
46f72e36a5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Ben Kelly
94d2160c9a Bug 1165395 Test Cache API after QuotaManager reset. r=janv 2015-05-19 17:47:16 -07:00
Ryan VanderMeulen
a98859c6c7 Backed out changeset f7054968c36b (bug 1165395) for B2G debug crashes.
CLOSED TREE
2015-05-19 11:42:01 -04:00
Ben Kelly
6a28455b8e Bug 1165395 Test Cache API after QuotaManager reset. r=janv 2015-05-19 06:50:20 -07:00
Alexandre Lissy
dfbf99d57c Bug 1159128 - Only save valid app notifications. r=mhenretty 2015-05-14 10:59:00 +02:00
Nikhil Marathe
a5f604fd62 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan 2015-03-05 17:37:49 -08:00
Ehsan Akhgari
c06477822f 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
Brian O'Keefe
26812005c3 Bug 978591 - Remove per-directory uses of MOZ_CHROME_FILE_FORMAT. r=glandium 2015-04-23 18:43:06 -04:00
Boris Zbarsky
38242164a9 Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles 2015-04-30 14:25:03 -04:00
Nathan Froyd
a5d64ab97b Bug 1155816 - part 1 - move NO_JS_MANIFEST to moz.build; r=mshal 2015-04-17 14:50:12 -04:00
Nathan Froyd
4883ffd726 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Ehsan Akhgari
2d642652b7 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
Nathan Froyd
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Andreas Tolfsen
621748a36b 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
Jonathan Griffin
bc5492796a Bug 1121577 - Unset pref at delete_session, r=dburns 2015-03-18 10:07:57 -07:00
Ryan VanderMeulen
a98ef87380 Backed out 16 changesets (bug 1107706) for Gaia JS integration test failures.
Backed out changeset d026794b4c0b (bug 1107706)
Backed out changeset bb481b2d170a (bug 1107706)
Backed out changeset 71eba829a8b4 (bug 1107706)
Backed out changeset 3ca5a996676e (bug 1107706)
Backed out changeset 18c48c6a0cd5 (bug 1107706)
Backed out changeset 5dce917aeb92 (bug 1107706)
Backed out changeset 933d7aa1c709 (bug 1107706)
Backed out changeset 0c6e1484ae7a (bug 1107706)
Backed out changeset 9972f443d70e (bug 1107706)
Backed out changeset 20f9b7b24fc5 (bug 1107706)
Backed out changeset 1f4ba5b0fc4f (bug 1107706)
Backed out changeset a4a8e755d815 (bug 1107706)
Backed out changeset 593a7917f917 (bug 1107706)
Backed out changeset 502320aec21f (bug 1107706)
Backed out changeset 60b58aed6d27 (bug 1107706)
Backed out changeset c8315bbbc104 (bug 1107706)

CLOSED TREE
2015-03-24 13:54:55 -04:00
Andreas Tolfsen
b746fdc056 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
Wes Kocher
9359b09a77 Backed out 15 changesets (bug 1107706) for marionette bustage CLOSED TREE
Backed out changeset 3c25064e24da (bug 1107706)
Backed out changeset 3b7cdf06f4b9 (bug 1107706)
Backed out changeset ec2b1317d3c6 (bug 1107706)
Backed out changeset 91b35cb3308b (bug 1107706)
Backed out changeset 43c58b21251f (bug 1107706)
Backed out changeset e3ddaf8aae39 (bug 1107706)
Backed out changeset 0cd696bfc3b0 (bug 1107706)
Backed out changeset eeb3d39874b1 (bug 1107706)
Backed out changeset 7bc309f733fa (bug 1107706)
Backed out changeset 69669d0e6ddc (bug 1107706)
Backed out changeset 7f506cdb77b8 (bug 1107706)
Backed out changeset 7abef4010b30 (bug 1107706)
Backed out changeset b0d00faceef4 (bug 1107706)
Backed out changeset 0c074cdc434e (bug 1107706)
Backed out changeset 3b449f8dd470 (bug 1107706)
2015-03-23 18:48:07 -07:00
Andreas Tolfsen
f3d9a22ebf 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
Boris Zbarsky
e036aee1cc Bug 1141510. Fix our detection of File in the global in specialpowersAPI.js to actually check the global. r=bholley 2015-03-10 14:56:13 -04:00
Jason Orendorff
6adeea7142 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust. 2015-01-30 13:56:15 -06:00
Boris Zbarsky
68b0ff1533 Bug 1137591 part 2. Throw if someone does Cu.importGlobalProperties in a Window scope. r=bholley 2015-03-03 21:01:58 -05:00
Bill McCloskey
b90b84272c 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
5b2f65e208 Bug 1121577 - Only enable SpecialPowers at newSession, r=AutomatedTester 2015-01-16 15:38:25 -08:00
Alexandre Lissy
8d98e06403 Bug 1130287 - Expose isB2G in SpecialPowers. r=sicking
Some mochitests needs to behave differently when ran on B2G Desktop.
Currently, this is implemented using user agent string detection,
mostly relying on "Mobile" being present and "Android" being absent.
This is only true on B2G Desktop when ran on Try because the mozconfig
defined FXOS_SIMULATOR and that, per bug 1115935, this substring is only
added in this case, but not if just MOZ_B2G is defined. A better
approach is to expose 'isB2G' in SpecialPowers for this kind of
detection.
2015-02-08 10:09:00 +01:00