Commit Graph

810 Commits

Author SHA1 Message Date
Peter Van der Beken
63b03ad0ef 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
55db87f948 Bug 772829 - Use MOCHITEST_BROWSER_FILES in dom/tests/browser/Makefile.in; r=froydnj 2012-07-18 12:36:08 +02:00
Honza Bambas
a5c1861217 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Ms2ger
219c32d8fb Backout 977ee9208065, a405768bd32a, 69a1fb2ddca3, 58d5f1d1443e for Moth orange. 2012-07-14 11:38:56 +02:00
Felipe Gomes
8fffba6f74 Bug 771294. Use window id for webapp installation. r=gavin
Test by Myk Melez
2012-07-14 01:09:32 -07:00
Benoit Girard
aade28e31a Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin 2012-07-12 17:27:10 -04:00
Fabrice Desré
fa4961cc0f Bug 772363 - Followup to fix test failures [r=fabrice] 2012-07-11 10:02:58 -07:00
Michal Novotny
1dab69d865 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
a7eb97f896 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
56475ce904 Bug 749551 - Alarm API (Idl and dummy Dom). r=mounir sr=jonas 2012-06-22 15:37:49 +08:00
Myk Melez
492fce4c5a 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
618d1fd23a bug 765063 - save installURL for later use; r=fabrice
--HG--
extra : rebase_source : 7360e295a4549d29d2667a0c8e38708959df7f40
2012-07-05 11:12:55 -07:00
Mounir Lamouri
9bc8f42e69 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
7d2529f029 Bug 769571 - Unprefix Vibrator API. r=jlebar sr=smaug 2012-07-05 12:04:45 +02:00
Gregor Wagner
b3c0654bba Bug 769245 - Contacts API: Add ContactEmail Type. r=sicking 2012-07-03 11:00:53 -07:00
Felipe Gomes
8b0f937d6d 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
4be4f50178 Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Bobby Holley
3da2fdb7fa 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
ac832ab236 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
45fe6d3ae2 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
b5b2b2ba5a Backout c707e4f15fd4 (bug 767905), cad3e0609835 (bug 767894) for various devicestorage test failures 2012-06-26 16:21:37 +01:00
Doug Turner
54afe95ff2 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
abe79ac8bf 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
ceed4861d3 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
106cbe9eb0 bug 766382 - make mozApps mochitests stop modifying API call results; r=felipe 2012-06-20 09:53:30 -07:00
Peter Van der Beken
2556e5d626 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
90b8df8cb5 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
20c3cba3dd 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
2486dbf4ed Bug 761982 - remove mozprefs.js. r=jmaher 2012-06-18 15:43:00 +02:00
Doug Turner
c14f720826 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
c9bf4416ea Backout bug 754202 (all patches, rather than just patches 3-7). 2012-06-10 17:22:31 -07:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Doug Turner
4f0025323f Backed out changeset 401edab3831f - Bug 758273.
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Doug Turner
62093ffdb7 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
bcd86477cd Merge mozilla-central to mozilla-inbound 2012-06-07 15:56:37 +01:00
Justin Lebar
138cc1865b 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
6142222c71 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
09834cc4d8 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
fce8ddb35a 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
680e33b76d Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00
Mihai Sucan
6ff1f7aede Bug 722685 - Console logging is slow; r=rcampbell 2012-06-02 13:45:32 +03:00
Mounir Lamouri
bd840c34f1 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
87e787b6f9 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
d4eb7d5782 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
c1279f4c98 Bug 759044 - Cleanup visibility message reciever on test completion. r=jlebar 2012-05-28 13:55:48 -04:00
Dale Harvey
c430394d3f Bug 702880 - Add setVisible api to mozbrowser. r=jlebar 2012-05-27 08:39:04 -04:00
Bobby Holley
259fb15955 Bug 553102 - Fix open web apps. r=fabrice 2012-05-24 13:04:57 +02:00
Bobby Holley
00951c016e Bug 553102 - Fix mock prompt service. r=ted 2012-05-24 13:04:57 +02:00
Dale Harvey
defd79ac14 Bug 756844 - Fix randomorange in test_browserFrame9.html. r=jlebar
Previous test expected a screenshot taken after loadend event to
capture the updated content, which wasnt always true. New test only
tests that subsequent screenshots of content that we know has
been changed, will differ
2012-05-23 23:57:26 -04:00