Commit Graph

1728 Commits

Author SHA1 Message Date
Olli Pettay
05466579d2 Bug 932886 - Stop doing slow getService bits in dom::GetCurrentJSStack, r=bz 2013-11-01 14:55:35 +02:00
Ed Morley
f5bf135341 Backed out changeset e697e7dcc321 (bug 932322) 2013-11-01 11:14:30 +00:00
Peter Van der Beken
ee8349f313 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 0225f25a61d1bffdae8eac4f82d7fe725a3af2df
2013-10-08 18:18:40 +02:00
Peter Van der Beken
3f0768ba00 Bug 932320 - Use JS_DefineProperty for replaceable properties. r=bz.
--HG--
extra : rebase_source : 89afe3e605ca66914912e1718e1558c8e266be32
2013-10-08 17:51:03 +02:00
Peter Van der Beken
a348044a35 Bug 932315 - Throw a different error when this-unwrapping fails for security reasons. r=bz.
--HG--
extra : rebase_source : a92639be64d8d591ea4c97955bc04e6047e0d027
2013-10-16 18:11:25 +02:00
Boris Zbarsky
792f1ad7f6 Bug 933087. Make sure we don't violate stack discipline for Rooted, even when playing Maybe<Rooted> games. r=khuey 2013-10-31 22:07:11 -04:00
Boris Zbarsky
6699bfa524 Bug 932998. Don't try to codegen code that keeps alive objects with 'owned' nativeOwnership, since we have no way to do that. r=smaug 2013-10-31 22:07:11 -04:00
Boris Zbarsky
dd5c49ee18 Bug 925737. Allow copy-constructing owning unions with safe enough members. r=peterv 2013-10-31 22:07:10 -04:00
Boris Zbarsky
7690d94087 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Boris Zbarsky
b4b08a6e79 Bug 882541 part 3. Rework the overload resolution algorithm to WebIDL spec changes in handling of optional arguments. r=khuey
The major changes are as follows:

1) The new algorithm no longer adjusts "argcount" based on the
   interaction of trailing undefined and [TreatUndefinedAs=Missing]
   arguments.  We never implemented this; just asserted that we didn't
   have to deal with this situation.

2) If the distinguishing argument is undefined and there is an
   overload that has an optional argument at the distinguishing
   argument index, that overload is selected.
2013-10-11 12:28:24 -04:00
Boris Zbarsky
c0b03f21a5 Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Boris Zbarsky
877e9ac717 Bug 882541 part 1. Don't require all arguments after an optional argument to be optional. r=khuey 2013-10-11 12:28:23 -04:00
Brian Hackett
dc28fb0d43 Bug 930048 - Remove need to read objects directly when optimizing singleton accesses, r=jandem. 2013-10-29 16:10:59 -06:00
Terrence Cole
9d043da8c4 Bug 926779 - Do not try to mark null TypedArrays; r=efaust 2013-10-28 09:37:58 -07:00
Boris Zbarsky
70192ce8ff Bug 924402. When an object that can only be returned from [NewObject] methods is used in a dictionary, just skip generating a ToObject for that dictionary. r=peterv 2013-10-28 19:34:08 -04:00
Mike Hommey
cf2b1d71d9 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Birunthan Mohanathas
7b51758e7a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Carsten "Tomcat" Book
e8e8b45530 Merge mozilla-central to mozilla-inbound 2013-10-28 13:03:52 +01:00
Eddy Bruel
874a5f30e3 Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey 2013-10-28 12:51:05 +01:00
Boris Zbarsky
77ea872b8d Bug 929512. Fix null default values for non-nullable unions containing a nullable type. r=dzbarsky, r=smaug pending 2013-10-28 00:33:15 -04:00
Jan-Ivar Bruaroey
65c121dae3 Bug 929530 - Remove peerConnection functionality deprecated w/warnings since 24 r=jesup,jib 2013-10-27 10:36:34 -04:00
Peter Van der Beken
69e7c5ae55 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Tom Schuster
ce701cf26f Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Ms2ger
88bbf03777 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Trevor Saunders
e4cd176c9e [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Peter Van der Beken
0a9c8db8f7 Bug 918351 - Support Replaceable WebIDL properties. r=bz.
--HG--
extra : rebase_source : 1b3ca397aa15641c1ee4c49912148d0a3bb5a640
2013-09-15 23:04:08 +02:00
Peter Van der Beken
18359b69c9 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 80791f28acbf8e2cc21946b0d62bb8555b53fc99
2013-09-30 18:32:22 +02:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Ed Morley
68a54dcb54 Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE 2013-10-23 15:51:48 +01:00
Ed Morley
050838bb2e Backed out changeset 7ba9be5d51df (bug 918351) 2013-10-23 15:51:24 +01:00
Peter Van der Beken
36133ae0ce Bug 918351 - Support Replaceable WebIDL properties. r=bz.
--HG--
extra : rebase_source : 8c87e06ddb168d76e300d71b4784d1fb508e398a
2013-09-15 23:04:08 +02:00
Peter Van der Beken
985a143c28 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 2c09c54f42a111d27b0d57346ca7d80f440eca09
2013-09-30 18:32:22 +02:00
Andrew McCreight
111f7ebdfa Bug 911333 - Only set customTrace to true on workers. r=khuey 2013-10-17 06:24:22 -07:00
Bobby Holley
d23fe1a7b3 Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd 2013-10-23 14:02:42 +02:00
Wes Kocher
348cfdc998 Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Vicamo Yang
8095b80694 Bug 814556 - 1/2: Move mozilla::dom::icc::* to mozilla::dom. r=khuey, f=Ms2ger 2013-10-22 19:23:00 +08:00
Trevor Saunders
d33d8939a0 Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders
aba3fa9503 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Steve Fink
aa953866aa Bug 925916 - Revert computThis() to thisv(). r=bz
--HG--
extra : rebase_source : 9de03d5a7c8867f92984eee80a185ca3f3c0f764
2013-10-21 10:52:22 -07:00
Tom Schuster
c4c16b0062 Bug 884410 - Remove JS_ValueToNumber. r=terrence 2013-10-19 18:39:52 +02:00
Andrea Marchesini
f703a01ee7 Bug 927735 - TypeError check for URL API. r=ehsan 2013-10-18 10:17:03 -04:00
Tareq Khandaker
c7ac49717a Bug 924397 - WebIDL parser doesn't specify file when encountering syntax error at end of file. r=jdm 2013-10-18 10:17:00 -04:00
Steve Fink
4c4942bd9b Bug 925916 - Random minor code cleanups, r=smaug 2013-10-15 15:34:13 -07:00
Steve Fink
bb8984ec75 Bug 925916 - Add some handles to dom/bindings, r=bz
--HG--
extra : rebase_source : 2443d2b988dea432c4961e8b042b0288e1dc7016
2013-10-11 22:02:39 -07:00
Andy Wingo
c9977b2ad9 Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
--HG--
extra : rebase_source : d67252851178e66e8d7ef82ef83edddf79535a4e
2013-10-17 12:10:02 +02:00
Bobby Holley
5c32c180a4 Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap 2013-10-17 10:00:02 +02:00
Mike Hommey
346ab641f4 Bug 924992 - Use an absolute path for DIST for webidl generated headers install. r=gps 2013-10-17 07:55:18 +09:00
Ed Morley
78777d624f Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00