Boris Zbarsky
dc120449d2
Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey
2016-05-27 20:26:56 -04:00
Jan de Mooij
0f65c9be84
Bug 1286159 - Clean up FinishOffThread* APIs for off-thread parsing. r=jonco
2016-07-19 09:19:54 +02:00
Neil Deakin
890dd77f01
Bug 916004, set datasource after loading to see if intermittent orange of test_bug330010.xul goes away
2016-05-27 09:19:53 -04:00
Samael Wang
8d9aee1bff
Bug 1069772 - Part 2: Add test case. r=smaug
2016-05-25 16:51:24 +08:00
Samael Wang
fccbaeb33d
Bug 1271240 - Part 2: Add test case. r=smaug
...
MozReview-Commit-ID: HL7DnAOf7rO
--HG--
extra : rebase_source : 4c6d721028bd3621d20609795191796bd7a3bff9
2016-05-20 11:35:19 +08:00
Xidorn Quan
51e715f73c
Bug 1270648
part 4 - Make fullscreen enabled flag not be affected after document is loaded. r=smaug
...
MozReview-Commit-ID: L2dMAUr63qv
--HG--
extra : source : 363d7ac04cbf98fa67cad3214ac62330c2652fa8
2016-05-18 09:08:12 +10:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Xidorn Quan
97fdb0dd94
Bug 1264968 part 2 - Allow persisting attributes of xul:window if its owner document is not root. r=enndeakin
...
MozReview-Commit-ID: 12rz0WMZp0L
--HG--
extra : source : e53a0459cd77040271b04e748f53cc66f5f0c70e
2016-04-25 09:40:16 +08:00
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
J. Ryan Stinnett
013ba36705
Bug 1242644 - HTML swapFrameLoaders. r=bz
...
Adds swapFrameLoaders for HTML frames. It is also possible to swap frame
loaders between XUL and HTML frames.
MozReview-Commit-ID: 43JeiBuMcOL
2016-03-31 19:47:44 -05:00
Masayuki Nakano
cea0b9cf02
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Boris Zbarsky
172598b4e2
Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
...
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not. This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.
The changes to initing with an object made in this bug are OK for the following
reasons:
1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
Christoph Kerschbaumer
f29ec8d62f
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Boris Zbarsky
36d4079be7
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Boris Zbarsky
3d0a95827d
Bug 1254859 part 2. Switch the AutoEntryScript in nsXULTemplateBuilder::InitHTMLTemplateRoot to take ownership of error reporting. r=bholley
...
There isn't really anyone expecting a pending exception to be left on the
JSContext by this method, so reporting is fine.
2016-03-09 15:29:14 -05:00
Wes Kocher
817d8829fc
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
007c074be0
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
...
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Nathan Froyd
777c075f0e
Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu
2015-12-05 11:03:27 -05:00
Peter Van der Beken
946ac27409
Bug 1251655
- Remove support for JavaScript-DOM-class and JavaScript-DOM-interface. r=bz.
...
--HG--
extra : rebase_source : 88c93e93905e20d2f6755d67d86902fdfc923eb4
2016-02-14 15:59:48 +01:00
Nathan Froyd
12d9670a60
Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
...
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Nathan Froyd
f49b2c8d86
Bug 1249389 - part 2 - change NewBufferFromStorageStream's outparam into a UniquePtr; r=erahm
...
Similar to the previous change to NewObjectInputStreamFromBuffer, we
want to make the ownership transfer out of NewBufferFromStorageStream
more obvious. Doing this also lets us get rid of some uses of
nsAutoArrayPtr, which is less idiomatic than UniquePtr.
2016-02-18 12:04:40 -05:00
Nathan Froyd
cd3c15f774
Bug 1249389 - part 1 - change NewObjectInputStreamFromBuffer to take a UniquePtr argument; r=erahm
...
Because NewObjectInputStreamFromBuffer takes a raw pointer as input, the
typical coding pattern to use it is:
nsAutoArrayPtr<char> buf;
// assign something to buf
nsresult rv = NewObjectInputStreamFromBuffer(buf, ...);
if (NS_FAILED(rv)) {
...
return rv;
}
buf.forget();
Which is clumsy, error-prone, and obscures the ownership transfer of the
pointer into the stream returned by NewObjectInputStreamFromBuffer.
Let's address all of these concerns by changing the argument to a
UniquePtr<char[]>.
2016-02-18 11:14:02 -05:00
Cameron McCormack
0ecd5593cc
Bug 1244074
- Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11:00
Nicholas Nethercote
8c78eddc4e
Bug 1246846
(part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
...
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.
--HG--
extra : rebase_source : 2012becaa759d4330910534375b7ac2a9839fe50
2016-02-09 13:52:21 +11:00
Blake Kaplan
2d4bc1d4ac
Bug 1176449 - Enter an update here to avoid assertions on startup. r=dbaron
...
--HG--
extra : rebase_source : 333672b991d5ad0c38b9516375366dd69f528d03
2016-02-08 14:51:00 +01:00
Jesse Ruderman
ca10ca8bdf
Bug 1244948 - silence the 'loaded script twice' warning. r=bz
2016-02-04 20:43:17 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Nicholas Nethercote
c06d9bb39e
Bug 1187151 (part 11) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 18442bf9134eca327e86bf668a8ffea61222f442
2016-01-27 16:05:00 -08:00
Nicholas Nethercote
7d1f9c2d2b
Bug 1187151 (part 10) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : b3cdb5676109174c96f3b7dc1e8e9e3db6a0c276
2016-01-27 16:04:59 -08:00
Nicholas Nethercote
eed165cf7c
Bug 1187151 (part 9) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : e23bf73378e9daafff3c3a6781f815d6053dbe94
2016-01-27 16:04:59 -08:00
Nicholas Nethercote
67e8eac303
Bug 1187151 (part 8) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 31414e1748ab39d9d904b3e68f47d30b6f608a7c
2016-01-27 16:04:59 -08:00
Aidin Gharibnavaz
e6606278c0
Bug 1230216
- Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
...
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Terrence Cole
3a07971436
Bug 1238786 - Part 2: We no longer need to null check before using trace APIs; r=smaug
...
--HG--
extra : rebase_source : 5fdbdaa7be739afd93294b729d878ed33c55b5ce
2016-01-12 13:07:54 -08:00
Shu-yu Guo
1768759efb
Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm)
2016-01-06 16:02:16 -08:00
Kyle Huey
ae75c80116
Bug 1155328. r=smaug
2016-01-06 13:18:29 -08:00
Terrence Cole
bb224242a8
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Andrea Marchesini
52e65f89d8
Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu
2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
cccfedda81
Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions
2015-12-15 14:45:06 +01:00
Andrea Marchesini
7271d1d622
Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu
2015-12-11 11:17:33 -05:00
Phil Ringnalda
631f58c4f9
Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
...
CLOSED TREE
Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
f342b66a2e
Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu
2015-12-09 16:46:25 -05:00
Yury Delendik
66199890c4
Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
...
--HG--
extra : commitid : J0UubFG9gvz
2015-11-30 08:54:11 -06:00
Nathan Froyd
e9072a7a24
Bug 1229028 - remove #ifdef NS_BUILD_REFCNT_LOGGING methods from nsXULPrototypeNode; r=bz
...
These methods are subsumed by the automatic generation of AddRef/Release
methods featuring the class name, and are not called in any event.
2015-11-30 10:15:44 -05:00
sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Nicholas Nethercote
ab1a4f615a
Bug 1187114 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/xul/ with iterators. r=mccr8.
2015-11-22 14:39:00 -08:00
Nicholas Nethercote
40f1377c61
Bug 1187114 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/xul/ with iterators. r=mccr8.
2015-11-22 14:39:00 -08:00
Nicholas Nethercote
c18a24c366
Bug 1187114 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/xul/ with iterators. r=mccr8.
2015-11-22 14:38:57 -08:00
Boris Zbarsky
1fec018fcb
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Birunthan Mohanathas
027d512640
Bug 1217307
- Remove some unnecessary null checks in rest of dom/xul/. r=njn
2015-11-19 09:13:49 +02:00
Cameron McCormack
fd2fba0c73
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Gijs Kruitbosch
1fbe21a49c
Bug 1221947 - part 1: add BYTOUCH flag to nsIFocusManager, r=jaws,smaug
...
IGNORE IDL
--HG--
extra : commitid : B7HwLSDQHAd
extra : rebase_source : 8c32df3fe30cd2b8d502d6afe863290c2059ae35
extra : histedit_source : 5e0adbaf31cdea240e0a426c72e19145a581278f
2015-11-12 16:35:20 +00:00
Nicholas Nethercote
e2fe66176b
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
L. David Baron
a3eadb1b86
Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
...
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.
We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.
--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
Christoph Kerschbaumer
1ee2473768
Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking)
2015-11-02 17:31:08 -08:00
Makoto Kato
1929f6c7c4
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd
2015-10-28 14:29:57 +09:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Xidorn Quan
19f7f9e9e4
Bug 1137009 - Do not persist xul window attributes when in fullscreen. r=enndeakin
...
--HG--
extra : rebase_source : 38400b63c4f9d6be3f2ff9ba963546f72f77a65f
extra : source : 78f7f5498016232d889579add8f9ec7d0f4a86e6
2015-10-22 11:08:35 +11:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Wes Kocher
a195766b70
Backed out 2 changesets (bug 1137009)
...
Backed out changeset 2c77e4edc2a5 (bug 1137009)
Backed out changeset 7a5322e5fa07 (bug 1137009)
2015-10-13 18:33:51 -07:00
Bobby Holley
96219d6d08
Bug 1214295 - Fix up entry points for ClickWithInputSource. r=bz
2015-10-13 15:58:09 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Tooru Fujisawa
3e7ad2de28
Bug 1207494 - Part 15: Remove use of expression closure from dom/xul/. r=bz
...
--HG--
extra : commitid : A8CJK5lluib
extra : rebase_source : 54401f225233de1bed1ce0a52dc9c97b7f9d231b
2015-09-23 18:39:17 +09:00
Christoph Kerschbaumer
c76868cd0b
Bug 1206958 - Use channel->asyncOpen2() in dom/xul/XULDocument.cpp (r=sicking)
2015-09-28 20:15:51 -07:00
Andrew McCreight
f9cc6eb7fb
Bug 1208502 - Use more smart pointers in XULDocument. r=smaug
2015-09-25 10:43:21 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Xidorn Quan
e122198562
Bug 1137009 part 2 - Do not persist attributes of xul window if the window is in fullscreen. r=enndeakin
...
--HG--
extra : source : 19c3f7b23f53ae04f51458de6df339f3166fe3dc
extra : histedit_source : 4bad4820bca43ebf1cd30228c52b4126a35a25a5
2015-09-24 11:39:22 +10:00
Masatoshi Kimura
fce903a0f0
Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz
2015-09-23 09:32:29 +09:00
Christoph Kerschbaumer
2fac10d123
Bug 1048048 - add preload content policy types for scripts (r=baku)
...
--HG--
extra : source : 450d4a13c90e95a58caa398e4fcc0a71f4800071
2015-09-20 14:56:21 -07:00
Wes Kocher
cd079d2bf9
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
c938714dba
Bug 1048048 - add preload content policy types for scripts (r=baku)
2015-09-20 14:56:21 -07:00
Neil Deakin
77303a0ee5
Bug 1168042, return a bool from PerformAccessKey indicating if focus was changed, r=masayuki
2015-09-18 08:18:42 -04:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote
2ee4fd783b
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
...
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5
Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
...
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
...
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Nicholas Nethercote
abe8a4f58a
Bug 1202526 (part 6) - Use PLDHashTable::RemoveEntry() in XULDocument. r=bz.
...
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:20:16 -07:00
Masayuki Nakano
ed770e838f
Bug 895274 part.94 Rename NS_XUL_COMMAND to eXULCommand r=smaug
2015-09-04 19:54:12 +09:00
Masayuki Nakano
3efcbf8648
Bug 895274 part.92 Rename NS_XUL_COMMAND_UPDATE to eXULCommandUpdate r=smaug
2015-09-04 19:54:12 +09:00
Masayuki Nakano
be8fa51fa8
Bug 895274 part.91 Rename NS_XUL_BROADCAST to eXULBroadcast r=smaug
2015-09-04 19:54:12 +09:00
Masayuki Nakano
d194119036
Bug 895274 part.85 Rename NS_DRAGDROP_GESTURE to eLegacyDragGesture r=smaug
2015-09-02 15:08:03 +09:00
Masayuki Nakano
a9a7f7c99f
Bug 895274 part.78 Rename NS_DRAGDROP_START to eDragStart r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
cafe2dfc67
Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug
2015-09-01 00:20:06 +09:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Aryeh Gregor
4cb17f538e
Bug 874838 - Make CreateElem return Element. r=khuey
2015-08-13 07:50:00 -04:00
Andrew McCreight
9040168887
Bug 1193572, part 4 - Make script element ownership more direct. r=baku
...
Rather than keep around a raw pointer |script| and depend on the fact
that |child| will keep alive the same object, make |script| strong,
then pass the reference off to |child| when we're finished with it.
I removed the comment about deleting |script| on failure because the
existing stack smart pointers already are doing this.
Also fix a tiny style nit.
2015-08-13 14:24:59 -07:00