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
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
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
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
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
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
window_bug522217.xul
window_bug538242.xul
window_bug593307_centerscreen.xul
window_bug593307_offscreen.xul
window_composition_text_querycontent.xul
window_imestate_iframes.html
window_mouse_scroll_win.html
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