Commit Graph

141 Commits

Author SHA1 Message Date
Ehsan Akhgari
5da1443041 Bug 1045300 - Make SpecialPowers permission APIs accept a chrome document; r=ted 2014-07-28 19:17:50 -04:00
Ahmed Kachkach
b70189621b Bug 1041706 - Mochitests prints raw JSON logs when running with a debugger. r=ahal 2014-07-23 15:31:00 +02:00
Trevor Saunders
0cdb19dabd bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Martijn Wargers
e1d5bcfbc8 Bug 941459 - [e10s] pushPrefEnv, popPrefEnv in specialPowersAPI.js not e10s friendly. r=jmaher 2014-07-13 17:00:26 +02:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Bobby Holley
329c1ce903 Bug 1038844 - Use the opt-out for the SpecialPowers scope. r=mrbkap,r=ted 2014-07-17 21:34:48 -07:00
Martijn Wargers
cd9022a952 Bug 945781 - Remove ChromePowers.js. r=jmaher 2014-07-14 23:40:49 +02:00
Tom Schuster
9777274923 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Bobby Holley
aa599cde5c Bug 856067 - Waive Xrays when SpecialPowers encounters an Opaque XrayWrapper. r=gabor 2014-07-14 10:09:06 -07:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Bobby Holley
eb8972c288 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
769638973e 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
7be2429a67 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
22bc7f4c6d 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
50b0fd5191 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
Ting-Yu Chou
8cc022d244 Bug 1007520 - Part 3: Avoid leaking SpecialPowers to nsInProcessTabChildGlobal.mMessageManager. r=ted
--HG--
extra : rebase_source : f3f878a593c5c811698c2fd3cb978145e994386c
2014-06-05 22:17:23 +08:00
Bobby Holley
63c08e78fa Bug 1015380 - Fix up SpecialPowers. r=gabor 2014-05-28 11:14:27 -07:00
Blake Kaplan
c3e9f3e565 Bug 1014296 - Add a couple of missing variable declarations (and set strict mode to prevent them from coming back). r=bholley/billm
--HG--
extra : rebase_source : e9de2ec53054a5a189390d672a18053f28849ec8
extra : histedit_source : 95e2e5e498c05206c8c05d8e079466e15ce67b20
2014-05-22 12:53:22 -07:00
Joel Maher
c926026e62 Bug 1004671 - SpecialPowers observer isn't robust enough in OOP. r=ted 2014-05-16 06:55:34 -04:00
Andrew McCreight
67aeb89cc4 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Nathan Froyd
3e99c84abb Bug 1003296 - use Services.jsm more in specialpowersAPI.js; r=jmaher 2014-04-29 11:31:12 -04:00
Marco Castelluccio
1bd0344246 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Peter Van der Beken
e72e412aac Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher.
--HG--
extra : rebase_source : ffeb4f2d49c6a20a95cc3ca0da63b49c10dee904
2014-03-24 21:12:41 +01:00
Ed Morley
7f4bec21b3 Backed out changeset 065ea2da5d6a (bug 988334) 2014-03-28 17:14:56 +00:00
Peter Van der Beken
0838bd8fea Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher. 2014-03-24 21:12:41 +01:00
Alexandre Poirot
7b3b1cc88a Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Boris Zbarsky
ad635be417 Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley 2014-03-10 17:38:14 -04:00
Bobby Holley
37381cb9d4 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 (陳侃如)"
8f01e5c9ce Bug 963366 - Fix leaked lastPermission var. r=jmaher 2014-02-12 13:36:23 +08:00
Ryan VanderMeulen
2820a49318 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 (陳侃如)"
af08b27daf 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
Alfredo Yang
3a4bbe0a0b Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Alexandre Poirot
a1ed58f398 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
4bb0a11d9b 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
701bd1685c 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
Nathan Froyd
6d2ecfa63c 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
89a5e024cd Bug 960619 - part 1 - refactor callback delay logic in specialpowersAPI.js; r=jmaher 2014-01-16 09:35:38 -05:00
Bobby Holley
393b120ae5 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
77e2bac13a Bug 945268 - Modify CSP tests to work on multiprocess (e10s/B2G). r=sstamm, r=rcampbell 2013-12-11 16:57:19 -08:00
Shih-Chiang Chien
594d680277 Bug 956625 - Define Cc for b2g-desktop environment. r=ted 2014-01-07 10:04:06 -05:00
Jonathan Griffin
d33ef3f75a Bug 951895 - Hook up SpecialPowers messagemanager correctly for B2G, r=ahal 2013-12-19 17:04:20 -08:00
Bill McCloskey
f833fb3bba Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Randell Jesup
fac641fbfb Bug 853356: backout p1 2013-12-10 01:00:18 -05:00
Alfredo Yang
e36a238d1e Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-12-06 17:38:51 -05:00
Martijn Wargers
f8642bfb00 Bug 913706 - Fix the tests for B2G mochitest that use nsICookiePermission.setAccess. r=honzab.moz
--HG--
extra : rebase_source : 54036e1638d9de46d7ee0116d40e527046d0b26d
2013-09-16 17:15:22 +02:00
Ryan VanderMeulen
3558ffd353 Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
76f6c41257 Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Jed Davis
78f1fa7514 Bug 936272 - Avoid calling mkdir() from content process in form mochitests. r=sicking 2013-11-21 10:35:45 -05:00