Boris Zbarsky
56a0511eb4
Bug 1170760 part 4. Change Promise::Constructor to run in the Xray compartment when new Promise happens over Xrays. r=peterv
2015-11-25 15:48:08 -05:00
Mike Hommey
ca5e376580
Bug 1227380 - Move LOCAL_INCLUDES and CXXFLAGS to moz.build in dom/bindings/. r=mshal
2015-11-25 08:23:17 +09:00
Boris Zbarsky
888bc2d651
Back out bug 1172246 because of mochitest-JP bustage. Who needs tests that we care about running on try anyway?
2015-11-20 18:00:27 -05:00
Boris Zbarsky
bc25c907d6
Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley
2015-06-08 16:16:27 -04:00
Boris Zbarsky
7c672a451f
Bug 1225392 part 2. WebIDL autogenerated iterators should chain up to %IteratorPrototype%. r=qdot
2015-11-18 18:26:07 -05:00
Mike Hommey
762aba02cd
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09:00
Boris Zbarsky
7ae3b58eb6
Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv
2015-10-27 16:25:14 -04: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
Boris Zbarsky
a9549930a2
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
b9fcc36e5e
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
ab96208de8
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
Kyle Machulis
09d9074cb2
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-15 12:06:13 -07:00
Kyle Machulis
95180ed852
Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage
2015-10-14 12:00:41 -07:00
Kyle Machulis
d51149c624
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-14 11:33:46 -07:00
Martin Thomson
8ba5de483c
Bug 1209744 - Switch to setIdentityProvider for js-implemented bindings test, r=jib
...
--HG--
extra : transplant_source : %05%2C%E2%F4%89O%18%22r%29Q%22%3E%171%A6%FCMy%C9
2015-10-05 13:07:33 -07:00
Martin Thomson
4574e04530
Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
...
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Martin Thomson
afdaddf1d7
Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
...
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson
d4f1b7fa44
Bug 1155923 - Add Deprecated attribute to interfaces. r=peterv
...
--HG--
extra : transplant_source : %E7_%24v%EA%08%AB1%A2%2BPl%AE%85%B9-%A6%D9%FEG
2015-09-24 16:31:47 -07:00
Martin Thomson
9c3bef623e
Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
...
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Boris Zbarsky
78b27415bc
Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv
2015-07-31 13:30:55 -04:00
Boris Zbarsky
89016f2d0c
Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug
2015-07-28 12:35:39 -04:00
Tom Tromey
9f3b16bf4c
Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
...
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00
Ryan VanderMeulen
b171b787bd
Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures.
2015-07-17 12:37:24 -04:00
Tom Tromey
843465db8e
Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
2015-07-17 07:48:00 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Boris Zbarsky
9c31c02f69
Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
...
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Boris Zbarsky
6a7660edde
Bug 1176236
. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv
2015-07-01 14:15:20 -04:00
Kyle Machulis
c035543458
Bug 1123516 - Implement maplike/setlike in WebIDL Codegen; r=bz
2015-06-29 15:38:53 -07:00
Boris Zbarsky
bdea574c3c
Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley
2015-06-16 16:44:10 -04:00
Boris Zbarsky
90031d3619
Bug 1173593. Make it possible to throw TypeError (or, in fact, any other Error from the content compartment) from js-implemented webidl. r=bholley
2015-06-15 20:09:36 -04:00
Boris Zbarsky
58c1f94add
Bug 1173787. The column number of an exception populated via PopulateReportBlame should be 1-based. r=fitzgen
2015-06-12 22:21:44 -04:00
Paolo Amadini
0697364b3d
Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
...
--HG--
extra : rebase_source : 440284ded7a60d44430cd0a91fd946fa4c76c987
2015-06-09 11:17:09 +02:00
Boris Zbarsky
c3b1832743
Bug 913053. Split up IDLTypedef and IDLTypedefType, and likewise for IDLCallback vs IDLCallbackType, so it's clearer whether we're operating on types or objects represented by those types. r=khuey
2015-05-13 22:19:22 -04:00
Ehsan Akhgari
1a03395848
Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger
2015-05-13 14:31:58 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
ziyunfei
e1db0f779e
Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till
2015-04-30 00:32:05 +09:00
Andrea Marchesini
789ad8312d
Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan
2015-04-22 08:29:18 +02:00
Boris Zbarsky
806a236c64
Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug
2015-04-17 12:13:25 -04:00
Paul Adenot
a1ddbe8bcb
Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug
2015-04-14 17:03:49 +02:00
Boris Zbarsky
9aaa3c401c
Bug 1153516. Stop using loose is() comparisons in test_dom_xrays.html. r=bholley
2015-04-13 19:36:44 -04:00
Jason Orendorff
e55a1c46a2
Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
...
--HG--
extra : rebase_source : 6ed902dfed6a7678f813fc21a4affef798484f1a
extra : source : 06dbe25231c283191c1cc4fea66c1c76add2c91c
2015-03-26 06:13:18 -05:00
Wes Kocher
2f6554bf7c
Backed out 20 changesets (bug 1138499, bug 1148750, bug 1149563, bug 1148652, bug 1123875, bug 1145636, bug 1147660, bug 1148568, bug 1142828) for talos other timeouts CLOSED TREE
...
Backed out changeset 3fc49391f7fe (bug 1148750)
Backed out changeset 75e867c1c39e (bug 1148750)
Backed out changeset 7f6a4e3976f0 (bug 1148750)
Backed out changeset 91d726011835 (bug 1149563)
Backed out changeset fc7c3cf0e526 (bug 1148652)
Backed out changeset 35a01c7e0f8d (bug 1148652)
Backed out changeset 3125cc5a7a65 (bug 1148652)
Backed out changeset a9f10724b83b (bug 1148568)
Backed out changeset 87132a806ab0 (bug 1147660)
Backed out changeset e6b410c7b847 (bug 1147660)
Backed out changeset c350fe54d9c0 (bug 1147660)
Backed out changeset e4b971996b94 (bug 1147660)
Backed out changeset f221db19fb75 (bug 1147660)
Backed out changeset c4599f0cff00 (bug 1142828)
Backed out changeset c7388a9c3935 (bug 1138499)
Backed out changeset 9b51b38317d6 (bug 1138499)
Backed out changeset ad243a3cd06f (bug 1138499)
Backed out changeset fafda276abd9 (bug 1138499)
Backed out changeset 0a00470fdc2a (bug 1145636)
Backed out changeset 06dbe25231c2 (bug 1123875)
--HG--
extra : amend_source : be3290b09642feacd7f517f1e354126b2e905998
2015-04-01 19:17:45 -07:00
Jason Orendorff
68464c731e
Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
...
--HG--
extra : rebase_source : 3da66c3cd20099f907f58cdc0de2ce31e3bf95a8
2015-03-26 06:13:18 -05:00
Nick Fitzgerald
2edf06beb3
Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
...
like js::ComputeStackString and other browsers do; r=jorendorff
https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
Tom Schuster
2de182147c
Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past
2015-03-19 17:42:15 +01:00
Boris Zbarsky
d0ebde3bb7
Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp. The rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Paolo Amadini
e5306bdeb5
Bug 1140472 - Set an async stack when invoking promise handlers. r=bz
2015-03-09 12:36:29 +00:00
Ehsan Akhgari
0857b0109c
Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky
2015-03-04 01:30:47 -05:00
Boris Zbarsky
746d0e6061
Bug 1133760 part 2. Get rid of unforgeable holders; just store unforgeable properties for DOM proxies directly on the expando object. r=peterv
2015-02-26 09:40:07 -05:00
Boris Zbarsky
5c011f5e57
Bug 1134955
. Be more careful with how we stringify property ids for error message reporting. r=jorendorff
2015-02-20 14:16:26 -05:00
Boris Zbarsky
b864faa155
Bug 1134112 part 2. When doing dictionary init, if we have a non-optional union member just go ahead and uninit it before we try initing it. That way even if it's already been initialized (e.g. because we default-initialized at some point) things will still work correctly. r=peterv
2015-02-19 14:36:35 -05:00
Boris Zbarsky
fc8317f7a4
Bug 1134112 part 1. When doing fast-init of a Web IDL dictionary, do fast-init of its dictionary members and its ancestors too. r=peterv
2015-02-19 14:36:26 -05:00
Boris Zbarsky
ff62f8c4c5
Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. r=peterv
2015-02-09 11:42:27 -05:00
Boris Zbarsky
3d347c5027
Bug 1127206. Don't try to do binding UnwrapArgImpl on worker threads. It can't do anything useful there. r=peterv
2015-01-30 13:54:43 -05:00
Tooru Fujisawa
22c2568415
Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug
2015-01-28 13:06:38 +09:00
Ehsan Akhgari
3ccf064efa
Bug 1069719 follow-up: Fix indentation
...
DONTBUILD
2015-01-26 11:23:49 -05:00
Ehsan Akhgari
866d758e54
Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky
2015-01-26 11:02:56 -05:00
Boris Zbarsky
cbb271e250
Bug 1107443 part 2. Stop defining non-configurable properties on the window in dom and xpconnect JS files. r=peterv
2015-01-23 09:54:14 -05:00
Boris Zbarsky
0221e36996
Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv
2015-01-15 17:39:01 -05:00
Boris Zbarsky
01f8cea46f
Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv
2015-01-15 17:39:01 -05:00
Wes Kocher
7777c308be
Backed out 4 changesets (bug 1118978) for b2g build bustage on a CLOSED TREE
...
Backed out changeset e0ecb643aa2b (bug 1118978)
Backed out changeset bf31c6661b2c (bug 1118978)
Backed out changeset 5a4839c2fd53 (bug 1118978)
Backed out changeset 40b84c88ed16 (bug 1118978)
2015-01-15 15:52:41 -08:00
Boris Zbarsky
6a93d5c443
Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley
2015-01-15 17:39:02 -05:00
Boris Zbarsky
24431c3a52
Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley
...
--HG--
rename : dom/bindings/test/test_exception_options_from_jsimplemented.html => dom/bindings/test/test_promise_rejections_from_jsimplemented.html
2015-01-15 17:39:02 -05:00
Boris Zbarsky
7d49fcea6d
Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv
2015-01-15 17:39:01 -05:00
Boris Zbarsky
b2b9e0773f
Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv
2015-01-15 17:39:01 -05:00
Peter Van der Beken
dc3a33aa88
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
...
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Boris Zbarsky
bad2ee9b82
Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv
2015-01-08 11:57:19 -05:00
Boris Zbarsky
8fd98d4057
Bug 1107592 part 2. Allow chrome JS to directly throw content DOMExceptions that will propagate out to the web script. r=peterv
2015-01-02 17:08:33 -05:00
Boris Zbarsky
58dedbbec6
Bug 1117131. Output the JS hooks for our cache-clearing stuff for [Pure] properties on JS-implemented objects even if we have no interface object, since these live on instances. r=mccr8
2015-01-02 17:08:33 -05:00
Jan-Ivar Bruaroey
f75be80939
Bug 1091898 - update test of exceptions from jsimplemented. r=jesup
2014-12-08 10:18:38 -06:00
Boris Zbarsky
76e076eb08
Bug 1092737 part 1. Update TextEncoder to various spec changes. r=emk
2014-11-21 14:58:45 -05:00
Andrea Marchesini
9d30f59efd
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
...
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Jason Orendorff
2cacf236ed
Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
...
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Boris Zbarsky
96fe2231a2
Bug 1084001. Set the .name of DOM interface objects to the name of the interface. r=peterv
2014-10-25 00:50:28 -04:00
Peter Van der Beken
d76c717d3c
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Jason Orendorff
3b9169d831
Bug 1079640 - Fix some tests that fail when ES6 symbols are disabled. r=bz. DONTBUILD.
...
--HG--
extra : rebase_source : 7544ce2f0b8e2e59050ed87d7aea757e4702c834
extra : amend_source : 00f15dbe7b3f700fe3f6debede75c3b9a272e504
2014-10-08 11:12:11 -05:00
Boris Zbarsky
2396718a16
Bug 1066432 followup. Remove bogus alerts from the test.
2014-09-30 22:14:27 -04:00
Boris Zbarsky
9804f71306
Bug 1066432. Update ForOfIterator to the changes in Web IDL's handling of sequences as iterables. We now commit to an iterable if we get a non-undefined value for the Symbol.iterator property, not just if we get a callable value. r=jorendorff
2014-09-30 21:26:28 -04:00
Peter Van der Beken
3d173cc6d6
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add tests. r=bholley.
...
--HG--
extra : rebase_source : cab515c373bd87a0cfbf05041be246c112c224e2
2014-09-26 16:29:31 +02:00
Boris Zbarsky
cc0da71edc
Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
6c258577ab
Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey
2014-09-24 09:11:29 -04:00
Boris Zbarsky
9b823d6509
Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv
2014-09-19 22:58:27 -04:00
Boris Zbarsky
895d364e1c
Bug 958887 part 1. Add support for doing BinaryName annotations in IDL. r=peterv
2014-09-19 22:58:26 -04:00
Boris Zbarsky
41fde7f472
Bug 1066776. Make variadic dictionary arguments work. r=khuey
2014-09-19 00:02:33 -04:00
Boris Zbarsky
9fca2ef9de
Bug 843272. Uncomment tests that should not be commented out. r=mccr8
2014-09-19 00:02:30 -04:00
Peter Van der Beken
14fafa0ab2
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, remove instances of non-refcounted sequence return type. r=bz.
...
--HG--
extra : rebase_source : 1388e0d6f971d52debb745a448a9a5524ceee25d
2014-08-28 00:43:55 +02:00
Boris Zbarsky
935648f51a
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
3e0cc1e8d6
Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage
2014-09-08 12:25:17 -04:00
Boris Zbarsky
5f46861110
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
d14c26daf5
Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey
2014-09-05 14:28:43 -04:00
Mike Hommey
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
be14202b3d
Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv
2014-08-25 15:07:45 -04:00
Boris Zbarsky
30b87a2b87
Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv
2013-09-30 10:30:06 -04:00
Peter Van der Beken
63152eee22
Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
...
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Andrew McCreight
91d1b64fd1
Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz
2014-08-21 13:56:11 -07:00
Roshan Vidyashankar
2d98c38825
Bug 1038993
- Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv
2014-08-20 16:32:19 -07:00
Bobby Holley
b54ea00f0b
Bug 1036214 - Tests. r=bz
...
This whole test setup comes from bug 923904, so some of the things it's testing
need to be rejiggered (like the checkGlobal stuff).
2014-08-19 18:12:15 -07:00
Andrew McCreight
e2153edd1d
Bug 1048659 - Return the union we construct in a JS callback. r=peterv
2014-08-19 08:41:26 -07:00
Boris Zbarsky
3545a68bc5
Bug 1048437. Allow dictionary members with '-' in the name. r=khuey
2014-08-04 15:02:58 -04:00
Boris Zbarsky
b1c1e22da4
Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust
2014-08-01 23:37:14 -04:00
Ben Kelly
8866034d70
Bug 1025183
P5 Add tests for ScalarValueString. r=bz
2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6
Revert bug 1025183
(revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me
2014-08-01 14:10:40 -04:00
Ben Kelly
a38c3c73df
Bug 1025183
P5 Add tests for ScalarValueString. r=bz
2014-08-01 13:57:00 -04:00
Boris Zbarsky
fa2d6b3f15
Bug 1041646. Don't assume mStack is non-null in JSStackFrame, since people sometimes operate on them after unlinking. r=khuey
2014-07-26 01:41:18 -04:00
Andrea Marchesini
3d909148b5
Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer
2014-07-23 01:07:12 -04:00
Boris Zbarsky
eafe8cdc8f
Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff
2014-07-23 01:06:33 -04:00
Jan-Ivar Bruaroey
0cb75e0d47
Bug 1033833 - unbreak test_exceptions_from_jsimplemented.html. r=bz
2014-07-21 06:53:15 +02:00
Ms2ger
3b4a60ee80
Bug 1034204
- Implement unforgeable methods; r=bz
2014-07-04 15:02:10 +02:00
Ben Kelly
69fff9e05a
Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz
2014-06-25 10:25:09 -07:00
Boris Zbarsky
e62870aedd
Bug 1027667. Allow MozMap in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
ddcf724011
Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
764c9e0b63
Bug 767924 part 3. Allow sequences in unions. r=peterv
2014-06-23 16:03:57 -04:00
Boris Zbarsky
f8dc563a90
Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey
2014-06-23 16:03:57 -04:00
Nick Fitzgerald
98364a70c0
Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel
2014-06-20 13:09:00 -04:00
Ben Kelly
840e5ff4b5
Bug 1027256 P2 Add test case for ByteString union type. r=bz
2014-06-18 20:22:09 -04:00
Ben Kelly
85647df24b
Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz
2014-06-16 12:52:00 -04:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
c61e88da09
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
e7ef8d309c
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
02915bc252
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Bobby Holley
72ff075307
Bug 992958 - Fix test that depends on the order in which properties are enumerated. r=luke
2014-05-23 16:53:02 -07:00
Wes Kocher
5b516d6682
Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
...
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
f99ba38a95
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
8a365e4f4d
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
932dc0b698
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
9c3392475d
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
ad59a21b39
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
79dab91ff6
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
1da745b30f
Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey
2014-04-03 23:32:11 -04:00
Mike Hommey
cb1a0d7337
Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal
2014-04-02 11:52:04 +09:00
Neil Rashbrook
cf9b85f5a7
Bug 514280 Consistently declare and define IID accessors r=bsmedberg
2014-03-28 08:45:02 +00:00
Boris Zbarsky
dfbb146c5c
Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley
2014-03-25 22:48:46 -04:00
Boris Zbarsky
f64c8624be
Bug 983228. Add a sequence tracer for sequences of unions. r=baku
2014-03-14 14:51:22 -04:00
Boris Zbarsky
54faddbaf7
Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8
2014-03-14 14:51:06 -04:00
Vaibhav Agarwal
64e20261db
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Boris Zbarsky
720591b1f5
Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv
2014-03-05 22:48:03 -05:00
Boris Zbarsky
7ee245a69d
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Ehsan Akhgari
9df66916f4
Bug 973405 - Move some misc LOCAL_INCLUDES to moz.build; r=glandium
2014-02-18 08:49:12 -05:00
Bobby Holley
4de0b7d455
Bug 968335 - Tests. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
5b2f9328e7
Bug 923904 - Tests. r=mccr8
...
We land these before actually landing bug 923904, because we want to build the
tests for bug 968335 on top of the same infrastructure.
2014-02-14 22:36:43 -08:00
Phil Ringnalda
4d898ac6fc
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
4ea924c950
Bug 968335 - Tests. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
2ef77bb4c3
Bug 923904 - Tests. r=mccr8
...
We land these before actually landing bug 923904, because we want to build the
tests for bug 968335 on top of the same infrastructure.
2014-02-14 16:13:37 -08:00
Boris Zbarsky
c0e5c60b65
Bug 965927. [StoreInSlot] and [Cached] getters should use the reflector as the scope obj when wrapping the return value. r=peterv
2014-02-06 21:08:29 -05:00
Boris Zbarsky
5f98263d40
Bug 958667 part 5. Hook up AvailableIn for interface members. r=peterv
2014-02-05 13:38:17 -05:00