Commit Graph

173 Commits

Author SHA1 Message Date
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Mike Quested
c3d829b07d Bug 1074976 - Move function makeNicePluginName() into BroswerUtils.jsm module. r=felipe 2014-10-06 11:40:00 -04:00
Till Schneidereit
9f0c7267f9 Bug 1075059 - Part 1: Backout of Array.prototpype.contains usages. r=me
--HG--
extra : rebase_source : c40bca2849fdfee824560253c7ffe8fb93f9b774
2014-10-02 17:37:48 +02:00
Ayush Mishra
3cdd2c0951 Bug 1072889 - Replace array.indexOf(...) != -1 with array.contains(...) in browser/base/ ; r=dao 2014-09-26 20:51:09 +02:00
Bill McCloskey
2dce3be38e Bug 1058543 - Make page info work again in e10s (r=mconley) 2014-09-10 17:15:41 -07:00
Jared Wein
3ebbb4bb49 Bug 1037049 - In-content preference subdialogs that contain a <resizer> need to have their <resizer> removed and passed in as a "resizable" window opening parameter. r=Gijs 2014-08-20 17:22:55 -04:00
David Keeler
84c9f4219e bug 1029797 - remove redundant "Security information for this page" section of Page Info window r=dao 2014-06-24 14:31:06 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Sami Jaktholm
3f725b1d02 Bug 736574 - PageInfo: Fix an if-condition causing a failure to sort the media by count. r=Dao 2014-02-11 09:24:03 -05:00
Bill McCloskey
6fe4fadbc0 Bug 961529 - Add Feeds module (r=felipe) 2014-02-08 17:41:30 -08:00
Honza Bambas
e4cdf91ccd Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas
e3021733ad Bug 931383 - nsICacheEntryOpenCallback is not defined in pageInfo.js, test_clearHistory_shutdown.js, r=dao 2013-11-06 16:59:05 +01:00
Bill McCloskey
111c88d8cf Bug 691252 - Fix "reference to undefined property rels.feed" (r=felipe) 2013-09-30 12:24:44 -07:00
Honza Bambas
ea8ec4777e Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Trevor Saunders
d4ba8df0bc bug 846185 - don't call into js when creating accessibles r=surkov, smaug 2013-07-19 00:13:35 -04:00
Dão Gottwald
9099fc07d7 Bug 894877 - permissions.js onRadioClick tries to pass a host string to SitePermissions.remove, needs to be an nsIURI instead. r=jaws 2013-07-19 23:15:35 +02:00
Dão Gottwald
77c101e0ed Bug 892378 - Let SitePermissions.jsm handle indexedDB's special use of UNKNOWN_ACTION and ALLOW_ACTION. r=jaws 2013-07-16 09:59:34 +02:00
Dão Gottwald
f20c698247 Bug 889835 - Use SitePermissions.jsm as the backend for Page Info's Permissions tab. r=jaws 2013-07-09 14:44:41 +02:00
Dão Gottwald
b8206af3b1 Bug 889770 - permissions.js onRadioClick tries to pass an nsIURI to nsIPermissionManager::remove, needs to be the host string instead. r=bsmedberg 2013-07-04 23:22:50 +02:00
Benjamin Smedberg
5e06298e31 Bug 880735 part D - New doorhanger frontend code. Removes all logic which shows the plugin doorhanger automatically, including on scripting. Always show the doorhanger when there is a plugin present on the page, even if that plugin is currently enabled. Make the "always" choices clear to the user. r=jaws 2013-06-24 08:51:07 -04:00
Benjamin Smedberg
167df5915e Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Robert O'Callahan
96e4270e65 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Johnny Stenback
387d5e247d Bug 855613. Stop exposing nsIDOMMimeType in nsIPluginTag. r=joshmoz@gmail.com 2013-03-27 22:19:41 -07:00
Tim Taubert
c85d9f6a39 Bug 860622 - Stop preprocessing browser/base/content/pageinfo/pageInfo.js; r=dolske 2013-04-11 10:35:07 +02:00
Ralph Giles
b17e8bdbb5 Bug 857022 - Remove MOZ_MEDIA build-time define. r=ted
We don't test with MOZ_MEDIA=0 so that configuration no longer
works. It's better to drop the switch altogether and enable
this code unconditionally. Per-codec and -feature configure
and runtime options remain available.
2013-04-04 14:09:00 -07:00
Gijs Kruitbosch
65418f4026 Bug 854583 - Use 'pointer' instead of 'cursor' for mouse lock, r=dolske
--HG--
extra : rebase_source : 8dae0bae57c516727040576a92618cf7a96570b0
2013-04-03 10:22:05 +02:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Olli Pettay
b83c5a57ac Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
William Chen
18996f8701 Bug 782211 - Part 7: Added permission prompt for desktop notifications on desktop platforms. r=MattN 2012-07-12 11:45:38 -04:00
Yosy Attias
bc7ee625be Bug 845055 - Check the mime type is not null before testing the mime type itself. r=dao 2013-03-12 12:48:59 -07:00
Trevor Saunders
5756f6755f bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
David Keeler
9b57022cb4 bug 821892 - update "Page Info" -> Permissions for plugin permission differentiation r=jaws 2013-02-10 18:27:02 -08:00
Boris Zbarsky
e4b4da3503 Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Phil Ringnalda
2717fbc3e1 Back out ed72449453b4 (bug 715075) for browser-chrome orange 2012-11-15 20:40:49 -08:00
Dario Bertero
3fc515b11c Bug 715075 - Page Info reads image width and height synchronously after setting src, leads to 0px x 0px if the image isn't in your cache (e.g. after clearing cache). r=mak 2012-11-15 20:34:56 -05:00
Josh Matthews
f8bc15a806 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Yosy
fbc8b4825a Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
a5fc829344 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
6684ca9137 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Andres Hernandez
6c0b339ed1 Bug 781973 - Use filepicker's open() instead of the obsolete show() in /browser. r=bbondy 2012-09-19 17:21:38 -06:00
Margaret Leibovic
0a3e3f9bcf Bug 695399 - Remove synchronous calls to nsICacheSession::openCacheEntry in pageInfo.js. r=gavin 2012-09-13 18:22:35 +02:00
Atte Kemppila
b68f2e85d5 Bug 787650 - Add element id attributes to pageInfo.xul. r=adw 2012-09-07 16:23:01 -04:00
Atte Kemppila
df263f8698 Bug 771888 - Fix tree selection handling in Page Info > Media. r=adw 2012-09-01 11:35:56 -04:00
Andres Hernandez
fd33841755 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Ben Turner
798ac10ab8 Bug 758357 - Only show prompt after 50mb of quota was reached. r=sicking 2012-07-05 14:11:48 -07:00
Chris Pearce
5b73534832 Bug 758357 - Backout 2d295ed03d7f for causing bug 770085. r=backout 2012-07-02 16:49:38 +12:00
Ben Turner
5eacba0467 Bug 758357: Only show prompt after 50mb of usage for now. Plan is to soon introduce a new service which allows us to remove "old" indexedDB databases and keep a global quota, but for now we simply remove the prompt. r=sicking 2012-06-30 19:57:15 +02:00
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
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00