Commit Graph

2849 Commits

Author SHA1 Message Date
Nikhil Marathe
bd0bc01fa2 Bug 1122677 - Disallow request body when method is HEAD/GET.
Spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=27846
and :annevk OKed putting the check in the constructor and throwing http://logs.glob.uno/?c=content#c259382

--HG--
extra : rebase_source : 224da5d5f19387ffd95fc42c38a99b0e25427551
2015-01-16 13:08:19 -08:00
Nikhil Marathe
5bf20c02ef Bug 1121682 - fetch() should reject with TypeError
--HG--
extra : rebase_source : 9e8d5e193695b856280c769dccc128c4ce4797d3
2015-01-14 13:43:27 -08:00
Nikhil Marathe
3e3ec7b71d Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : rebase_source : c9d314c6cffd577ab7309eb9e39e7d80f2f294f7
2014-11-06 07:57:57 -08:00
Boris Zbarsky
037cbb41ae Bug 1107443 part 6. Make attempts to define a non-configurable property via WindowProxy throw. r=peterv,jorendorff 2015-01-23 09:54:15 -05:00
Boris Zbarsky
321e238728 Bug 1107443 part 2. Stop defining non-configurable properties on the window in dom and xpconnect JS files. r=peterv 2015-01-23 09:54:14 -05:00
Wes Kocher
604504d962 Backed out 3 changesets (bug 1123461, bug 1123090) for windows build bustage
Backed out changeset 2c442905d0af (bug 1123461)
Backed out changeset d7aa4c72ebab (bug 1123461)
Backed out changeset 8bb689ec8086 (bug 1123090)
2015-01-22 21:04:33 -08:00
Bill McCloskey
72bdc7e0df Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-22 20:00:19 -08:00
Tom Schuster
e600e170fe Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00
Ehsan Akhgari
d3a38ade02 Bug 1123113 - Mark ParentObject as stack class, and its mObject member as non-owning; r=bzbarsky 2015-01-21 11:21:09 -05:00
Boris Zbarsky
f718167620 Bug 1121688. Filter out overloads with non-worker-exposed arguments when generating worker bindings. r=peterv 2015-01-20 16:44:14 -05:00
Ehsan Akhgari
b6b7be80a8 Bug 1123114 - Mark DOMString::mStringBuffer as unsafe; r=smaug 2015-01-18 18:43:02 -05:00
Phil Ringnalda
823e1db1a5 Back out 3 changesets (bug 885982, bug 1118063) for b2g mochitest-6 bustage
CLOSED TREE

Backed out changeset 865e7bc208df (bug 885982)
Backed out changeset 9ede577f5ada (bug 885982)
Backed out changeset 6ccc86f7429e (bug 1118063)

--HG--
rename : dom/network/interfaces/nsITCPServerSocketInternal.idl => dom/network/interfaces/nsIDOMTCPServerSocket.idl
2015-01-17 13:26:10 -08:00
Josh Matthews
994d86067c Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews
918cdf2fc9 Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth
--HG--
rename : dom/network/interfaces/nsIDOMTCPServerSocket.idl => dom/network/interfaces/nsITCPServerSocketInternal.idl
2015-01-17 11:57:41 -05:00
Boris Zbarsky
c21acbd01a Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky
68191a4bd7 Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky
5072426e02 Bug 1118978 part 1. Introduce "Affects" and "DependsOn" state for IDL attributes and operations and desugar [Pure] and [Constant] into that state. r=peterv
This does not change the generated binding code in any way for our existing IDL files.
2015-01-15 17:39:01 -05:00
Jeff Gilbert
1540d7f105 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Wes Kocher
6cb24c572d Backed out 4 changesets (bug 1118978) for b2g build bustage on a CLOSED TREE
Backed out changeset e0ecb643aa2b (bug 1118978)
Backed out changeset bf31c6661b2c (bug 1118978)
Backed out changeset 5a4839c2fd53 (bug 1118978)
Backed out changeset 40b84c88ed16 (bug 1118978)
2015-01-15 15:52:41 -08:00
Boris Zbarsky
20da84c169 Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley 2015-01-15 17:39:02 -05:00
Boris Zbarsky
d54f0f8070 Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley
--HG--
rename : dom/bindings/test/test_exception_options_from_jsimplemented.html => dom/bindings/test/test_promise_rejections_from_jsimplemented.html
2015-01-15 17:39:02 -05:00
Boris Zbarsky
3fe6ab7f53 Bug 1107953 part 2. Change codegen to output an aCompartment argument on all callbacks that have an aExceptionHandling argument. r=peterv 2015-01-15 17:39:02 -05:00
Boris Zbarsky
318b2f3458 Bug 1107953 part 1. Change the invariants around aCompartment in CallSetup to allow passing it even when the exception handling mode is eRethrowExceptions. r=bholley 2015-01-15 17:39:01 -05:00
Boris Zbarsky
01cd1bbb1b Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky
863d0ceb3d Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky
c26175fba9 Bug 1118978 part 1. Introduce "Affects" and "DependsOn" state for IDL attributes and operations and desugar [Pure] and [Constant] into that state. r=peterv
This does not change the generated binding code in any way for our existing IDL files.
2015-01-15 17:39:01 -05:00
Ms2ger
230617c722 Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Peter Van der Beken
e08d1eb1bb Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Peter Van der Beken
f325dbfd73 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make VRFieldOfView use a binding that owns its native. r=vlad.
--HG--
extra : rebase_source : 001706183a7ed9d7ec96b2f9bd0813bde6aaa5b1
2014-12-11 20:15:32 +01:00
Peter Van der Beken
4194a60899 Bug 1096328 - Remove nativeOwnership from Bindings.conf, remove the now unused nativeOwnership property. r=bz.
--HG--
extra : rebase_source : 1d4d543c6d32c0f3cd69fc8d360bc07ace341699
2014-11-01 15:25:55 +01:00
Peter Van der Beken
4fc4deb8c5 Bug 1096328 - Remove nativeOwnership from Bindings.conf, don't condition wrapperCache on having a refcounted type. r=bz.
--HG--
extra : rebase_source : bb311c61db74fce4993bf7e4b781730e23ca16fa
2014-11-01 15:22:21 +01:00
Peter Van der Beken
dc7cebe003 Bug 1096328 - Remove nativeOwnership from Bindings.conf, change a python check for a refcounted type to a static_assert. r=bz.
--HG--
extra : rebase_source : 3b9396921576b07ae3e6403ecb562502d75e5f16
2014-11-01 15:20:23 +01:00
Peter Van der Beken
8dd9758643 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make example code spit out a refcounted class always. r=bz.
--HG--
extra : rebase_source : 0b4ec833f40a8593283554b53626a1d8fed97282
2014-11-01 15:15:42 +01:00
Peter Van der Beken
9c3cff2e39 Bug 1096328 - Remove nativeOwnership from Bindings.conf, autodetect the right smart pointer for owned and refcounted objects. r=bz.
--HG--
extra : rebase_source : ef48d9f72bdbc4891206841d5c8f26fd5140ac3d
2014-11-01 15:08:00 +01:00
Peter Van der Beken
a5eb91a8db Bug 1096328 - Remove nativeOwnership from Bindings.conf, make WrapNewBindingNonWrapperCachedObject work for owned objects. r=bz.
--HG--
extra : rebase_source : 5c8df69bacf2fbe00dfbb864100144850c75c10a
2014-11-01 15:00:47 +01:00
Peter Van der Beken
bcde9e12f6 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
* * *
[mq]: owned_fold.patch

--HG--
extra : rebase_source : 1eec318046dae59e740ee5409a97c7cbfd88c9b1
2014-11-01 15:00:28 +01:00
Peter Van der Beken
408543d91c Bug 1096328 - Remove nativeOwnership from Bindings.conf, templatize deferred finalization. r=bz.
--HG--
extra : rebase_source : 2486e80073d49ffc5ed93676382846fe7c87bd64
2014-11-01 14:48:19 +01:00
Peter Van der Beken
5bb3cd6c05 Bug 1096328 - Remove nativeOwnership from Bindings.conf, add template to detect refcounted classes. r=bz.
--HG--
extra : rebase_source : 48ddff175ca379a0fcda1511c822f920246a04bc
2014-11-01 14:10:59 +01:00
Peter Van der Beken
6ac5993e67 Bug 1096328 - Remove nativeOwnership from Bindings.conf, reorganize checks for members in BindingUtils.h. r=bz.
--HG--
extra : rebase_source : 009f3303f735b988d455850007072f3a39a76782
2014-11-01 14:04:43 +01:00
Boris Zbarsky
d7ca74281c Bug 1113827 part 1. Automatically mark Web IDL [NewObject] methods that return a JS type as fallible. r=peterv 2015-01-12 11:52:21 -05:00
Carsten "Tomcat" Book
4f7ac0cbcc Backed out 12 changesets (bug 1096328) for M11 and M5 Test failures on a CLOSED TREE
Backed out changeset 12dd1ad43923 (bug 1096328)
Backed out changeset 4a067de94f22 (bug 1096328)
Backed out changeset 676112a4f092 (bug 1096328)
Backed out changeset e2e64e751ece (bug 1096328)
Backed out changeset 9ed945e9a8a5 (bug 1096328)
Backed out changeset 47be69b84be5 (bug 1096328)
Backed out changeset d6e68ba4846d (bug 1096328)
Backed out changeset 899d8cd8c4e8 (bug 1096328)
Backed out changeset 55c831086864 (bug 1096328)
Backed out changeset 6005fd357342 (bug 1096328)
Backed out changeset 0f330a5dd346 (bug 1096328)
Backed out changeset c37e10cff765 (bug 1096328)
2015-01-12 14:48:15 +01:00
Peter Van der Beken
cce4b03d3f Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 976adeed1f271906628adcf10e3f5ea02487ab5b
2015-01-08 22:56:42 +01:00
Peter Van der Beken
46f5792fc3 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make VRFieldOfView use a binding that owns its native. r=vlad.
--HG--
extra : rebase_source : 002dc062e271722fc4914f19362489de8420d3dd
2014-12-11 20:15:32 +01:00
Peter Van der Beken
c9d93dc175 Bug 1096328 - Remove nativeOwnership from Bindings.conf, remove the now unused nativeOwnership property. r=bz.
--HG--
extra : rebase_source : a121c0061d1afec19beeecaf507da30ac027936c
2014-11-01 15:25:55 +01:00
Peter Van der Beken
dc86bc74a0 Bug 1096328 - Remove nativeOwnership from Bindings.conf, don't condition wrapperCache on having a refcounted type. r=bz.
--HG--
extra : rebase_source : a76c18e5ffa4c1a48d3ab6119f7aff1065795787
2014-11-01 15:22:21 +01:00
Peter Van der Beken
b44a0cb1a2 Bug 1096328 - Remove nativeOwnership from Bindings.conf, change a python check for a refcounted type to a static_assert. r=bz.
--HG--
extra : rebase_source : 9d467680160173a50ea4d319a5bf3dce8680c854
2014-11-01 15:20:23 +01:00
Peter Van der Beken
c026afb22e Bug 1096328 - Remove nativeOwnership from Bindings.conf, make example code spit out a refcounted class always. r=bz.
--HG--
extra : rebase_source : a4bda82184a560ce09201d2e722292e895d11da5
2014-11-01 15:15:42 +01:00
Peter Van der Beken
fb993a9c68 Bug 1096328 - Remove nativeOwnership from Bindings.conf, autodetect the right smart pointer for owned and refcounted objects. r=bz.
--HG--
extra : rebase_source : 605390cd0b599e4922f8c13d70dd727976c48152
2014-11-01 15:08:00 +01:00
Peter Van der Beken
726850eb13 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make WrapNewBindingNonWrapperCachedObject work for owned objects. r=bz.
--HG--
extra : rebase_source : aa47e31cb7559e8258f0f112fa92319a30f96dc5
2014-11-01 15:00:47 +01:00
Peter Van der Beken
2da1f5e59e Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
* * *
[mq]: owned_fold.patch

--HG--
extra : rebase_source : c5aa06709a877968341cd69d6faa945f0f7ddde9
2014-11-01 15:00:28 +01:00