Commit Graph

5184 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
Richard Newman
0f0318013f Merge m-c to s-c. 2012-06-26 13:00:09 -07:00
Paul Rouget
24e92e67a9 Bug 763932 - [devtb] Add the right buttons to the Developer Toolbar; r=dao,jwalker,cedricv 2012-06-25 11:37:16 +02:00
Paul Rouget
975a1bd483 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
Andres Hernandez [:andreshm]
a0c2fab953 Bug 765729 - New Tab page thumbnails can't be tabbed to r=ttaubert 2012-06-25 14:03:26 -06:00
Gregory Szorc
b686be9543 Merge mozilla-central into services-central 2012-06-25 13:40:04 -07:00
Gregory Szorc
bccb27b24a Bug 763171 - Open tabs for URIs received from Sync; r=rnewman 2012-06-22 22:28:23 -07:00
Dão Gottwald
2fccf8b311 Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 22:30:59 +02:00
Ryan VanderMeulen
8ead15b2fe Backout e8a507a0a1a8 (bug 767813) due to mochitest-browser-chrome orange. 2012-06-24 16:27:20 -04:00
Dão Gottwald
9ccea67b7f Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 19:44:04 +02:00
Saurabh Anand
250569740d Bug 722990 - NewTabUtils.jsm uses a global Private Browsing state to make decisions; r=ttaubert 2012-06-20 14:00:21 +05:30
Paul Rouget
15986fc154 Bug 761023 - [devtb] Developer Toolbar should re-open automatically if browser closed with it open; r=jwalker
--HG--
extra : rebase_source : 95852ec078fb49ba547bed20abb4b886efb1f5d8
2012-06-15 15:55:33 +02:00
Saurabh Anand
f28d039c54 Bug 763468 - Use about:privatebrowsing for new tabs opened in private browsing mode; r=ttaubert 2012-06-21 03:13:19 +05:30
Tim Taubert
4a229100a7 merge m-c to fx-team 2012-06-22 17:32:51 +02:00
Paul Rouget
99d1dce1ed Bug 766535 - [devtb] this.DeveloperToolbar is undefined when starting Firefox with toolbar previously visible. r=dao 2012-06-20 15:54:39 +02:00
Paul Rouget
a3ca4f521d Bug 765413 - Warning: Unknown property '-moz-transition-properties'. Declaration dropped. r=dao 2012-06-20 16:28:56 +02:00
Paul Rouget
f288f3e37f Bug 761023 - [devtb] Developer Toolbar should re-open automatically if browser closed with it open; r=jwalker 2012-06-15 15:55:33 +02:00
Ryan VanderMeulen
dd68fb6231 Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Tim Taubert
fd5ba085cb merge m-c to fx-team 2012-06-16 12:36:20 +02:00
Tim Taubert
cf4a809fa0 Bug 764931 - Don't use about:newtab for nsBrowserAccess; r=gavin 2012-06-14 20:29:31 +02:00
Dão Gottwald
85155af554 Bug 759299 - Remove identity-box-inner and page-proxy-stack. r=jaws 2012-06-13 13:56:57 +02: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
Ryan VanderMeulen
9180278d42 Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Olli Pettay
2a1ef5e19b Bug 764540 - browser_tabfocus.js is racy, r=dao 2012-06-14 20:59:19 +03:00
Alice0775 White
3a82d14a97 Bug 682944 - Prevent snippets with iframes from breaking about:home. r=gavin 2012-06-13 15:44:28 -07:00
Jim Mathies
2f392f7fb0 Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
David Keeler
0342050911 Bug 764421 - poll with setInterval instead of using setTimeout in browser_bug743421.js; r=jaws 2012-06-14 16:52:49 -07:00
Justin Dolske
120fee1dce Bug 731926 - Refactor init/shutdown functions in browser.js (minor cleanup while I'm here). r=gavin 2012-06-15 12:09:48 -07:00
Justin Dolske
82697e4eb7 Bug 731926 - Refactor init/shutdown functions in browser.js (eliminate getWebNavigation usage). r=gavin 2012-06-15 12:09:48 -07:00
Justin Dolske
4085f86cae Bug 731926 - Refactor init/shutdown functions in browser.js (trivial inlining of prepareForStartup). r=gavin 2012-06-15 12:09:48 -07:00
Justin Dolske
66bad5405c Bug 731926 - Refactor init/shutdown functions in browser.js (rename some functions). r=gavin 2012-06-15 12:09:48 -07:00
Justin Dolske
f9979478cb Bug 731926 - Refactor init/shutdown functions in browser.js (objectify methods, indent, and add legacy globals.). r=gavin 2012-06-15 12:09:47 -07:00
Justin Dolske
9cca843146 Bug 731926 - Refactor init/shutdown functions in browser.js (trivial move of HandleAppCommandEvent). r=gavin 2012-06-15 12:09:47 -07:00
Dão Gottwald
4b7d2d8ff2 Bug 762395 - Rename "Responsive Mode" to "Responsive Design View". r=paul 2012-06-12 19:18:19 +02:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Saurabh Anand
ac4a2071ec Bug 763111 - Use gBrowser.docShell for brevity in bug 748477. r=dao 2012-06-09 05:52:24 +05:30
Ryan VanderMeulen
53d33c67b1 Merge m-c to inbound 2012-06-09 14:22:32 -04:00
Tim Taubert
59348843cd merge m-c to fx-team 2012-06-09 17:34:20 +02:00
Panos Astithas
94523ccfb7 Bug 762403 - Disable the chrome debugger menu item until it's ready; r=dcamp,dtownsend 2012-06-08 10:01:19 +03:00
David Keeler
9247dc188b Bug 759703 - Poll with setInterval instead of using setTimeout for browser_pluginnotification.js tests. r=jaws 2012-06-07 13:56:04 -07:00
Saurabh Anand
ae364922c7 Bug 748477 - Switch chrome privateWindow getter to check currentTab and remove setter; r=ehsan 2012-06-08 07:11:40 +05:30
Ekanan Ketunuti
84440376cf Bug 437864 - In <pageInfo.xul>, "Warning: XUL box for hbox element contained an inline img child, forcing all its children to be wrapped in a block." r=dao 2012-05-29 10:28:00 +07:00
Dão Gottwald
f2cdb65455 Bug 760083 - Clean up and consolidate toolbar customization tests. r=ttaubert 2012-06-06 13:01:19 +02:00
Dão Gottwald
fa959fba8e Bug 759754 - With toolbar.customization.usesheet=true, the customization document stays alive after closing the sheet. r=ttaubert 2012-06-06 13:00:49 +02:00
David Keeler
a8f237eaa9 Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
Jonathan Wilde
d261a261aa Bug 763033 - Keep url bar blank on about:home. r=fryn ui-r=limi 2012-06-08 14:31:44 -07:00
Ehsan Akhgari
7b7a3556e8 Merge the last green changeset of mozilla-inbound to mozilla-central 2012-06-02 14:39:47 -04:00
Dave Camp
443d61b7c0 Merge fx-team to m-c. 2012-06-01 21:40:26 -07:00
Ehsan Akhgari
5b1b2aa3b0 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
Paul Rouget
c896bc3e9c Bug 749628 - Implement a Responsive Design tool. r=dcamp r=gavin 2012-06-01 14:53:58 +02:00