Birunthan Mohanathas
6129a0880a
Bug 1217307 - Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02:00
Sotaro Ikeda
434564718c
Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice
2015-11-08 16:55:08 -08:00
Wes Kocher
997b08e19d
Backed out changeset f073181a927d (bug 1189195) for browser_privatebrowsing_geoprompt.js leaks CLOSED TREE
2015-11-05 18:06:21 -08:00
Sotaro Ikeda
978f60c22d
Bug 1189195 - Fix PContentPermissionRequest shutdown r=fabrice
2015-11-05 16:41:13 -08:00
Shih-Chiang Chien
0e2ebb422f
Bug 1220679 - replace AutoSafeJSContext with AutoJSAPI. r=bz.
2015-11-03 13:49:23 -05:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Kyle Machulis
74dc47bcf8
Bug 1186582 - AskPermission should check for prompt exceptions; r=fabrice
2015-08-06 08:53:23 -07:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Hiroyuki Ikezoe
0a07fdb401
Bug 1164366 - Need to fix an issue on unified build in dom/base. r=ehsan
2015-05-13 01:36:00 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Kershaw Chang
d516b6b845
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
2015-04-13 21:08:00 -04:00
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Kan-Ru Chen (陳侃如)
4d157a60e2
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
f90c1c2e5f
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4b95fd5436
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Tom Schuster
7c3552a7df
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Kyle Huey
3f5b8810c4
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Bobby Holley
b2b763cb29
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
df43fcf12d
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
10dec58cfc
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Shih-Chiang Chien
be45166547
Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
2014-08-01 15:22:20 +08:00
Fabrice Desré
ec1dfd39b3
Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug
...
* * *
Bug 1024513 - followup to get ASAN builds r=me
2014-07-07 21:45:23 -07:00
Ed Morley
8ec5ce6047
Backed out changeset a2f2a28e0856 (bug 1024513) for build failures
2014-07-08 16:03:04 +01:00
Fabrice Desré
7934afd7be
Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug
2014-07-07 21:45:23 -07:00
Fabrice Desré
b9daee0e1c
backout a6ae40c60e77 for build failures
2014-07-07 22:21:51 -07:00
Fabrice Desré
8918838aa0
Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug
2014-07-07 21:45:23 -07:00
Jan de Mooij
1d6a780efe
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
"Kan-Ru Chen (陳侃如)"
a1ad170ee4
Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
...
Based on original patch by David Zbarsky <[email protected] >
2014-06-11 13:44:03 +08:00
Birunthan Mohanathas
9c531b5b34
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Neil Rashbrook
afcb26040f
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
2014-03-18 00:23:03 +00:00
Wes Kocher
5b4557e895
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
91221f71f5
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
2014-03-17 19:07:09 +00:00
Shih-Chiang Chien
eda19d5df1
Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey
2013-09-10 17:41:59 +02:00
Alfredo Yang
9fe833bee7
Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith
2014-02-09 15:34:40 -05:00
Randell Jesup
fcee2113a5
Bug 853356: backout p3
2013-12-10 01:03:21 -05:00
Alfredo Yang
9deb389f29
Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey
2013-12-06 17:38:52 -05:00
Steven Lee
5794754de9
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-05 09:29:07 -05:00
Reuben Morais
3d95a89108
Backed out 4 changesets (bug 853356) for breaking permission prompts.
2013-11-06 01:32:42 -02:00
Alfredo Yang
4669d30211
Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey
2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如)
ddf34b3332
Backout 6d33ac3a2b14
2013-11-05 14:59:22 +08:00
Alfredo Yang
a72f28b3ac
Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey
2013-11-05 14:08:45 +08:00
Doug Turner
91f22873b8
Backing out 987b3ec24f68
2013-10-31 20:25:46 -07:00
Alfredo Yang
7e133e8403
Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey
2013-10-26 21:20:09 -04:00
Cervantes Yu
57bf2ca019
Bug 878366: don't send send out messages of PContendPermissionRequest if the managing TabParent is being destroyed. r=bent
2013-10-17 06:25:50 +08:00
Nathan Froyd
b4a5129cce
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Ehsan Akhgari
6c2dd7f365
Bug 905353 - Minimize the #includes in dom/base; r=jst
2013-08-15 14:17:48 -04:00