Commit Graph

811 Commits

Author SHA1 Message Date
Jonas Sicking
beed1f23be Bug 774585: Fix browser code and tests to be aware of app principals. r=mounir 2012-07-21 00:29:40 -07:00
Peter Van der Beken
a265b4162a Fix for bug 774775 (XRayWrapper does not handle new bindings constants). r=bz.
--HG--
extra : rebase_source : fef985d0417c394ae5997b4450c7076005bdf870
2012-07-17 22:54:25 +02:00
Ms2ger
c1a0c979a7 Bug 772829 - Use MOCHITEST_BROWSER_FILES in dom/tests/browser/Makefile.in; r=froydnj 2012-07-18 12:36:08 +02:00
Honza Bambas
b547035544 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Ms2ger
6a3f956ff2 Backout 977ee9208065, a405768bd32a, 69a1fb2ddca3, 58d5f1d1443e for Moth orange. 2012-07-14 11:38:56 +02:00
Felipe Gomes
9371337a2c Bug 771294. Use window id for webapp installation. r=gavin
Test by Myk Melez
2012-07-14 01:09:32 -07:00
Benoit Girard
1cb33567b2 Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin 2012-07-12 17:27:10 -04:00
Fabrice Desré
05f87de41a Bug 772363 - Followup to fix test failures [r=fabrice] 2012-07-11 10:02:58 -07:00
Michal Novotny
c021237e50 Bug 737615 - Remove use of synchronous cache API from unit tests - dom tests, r=honzab 2012-07-11 11:18:38 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Gene Lian
cf25796b14 Bug 749551 - Alarm API (Idl and dummy Dom). r=mounir sr=jonas 2012-06-22 15:37:49 +08:00
Myk Melez
888baf60da remove observer added by test to resolve test bustage caused by fix for bug 765063 (fa750527a43b) 2012-07-05 14:54:11 -07:00
Myk Melez
90f2a17174 bug 765063 - save installURL for later use; r=fabrice
--HG--
extra : rebase_source : 7360e295a4549d29d2667a0c8e38708959df7f40
2012-07-05 11:12:55 -07:00
Mounir Lamouri
76d382c04f Bug 769571 - Unprefix Battery API. r=sicking sr=smaug
--HG--
rename : dom/battery/nsIDOMNavigatorBattery.idl => dom/battery/nsINavigatorBattery.idl
2012-07-05 12:05:09 +02:00
Mounir Lamouri
c84d60f166 Bug 769571 - Unprefix Vibrator API. r=jlebar sr=smaug 2012-07-05 12:04:45 +02:00
Gregor Wagner
f9a398b235 Bug 769245 - Contacts API: Add ContactEmail Type. r=sicking 2012-07-03 11:00:53 -07:00
Felipe Gomes
1744d44393 Bug 768276. Part 5 - Set allAppsLaunchable = true on API tests that skip native installation. r=ctalbert 2012-06-29 13:46:21 -07:00
Felipe Gomes
a54e4e432d Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Bobby Holley
f8e97f21d8 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz This isn't something we actually support, and were using enablePrivilege to do it before. When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not very interesting) and the source window becomes null (which we do explicitly in nsGlobalWindow for chrome callers). So those tests stop being useful. 2012-06-28 23:47:55 +02:00
Doug Turner
cd239ebc3f Bug 767894 - Device Storage - Move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-27 13:47:36 -07:00
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Ed Morley
ae8185a607 Backout c707e4f15fd4 (bug 767905), cad3e0609835 (bug 767894) for various devicestorage test failures 2012-06-26 16:21:37 +01:00
Doug Turner
0ae48cfd1f Bug 767894 - Device Storage - move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-26 05:51:24 -07:00
Olli Pettay
ae635e6ad9 Bug 766694 - Add a test to check existence of each interface in the window scope, r=bz
--HG--
extra : rebase_source : 02e03c441c2c4ed3cbd1ce2981c84cfb350c70a1
2012-06-23 15:42:32 +03:00
Kartikaya Gupta
8e1c5560cf Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Myk Melez
421ff64eae bug 766382 - make mozApps mochitests stop modifying API call results; r=felipe 2012-06-20 09:53:30 -07:00
Peter Van der Beken
b02a1ce6f4 Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Ian Bicking
8e2d02b805 bug 739330 - call error handler with NOT_INSTALLED when page tries to uninstall webapp that is not installed; r=fabrice
--HG--
extra : rebase_source : 5ea5510c43d336a23245ad12b7cddbf8a438b164
2012-06-18 12:57:16 -07:00
Ian Bicking
233dc06ea3 bug 734294 - when installing an app the InstallTime is returning undefined; r=fabrice
--HG--
extra : rebase_source : 91e5a5d467826927f6c6df4c97ab5cecab73b26f
2012-06-18 12:49:35 -07:00
Bobby Holley
0a476db888 Bug 761982 - remove mozprefs.js. r=jmaher 2012-06-18 15:43:00 +02:00
Doug Turner
346de6afda Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-10 22:50:44 -07:00
L. David Baron
91859c5a28 Backout bug 754202 (all patches, rather than just patches 3-7). 2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Doug Turner
8934eee23b Backed out changeset 401edab3831f - Bug 758273.
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Doug Turner
24e6e84abb Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-08 20:15:04 -07:00
Ed Morley
22c1ed282d Merge mozilla-central to mozilla-inbound 2012-06-07 15:56:37 +01:00
Justin Lebar
55a0e62d94 Bug 758297 - Move <iframe mozbrowser> code to dom/browser-element. r=mounir
--HG--
rename : dom/base/BrowserElementChild.js => dom/browser-element/BrowserElementChild.js
rename : dom/base/BrowserElementParent.js => dom/browser-element/BrowserElementParent.js
rename : dom/base/BrowserElementParent.manifest => dom/browser-element/BrowserElementParent.manifest
rename : dom/base/BrowserElementPromptService.jsm => dom/browser-element/BrowserElementPromptService.jsm
rename : dom/tests/mochitest/browser-frame/Makefile.in => dom/browser-element/mochitest/Makefile.in
rename : dom/tests/mochitest/browser-frame/browserFrameHelpers.js => dom/browser-element/mochitest/browserFrameHelpers.js
rename : dom/tests/mochitest/browser-frame/file_empty.html => dom/browser-element/mochitest/file_empty.html
rename : dom/tests/mochitest/browser-frame/file_focus.html => dom/browser-element/mochitest/file_focus.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame1.html => dom/browser-element/mochitest/test_browserFrame1.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame10.html => dom/browser-element/mochitest/test_browserFrame10.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame2.html => dom/browser-element/mochitest/test_browserFrame2.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame3.html => dom/browser-element/mochitest/test_browserFrame3.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame4.html => dom/browser-element/mochitest/test_browserFrame4.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame5.html => dom/browser-element/mochitest/test_browserFrame5.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame6.html => dom/browser-element/mochitest/test_browserFrame6.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame7.html => dom/browser-element/mochitest/test_browserFrame7.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame8.html => dom/browser-element/mochitest/test_browserFrame8.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame9.html => dom/browser-element/mochitest/test_browserFrame9.html
rename : dom/tests/mochitest/browser-frame/test_browserFrameAlert.html => dom/browser-element/mochitest/test_browserFrameAlert.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptCheck.html => dom/browser-element/mochitest/test_browserFramePromptCheck.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/test_browserFramePromptConfirm.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/test_browserFrame_keyEvents.html
2012-06-07 10:49:48 -04:00
Justin Lebar
3fe9b5095a Bug 741587 - Part 2: Tests for alert/prompt/confirm in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 5c4e2666a27b48e882c256deeeefde137596a733
2012-06-07 10:43:23 -04:00
Bobby Holley
c4dfbb7e93 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz
This isn't something we actually support, and were using enablePrivilege to do it before.
When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not
very interesting) and the source window becomes null (which we do explicitly in
nsGlobalWindow for chrome callers). So those tests stop being useful.
2012-06-07 14:28:21 +02:00
Olli Pettay
0771efa747 Bug 762007 - mozIDOMApplication* interfaces shouldn't inherit builtinclass interfaces, r=fabrice
--HG--
extra : rebase_source : 8d5a71cde92635ee84ec022f3edddc19156f6bc8
2012-06-06 19:42:54 +03:00
Honza Bambas
9d0764b621 Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00
Mihai Sucan
79c59262b6 Bug 722685 - Console logging is slow; r=rcampbell 2012-06-02 13:45:32 +03:00
Mounir Lamouri
522e00ceb1 Bug 759017 - Fix test that wasn't correctly checking keyCode in the whitelist. r=jlebar 2012-05-31 16:39:35 +02:00
Dale Harvey
e185c14e2c Bug 756844 - Change test strategy for screenshot API. r=jlebar
We originally made assumptions about the state of the painted
window after the mozafterpainted event, now we simple wait
until we receive a screenshot we are happy with (with max retries)

--HG--
extra : rebase_source : 82464dbcfbfc7af5d95a21d058ecc45a38cc5bf6
2012-05-30 22:15:12 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Dale Harvey
64b325a680 Bug 759044 - Cleanup visibility message reciever on test completion. r=jlebar 2012-05-28 13:55:48 -04:00
Dale Harvey
5a01063b39 Bug 702880 - Add setVisible api to mozbrowser. r=jlebar 2012-05-27 08:39:04 -04:00
Bobby Holley
42c699d608 Bug 553102 - Fix open web apps. r=fabrice 2012-05-24 13:04:57 +02:00
Bobby Holley
484b503b36 Bug 553102 - Fix mock prompt service. r=ted 2012-05-24 13:04:57 +02:00