Commit Graph

1970 Commits

Author SHA1 Message Date
Boris Zbarsky
4eb56cc9c3 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
156b3eac57 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
25cf962b2d 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
09065fc560 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
fb4e1bc872 Bug 930048 - Remove need to read objects directly when optimizing singleton accesses, r=jandem. 2013-10-29 16:10:59 -06:00
Terrence Cole
2986465290 Bug 926779 - Do not try to mark null TypedArrays; r=efaust 2013-10-28 09:37:58 -07:00
Boris Zbarsky
1cb104402c 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
40d13924dc Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Birunthan Mohanathas
7a599eb1ae Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Carsten "Tomcat" Book
5a55e3b9b9 Merge mozilla-central to mozilla-inbound 2013-10-28 13:03:52 +01:00
Eddy Bruel
850a7bf5fc Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey 2013-10-28 12:51:05 +01:00
Boris Zbarsky
2eadd266c9 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
c44142852e 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
cbf7a0c800 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
306cb13efc Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Ms2ger
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace 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
d3d322d222 [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
38d30fb01d 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
b50d1036df 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
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Ed Morley
bf1cce39c0 Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE 2013-10-23 15:51:48 +01:00
Ed Morley
1632a33fb7 Backed out changeset 7ba9be5d51df (bug 918351) 2013-10-23 15:51:24 +01:00
Peter Van der Beken
c8fc50a8b7 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
2833cfc42b 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
7845d52aa6 Bug 911333 - Only set customTrace to true on workers. r=khuey 2013-10-17 06:24:22 -07:00
Bobby Holley
5ea4684195 Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd 2013-10-23 14:02:42 +02:00
Wes Kocher
abc9a053f3 Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Vicamo Yang
0af7b1d4de 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
b61d74dae0 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
4898a4f035 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Steve Fink
5a483a53e6 Bug 925916 - Revert computThis() to thisv(). r=bz
--HG--
extra : rebase_source : 9de03d5a7c8867f92984eee80a185ca3f3c0f764
2013-10-21 10:52:22 -07:00
Tom Schuster
4211e63a73 Bug 884410 - Remove JS_ValueToNumber. r=terrence 2013-10-19 18:39:52 +02:00
Andrea Marchesini
164582e714 Bug 927735 - TypeError check for URL API. r=ehsan 2013-10-18 10:17:03 -04:00
Tareq Khandaker
3062977bde 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
123565e1c6 Bug 925916 - Random minor code cleanups, r=smaug 2013-10-15 15:34:13 -07:00
Steve Fink
76e5f386d2 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
c7fe19aa1f 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
77b2db9b9b Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap 2013-10-17 10:00:02 +02:00
Mike Hommey
8df28a7858 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
d2181e5021 Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00
Dan Glastonbury
5fef90e0a1 Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
2013-10-16 08:27:59 -04:00
Tom Schuster
a513788fdb Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Wes Kocher
76de2fbfd9 Merge m-c to b-i 2013-10-14 19:12:25 -07:00
Deian Stefan
b7f78d6174 Bug 919209 - Throw re-reports exception onto context. r=bholley 2013-10-09 14:43:15 -07:00
Ryan VanderMeulen
e9e247b525 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Ed Morley
75326b6657 Merge latest green inbound changeset and mozilla-central 2013-10-14 17:39:02 +01:00
Ed Morley
729afbec8a Backed out changeset 877a227c502f (bug 882541) for causing bug 926305 2013-10-14 17:31:06 +01:00
Ed Morley
c7cd6440df Backed out changeset d8636e485e85 (bug 882541) 2013-10-14 17:30:49 +01:00
Ed Morley
a2b751decd Backed out changeset 61092280cb2a (bug 882541) 2013-10-14 17:30:46 +01:00
Ed Morley
566ebb2848 Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Kyle Huey
09462c8153 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 19:58:05 +08:00
Phil Ringnalda
7f4c6bd321 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
40ab109140 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 11:10:43 +08:00
Ryan VanderMeulen
c647082ccb Merge m-c to inbound. 2013-10-14 14:43:11 -04:00
Jan-Ivar Bruaroey
c81e140873 Bug 917328: Second, convert PeerConnectionImpl and PeerConnectionObserver to webidl. r=bz, rjesup 2013-10-14 12:53:56 -04:00
Boris Zbarsky
44bf9cd737 Bug 925495 part 1. Move DOMString out to a separate header. r=smaug 2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
67e741a578 Backed out changesets 46029c9fbfe4 and 6114164c3d1b (bug 925495) for OSX (at least) crashes. 2013-10-11 13:38:28 -04:00
Boris Zbarsky
cf941f0cb7 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
52f5e9cc62 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
72d31f23db 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
d5db8a8998 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
Boris Zbarsky
4ea846949b Bug 925495 part 1. Move DOMString out to a separate header. r=smaug 2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
5669fdc343 Merge m-c to inbound.
CLOSED TREE
2013-10-09 15:34:02 -04:00
Boris Zbarsky
292cd8ec2a Bug 817194 followup to work around emergent namespace+template MSVC bugginess: it was seeing mozilla::dom::detail in TypeTraits.h because it looks at namespaces at template _instantiation_, not declaration. Or something. Leading, of course, to a CLOSED TREE. 2013-10-09 14:12:17 -04:00
Boris Zbarsky
48ef79b3bb Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Vicamo Yang
887b99bdb7 Bug 922531: remove dummy entries from dom/bindings/Bindings.conf. r=Ms2ger 2013-10-09 14:32:45 +08:00
Reuben Morais
6d37cb18c3 Backed out 2 changesets (bug 899574) for breaking Gaia tests
--HG--
rename : dom/tests/mochitest/notification/desktop-notification/create_notification.html => dom/tests/mochitest/notification/create_notification.html
rename : dom/tests/mochitest/notification/desktop-notification/notification_common.js => dom/tests/mochitest/notification/notification_common.js
rename : dom/tests/mochitest/notification/desktop-notification/test_basic_notification.html => dom/tests/mochitest/notification/test_basic_notification.html
rename : dom/tests/mochitest/notification/desktop-notification/test_basic_notification_click.html => dom/tests/mochitest/notification/test_basic_notification_click.html
rename : dom/tests/mochitest/notification/desktop-notification/test_leak_windowClose.html => dom/tests/mochitest/notification/test_leak_windowClose.html
rename : dom/tests/mochitest/notification/desktop-notification/test_notification_tag.html => dom/tests/mochitest/notification/test_notification_tag.html
rename : dom/tests/mochitest/notification/desktop-notification/test_system_principal.xul => dom/tests/mochitest/notification/test_system_principal.xul
2013-10-07 14:41:13 -04:00
Michael Henretty
f5b19a2f64 Bug 899574 - Part 2, add Notification.get() with notification storage. r=bent
--HG--
rename : dom/tests/mochitest/notification/create_notification.html => dom/tests/mochitest/notification/desktop-notification/create_notification.html
rename : dom/tests/mochitest/notification/notification_common.js => dom/tests/mochitest/notification/desktop-notification/notification_common.js
rename : dom/tests/mochitest/notification/test_basic_notification.html => dom/tests/mochitest/notification/desktop-notification/test_basic_notification.html
rename : dom/tests/mochitest/notification/test_basic_notification_click.html => dom/tests/mochitest/notification/desktop-notification/test_basic_notification_click.html
rename : dom/tests/mochitest/notification/test_leak_windowClose.html => dom/tests/mochitest/notification/desktop-notification/test_leak_windowClose.html
rename : dom/tests/mochitest/notification/test_notification_tag.html => dom/tests/mochitest/notification/desktop-notification/test_notification_tag.html
rename : dom/tests/mochitest/notification/test_system_principal.xul => dom/tests/mochitest/notification/desktop-notification/test_system_principal.xul
2013-10-02 18:27:53 -07:00
Bobby Holley
24a81075ee Bug 921448 - Remove FunctionProxyObjects. r=ejpbruel
\o/
2013-10-04 13:29:34 +02:00
Andy Wingo
cd02ba5f52 Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden 2013-10-03 13:37:57 +01:00
Boris Zbarsky
00e9ca7625 Bug 923010. When rethrowing exceptions from JS-implemented components to content script, make sure to give them a useful filename and line number, pointing to the content script location that triggered the exception. r=peterv 2013-10-03 08:34:47 -04:00
Ms2ger
bc14e4aa9c Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
cefa43a749 Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Ed Morley
2c635d5d0c Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures 2013-10-09 17:48:13 +01:00
Boris Zbarsky
cf8ba5ee47 Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Ben Turner
7b97102c91 Bug 643325 - Implement SharedWorker. r=khuey.
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Robert O'Callahan
7f8b1af70b Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Ryan VanderMeulen
c8692e0e46 Backed out changesets 6d72b823b67f and acdff324d588 (bug 907077) for ASAN debug jit-test failures. 2013-10-01 16:18:39 -04:00
Andy Wingo
bd6beb59f8 Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
--HG--
extra : rebase_source : 93c5b9d6a28a42468d9ca9ac7da3b4e1b6d92820
2013-10-01 06:25:00 +02:00
Andrew McCreight
e6a955ab27 Bug 920840 - Crash when JS-implemented WebIDL's init method returns a value other than undefined. r=bz 2013-09-26 16:46:42 -07:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Wesley Chalmers
8c99b75810 Bug 891537. WebIDL now includes 2**53 and -2**53 as valid values for long long (and for unsigned long long, in the case of 2**53). r=bzbarsky 2013-09-30 10:37:28 -04:00
Boris Zbarsky
51daf6d4ad Bug 921553. Fix some binding rooting hazards that have popped up. r=peterv 2013-09-30 10:29:10 -04:00
Gregory Szorc
e53ac5e38d Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273 Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
cabc6369a6 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Kyle Huey
d82944e686 Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz 2013-09-30 12:15:37 +08:00
Kyle Huey
067126c359 Back out bug 919457 for build bustage. r=me 2013-09-30 10:41:23 +08:00
Kyle Huey
60f7948e75 Backed out changeset db16370f7cce 2013-09-30 10:39:33 +08:00
Kyle Huey
7df433eefc Bug 919457: Followup to fix bustage. r=me 2013-09-30 10:11:20 +08:00
Kyle Huey
b9565ad1bf Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz 2013-09-30 09:37:26 +08:00
Jan Varga
8d28f23732 Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Olli Pettay
bd0144e1cb Bug 637248, Make Event.isTrusted Unforgeable, r=bz
--HG--
extra : rebase_source : 3edd919c6dac839d6082c1c73de88f9ba2d22146
2013-09-28 13:27:29 +03:00
Ryan VanderMeulen
66d481fff9 Backed out changeset 6d0b41d53c32 (bug 920840) for B2G mochitest-3 timeouts.
CLOSED TREE
2013-09-27 18:00:59 -04:00
Andrew McCreight
232783c6e4 Bug 920840 - Crash when JS-implemented WebIDL's init method returns a value other than undefined. r=bz 2013-09-26 16:46:42 -07:00
Gregory Szorc
9d660cc01b Bug 921070 - Remove precompile tier; r=glandium
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
Nathan Froyd
b6fa6a247d Bug 907789 - part 3 - build dom/bindings/ in "unified" mode; r=gps 2013-09-23 13:17:41 -04:00
Andy Wingo
22c73af975 Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz 2013-09-26 10:11:38 -04:00
Boris Zbarsky
0d7363ed48 Bug 920730. Output the WebIDL .deps files in a consistent order. r=glandium 2013-09-26 00:05:00 -04:00
Boris Zbarsky
c159cdefab Bug 918011 part 4. Support dictionaries in unions. r=smaug 2013-09-26 00:05:00 -04:00
Boris Zbarsky
8df84df9c2 Bug 918011 part 3. Get rid of isInOwningUnion: it's equivalent to another isMember value. r=smaug 2013-09-26 00:05:00 -04:00
Boris Zbarsky
13a0246db7 Bug 918011 part 2. Preprocess some of our test WebIDL files so we can have debug-only tests. r=khuey 2013-09-26 00:05:00 -04:00
Boris Zbarsky
e769b028c7 Bug 918011 part 1. Move RootedDictionary into its own header. r=smaug
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/RootedDictionary.h
2013-09-26 00:04:59 -04:00
Boris Zbarsky
191073b8c9 Bug 919603 part 2. Change this-handling in codegen to only do the special global object stuff on interfaces where it might matter. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
1f09193dbe Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
1f4ea61007 Bug 920125. getOwnPropertyDescriptor on Xrays for DOM interface and prototype objects should actually work. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
a041761e19 Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv 2013-09-25 14:38:29 -04:00
Ryan VanderMeulen
72c8f599cd Backed out 5 changesets (bug 905493, bug 920125, bug 919603) for mochitest orange on a CLOSED TREE.
Backed out changeset ccef656b2973 (bug 919603)
Backed out changeset 4b29ce0b2fff (bug 919603)
Backed out changeset b0a051ec55b7 (bug 919603)
Backed out changeset baa9a774aad1 (bug 920125)
Backed out changeset e03276bf4eaa (bug 905493)
2013-09-25 18:22:33 -04:00
Boris Zbarsky
6201a817fb Bug 919603 part 2. Change this-handling in codegen to only do the special global object stuff on interfaces where it might matter. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
d27335bc59 Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
9aecf1e30c Bug 920125. getOwnPropertyDescriptor on Xrays for DOM interface and prototype objects should actually work. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
9ed67107a4 Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv 2013-09-25 14:38:29 -04:00
Peter Van der Beken
c996f76260 Bug 920196 - Make QueryInterface opt-in for WebIDL interfaces. r=bz.
--HG--
extra : rebase_source : 4cf7f9dc90f234dd663da05f27c0dc9484c7c0e1
2013-09-24 21:37:53 +02:00
Boris Zbarsky
bd12c91005 Bug 920209. Use nsAutoString in DOMString, to reduce allocations. r=smaug 2013-09-24 22:56:18 -04:00
Jan Varga
a05ab9bf62 Bug 919268 - Add codegen for worker-only WebIDL callbacks. r=bz 2013-09-24 21:32:01 +02:00
Dan Gohman
df2b7be805 Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
0e7da39b9e Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
aa74f0120c Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Boris Zbarsky
ac15921ffc Bug 919705. Don't ever claim that jsImplemented things are single-operation interfaces. r=mccr8 2013-09-23 23:11:45 -04:00
Boris Zbarsky
318d50cd70 Bug 862627 part 2. Rip out some now-dead codegen code. r=smaug 2013-09-23 20:25:17 -04:00
Boris Zbarsky
145b4483f7 Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug 2013-09-23 20:25:17 -04:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Rick Eyre
5e94197e01 Bug 917945 - Part 1: Expose TextTrackRegion* as VTTRegion*. r=rillian, r=bz
--HG--
rename : dom/webidl/TextTrackRegion.webidl => dom/webidl/VTTRegion.webidl
rename : dom/webidl/TextTrackRegionList.webidl => dom/webidl/VTTRegionList.webidl
2013-09-20 14:42:35 -04:00
Kyle Huey
20ca8da458 Bug 914014: Use WrapObject to wrap nsIExceptions rather than manual XPConnect gunk. r=bz 2013-09-23 11:35:09 +08:00
Boris Zbarsky
e93e4f4ce6 Bug 918450. Back out the fix for bug 911333, since trace hooks are in fact used in workers. r=khuey 2013-09-20 11:15:39 -04:00
Peter Van der Beken
eb3a8d8225 Bug 912955 - Remove some implicitJSContext annotations. r=bz.
--HG--
extra : rebase_source : 406dd7104924cb6767b2a6cbb0d05afae493ba52
2013-08-23 11:22:29 +02:00
Boris Zbarsky
78891d8297 Bug 917958 part 2. Simplify our various typeNeedsCx stuff, now that it's the same on workers and mainthread. r=smaug 2013-09-20 01:07:10 -04:00
Boris Zbarsky
7370c94e13 Bug 917958 part 1. Stop using JSObject* to represent WebIDL callback functions in workers. r=smaug 2013-09-20 01:07:03 -04:00
Boris Zbarsky
14d8b1d3f9 Bug 917539. Move the JSCompartment argument to the end of the list for JS-implemented WebIDL, so C++ callers can call into it sanely too. r=peterv 2013-09-20 01:07:03 -04:00
Benoit Jacob
eeccdc3ba1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Jon Coppeard
bc6335ade3 Bug 917295 - GC: Handlify public date APIs r=terrence r=bz 2013-09-19 08:54:01 +01:00
Jon Coppeard
38b602931b Bug 917798 - Handlify JS exception APIs r=terrence r=bz 2013-09-19 08:54:01 +01:00
Wes Kocher
0ef93db36c Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
0fa6114162 Bug 913852 - BindingUtils.h doesn't need to include <algorithm> - r=bz 2013-09-18 18:50:32 -04:00
Benoit Jacob
6560634fb1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Vendelin Ruzicka
900efea232 Bug 917410: Add specializations of Optional for 'any' and 'object' types for callbacks in workers to bindings code. r=bz 2013-09-18 06:47:08 +02:00
Terrence Cole
b25c74c014 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Boris Zbarsky
ef66ca3e72 Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky 2013-09-17 11:16:02 -04:00
Ehsan Akhgari
e33789d856 Bug 915524 - Implement AudioBuffer.copyFromChannel and AudioBuffer.copyToChannel; r=roc 2013-09-17 07:30:32 -04:00
Olli Pettay
26adc1f0cf Bug 915622, make generated events to have same dependencies as generated bindings, r=khuey
--HG--
extra : rebase_source : c285e140e66bbea365d0b8a2ad13fd87828f8ac7
2013-09-16 13:06:15 +03:00
Randell Jesup
b9b7fe21d3 Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz 2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
f1c45fb9f7 Backed out changesets bc4ee7cbd7bd and cf373e408a6b (bug 882145) for causing bug 916609. r=jsmith 2013-09-15 18:19:42 -04:00
Jan-Ivar Bruaroey
251d4428cf Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup 2013-09-14 00:48:39 -04:00
Boris Zbarsky
88c79c7eb5 Bug 915368. Give dictionaries copy constructors and assignment operators when it's safe. r=khuey 2013-09-13 13:21:59 -04:00
Boris Zbarsky
81ea40a161 Bug 915419. Add support for "object" types in owning unions (so union return values and unions in dictionaries and sequences. r=dzbarsky, smaug
Adds RootedUnion and NullableRootedUnion structs that are used on the
stack for union return values when the union needs rooting.  It also
adds a TraceUnion method on union return values, which is called by
(Nullable)RootedUnion or by dictionary tracing.  TraceUnion traces
typed array and object members of unions (the only things unions can
contain so far that might need tracing).  Union return values are
changed to store raw JSObject* or typed array structs instead of
Rooted versions of both; the tracing is now handled via TraceUnion.

The wrapping code for dictionary arguments to constructors is fixed to
actually work.  This required adding GetAs* methods to union return
values that return references to the internal data.

The SetToObject method is adjusted to actually work for union return
value structs and not assume it's being generated for a
union-conversion struct, and we now generate SetToObject methods as
needed for union return values.
2013-09-12 22:34:16 -04:00
Boris Zbarsky
83e0e3b10b Bug 915100. Make sure to actually include the headers we need in UnionTypes.h. r=khuey 2013-09-11 23:19:07 -04:00
Ryan VanderMeulen
1f1fb8a044 Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
ce0f027f99 Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Vicamo Yang
fa6e665552 Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey 2013-09-12 05:47:14 +02:00
David Zbarsky
2dc2a0b269 Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger
--HG--
rename : dom/power/nsIDOMPowerManager.idl => dom/webidl/MozPowerManager.webidl
2013-09-10 19:03:56 -04:00
Olli Pettay
9a59871760 Bug 900904 - Support webidl-only generated events, r=khuey,gps
--HG--
extra : rebase_source : cda37d1ae2ff9b969d081fe0ec103d4f07098a3b
2013-09-10 21:27:39 +03:00
Olli Pettay
f805ec81b0 Bug 910910 - Enable Event ctors in workers, r=khuey
--HG--
extra : rebase_source : 983d01d13aa66a8499350a4960b5913b22c9783a
2013-09-10 21:27:32 +03:00
Ehsan Akhgari
785ba10739 Bug 914621 - #include OwningNonNull.h in BindingDeclarations.h; r=bzbarsky 2013-09-10 18:06:46 +02:00
Andrew McCreight
4b379d5d4a Bug 911333 - Remove customTrace from bindings codegen. r=bz 2013-09-10 08:29:44 -07:00
Andrew McCreight
244c96a5bf Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Nathan Froyd
3a2dcdf72f Bug 912197 - part 5 - move WebIDL.mk over to moz.build; r=khuey 2013-09-05 11:20:26 -04:00
Ms2ger
d26571cff4 Merge last PGO-green inbound changeset to m-c.
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 10:13:12 +02:00
Ms2ger
91c313e902 Bug 913923 - Part c: Stop including BindingUtils.h in UnionTypes.h; r=dzbarsky 2013-09-10 09:03:38 +02:00
Ms2ger
1c16df3e56 Bug 913923 - Part b: Move OwningNonNull into its own header; r=dzbarsky
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 09:03:37 +02:00
Ms2ger
eb01beb01a Bug 913923 - Part a: Move UnionMember into its own header; r=dzbarsky 2013-09-10 09:03:37 +02:00
Boris Zbarsky
79caa1e2e2 Bug 914334. Change codegen to reflect EventListener as a WebIDL callback on workers. r=khuey 2013-09-09 22:10:45 -04:00
Boris Zbarsky
ee67f31014 Bug 912948 part 2. Add support for [Clamp] and [EnforceRange] on writable attributes. r=khuey 2013-09-09 22:10:45 -04:00
Boris Zbarsky
ea5f461f1b Bug 912948 part 1. Add support for [Clamp] and [EnforceRange] on dictionary members. r=khuey 2013-09-09 22:10:44 -04:00
Ryan VanderMeulen
e646ffe2a9 Backed out 10 changesets (bug 914944, bug 871445) for mochitest failures on a CLOSED TREE.
Backed out changeset a840638b5b18 (bug 914944)
Backed out changeset f40c7d5790bd (bug 914944)
Backed out changeset e1b288e29663 (bug 871445)
Backed out changeset 6242ddf7b6c7 (bug 871445)
Backed out changeset 7679185a8cf3 (bug 871445)
Backed out changeset 639ec7a627f8 (bug 871445)
Backed out changeset 93b050a79db4 (bug 871445)
Backed out changeset ec3382ceef99 (bug 871445)
Backed out changeset 51c0d5230306 (bug 871445)
Backed out changeset 76c9069bdb56 (bug 871445)
2013-09-11 11:45:51 -04:00
David Zbarsky
7f2de5285c Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
David Zbarsky
e1c60f464d Bug 856373 - WebIDL-ify Gamepad events r=smaug 2013-09-11 18:35:51 -04:00
David Zbarsky
ee4bab6bcb Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
David Zbarsky
9f95502cf2 Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Jan Varga
c5d294a60c Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Nicholas Nethercote
3e6eda137c Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence. 2013-09-02 22:01:18 -07:00
Kyle Huey
27e346e22d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
d423a6350e Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Kyle Huey
e6f82a681d Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Kyle Huey
abebd382da Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Vicamo Yang
e9a47488e4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
b244547589 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
ad4ed2d45b Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Ryan VanderMeulen
d32d9ebb4d Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Ed Morley
b8995a71d5 Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
098c3f7141 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Ed Morley
a7f0c8ab55 Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Vicamo Yang
349d13eac4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Ms2ger
cc684ba888 Bug 909003 - Part a: Add missing includes to TypedArray.h; r=bz 2013-09-06 08:43:04 +02:00
Ms2ger
12a18832e3 Bug 903772 - Add a license header to AtomList.h; r=khuey 2013-09-06 08:42:57 +02:00
Ehsan Akhgari
36280b9569 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Ms2ger
4abf38566a Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Boris Zbarsky
2df33d9902 Bug 910795 part 2. Use the new Rebind() setup to avoid creating string copies for variadic string arguments. r=smaug 2013-09-04 16:43:12 -04:00
Peter Van der Beken
bfe397843a Bug 905392 - Need way to throw web-console-visible exception-message from JS-implemented webidl object - bustage fix on a CLOSED TREE. 2013-09-06 15:27:25 +02:00
Peter Van der Beken
dcf5712030 Bug 905392 - Need way to throw web-console-visible exception-message from JS-implemented webidl object. r=bz. 2013-09-03 14:01:53 +02:00
Andrea Marchesini
4715ba2404 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Gregory Szorc
7693c5688d Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
271703650a Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
f10d205e39 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Ryan VanderMeulen
f32d0c6006 Merge m-c to inbound. 2013-09-03 17:43:47 -04:00
Ryan VanderMeulen
ec74045b5e Merge inbound to m-c. 2013-09-03 17:40:56 -04:00
Jose Antonio Olivera Ortega
ff65edd28f Bug 888593 - Move MozVoicemail to WebIDL. r=Ms2ger
--HG--
rename : dom/voicemail/nsIDOMMozVoicemail.idl => dom/webidl/MozVoicemail.webidl
2013-09-03 16:38:53 +02:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Boris Zbarsky
59c5d59f3d Bug 910220 part 3. Always generate a defineProperty hook for DOM proxies. r=peterv 2013-08-31 00:21:31 -04:00
Boris Zbarsky
62979a5a64 Bug 910220 part 2. Use the new API in codegen to only throw when needed. r=peterv 2013-08-31 00:21:28 -04:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Kyle Huey
22a367d0fe Bug 909563: Part 3 - Rename nsDOMParser and drop Bindings.conf annotations. r=bz
--HG--
rename : content/base/src/nsDOMParser.cpp => content/base/src/DOMParser.cpp
rename : content/base/src/nsDOMParser.h => content/base/src/DOMParser.h
2013-08-30 10:16:32 -07:00
Kyle Huey
e131a8afed Bug 909563: Part 2 - Remove a couple unneeded annotations. r=bz 2013-08-30 10:14:19 -07:00
Kyle Huey
cf54026bfa Bug 909563: Part 1 - Fix whitespace in Bindings.conf. r=bz 2013-08-30 10:13:20 -07:00
Nicholas Nethercote
6ed33677cf Bug 912411 (part 1) - Removed some jsapi.h includes in Gecko. r=bz.
--HG--
extra : rebase_source : c0b73945bcd6978a616fd846e33e69fae9162d78
2013-09-05 16:08:06 -07:00
Nikhil Marathe
f10d854d1c Bug 901291 - Get WebIDL callbacks working on Workers. r=khuey 2013-09-09 14:58:29 -07:00
David Zbarsky
495585d260 Bug 767926 - Implement unions as member types of sequences or dictionaries for WebIDL r=bz 2013-09-09 14:39:17 -04:00
David Zbarsky
df9126512e Bug 903277. Support default values other than null for WebIDL unions. r=bzbarsky 2013-08-29 23:29:38 -04:00
Guillaume Abadie
3df9431ee1 Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
f3b02482a7 Backed out changeset a58d895d8197 (bug 645792) for OSX leaks. 2013-08-29 13:46:10 -04:00
Guillaume Abadie
d07c89b64a bug 645792 - replace throwing an exception by returning null on HTMLCanvasElement::GetContext - r=bjacob 2013-08-29 10:14:22 -04:00
Nicholas Nethercote
16028f5e8f Bug 909514 (follow-up) - Remove unnecessary |#include "jsapi.h"| from BindingDeclarations.h. r=bz.
--HG--
extra : rebase_source : 10c9aa3cb7cdc0892c5c07d93adfc23a0bec904d
2013-08-28 02:37:08 -07:00
Nicholas Nethercote
57b389b877 Bug 910109 (part 1) - Make jsproxy.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : bc2fa911e3a7feaafb778b756994e126257585a7
2013-08-28 17:20:24 -07:00
Boris Zbarsky
84f9727c0b Bug 909863. Add support for the [SameObject] extended attribute in WebIDL. r=khuey 2013-08-29 00:30:05 -04:00
Boris Zbarsky
0beb169c43 Bug 901116. Give a better error message if the same name is typedeffed twice in WebIDL. r=khuey
We could also switch typedefs to using IDLWrapperType, but this seems like a smaller and still-sane change.
2013-08-29 00:30:05 -04:00
Boris Zbarsky
4b85e5c1ce Bug 868799 part 3. Use RootedTypedArray in codegen. r=smaug 2013-08-29 00:30:05 -04:00
Boris Zbarsky
b208c4d50c Bug 868799 part 2. Disallow copy-construction of typed array structs, so people can't accidentally pass them by value and end up unrooted. r=smaug 2013-08-29 00:30:05 -04:00
Boris Zbarsky
b3c31c681b Bug 868799 part 1. Introduce a RootedTypedArray class. r=terrence 2013-08-29 00:30:04 -04:00
Ryan VanderMeulen
9948a99c52 Backed out changeset 70153e30c826 (bug 823822) for bringing back the crashtest failures it was supposed to be fixing.
CLOSED TREE
2013-08-28 20:52:02 -04:00
Ben Turner
768f21b850 Bug 823822 - Reenable test and fix worker assertion. 2013-08-28 16:36:20 -07:00
Rick Eyre
73c2f74ef5 Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.

--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00
Ryan VanderMeulen
09758b1d7c Bug 823822 - Disable 769464.html for leaking asserts into other tests on a CLOSED TREE. 2013-08-28 16:33:25 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky
1aa53527ae Bug 909639 part 4. Make previously-unconditional headers conditional. r=smaug 2013-08-28 00:14:56 -04:00
Boris Zbarsky
d1e08c5965 Bug 909639 part 3. Move our various conditional headers to the new bindingHeaders setup. r=smaug 2013-08-28 00:14:56 -04:00
Boris Zbarsky
724e752730 Bug 909639 part 2. Refactor our computation of whether we need the nsDOMQS header to make it easier to do similar other things. r=smaug 2013-08-28 00:14:56 -04:00
Boris Zbarsky
9251e1f63c Bug 909639 part 1. Refactor callForEachType to return a generator so we can use it more easily, and rename it to getAllTypes. r=smaug 2013-08-28 00:14:56 -04:00
Boris Zbarsky
2061c6aa27 Bug 909415. Fix binding .pp files to not overbuild due to listing dependencies for the wrong file. r=khuey 2013-08-28 00:14:55 -04:00
Andrew McCreight
69fc8f5296 Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Justin Lebar
a12ca3e4e8 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Jeff Walden
8d060b4ef5 Bug 908898 - Move the JS_PS{G,GS,_END} macros from jsobj.h into jsapi.h for general use. r=jorendorff 2013-08-21 15:33:11 -07:00
Andrew McCreight
ccacde7823 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07:00
Ed Morley
8a739b3a0e Merge mozilla-central and inbound 2013-08-27 15:20:06 +01:00
Andrew Quartey
746da825f0 Bug 909285 - Fix WebGLActiveInfo Bindings.conf 'headerFile' descriptor. r=Ms2ger 2013-08-27 09:01:45 -04:00
Vicamo Yang
8e3aab1af3 Bug 865403 - Move MozCellBroadcast to WebIDL. r=Ms2ger
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcast.idl => dom/webidl/MozCellBroadcast.webidl
2013-08-27 11:38:37 +08:00
Trevor Saunders
6d4bc4993b bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Nathan Froyd
dace19ab2b Bug 909328 - make NativePropertyHook pointers resolvable at compile-time, rather than run-time; r=bz 2013-08-26 12:35:28 -04:00
Boris Zbarsky
ea46bf3d63 Bug 908837. Include a bit less stuff in binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Boris Zbarsky
f9dfbe132d Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Boris Zbarsky
f80a9893ef Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
bb11190a02 Bug 908576 part 5. Make GetProtoObject and GetConstructorObject not inline so they don't force us to include PrototypeList.h in all binding headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
1b0c4c3b11 Bug 908576 part 4. Move all the PrototypeTraits bits into PrototypeList.h so they don't force us to include that header in all binding headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
a912d1fc13 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
98ea7295a7 Bug 908576 part 2. Move DOMClass/DOMJSClass declarations out of binding headers. r=smaug 2013-08-23 22:42:40 -04:00
Boris Zbarsky
3fcd503298 Bug 908576 part 1. Remove unused Is() method from proxy bindings. r=smaug 2013-08-23 22:42:40 -04:00
Boris Zbarsky
b89190851a Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
253a8c8d80 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
David Zbarsky
652adbc633 Bug 905542: IsNull/SetNull functions for nullable unions should have bodyInHeader=True to prevent compiler warnings r=Ms2ger 2013-08-23 13:56:20 -04:00
Kyle Huey
4fd557dbb9 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
00fed9eba7 Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
24e5819315 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
8be1b490aa Bug 903772: Part 7 - Remove the worker thread TextEncoder implementation. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey
93c05d0f88 Bug 903772: Part 5 - Remove the worker TextDecoder implementation. r=emk 2013-08-22 22:17:09 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey
822635ee88 Bug 903772: Part 2 - Fix codegen ctor return value handling. r=peterv 2013-08-22 22:17:07 -07:00
Kyle Huey
98cc114fd5 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Mike Hommey
3e16a0d1dd Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Boris Zbarsky
3da3c1d677 Bug 907727. Make sure to properly forward gets to the expando object for DOM proxies. r=peterv 2013-08-22 09:46:27 -04:00
Boris Zbarsky
020c60655d Bug 907548. URL.prototype should be undefined, since we don't implement the URL API. r=khuey 2013-08-22 09:46:26 -04:00
David Zbarsky
91a3fea017 Bug 883493: Make CGUnionConversionStruct use CGClass r=bz 2013-08-22 09:27:04 -04:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
d329ccb29b Bug 907605 - Remove BindingUtils.h include from PrimitiveConversions.h; r=bz 2013-08-22 08:34:48 +02:00
Ms2ger
ce99c00e31 Bug 903778 - Move dom::Date into its own files; r=khuey 2013-08-22 08:30:38 +02:00
Ryan VanderMeulen
11b14acefd Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Nathan Froyd
2fd9a66189 Bug 907749 - move -Wno-uninitialized addition to CXXFLAGS after including rules.mk; r=khuey 2013-08-21 10:49:45 -04:00
Ed Morley
ae0d962225 Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Bobby Holley
12e2bef827 Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz 2013-08-20 21:21:00 -07:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Hsin-Yi Tsai
c54da43905 Bug 772765 - Conference call - part1 - webidl. sr=sicking, r=bent 2013-07-20 14:46:35 +08:00
Ehsan Akhgari
d3e93cd446 Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc 2013-08-19 11:53:00 -07:00
Trevor Saunders
2dc15004c6 bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug 2013-08-14 18:04:24 -04:00
Bobby Holley
ecce09df53 Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap 2013-08-14 14:00:03 -07:00
Brian O'Keefe
3fd496e231 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Guillaume Abadie
317bbc20f4 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
Nikhil Marathe
de03dc1d8a Bug 887116 - Don't hold a reference to nsLayoutStatics in WebIDL CallbackObject. r=khuey 2013-08-13 14:20:01 -07:00
Gregory Szorc
78e96c5232 Bug 890744 - Ensure updated WebIDL headers are installed after regen; r=glandium
--HG--
extra : rebase_source : d3c177eefa23f1203957a63c2d9276e38aad7818
2013-08-13 10:51:56 -07:00
Ryan VanderMeulen
73ebf67a95 Merge m-c to b2g-inbound. 2013-08-12 15:36:24 -04:00
Jon Coppeard
11678aa48c Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Thomas Zimmermann
69dd42354a Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Thomas Zimmermann
7ce145382c Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
0e8e275f74 Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
86e4b6244c Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure 2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
b3c6e7d673 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00