Boris Zbarsky
abad3a19e5
Bug 938246. Don't try to tell the JIT that our booleans are 32-bit integers, when they're actually booleans. r=efaust
2013-11-17 00:10:19 -05:00
Boris Zbarsky
0c9f30d0e5
Bug 936634. Drop support for [TreatUndefinedAs] in WebIDL. r=peterv
2013-11-17 00:10:18 -05:00
Ryan VanderMeulen
f90de9eccd
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Phil Ringnalda
0db97dc79f
Back out ce7c0c133cc2 (bug 936327) for crashtest GC crashes and assertions
...
CLOSED TREE
2013-11-12 20:09:28 -08:00
Kyle Huey
e8fcc99296
Bug 936327. r=bent
2013-11-13 10:33:44 +08:00
Bobby Holley
a0b4f0df4e
Bug 840488 - Remove CheckFunctionAccess. r=bz
...
\o/
Aside from checking whether script is enabled, all the other work this function
does is silly.
2013-11-12 16:43:32 -08:00
Jessica Jong
932c040803
Bug 814629 - Part 1: MozMobileConnectionArray webidl. f=hsinyi r=khuey
2013-11-13 16:50:11 +08:00
Ms2ger
786aa40195
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ms2ger
bd6c1c7dc9
Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal
2013-11-11 09:04:11 +01:00
Ms2ger
2d2f7fa030
Bug 921718 - Part b: Move MediaList to WebIDL; r=bz
2013-11-11 09:03:17 +01:00
Jeff Walden
f775bf0ab0
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Mike Hommey
91af4c88d7
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Ryan VanderMeulen
2cd9baaad6
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
ed9fef3e20
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Vicamo Yang
a59bce9b5b
Bug 835143: Implement StkCommandEvent using event generator. f=vyang. r=smaug
2013-07-18 07:18:00 +08:00
Andrew McCreight
712caa1d7a
Bug 932505 - Add some basic checking for Bindings.conf r=bz
2013-10-31 15:28:22 -07:00
Kyle Huey
a754cd2b5a
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
2e23ecc690
Bug 925531: Worker URL harmonization. r=bent
2013-11-05 22:16:25 +08:00
Kyle Huey
f8c3be104e
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08:00
Peter Van der Beken
1f5317edd4
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Dan Glastonbury
442a70f72a
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.
OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Ryan VanderMeulen
6cddc919e9
Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
...
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
86a3955c9b
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Andrew McCreight
535833ef5d
Bug 933966 - Fix reindentation in CGWrapper. r=bz
2013-11-01 16:48:35 -07:00
Reuben Morais
50740465ab
Bug 929491 - Include dictionary and object types in union construction error messages. r=bz
2013-11-02 16:18:35 -02:00
Ryan VanderMeulen
d6769d613c
Merge b2g-inbound to m-c.
2013-11-01 14:45:07 -04:00
Reuben Morais
c90295cbba
Bug 933054 - Allow the toJSON identifier to be used in WebIDL interfaces again. r=peterv
...
--HG--
extra : rebase_source : 83c7724f97d0b2ce709092f2aaf7e15e682c3d90
2013-11-01 14:01:00 -02:00
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
Dan Glastonbury
560bce12ae
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
f59a4cd93b
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Wes Kocher
61d5ac3528
Merge m-c to b-i
2013-10-14 19:12:25 -07:00
Deian Stefan
1f5d2eef71
Bug 919209 - Throw re-reports exception onto context. r=bholley
2013-10-09 14:43:15 -07:00
Ryan VanderMeulen
a80b1ea22a
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
d9879cd4ec
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
2b3f157d86
Backed out changeset 877a227c502f (bug 882541) for causing bug 926305
2013-10-14 17:31:06 +01:00
Ed Morley
b578555c28
Backed out changeset d8636e485e85 (bug 882541)
2013-10-14 17:30:49 +01:00
Ed Morley
225d596527
Backed out changeset 61092280cb2a (bug 882541)
2013-10-14 17:30:46 +01:00
Ed Morley
da83085a5c
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Kyle Huey
c3788e3653
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00
Phil Ringnalda
95093a98d7
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
05cac7d21a
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 11:10:43 +08:00
Ryan VanderMeulen
9aa8f43220
Merge m-c to inbound.
2013-10-14 14:43:11 -04:00
Jan-Ivar Bruaroey
e5a8abcf8f
Bug 917328: Second, convert PeerConnectionImpl and PeerConnectionObserver to webidl. r=bz, rjesup
2013-10-14 12:53:56 -04:00
Boris Zbarsky
8f2aa8d5a6
Bug 925495 part 1. Move DOMString out to a separate header. r=smaug
2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
b8ea0766d3
Backed out changesets 46029c9fbfe4 and 6114164c3d1b (bug 925495) for OSX (at least) crashes.
2013-10-11 13:38:28 -04:00
Boris Zbarsky
316fae665f
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
97cf5fdfe4
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
093911dd1c
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
6c5f73435a
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
2a521202ef
Bug 925495 part 1. Move DOMString out to a separate header. r=smaug
2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
700df6f454
Merge m-c to inbound.
...
CLOSED TREE
2013-10-09 15:34:02 -04:00
Boris Zbarsky
a6fb0b4a47
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
6195bac64d
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
f6cd600ceb
Bug 922531: remove dummy entries from dom/bindings/Bindings.conf. r=Ms2ger
2013-10-09 14:32:45 +08:00
Reuben Morais
86a9d6e3c3
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
3678897716
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
ce560e7d97
Bug 921448 - Remove FunctionProxyObjects. r=ejpbruel
...
\o/
2013-10-04 13:29:34 +02:00
Andy Wingo
73cf8a0ea1
Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
2013-10-03 13:37:57 +01:00
Boris Zbarsky
dee0f83251
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
ae8c899faf
Merge m-c to inbound.
2013-10-03 11:09:17 +02:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
2f7a94dd23
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
b29a404ca7
Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures
2013-10-09 17:48:13 +01:00
Boris Zbarsky
cd528c76db
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
b5c336a791
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
567884049e
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
1e5deba969
Backed out changesets 6d72b823b67f and acdff324d588 (bug 907077) for ASAN debug jit-test failures.
2013-10-01 16:18:39 -04:00
Andy Wingo
c1f85a7964
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
8940831ad3
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
89c902c7b2
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Wesley Chalmers
653d35b85a
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
4bca1c4a80
Bug 921553. Fix some binding rooting hazards that have popped up. r=peterv
2013-09-30 10:29:10 -04:00
Gregory Szorc
c44d9c8614
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Kyle Huey
755922ca39
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
dba62ee6e2
Back out bug 919457 for build bustage. r=me
2013-09-30 10:41:23 +08:00
Kyle Huey
d482abdf5f
Backed out changeset db16370f7cce
2013-09-30 10:39:33 +08:00
Kyle Huey
5d340518cb
Bug 919457: Followup to fix bustage. r=me
2013-09-30 10:11:20 +08:00
Kyle Huey
7fffb0ca44
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
23ce3971fb
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
d1f9e82bd1
Bug 637248, Make Event.isTrusted Unforgeable, r=bz
...
--HG--
extra : rebase_source : 3edd919c6dac839d6082c1c73de88f9ba2d22146
2013-09-28 13:27:29 +03:00
Ryan VanderMeulen
a6e41fa111
Backed out changeset 6d0b41d53c32 (bug 920840) for B2G mochitest-3 timeouts.
...
CLOSED TREE
2013-09-27 18:00:59 -04:00
Andrew McCreight
dff04e8ddd
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
2b2720f0c8
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
d94c4d06d8
Bug 907789 - part 3 - build dom/bindings/ in "unified" mode; r=gps
2013-09-23 13:17:41 -04:00
Andy Wingo
aef016cc4a
Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz
2013-09-26 10:11:38 -04:00
Boris Zbarsky
138c1fc265
Bug 920730. Output the WebIDL .deps files in a consistent order. r=glandium
2013-09-26 00:05:00 -04:00
Boris Zbarsky
0eb0be4a04
Bug 918011 part 4. Support dictionaries in unions. r=smaug
2013-09-26 00:05:00 -04:00
Boris Zbarsky
1cfdb46760
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
5ffa4d1286
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
fbfe446f99
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
5d5eb8f157
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
9105580337
Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv
2013-09-25 14:38:30 -04:00
Boris Zbarsky
5a6635bb81
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
7e999511cb
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
0916615899
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
0e193dc2ee
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
0581c74c0b
Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv
2013-09-25 14:38:30 -04:00
Boris Zbarsky
d1348f2403
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
89133b8b26
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
26629b650a
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
90c3f7ea62
Bug 920209. Use nsAutoString in DOMString, to reduce allocations. r=smaug
2013-09-24 22:56:18 -04:00
Jan Varga
d03891dc56
Bug 919268 - Add codegen for worker-only WebIDL callbacks. r=bz
2013-09-24 21:32:01 +02:00
Dan Gohman
a08337eb0c
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
9fa464d752
Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
...
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
f4b8189f4a
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Boris Zbarsky
ddce009986
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
54baecb467
Bug 862627 part 2. Rip out some now-dead codegen code. r=smaug
2013-09-23 20:25:17 -04:00
Boris Zbarsky
ac390ab247
Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug
2013-09-23 20:25:17 -04:00
Ehsan Akhgari
dee6c12c6f
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
edb14d9640
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
f5e6b2cef0
Bug 914014: Use WrapObject to wrap nsIExceptions rather than manual XPConnect gunk. r=bz
2013-09-23 11:35:09 +08:00
Boris Zbarsky
8c306d0015
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
4a441e8290
Bug 912955 - Remove some implicitJSContext annotations. r=bz.
...
--HG--
extra : rebase_source : 406dd7104924cb6767b2a6cbb0d05afae493ba52
2013-08-23 11:22:29 +02:00
Boris Zbarsky
b7a3531300
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
dcb714c93a
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
3f2faa19a6
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
43fcdc2ede
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Jon Coppeard
97f8bee930
Bug 917295 - GC: Handlify public date APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Jon Coppeard
dffe7f475b
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Wes Kocher
ee41ec25e3
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
620da02ed9
Bug 913852 - BindingUtils.h doesn't need to include <algorithm> - r=bz
2013-09-18 18:50:32 -04:00
Benoit Jacob
af97fdd40d
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Vendelin Ruzicka
e26e8fed4b
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
77df39999e
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
9cc662a2d6
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
1a541f0ce4
Bug 915524 - Implement AudioBuffer.copyFromChannel and AudioBuffer.copyToChannel; r=roc
2013-09-17 07:30:32 -04:00
Olli Pettay
ec743dc7e4
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
ff26f0eb21
Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz
2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
ffb1abac7d
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
ed7644263b
Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup
2013-09-14 00:48:39 -04:00
Boris Zbarsky
0cc3917135
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
b0ce18e505
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
b9d4ccfe4d
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
982559c42b
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
9283daa4fd
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Vicamo Yang
43b8e10872
Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey
2013-09-12 05:47:14 +02:00
David Zbarsky
c0ee768917
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
74d286ade3
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
02db8bbd32
Bug 910910 - Enable Event ctors in workers, r=khuey
...
--HG--
extra : rebase_source : 983d01d13aa66a8499350a4960b5913b22c9783a
2013-09-10 21:27:32 +03:00
Ehsan Akhgari
11c7d05ca8
Bug 914621 - #include OwningNonNull.h in BindingDeclarations.h; r=bzbarsky
2013-09-10 18:06:46 +02:00
Andrew McCreight
3c613d26d4
Bug 911333 - Remove customTrace from bindings codegen. r=bz
2013-09-10 08:29:44 -07:00
Andrew McCreight
dbad6e68d0
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
15bc82ea6a
Bug 912197 - part 5 - move WebIDL.mk over to moz.build; r=khuey
2013-09-05 11:20:26 -04:00
Ms2ger
14aeb62126
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
877a9a719d
Bug 913923 - Part c: Stop including BindingUtils.h in UnionTypes.h; r=dzbarsky
2013-09-10 09:03:38 +02:00
Ms2ger
4db82f5aba
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
6a08b50f93
Bug 913923 - Part a: Move UnionMember into its own header; r=dzbarsky
2013-09-10 09:03:37 +02:00