Ben Kelly
051c84e08a
Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
2015-11-18 11:07:58 -08:00
Wes Kocher
b326119746
Backed out changeset cc92635ec29a (bug 1225219) for build bustage CLOSED TREE
2015-11-18 09:52:19 -08:00
Ben Kelly
fcb19c86e5
Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
2015-11-18 08:50:28 -08:00
Tom Tromey
0ed55ea020
Bug 1223954 - don't use implicitJSContext for readHeapSnapshot and saveHeapSnapshot; r=bz
2015-11-12 08:51:00 +01:00
Wes Kocher
d68c48e484
Merge inbound to m-c a=merge
2015-11-16 17:20:42 -08:00
Carsten "Tomcat" Book
a35e0e3fb5
Merge mozilla-central to b2g-inbound
2015-11-13 14:39:48 +01:00
Kyle Huey
662c429aaa
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Ben Kelly
5d00f2cd6b
Bug 1217909 P3 Refactor service worker register()/update() to reject only with SecurityErr or TypeErr. r=catalinb
...
* * *
Bug 1217909 P3 interdiff 001 fix try build
2015-11-16 08:04:11 -08:00
Bevis Tseng
dccc2b18f5
Bug 859764 - Part 1.1: Turn IDL Implementation into Internal-Only Interface. r=echen, r=smaug
2015-10-19 19:46:08 +08:00
Carsten "Tomcat" Book
eb4942092b
merge mozilla-inbound to mozilla-central a=merge
2015-11-11 12:42:52 +01:00
Carsten "Tomcat" Book
12abf3a767
Merge mozilla-central to b2g-i
2015-11-10 14:07:08 +01:00
Ben Tian
bd583af77c
Bug 1168298 - Support OBEX authentication procedure, r=shuang, r=mrbkap
2015-11-10 11:34:11 +08:00
Olli Pettay
4b0140d1f4
Bug 1220900 - Remove unused JSBindingFinalized, r=peterv
2015-11-09 18:24:09 +02:00
dimi
d474230a06
Bug 1207068 - Implement ExtendableMessageEvent interface. r=baku
2015-11-10 14:31:41 +08:00
Boris Zbarsky
30c063192a
Bug 1219749. Add a way to faithfully propagate the "exception is already on JSContext" state through an ErrorResult. r=peterv
2015-11-09 20:47:05 -05:00
Jan de Mooij
b56aecdff4
Bug 1125423 part 6 - Remove nsGlobalWindow::OuterObject and ObjectToOuterObjectValue. r=bz
2015-11-06 19:03:52 +01:00
Jan de Mooij
0ba47f5e15
Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke
2015-11-06 19:03:52 +01:00
Jan de Mooij
4f2d9651c6
Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz
2015-11-06 19:03:52 +01:00
Jan de Mooij
99298cfe51
Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke
2015-11-06 19:03:51 +01:00
Mike Hommey
7fd290435b
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09:00
Ryan VanderMeulen
c76533b080
No bug - Various crashtest manifest cleanups.
2015-10-31 19:35:27 -04:00
Jon Coppeard
986608233a
Bug 1219183 - Update comments that reference renamed thisObject hook r=shu
2015-10-30 09:50:06 +00:00
Ben Kelly
15a516471d
Bug 1215140 P5 Report the line number where respondWith() was called. r=bz
2015-10-29 19:53:25 -07:00
Boris Zbarsky
1c19c8fa33
Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv
2015-10-27 16:25:14 -04:00
Anthony Ramine
4a0a9b0329
Bug 1194991 - Part b: coerce WebIDL constants to the correct type; r=khuey
2015-10-27 09:18:12 +01:00
Ms2ger
344ad8fd34
Bug 1194991 - Part a: rewrite test_const.py to simplify adding new tests; r=khuey
2015-10-27 09:18:11 +01:00
Andrew McCreight
28bf8a071e
Bug 1218496 - Add MOZ_COUNT_CTOR/DTOR to ErrorResult::Message. r=bz
2015-10-26 14:50:00 +01:00
Tom Tromey
0b7023e5af
Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
2015-10-21 08:40:00 +02:00
Jason Orendorff
4b7535746e
Bug 1210570 - Ensure that ToPrimitive(location) is not spoofable. r=bz.
2015-10-06 10:42:17 -05:00
Cameron McCormack
28507b14d8
Bug 1208951 - Part 9: Implement KeyframeEffectReadOnly constructor. r=bzbarsky r=birtles
2015-10-22 19:22:38 +11:00
Nick Fitzgerald
dda897ad19
Bug 1216819 - Allow JSAPI SavedFrame accessors to skip past self-hosted frames. r=bz
2015-10-21 10:39:00 -04:00
Guang-De Lin
b3ed26d0ee
Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
2015-10-19 14:10:47 +08:00
Jon Coppeard
b1f5662360
Bug 930414 - Replace |thisObject| object op with |thisValue| and use if for modules r=shu r=smaug
2015-10-21 10:21:44 +01:00
Boris Zbarsky
1fbd3807b2
Bug 1215755. Change the Web IDL parser to just put a next() method in iterator interfaces instead of using an additional IterableIterator interface. Fix up the other test failures in test_interface_maplikesetlikeiterable.py while I'm here. r=qdot
2015-10-19 20:17:39 -04:00
Nathan Froyd
9c5965b035
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
Boris Zbarsky
a0035b8145
Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot
2015-10-16 15:54:51 -04:00
Boris Zbarsky
104682d311
Back out revision 5985a4717758 (bug 1215559) because the Linux compiler is not happy with the template using bits
2015-10-16 16:16:36 -04:00
Boris Zbarsky
55679264fd
Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot
2015-10-16 15:54:51 -04:00
Boris Zbarsky
4ed6e90041
Bug 1215532. Make sure the exposure set of the generated iterator interface matches that of the iterable it's created for, and that IterableIterator is exposed everywhere. r=qdot
2015-10-16 14:36:19 -04:00
Kyle Machulis
c3defe92f9
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-15 12:06:13 -07:00
Kyle Machulis
d854a67276
Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz
2015-10-15 12:06:13 -07:00
Kyle Machulis
03b24112ff
Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage
2015-10-14 12:00:41 -07:00
Kyle Machulis
21cad8167b
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-14 11:33:46 -07:00
Kyle Machulis
86712dd2d6
Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz
2015-10-14 11:33:46 -07:00
Wes Kocher
89b3aaef9f
Merge m-c to inbound, a=merge
2015-10-09 16:45:31 -07:00
Boris Zbarsky
7aede1e8f9
Bug 1213289 part 4. Convert to using an enum for tracking our union state. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
70e8c1f364
Bug 1213289 part 3. Add a way to throw a DOMException with a custom message on ErrorResult. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
267ff39c13
Bug 1213289 part 2. Introduce ErrorResult::ClearUnionData and use it in various places where we're trying to do that. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
bdd6e0d149
Bug 1213289 part 1. Change dom::Throw to take an XPCOM string, not a raw C string, for the message. r=bkelly
2015-10-09 16:48:10 -04:00
Shawn Huang
456d45576a
Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap
2015-10-09 18:23:20 +08:00