gecko/browser/base/content
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
..
abouthome Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
newtab Bug 765729 - New Tab page thumbnails can't be tabbed to r=ttaubert 2012-06-25 14:03:26 -06:00
overrides Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
pageinfo 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
sync Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test 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
aboutDialog.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
aboutDialog.js Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong 2012-05-31 20:28:32 -04:00
aboutDialog.xul Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
aboutRobots-icon.png
aboutRobots-widget-left.png
aboutRobots.xhtml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
baseMenuOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-addons.js Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Addons). r=gavin 2012-05-31 23:26:00 -07:00
browser-appmenu.inc Bug 763932 - [devtb] Add the right buttons to the Developer Toolbar; r=dao,jwalker,cedricv 2012-06-25 11:37:16 +02:00
browser-charsetmenu.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-context.inc Bug 702159 - Add context menu to exit DOM full screen mode and tests. r=jaws 2012-05-24 23:57:59 -05:00
browser-doctype.inc Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
browser-feeds.js Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Feeds). r=gavin 2012-05-31 23:26:00 -07:00
browser-fullScreen.js Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (FullScreen). r=gavin 2012-05-31 23:26:00 -07:00
browser-fullZoom.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-menubar.inc Bug 763932 - [devtb] Add the right buttons to the Developer Toolbar; r=dao,jwalker,cedricv 2012-06-25 11:37:16 +02:00
browser-places.js Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 22:30:59 +02:00
browser-plugins.js Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Plugins). r=gavin 2012-05-31 23:26:00 -07:00
browser-sets.inc Bug 763932 - [devtb] Add the right buttons to the Developer Toolbar; r=dao,jwalker,cedricv 2012-06-25 11:37:16 +02:00
browser-syncui.js Bug 763171 - Open tabs for URIs received from Sync; r=rnewman 2012-06-22 22:28:23 -07:00
browser-tabPreviews.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-tabPreviews.xml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-tabview.js Bug 760794 - tabView2.title and tabview2.moveToUnnamedGroup.label need l10n comments (browser.properties) r=dao 2012-06-06 16:49:38 +08:00
browser-thumbnails.js Bug 748802 - browser-thumbnails.js uses global private browsing state instead of per-window state. r=ehsan 2012-05-02 09:35:12 +08:00
browser.css Bug 765413 - Warning: Unknown property '-moz-transition-properties'. Declaration dropped. r=dao 2012-06-20 16:28:56 +02:00
browser.js 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
browser.xul Bug 766999 - In the developer toolbar, the debugger should be named "debugger", not "Script"; r=past,dao,rcampbell 2012-06-25 11:40:40 +02:00
browserMountPoints.inc
content.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
downloadManagerOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
global-scripts.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
hiddenWindow.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
highlighter.css Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
jsConsoleOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
macBrowserOverlay.xul Bug 731926 - Refactor init/shutdown functions in browser.js (rename some functions). r=gavin 2012-06-15 12:09:48 -07:00
nsContextMenu.js 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
openLocation.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
openLocation.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
safeMode.css Bug 732303 - Redesign safe mode dialog with the profile reset option. r=dolske, ui-r=limi 2012-03-09 15:21:03 -08:00
safeMode.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
safeMode.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitize.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitize.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitizeDialog.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitizeDialog.js 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
softwareUpdateOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tabbrowser.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tabbrowser.xml 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
urlbarBindings.xml 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
utilityOverlay.js Bug 763468 - Use about:privatebrowsing for new tabs opened in private browsing mode; r=ttaubert 2012-06-21 03:13:19 +05:30
viewSourceOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
web-panels.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
web-panels.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
win6BrowserOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00