gecko/widget/tests
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
..
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
taskbar_progress.xul
test_bug343416.xul
test_bug413277.html
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
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
test_bug485118.xul
test_bug517396.xul
test_bug522217.xul
test_bug538242.xul
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
test_bug593307.xul
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
test_imestate.html
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
test_native_mouse_mac.xul
test_picker_no_crash.html
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
test_plugin_scroll_invalidation.html
test_position_on_resize.xul
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
test_wheeltransaction.xul
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
window_bug538242.xul
window_bug593307_centerscreen.xul
window_bug593307_offscreen.xul
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
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
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