gecko-dev/widget/tests
Ehsan Akhgari f4b598bf08 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
..
unit Bug 756308. Implement MacWebAppUtils to allow callers to locate and manipulate native webapps on Mac. r=josh 2012-06-20 17:19:13 -07:00
bug586713_window.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
chrome_context_menus_win.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
empty_window.xul Bug 715867 - Don't fire duplicate sizemodechange events on Mac. r=smichaud 2012-01-31 11:40:03 +01:00
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
native_menus_window.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
native_mouse_mac_window.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
plugin_scroll_invalidation.html
standalone_native_menu_window.xul
taskbar_previews.xul 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
taskbar_progress.xul 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
test_bug343416.xul No bug, fix rammedtogether words in test error message DONTBUILD 2011-09-13 20:04:13 -07:00
test_bug413277.html 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
test_bug428405.xul Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
test_bug429954.xul 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
test_bug444800.xul 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 2012-04-16 22:14:01 -04:00
test_bug462106.xul 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 2012-04-16 22:14:01 -04:00
test_bug466599.xul 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 2012-04-16 22:14:01 -04:00
test_bug478536.xul 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
test_bug485118.xul 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
test_bug517396.xul 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
test_bug522217.xul 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
test_bug538242.xul 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
test_bug565392.html 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 2012-04-16 22:14:01 -04:00
test_bug586713.xul 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
test_bug593307.xul 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
test_bug596600.xul Bug 715867 - Don't fire duplicate sizemodechange events on Mac. r=smichaud 2012-01-31 11:40:03 +01:00
test_bug673301.xul 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 2012-04-16 22:14:01 -04:00
test_chrome_context_menus_win.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_composition_text_querycontent.xul 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
test_imestate.html Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc 2011-09-22 18:17:41 +09:00
test_input_events_on_deactive_window.xul Bug 717147 input events which are fired after compositionupdate should be trusted events r=ehsan 2012-01-13 15:19:22 +09:00
test_key_event_counts.xul Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
test_keycodes.xul Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
test_mouse_scroll.xul Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm 2012-03-22 09:59:12 +09:00
test_native_menus.xul 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
test_native_mouse_mac.xul 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
test_picker_no_crash.html Bug 661991 - tests. r=bbondy, a=ehsan 2011-12-14 15:22:53 -06:00
test_platform_colors.xul Bug 756903 - Fix test_platform_colors.xul for 10.7, r=mstange 2012-05-20 15:27:45 -07:00
test_plugin_input_event.html Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
test_plugin_scroll_consistency.html 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
test_plugin_scroll_invalidation.html Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
test_position_on_resize.xul 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
test_sizemode_events.xul Bug 715867 - Don't fire duplicate sizemodechange events on Mac. r=smichaud 2012-01-31 11:40:03 +01:00
test_standalone_native_menu.xul 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
test_wheeltransaction.xul 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
TestAppShellSteadyState.cpp Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more widget parts); r=roc 2012-06-19 23:28:45 -04:00
TestChromeMargin.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
TestWinTSF.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
window_bug429954.xul
window_bug478536.xul Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
window_bug522217.xul Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final 2011-02-04 13:59:33 +01:00
window_bug538242.xul Bug 538242 - Always keep nsCocoaWindow's mBounds up to date. r+a=josh 2010-12-21 12:42:47 +01:00
window_bug593307_centerscreen.xul Bug 593307. Ensure centerscreen windows are initially created in a valid screen position. r=jst,jmathies a=blocking-final 2010-10-08 15:51:50 -03:00
window_bug593307_offscreen.xul Bug 593307. Ensure centerscreen windows are initially created in a valid screen position. r=jst,jmathies a=blocking-final 2010-10-08 15:51:50 -03:00
window_composition_text_querycontent.xul Bug 622247 Remove hack for bug 23558 and bug 271815, and add tests for them r=ehsan 2012-02-15 10:38:07 +09:00
window_imestate_iframes.html Bug 575336 part 4. Change the IME state iframe test to flush layout on the subframe before assuming something about coordinates of objects in that subframe. r=roc 2010-08-05 14:39:39 -04:00
window_mouse_scroll_win.html Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm 2012-03-22 09:59:12 +09:00
window_picker_no_crash_child.html Bug 661991 - tests. r=bbondy, a=ehsan 2011-12-14 15:22:53 -06:00
window_state_windows.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
window_wheeltransaction.xul Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00