Wes Kocher
95cce1f2c9
Merge m-c to inbound, a=merge
2015-10-09 16:45:31 -07:00
Boris Zbarsky
c3d471f9c4
Bug 1213289 part 4. Convert to using an enum for tracking our union state. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
af065c06f0
Bug 1213289 part 3. Add a way to throw a DOMException with a custom message on ErrorResult. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
9c2bcd09d7
Bug 1213289 part 2. Introduce ErrorResult::ClearUnionData and use it in various places where we're trying to do that. r=bkelly
2015-10-09 16:48:10 -04:00
Boris Zbarsky
b90baf6535
Bug 1213289 part 1. Change dom::Throw to take an XPCOM string, not a raw C string, for the message. r=bkelly
2015-10-09 16:48:10 -04:00
Shawn Huang
8cb7ad155e
Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap
2015-10-09 18:23:20 +08:00
Jeff Walden
75b257996c
Bug 1052139 - Make more parts of the global object's prototype chain immutable, when we flip that switch. r=bz
...
--HG--
extra : rebase_source : 7d196acc689d26153ba2462ff2c78fc94ec7351a
2015-10-08 15:08:13 -07:00
Jeff Walden
c593e1ed8f
Bug 1052139 - Perform proper failure handling in interfaces' CreateInterfaceObjects method, after dom::CreateInterfaceObjects has been called and possibly created the interface's constructor and prototype. r=bz
...
--HG--
extra : rebase_source : 5d6b7cf208c690d61219baa3cb2d5bfeb471742e
2015-09-29 09:31:42 -07:00
Boris Zbarsky
8a61b380af
Bug 1211624. document.all should be iterable, and so should be various other things that have an anonymous indexed getter. r=qdot
2015-10-07 09:31:32 -04:00
Martin Thomson
8ba5de483c
Bug 1209744 - Switch to setIdentityProvider for js-implemented bindings test, r=jib
...
--HG--
extra : transplant_source : %05%2C%E2%F4%89O%18%22r%29Q%22%3E%171%A6%FCMy%C9
2015-10-05 13:07:33 -07:00
Andrew McCreight
5171450b27
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Phil Ringnalda
23f82e924e
Back out 2 changesets (bug 1052139) for mochitest-jetpack bustage
...
Backed out changeset 3dc503961322 (bug 1052139)
Backed out changeset 6f278bc63614 (bug 1052139)
2015-10-02 22:10:24 -07:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Jeff Walden
c29c28268a
Bug 1052139 - Make the [[Prototype]] of all objects on the window object's [[Prototype]] chain be immutable, BUT also disable the code that actually respects immutable-prototype handling. When we want to enable this, it'll then be a one-line change. r=bz
...
--HG--
extra : rebase_source : e8116d4aed87f03f4e0b91b60c6ccf43f040b31a
2014-11-28 02:58:23 -05:00
Jeff Walden
ddc5b08c61
Bug 1052139 - Perform proper failure handling in interfaces' CreateInterfaceObjects method, after dom::CreateInterfaceObjects has been called and possibly created the interface's constructor and prototype. r=bz
...
--HG--
extra : rebase_source : 683614405bb61ff078e5504d9c2717a92ed2976e
2015-09-29 09:31:42 -07:00
Jeff Walden
1876c2cd4f
Bug 1052139 - Reorder CGCreateInterfaceObjectsMethod a bit to correspond to the ordering of generated code. r=bz
...
--HG--
extra : rebase_source : 47790e00e7a6481078927380494bf9384045703c
2015-09-29 09:31:42 -07:00
Andrew McCreight
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Miko Mynttinen
155f3d3bc5
Bug 1187011 - Don't allow response body with null body status. r=bkelly
2015-09-30 21:50:10 +03:00
Jason Orendorff
deb2270515
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Martin Thomson
4574e04530
Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
...
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Martin Thomson
afdaddf1d7
Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
...
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson
d4f1b7fa44
Bug 1155923 - Add Deprecated attribute to interfaces. r=peterv
...
--HG--
extra : transplant_source : %E7_%24v%EA%08%AB1%A2%2BPl%AE%85%B9-%A6%D9%FEG
2015-09-24 16:31:47 -07:00
Martin Thomson
9c3bef623e
Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
...
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Carsten "Tomcat" Book
774fe78402
Merge mozilla-central to b2g-inbound
2015-09-23 12:35:32 +02:00
Jocelyn Liu
1832bcbeea
Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz
2015-09-23 14:16:27 +08:00
Jeff Walden
4046fe1490
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
...
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Jeff Walden
8106775e9d
Bug 1207006 - Remove the unhelpfully-confusing exceptionCodeIndented. r=bz
...
--HG--
extra : rebase_source : d15686fd71897dc90bcaee1d8c9aba75201abb9d
2015-09-22 09:31:58 -07:00
Michael Layzell
30627b3c9a
Bug 1205733 - Add move overloads to dom::Nullable's constructor and SetValue method, r=bz
2015-09-22 12:11:30 -04:00
Cameron McCormack
8911daff33
Bug 1206569 - Part 3: Include internal properties in PythonCSSProps.h and annotate each with a type. r=bzbarsky
2015-09-22 15:58:20 +10:00
Cameron McCormack
7dfadc52df
Bug 1206569 - Part 1: Move for-Python preprocessor-generated CSS property list header to layout/style/. r=bzbarsky
...
--HG--
rename : dom/webidl/CSS2PropertiesProps.h => layout/style/PythonCSSProps.h
2015-09-22 15:58:20 +10:00
Josh Matthews
fbb088e702
Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz
2015-03-25 10:36:56 -04:00
Josh Matthews
6d8316690f
Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz
2015-03-25 10:35:59 -04:00
Ms2ger
a48fdcad15
Bug 1204501 - Update the documentation for DOMJSClass::mParticipant; r=peterv
...
Workers have cycle collection now, so they're no longer special.
2015-09-14 16:08:02 +02:00
Tom Schuster
e3fbb8bc43
Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug
2015-09-18 00:14:41 +02:00
Andrea Marchesini
f0aa7a8c5f
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 11:27:56 +08:00
Andrew McCreight
17fe28d40c
Bug 1195977, part 8 - Check that ThrowInvalidThis is passing in enough arguments. r=peterv
...
We have to permit passing in too many arguments because sometimes the
error is MSG_METHOD_THIS_UNWRAPPING_DENIED which only takes one
argument.
2015-09-15 11:47:04 -07:00
Andrew McCreight
bd7c5585b3
Bug 1195977, part 7 - Use variadic templates instead of var args for ThrowTypeError() and ThrowRangeError(). r=peterv
...
This enables type checking of these arguments.
2015-09-15 11:47:04 -07:00
Andrew McCreight
4d25fb9ee0
Bug 1195977, part 6 - Inline ErrorResult throw error methods into the header. r=peterv
...
This is needed to turn these into templates later.
2015-09-15 11:47:04 -07:00
Andrew McCreight
46a8a4fbb4
Bug 1195977, part 5 - Hoist out inner part of ErrorResult::ThrowErrorWithMessage() into a helper. r=peterv
...
This will enable us to move it to the header later, which is needed to
turn it into a template.
2015-09-15 11:47:04 -07:00
Andrew McCreight
77be143629
Bug 1195977, part 4 - Enforce number of arguments more consistently. r=peterv
...
The new check in ErrorResult::ReportErrorWithMessage() shouldn't be
needed and is just to protect against the possibility of another way
to construct messages being added.
2015-09-15 11:47:04 -07:00
Andrew McCreight
786ccb5a0e
Bug 1195977, part 3 - Add helper for getting the number of error arguments. r=peterv
2015-09-15 11:47:04 -07:00
Andrew McCreight
53e9657f0d
Bug 1195977, part 2 - Statically assert that DOM error messages don't have more arguments than the JS engine supports. r=peterv.
...
This makes it so that we do not need to dynamically enforce this
constraint in ErrorResult::ThrowErrorWithMessage().
2015-09-15 11:47:04 -07:00
Andrew McCreight
c4da62d679
Bug 1195977, part 1 - Add JS_EXN_TYPE to comment in Errors.msg. r=peterv
2015-09-15 11:47:03 -07:00
Wes Kocher
ab3e843b68
Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage
2015-09-15 11:08:09 -07:00
Andrea Marchesini
ff25288854
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 00:47:19 +08:00
Michael Layzell
0097c41e01
Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan
2015-09-12 16:53:33 -04:00