Birunthan Mohanathas
a993719744
Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug
2014-04-29 04:57:00 -04:00
Boris Zbarsky
829f8e8296
Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
2cf1c7125d
Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Chris Peterson
6fa4081cb5
Bug 757726 - Part 6a: Add support for cloaking plugin names in navigator.plugins and navigator.mimeTypes enumeration. r=johns sr=bsmedberg
2013-10-31 22:19:09 -07:00
Chris Peterson
389bf049bf
Bug 757726 - Part 4: Consolidate duplicate code into EnsurePlugins() and EnsureMimeTypes(). r=johns
2013-10-20 00:05:05 -07:00
Chris Peterson
1ffb4c788f
Bug 757726 - Part 3: Refactor nsPluginArray::GetPlugins() to GetMimeTypes(). r=johns
2013-10-17 00:19:43 -07:00
Olli Pettay
ce6d80643f
Bug 904351, make MimeType/Array, PluginArray/Element to hold strong reference to their parent object, r=mccr8
2013-08-28 23:55:29 +03:00
Ehsan Akhgari
6c2dd7f365
Bug 905353 - Minimize the #includes in dom/base; r=jst
2013-08-15 14:17:48 -04:00
Ms2ger
5a51413d49
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Johnny Stenback
353f7bb99f
Bug 898906. Fix this bug by making nsMimeType objects hold their active plugin alive, and rely on the cycle collector to break the explicit reference cycle. r=mccr8
...
---
dom/base/crashtests/898906.html | 14 ++++++++++++++
dom/base/crashtests/crashtests.list | 3 ++-
dom/base/nsMimeTypeArray.cpp | 2 +-
dom/base/nsMimeTypeArray.h | 14 ++++++--------
dom/base/nsPluginArray.cpp | 24 +-----------------------
dom/base/nsPluginArray.h | 2 --
6 files changed, 24 insertions(+), 35 deletions(-)
create mode 100644 dom/base/crashtests/898906.html
2013-07-30 17:46:46 -07:00
Johnny Stenback
699b9bb181
Bug 896242. Fix possible crash due to dangling pointer to nsPluginElement. r=mccr8
...
---
dom/base/nsPluginArray.cpp | 24 +++++++++++++++++++-----
dom/base/nsPluginArray.h | 1 +
2 files changed, 20 insertions(+), 5 deletions(-)
2013-07-24 23:33:21 -07:00
Johnny Stenback
24a4677f9e
Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org.
2013-07-09 06:58:21 -07:00
Benjamin Smedberg
25966491eb
Bug 418615 - Neuter the code which tries to reframe existing plugin instances when navigator.plugins.refresh(true) is called. Instead, only scan for new plugins, unload unused plugins. The DOM code will continue to refresh the current page which calls navigator.plugins.refresh(true). r=jschoenick sr=bz
2013-04-23 16:02:12 -04:00
David Keeler
104cc8f94f
bug 856777 - observe plugin-info-updated in nsPluginArray, not Navigator r=khuey
2013-04-10 13:59:45 -07:00
David Keeler
4f5608c869
bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz
2012-12-20 16:53:21 -08:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
1e1aba63ce
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
691ef24b2a
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Johnny Stenback
4053aa4599
Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com
2011-12-01 00:28:16 -08:00
Mounir Lamouri
aece4e1a7e
Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
...
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
22f5dbe67d
Stop including nsDOMClassInfo.h all over the place.
2011-10-03 21:11:31 +02:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Josh Aas
60c0c9ea43
Bug 657952: Minimize methods in nsIPluginHost. r=jst
2011-05-21 09:28:54 -04:00
Blake Kaplan
1436603ad2
Fix bug 584512.
2010-08-12 21:05:05 -07:00
Peter Van der Beken
ca30200583
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
2010-01-12 14:08:43 +01:00
Olli Pettay
ca21fb8a6e
Bug 538310, clean up old mimetype code, r=jst, sr=sicking
2010-02-11 13:03:47 +02:00
Josh Aas
d7ea1b9379
Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst
2009-06-25 17:06:54 -04:00
Dave Townsend
7fb3ab9bf2
Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst
2009-04-22 12:13:10 -07:00
Boris Zbarsky
db3630d6a5
Bug 485537. window.plugins.refresh() shouldn't reregister XPCOM components. r=josh, sr=jst
2009-04-04 00:14:59 -04:00
Benjamin Smedberg
28a78c0c2c
Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
2009-03-11 10:10:19 -04:00