Commit Graph

159 Commits

Author SHA1 Message Date
Alfredo Yang
3853c6783a 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
f7952927ec 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
646e9152c0 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
0436e5b7cf 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
6033138365 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
07e57f2e24 Bug 960619 - part 1 - refactor callback delay logic in specialpowersAPI.js; r=jmaher 2014-01-16 09:35:38 -05:00
Bobby Holley
8456c88c1c 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
a56a5ea0c3 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
f4977382b0 Bug 956625 - Define Cc for b2g-desktop environment. r=ted 2014-01-07 10:04:06 -05:00
Jonathan Griffin
53f340cae0 Bug 951895 - Hook up SpecialPowers messagemanager correctly for B2G, r=ahal 2013-12-19 17:04:20 -08:00
Bill McCloskey
f017507c0f Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Gregory Szorc
e396fc159d 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
c73f788f82 Bug 853356: backout p1 2013-12-10 01:00:18 -05:00
Alfredo Yang
c4c617f113 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
33bb7b2d4d 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
5dad8f16c4 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
181fc4be1f Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Jed Davis
25d0491c01 Bug 936272 - Avoid calling mkdir() from content process in form mochitests. r=sicking 2013-11-21 10:35:45 -05:00
Reuben Morais
1d3b24a4d5 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Alfredo Yang
af01190bbc Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-11-05 16:29:27 +08:00
Kan-Ru Chen (陳侃如)
3b2be7096b Backout 3903cb4b779f 2013-11-05 15:00:31 +08:00
Alfredo Yang
0d61f474ce Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-11-05 14:05:52 +08:00
Doug Turner
951d114a44 Backing out 7fe2c77ebbf2 2013-10-31 20:25:03 -07:00
Alfredo Yang
4317439507 Bug 853356 - Part 1: Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-10-26 21:19:32 -04:00
Joshua Cranmer
bd929500c8 Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps 2013-10-21 13:09:06 -05:00
Mike Hommey
7cdd7d23d7 Bug 927088 - Move specialpowers component registration to jar.mn. r=gps 2013-10-17 07:55:31 +09:00
Martijn Wargers
aa4016d0c9 Bug 901343 - Tests that use createSystemXHR are failing on b2g mochitest. r=sicking 2013-10-12 02:18:34 +02:00
Andrea Marchesini
89d6130ac5 Bug 923310 - Crash in HTMLInputElement in B2G, r=jwatt 2013-10-09 13:15:14 +02:00
Geoff Lankow
bc73b3a3b6 No bug - Fix white-space mistakes; r=me DONTBUILD 2013-09-27 14:11:45 +12:00
Alexandre Poirot
756c89efbe Bug 914633 - Implement SpecialPowers.loadChromeScript to easily add new chrome features without having to modify SpecialPowers. r=ted 2013-09-14 22:09:13 -04:00
Jonathan Griffin
5ccaa17b7f Bug 915014 - Define Ci if needed, r=jmaher 2013-09-11 07:10:52 -07:00
Jan Varga
e9492bcd36 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Martijn Wargers
f535093ab0 Bug 908439 - Rewrite some tests to SpecialPowers.pushPrefEnv/pushPermissions. r=jmaher 2013-08-29 23:12:15 +02:00
Martijn Wargers
f3b7cc2208 Bug 766687 - specialpowers pushprefenv fails while trying to get the originalvalue if the pref doesn't exist. r=jmaher 2013-08-29 22:18:53 +02:00
Martijn Wargers
fef033baa7 Bug 909012 - pushPermissions doesn't have 'remove' option. r=jmaher 2013-08-26 20:05:20 +02:00
Masatoshi Kimura
37640717b2 Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley 2013-08-22 22:44:19 +09:00
Neil Deakin
8e1b7d6683 Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-07 14:52:38 -04:00
Joey Armstrong
56ab717da3 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Graeme McCutcheon
5d31223735 Bug 819930 - Part 1: Implement an API for emulating CSS media types. r=dbaron 2013-07-17 16:39:19 +01:00
Mounir Lamouri
b7be9c0de9 Bug 886046 - Add a MockColorPicker module in SpecialPowers. r=ctalbert 2013-07-08 15:11:36 -04:00
Fernando Jiménez
2001687ad7 Bug 885701 - [DOMRequest] Implement DOMRequestService.fireDetailedError. r,sr=sicking 2013-06-28 10:53:44 +08:00
Cameron McCormack
a091acd9d2 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
Ed Morley
702726731f Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html 2013-06-25 13:45:09 +01:00
Ed Morley
53b3225558 Backed out changeset 02f3a517a7c7 (bug 886225) for breaking mochitest on a CLOSED TREE 2013-06-25 09:46:34 +01:00
Fernando Jiménez
4a82c65c18 Bug 886225 - Ci is not defined in SpecialPowersObserverAPI. r=gwagner 2013-06-25 15:28:28 +08:00
Cameron McCormack
994ad89b82 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
Jonathan Griffin
23de7949ea Bug 797529 - Make SpecialPowers compatible with B2G compartment sharing, r=khuey 2013-05-31 16:58:58 -07:00
Bobby Holley
f06e741959 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
4de0ea3e6a Bug 877478 - Have SpecialPowers.addObserver modify the observe callback to wrap arguments. r=mrbkap
|subject| is quite often an XPCOM object that's not accessible to content.
2013-06-04 19:56:42 -07:00
Bobby Holley
81e97b35a3 Bug 877478 - Add a SpecialPowers API for wrapping callbacks and callback objects. r=mrbkap 2013-06-04 19:56:41 -07:00
Martijn Wargers
1e95b05c7e Bug 859401 - pushPermissions missing PROMPT_ACTION case. r=jmaher 2013-05-17 10:46:36 +02:00
Ben Turner
00e73c94de Bug 861903 - Enable test. 2013-05-12 21:10:58 -07:00
Ryan VanderMeulen
7fdae1381e Merge m-c to inbound on a CLOSED TREE. 2013-05-11 09:49:12 -04:00
Ben Turner
b4472a30ea Bug 861903 - Hook IndexedDB up to low disk space notifications. r=janv. 2013-05-10 14:22:01 -07:00
Gavin Sharp
4d947b6985 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Martijn Wargers
2677f971cb Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ryan VanderMeulen
048824e68e Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange. 2013-05-02 21:20:08 -04:00
Gavin Sharp
1372a3cf1c Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
463e9e1959 Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
3478411501 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Ryan VanderMeulen
0021e7aaee Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Neil Deakin
8f48bceea0 Bug 566746 - Convert to use asynchronous FormHistory.jsm for form history autocomplete tests, p=enndeakin,felix, r=dteller 2013-04-11 04:01:48 -04:00
Neil Deakin
fd73347c56 Bug 566746 - Changes to shared form history tests files to support asynchronous form history, p=enndeakin,felix, r=mak 2013-04-11 04:01:47 -04:00
Xin Zhang
48b62b800b Bug 849764 - Replace removeObserver() calls with three params with two in testing dir. r=mak 2013-04-06 14:46:35 -04:00
Dale Harvey
453698b877 Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Chan
1b69f6f153 Bug 855192 - Fix MockPermissionPrompt scope. r=jgriffin 2013-03-27 13:16:39 -07:00
Joel Maher
420861c89e Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Ryan VanderMeulen
0d389c5e36 Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
217b9c48cc Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Andrea Marchesini
ccfb81cfa0 Bug 832923 - Implement <input type='file'> on B2G, r=mounir, r=fabrice 2013-03-19 18:49:16 +01:00
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