Commit Graph

103 Commits

Author SHA1 Message Date
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
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
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert O'Callahan
0234a46e30 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
1bbf11c8f9 Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Gijs Kruitbosch
50e99a3e9c 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
ae54e2bc78 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
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Peter Van der Beken
c2e642fbcc 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
062d989ef9 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
fa43d5049c 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
6150e3dad7 Bug 667388 - Tests. r=mrbkap 2012-03-23 15:00:22 -07:00
Bobby Holley
1686a91d42 Bug 729589 - Fix frameElement wrapping test. r=Ms2ger 2012-03-08 12:55:57 -08:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Neil Deakin
62ea709480 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
4e6e2ddc69 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Felipe Gomes
4528bd7e5a 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
fa98b1192c Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Justin Lebar
e6f6e05b55 Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Justin Lebar
0281d377fc Bug 720069 - Fix intermittent oranges in test_browserFrame{1,2,3}.html. r=philor 2012-01-21 01:44:19 -05:00
Phil Ringnalda
9f2c64c759 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
519279950d 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
75c69ae51d 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
c8a9747c72 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
7a7023b144 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
e1048acb82 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
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Robert O'Callahan
5d229c8d8e 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
583f77dbbe Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Henri Sivonen
432c879f24 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
460f68e384 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
4da5564d58 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Ed Morley
6a998be2c5 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
1fb65676a4 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Rail Aliiev
364e83c545 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
b64538882c 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
Daniel Holbert
639c0e7b79 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 17:39:57 +02:00
Mounir Lamouri
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
2d246fbdb2 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 03:36:31 -07:00
Rob Campbell
7729d517f9 merge m-c to devtools 2011-05-06 13:03:37 -03:00
Justin Lebar
40443aa024 Bug 653364 - HashChange event should have isTrusted property. r=bz
--HG--
extra : rebase_source : 6829b06980ed01c38e0cc5b88a9428fc784c1bb0
2011-04-28 16:13:03 -04:00
Rob Campbell
7137960211 merge m-c to devtools 2011-04-21 13:18:12 -03:00