Commit Graph

210 Commits

Author SHA1 Message Date
Alexandre Lissy
62aef8b79d 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
Bill McCloskey
3b0120e94a Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Fernando Jimenez
1385f1db5a Bug 1097928 - Convert MozPaymentProvider to WebIDL. r=bholley,fabrice 2015-01-19 14:50:32 +01:00
Wes Kocher
435fec35a5 Merge m-c to b2g-inbound a=merge 2015-01-16 18:07:28 -08:00
Fabrice Desré
e1ed4d9800 Bug 1113779 - UserCustomizations.jsm spams desktop mochitest test logs r=mccr8 2015-01-16 14:16:03 -08:00
Jed Davis
12c3bccf8f Bug 1121663 - Don't auto-wrap chrome->content messages in SpecialPowers.loadChromeScript. f=ochameau rs=ted 2015-01-16 13:40:46 -08:00
Kershaw Chang
2d0229cdd6 Bug 1038620 - Add --nested_oop option to mach test commands, r=ted.mielczarek 2015-01-13 02:07:00 +01:00
Bill McCloskey
f99b4477f5 Backout bug 1072980 due to regressions (a=backout) 2014-12-20 21:15:36 -08:00
Bill McCloskey
44c30642bb Bug 1072980 - Don't use CPOW in special powers (r=ally) 2014-12-18 17:34:23 -08:00
Fabrice Desré
0b04f7fd8d Bug 923897 - Extensibility support for b2g r=ferjm,bholley 2014-12-16 15:32:28 -08:00
Ehsan Akhgari
395c63a8e1 Bug 1110536 - Only attempt to run the SpecialPowers.exactGC callback if it's passed in; r=ted 2014-12-15 12:56:47 -05:00
JW Wang
2057c730cf Bug 1078153 - capture the callback in a generated function object to prevent it becomes dead during GC. r=khuey 2014-10-27 01:31:00 +01:00
Bill McCloskey
61cc705b2e Bug 641685 - [e10s] Make setTestPluginEnabledState work in content processes (r=bsmedberg) 2014-10-29 08:04:51 -07:00
Birunthan Mohanathas
e9068bbc4f Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00
Ben Turner
1f184879bd Bug 1076975 - Avoid serializing blobs when passed between threads in the same process, r=khuey. 2014-10-20 17:49:00 -07:00
Ben Turner
e30152a851 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Mark Hammond
10efb6fb0a Bug 932651 - getClipboardData in specialpowersAPI uses the chrome window so it works in e10s. r=ted 2014-09-26 14:03:41 +10:00
Bill McCloskey
daff0feda8 Bug 1069059 - [e10s] Convert isWindowPrivate calls to isBrowserPrivate/isContentWindowPrivate as appropriate (r=mconley,margaret) 2014-09-23 15:48:52 -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
Shu-yu Guo
6cfc2eb110 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Ben Turner
aede706b17 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-13 12:12:19 -04:00
Ted Clancy (:tedders1)
2f3f5c87b1 Bug 1000315 - Part 6: Add capability for tests to skip uninstallation prompt. r=sicking 2014-06-11 14:37:03 -07:00
Ehsan Akhgari
8c4125c070 Bug 1045300 - Make SpecialPowers permission APIs accept a chrome document; r=ted 2014-07-28 19:17:50 -04:00
Trevor Saunders
7fdd19b194 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Martijn Wargers
80f487d704 Bug 941459 - [e10s] pushPrefEnv, popPrefEnv in specialPowersAPI.js not e10s friendly. r=jmaher 2014-07-13 17:00:26 +02:00
Bobby Holley
b4fda10ae4 Bug 1038844 - Use the opt-out for the SpecialPowers scope. r=mrbkap,r=ted 2014-07-17 21:34:48 -07:00
Tom Schuster
5c8f488254 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Bobby Holley
9a5ea62abd Bug 856067 - Waive Xrays when SpecialPowers encounters an Opaque XrayWrapper. r=gabor 2014-07-14 10:09:06 -07:00
Bobby Holley
8de978567b Bug 1034244 - Hoist SpecialPowers Xray waiving into a separate function so that we can apply it at each stage when climbing the prototype chain. r=mrbkap 2014-07-09 15:23:53 -07:00
Bobby Holley
3252650028 Bug 1034244 - Follow the prototype chain of the underlying object in SpecialPowers wrapping. r=mrbkap 2014-07-09 15:23:53 -07:00
Bobby Holley
7cfff0fc27 Bug 1034244 - Include TypedArrays in SpecialPowers Xray waiving list. r=mrbkap
Our Xrays to TypedArrays basically just say "this will be slow - clone instead".
Let's just have SpecialPowers waive Xrays for them to make things work less
surprisingly.
2014-07-09 15:23:53 -07:00
Bobby Holley
f64bb3e0f7 Bug 1034244 - Check only for WN Xrays when deciding whether the prototype is useless. r=mrbkap 2014-07-09 15:23:53 -07:00
Bobby Holley
294b9661c5 Bug 1020609 - Fix up SpecialPowers for Array Xrays. r=bz
This just makes the special Object behavior apply to Array as well.
2014-06-11 15:16:06 -07:00
Bobby Holley
decb7336ef Bug 1015380 - Fix up SpecialPowers. r=gabor 2014-05-28 11:14:27 -07:00
Blake Kaplan
f68e7bb53e Bug 1014296 - Add a couple of missing variable declarations (and set strict mode to prevent them from coming back). r=bholley/billm 2014-05-22 12:53:22 -07:00
Andrew McCreight
81a65c1794 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Nathan Froyd
e944fde682 Bug 1003296 - use Services.jsm more in specialpowersAPI.js; r=jmaher 2014-04-29 11:31:12 -04:00
Marco Castelluccio
b6bc3b6a37 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -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
Boris Zbarsky
538d917aef Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley 2014-03-10 17:38:14 -04:00
Bobby Holley
b20fca8043 Bug 974546 - SpecialPowers wrappers should catch, wrap, and rethrow exceptions for callables. r=mrbkap 2014-02-20 08:57:20 -08:00
"Kan-Ru Chen (陳侃如)"
a8b6565909 Bug 963366 - Fix leaked lastPermission var. r=jmaher 2014-02-12 13:36:23 +08:00
Ryan VanderMeulen
d350ceee6e Backed out changesets e0632c6aca0b, b183597c0190, 0af4a28621f7, and 86321b26161d (bug 963366) for B2G desktop mochitest failures.
CLOSED TREE
2014-02-11 08:05:39 -05:00
"Kan-Ru Chen (陳侃如)"
561c5065af Bug 963366 - Fix leaked lastPermission var. r=jmaher
---
 testing/specialpowers/content/specialpowersAPI.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-02-11 13:57:21 +08:00
Nathan Froyd
52c9d93bb0 Bug 960619 - part 2 - don't pretend to return a value from notifyObserversInParentProcess; r=jmaher 2014-01-16 09:36:14 -05:00
Nathan Froyd
66b976d444 Bug 960619 - part 1 - refactor callback delay logic in specialpowersAPI.js; r=jmaher 2014-01-16 09:35:38 -05:00
Bobby Holley
d432a6d2b3 Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap 2014-01-14 18:49:29 -08:00
Garrett Robinson
b5b5f75cb8 Bug 945268 - Modify CSP tests to work on multiprocess (e10s/B2G). r=sstamm, r=rcampbell 2013-12-11 16:57:19 -08:00
Bill McCloskey
ff36ddc3aa Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Martijn Wargers
20e162702b Bug 913706 - Fix the tests for B2G mochitest that use nsICookiePermission.setAccess. r=honzab.moz 2013-09-16 17:15:22 +02:00