John Schoenick
e50670b577
Bug 783059 - Add do_lookupGetter helper to SpecialPowers. r=bholley
2013-03-11 11:47:36 -07:00
John Schoenick
9f19e6b705
Backout 9f5cff5a1a3d and 36cde68b1bf4 (Bug 783059) for Android M-1 Orange on a CLOSED TREE
2013-03-08 15:23:43 -08:00
John Schoenick
a878fe7370
Bug 783059 - Add do_lookupGetter helper to SpecialPowers. r=bholley
2013-03-08 13:21:41 -08:00
David Clarke
ab1a9cd2b3
Bug 846057 - Add testPermission and hasPermission APIs. r=jgriffin
2013-03-04 20:17:24 -05:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
1ee2e803e1
Bug 784841 - Part 18η: Convert /testing; r=ted
2013-02-25 13:05:39 -08:00
L. David Baron
d4d58ab893
Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted
...
This adds support for assertion checking in all mochitest suites except
for mochitest-browser-chrome. The checking works much like it does in
reftest, except for the mechanism for annotating expected assertions,
SimpleTest.expectAssertions() (see its in-code documentation).
The support is initially disabled in that:
(1) It doesn't cause the tests to report failure (and thus turn the
tree orange).
(2) It prints TEST-DETCEPXENU-FAIL/PASS instead of
TEST-UNEXPECTED-FAIL/PASS (so that it doesn't show up in log
highlighting).
The assertion checking only works within the test runner (which runs
multiple tests); it does not function when running only a single test.
2013-02-24 23:42:38 -08:00
Jonathan Griffin
2f8917b76f
Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted
2013-02-22 14:18:38 -08:00
Reuben Morais
e1c1f6ec07
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
2013-02-08 12:25:37 -08:00
Phil Ringnalda
bd5839db74
Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
...
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
e5e32cdece
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
...
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Nathan Froyd
cde6a853f0
Bug 715376 - update MockFilePicker.init() to take a window for event dispatching purposes; r=jmaher
2012-10-16 17:39:32 -04:00
Ehsan Akhgari
575da98029
Bug 831900 - Ensure that SpecialPowers.getFocusedElementForWindow actually returns something; r=ted
2013-01-17 15:23:49 -05:00
Bobby Holley
83c1284aff
Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking
2013-01-04 10:21:31 -08:00
Boris Zbarsky
adadf55141
Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv
2013-01-04 12:02:13 -05:00
Ehsan Akhgari
350a6e82ba
Backed out changeset 1024e72d4ef9 (bug 826146) because of test failures
2013-01-03 22:59:44 -05:00
Bobby Holley
a16cd8991b
Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking
2013-01-03 18:27:43 -08:00
David Chan
345efe131e
Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin
2012-11-30 10:52:40 -08:00
Zack Weinberg
9ab9128f73
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
8a64b526bc
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
ff35201bdd
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
...
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Philipp von Weitershausen
deea79d04c
Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past
2012-11-02 18:03:13 -07:00
Doug Turner
f68c1576f8
Bug 805178 - Device Storage - Add tests to ensure Application Permissions match that of the Permission Matrix. r=jmaher
2012-10-31 10:06:51 -07:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Ben Turner
5e8d8d57f2
Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking.
2012-10-23 09:31:19 -07:00
Joel Maher
0368f8ce4e
Bug 773891 - Fix pushprefenv to support char/string types. r=jdm
2012-10-18 08:03:31 -04:00
Ehsan Akhgari
5c3d6544e2
Bug 798508 - Part 1: Implement the "private" window.open feature; r=bzbarsky
...
This patch adds support for a "private" window flag which can be used to
open new chrome windows in private browsing mode. It also tests to make
sure that the flag is not accessible from content. A test in the next
part makes sure that the flag is accessible from chrome.
2012-10-07 15:04:39 -04:00
Bobby Holley
f48983b4ed
Bug 794420 - Remove hard edge from SpecialPowers to window.Components. r=khuey
...
This causes us to leak every window ever, a la bug 722428.
2012-10-10 10:57:38 +02:00
Justin Lebar
82e6843b16
Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD
2012-10-02 12:04:24 -04:00
Bobby Holley
373e284d28
Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
...
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Joel Maher
3c0592ca47
Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
...
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00