Commit Graph

109 Commits

Author SHA1 Message Date
Benoit Girard
1cb33567b2 Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin 2012-07-12 17:27:10 -04: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
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
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
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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert O'Callahan
51d7a0278c Bug 681192. Part 15: Fix test now that scrollbox scrollWidth/Heights isn't special. r=matspal
--HG--
extra : rebase_source : d77548c8b7b2c62a66070a4cd8414cdf1f7819e6
2012-05-10 17:24:20 +12:00
Chris Pearce
69fad75f3b Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Gijs Kruitbosch
d296271004 Bug 749894 - fix intermittent test_performance_now failures, r=bz
--HG--
extra : rebase_source : 0d5696d909848a907fa02d390189e62366797725
2012-05-07 17:44:26 +02:00
Gijs Kruitbosch
bdf19a4af3 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masatoshi Kimura
f17f15dabb Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Peter Van der Beken
09128a75d3 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Justin Lebar
fb21a54315 Bug 736688 - Part 2: Move browser frame tests to their own directory. r=smaug
--HG--
extra : rebase_source : b8c03a5cc74b528fce8b4bb7ff77f9a25ab85800
2012-03-28 11:36:03 -07:00
Justin Lebar
4c2163b0ec Bug 736688 - Part 1: Fix up browser frame tests. r=smaug
--HG--
extra : rebase_source : 393c45bdb8d1eaa55be46dc5a6428b20d44cb013
2012-03-28 11:36:01 -07:00
Bobby Holley
31beccabec Bug 667388 - Tests. r=mrbkap 2012-03-23 15:00:22 -07:00
Bobby Holley
3e075ab3e5 Bug 729589 - Fix frameElement wrapping test. r=Ms2ger 2012-03-08 12:55:57 -08:00
Justin Lebar
3e68e04f09 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Neil Deakin
a104105bd5 Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Jason Orendorff
17cd06a094 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Felipe Gomes
913d59cbcb Bug 714276. NodesFromRect should be a chrome-only API. r=smaug
--HG--
rename : dom/tests/mochitest/general/489127.html => dom/tests/mochitest/chrome/489127.html
rename : dom/tests/mochitest/general/test_nodesFromRect.html => dom/tests/mochitest/chrome/test_nodesFromRect.html
2012-01-27 16:54:03 -08:00
Justin Lebar
eff9052a37 Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Justin Lebar
e6de49c6d0 Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Justin Lebar
0726882a1a Bug 720069 - Fix intermittent oranges in test_browserFrame{1,2,3}.html. r=philor 2012-01-21 01:44:19 -05:00
Phil Ringnalda
4dc0ee3ba9 Back out ca4e2ab3717c (bug 720069) because I clearly didn't even think about it, much less test it 2012-01-20 21:51:41 -08:00
Phil Ringnalda
ca4b8800fa Bug 720069 - define the script that the iframe onload calls before the iframe, to avoid orange when iframeLoad is not defined, r=jlebar
--HG--
extra : rebase_source : 9d73255bdca519fe7459c646a84dd37a9f2b519e
2012-01-20 20:48:04 -08:00
Justin Lebar
235e524f0e Bug 710231 - Part 3: Add mozbrowserloadstart, mozbrowserloadend, mozbrowserlocationchange events to <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 01d82c02f56afd6aebf94443f223bc537536cc57
2012-01-20 12:02:48 -05:00
Justin Lebar
ff743fa577 Bug 710231 - Part 1: Back out bug 708176 part 2 (rev 1bdcd84ae727). r=smaug
--HG--
extra : rebase_source : 1c5768b85524a2c7ad63901e7d1f7acdbc075dcb
2012-01-20 12:02:28 -05:00
Justin Lebar
78570190e0 Bug 717019 - Attempt to fix intermittent timeout of test_getContentState.html by switching from http://example.net (which is a live domain) to http://example.org (which is faked by mochitest). r=me 2012-01-10 19:23:31 -05:00
Justin Lebar
e79f17be95 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
Bobby Holley
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Robert O'Callahan
d961c63703 Bug 591718. Make getClientRects/getBoundingClientRect take transforms into account, and not treat SVG <foreignObject> as establishing a new viewport. r=mats 2011-12-28 16:26:46 +13:00
Justin Lebar
84241e428f Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Henri Sivonen
3e51b8fc49 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
59ec018765 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
00241c62cd Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rob Campbell
92c7bd7f02 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Panos Astithas
6635bcd31c Bug 664131 - Expand console object with group methods that indent future console messages in order to create separate blocks of visually combined output; r=gavin 2011-06-14 14:38:11 +03:00
Justin Lebar
dc2fd37a91 Bug 629535 - Add navigator.doNotTrack. r=sicking
--HG--
extra : rebase_source : 48631ff375196045de1c2865ab4ee9b9c219c736
2011-09-19 15:59:22 -04:00
Panos Astithas
ac31d9b666 Bug 658368 - Expand console object with time and timeEnd methods that add a simple timer implementation; r=msucan,sdwilsh sr=gavin 2011-06-01 09:33:22 +03:00
Blake Kaplan
d05a66958e Bug 684115 - Test what happens when chrome takes an XHR from one origin and sticks it in another origin. r=sicking 2011-09-02 16:48:49 -07:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Panos Astithas
6d9f1fc9a2 Bug 659907 - Expand console object with a dir method that displays an interactive listing of all the properties of an object.; f=rcampbell r=mihai.sucan,bzbarsky sr=bzbarsky 2011-06-09 16:27:30 +03:00
Joel Maher
ef6f908502 Bug 663848 - move dom/tests/mochitest/general/*.xul to mochitest-chrome. r=enndeakin, a=test-only 2011-06-19 11:56:43 -04:00