Paul Adenot
a1ddbe8bcb
Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug
2015-04-14 17:03:49 +02:00
Boris Zbarsky
9aaa3c401c
Bug 1153516. Stop using loose is() comparisons in test_dom_xrays.html. r=bholley
2015-04-13 19:36:44 -04:00
Brian Birtles
6b5fcefb36
Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
...
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.
--HG--
rename : dom/animation/AnimationTimeline.cpp => dom/animation/DocumentTimeline.cpp
rename : dom/animation/AnimationTimeline.h => dom/animation/DocumentTimeline.h
rename : dom/animation/test/animation-timeline/test_animation-timeline.html => dom/animation/test/document-timeline/test_document-timeline.html
rename : dom/animation/test/animation-timeline/test_request_animation_frame.html => dom/animation/test/document-timeline/test_request_animation_frame.html
2015-04-10 10:34:22 +09:00
Doug Turner
c915a3ef55
Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst
2015-04-10 20:19:28 -07:00
Ryan VanderMeulen
016b169721
Merge m-c to b2g-inbound. a=merge
2015-04-09 12:08:54 -04:00
Thomas Zimmermann
053dba23b3
Bug 1146355: Prepare build system to support Bluetooth APIs v1 and v2, r=shuang
...
This patch adds support for both Bluetooth interfaces to the build
system. The actual interface must be selected at compile time.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann
5b0221d66d
Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu
...
--HG--
rename : dom/bluetooth/BluetoothAdapter.cpp => dom/bluetooth/bluetooth1/BluetoothAdapter.cpp
rename : dom/bluetooth/BluetoothAdapter.h => dom/bluetooth/bluetooth1/BluetoothAdapter.h
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth1/BluetoothCommon.h
rename : dom/bluetooth/BluetoothDevice.cpp => dom/bluetooth/bluetooth1/BluetoothDevice.cpp
rename : dom/bluetooth/BluetoothDevice.h => dom/bluetooth/bluetooth1/BluetoothDevice.h
rename : dom/bluetooth/BluetoothHfpManagerBase.h => dom/bluetooth/bluetooth1/BluetoothHfpManagerBase.h
rename : dom/bluetooth/BluetoothHidManager.cpp => dom/bluetooth/bluetooth1/BluetoothHidManager.cpp
rename : dom/bluetooth/BluetoothHidManager.h => dom/bluetooth/bluetooth1/BluetoothHidManager.h
rename : dom/bluetooth/BluetoothInterface.cpp => dom/bluetooth/bluetooth1/BluetoothInterface.cpp
rename : dom/bluetooth/BluetoothInterface.h => dom/bluetooth/bluetooth1/BluetoothInterface.h
rename : dom/bluetooth/BluetoothInterfaceHelpers.cpp => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.cpp
rename : dom/bluetooth/BluetoothInterfaceHelpers.h => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.h
rename : dom/bluetooth/BluetoothManager.cpp => dom/bluetooth/bluetooth1/BluetoothManager.cpp
rename : dom/bluetooth/BluetoothManager.h => dom/bluetooth/bluetooth1/BluetoothManager.h
rename : dom/bluetooth/BluetoothProfileController.cpp => dom/bluetooth/bluetooth1/BluetoothProfileController.cpp
rename : dom/bluetooth/BluetoothProfileController.h => dom/bluetooth/bluetooth1/BluetoothProfileController.h
rename : dom/bluetooth/BluetoothProfileManagerBase.h => dom/bluetooth/bluetooth1/BluetoothProfileManagerBase.h
rename : dom/bluetooth/BluetoothPropertyContainer.cpp => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.cpp
rename : dom/bluetooth/BluetoothPropertyContainer.h => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.h
rename : dom/bluetooth/BluetoothReplyRunnable.cpp => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/BluetoothReplyRunnable.h => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.h
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/bluetooth1/BluetoothRilListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/bluetooth1/BluetoothRilListener.h
rename : dom/bluetooth/BluetoothService.cpp => dom/bluetooth/bluetooth1/BluetoothService.cpp
rename : dom/bluetooth/BluetoothService.h => dom/bluetooth/bluetooth1/BluetoothService.h
rename : dom/bluetooth/BluetoothSocketObserver.h => dom/bluetooth/bluetooth1/BluetoothSocketObserver.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluetooth1/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluetooth1/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUuid.cpp => dom/bluetooth/bluetooth1/BluetoothUuid.cpp
rename : dom/bluetooth/BluetoothUuid.h => dom/bluetooth/bluetooth1/BluetoothUuid.h
rename : dom/bluetooth/ObexBase.cpp => dom/bluetooth/bluetooth1/ObexBase.cpp
rename : dom/bluetooth/ObexBase.h => dom/bluetooth/bluetooth1/ObexBase.h
rename : dom/bluetooth/ipc/BluetoothChild.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothChild.cpp
rename : dom/bluetooth/ipc/BluetoothChild.h => dom/bluetooth/bluetooth1/ipc/BluetoothChild.h
rename : dom/bluetooth/ipc/BluetoothMessageUtils.h => dom/bluetooth/bluetooth1/ipc/BluetoothMessageUtils.h
rename : dom/bluetooth/ipc/BluetoothParent.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothParent.cpp
rename : dom/bluetooth/ipc/BluetoothParent.h => dom/bluetooth/bluetooth1/ipc/BluetoothParent.h
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.cpp
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.h => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.h
rename : dom/bluetooth/ipc/BluetoothTypes.ipdlh => dom/bluetooth/bluetooth1/ipc/BluetoothTypes.ipdlh
rename : dom/bluetooth/ipc/PBluetooth.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetooth.ipdl
rename : dom/bluetooth/ipc/PBluetoothRequest.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetoothRequest.ipdl
rename : dom/bluetooth/tests/marionette/head.js => dom/bluetooth/bluetooth1/tests/marionette/head.js
rename : dom/bluetooth/tests/marionette/manifest.ini => dom/bluetooth/bluetooth1/tests/marionette/manifest.ini
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_discovery.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_discovery.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_getters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_getters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_pair.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_pair.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_setters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_setters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_adapteradded.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_enabled.js
2015-04-09 15:57:40 +02:00
Ehsan Akhgari
af406fe8b6
Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky
2015-04-08 22:44:50 -04:00
Ehsan Akhgari
b7c3a57056
Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
...
This object is not copyable, so it should probably not be
assignable either, especially since the compiler generated
copy constructor can potentially cause UAF issues on the
mMessage member, for example.
2015-04-08 22:44:47 -04:00
Ehsan Akhgari
f061a90e54
Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky
2015-04-08 22:44:44 -04:00
Ehsan Akhgari
2a9cba85f6
Bug 1151884
- Enable the uint32_t overload of ToJSValue; r=smaug
2015-04-08 21:58:07 -04:00
Ryan VanderMeulen
d8ade60200
Backed out 5 changesets (bug 1149987) for mochitest crashes.
...
Backed out changeset b62e371d6189 (bug 1149987)
Backed out changeset daa762fca8e6 (bug 1149987)
Backed out changeset bdb64d5befa5 (bug 1149987)
Backed out changeset 693901a4bcde (bug 1149987)
Backed out changeset e7c41c8653c4 (bug 1149987)
CLOSED TREE
2015-04-08 11:49:49 -04:00
Ehsan Akhgari
a68c1ffa1b
Bug 1149987 - Part 5: Do not store or match Response objects with a Vary:* header; r=bkelly
2015-04-08 10:27:40 -04:00
Ehsan Akhgari
61000b2825
Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky
2015-04-08 10:27:37 -04:00
Ehsan Akhgari
1171444160
Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
...
This object is not copyable, so it should probably not be
assignable either, especially since the compiler generated
copy constructor can potentially cause UAF issues on the
mMessage member, for example.
2015-04-08 10:27:36 -04:00
Ehsan Akhgari
451e8342c1
Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky
2015-04-08 10:27:35 -04:00
Nikhil Marathe
9b5f6b134f
Bug 1109751 - Consume FormData support in Fetch API. r=baku
...
--HG--
extra : __touch-noise__ : 2181078256
extra : transplant_source : %A4%7F%FF%9CV%9F%2C%F7%C1%A0%BBoc%CC%BB%0E%8E%F5%80%C1
2015-04-03 22:55:15 -07:00
Wes Kocher
e73d6e8c9e
Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
...
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe
dd5c91927a
Bug 1109751 - Consume FormData support in Fetch API. r=baku
...
--HG--
extra : transplant_source : %B0%0F%AB%E9%DBV%D1%86%980%28L%EC%CBI%0A%09%26%FDS
extra : histedit_source : 39fe8278cf135aa63a59ef4024432fab9ce5c7ee
2015-04-02 10:51:13 -07:00
Boris Zbarsky
94eab48905
Bug 1146333. Get rid of WrapCallThisValue and just use ToJSValue, now that we have it. r=peterv
2015-03-30 23:43:45 -04:00
Jason Orendorff
e55a1c46a2
Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
...
--HG--
extra : rebase_source : 6ed902dfed6a7678f813fc21a4affef798484f1a
extra : source : 06dbe25231c283191c1cc4fea66c1c76add2c91c
2015-03-26 06:13:18 -05:00
Wes Kocher
2f6554bf7c
Backed out 20 changesets (bug 1138499, bug 1148750, bug 1149563, bug 1148652, bug 1123875, bug 1145636, bug 1147660, bug 1148568, bug 1142828) for talos other timeouts CLOSED TREE
...
Backed out changeset 3fc49391f7fe (bug 1148750)
Backed out changeset 75e867c1c39e (bug 1148750)
Backed out changeset 7f6a4e3976f0 (bug 1148750)
Backed out changeset 91d726011835 (bug 1149563)
Backed out changeset fc7c3cf0e526 (bug 1148652)
Backed out changeset 35a01c7e0f8d (bug 1148652)
Backed out changeset 3125cc5a7a65 (bug 1148652)
Backed out changeset a9f10724b83b (bug 1148568)
Backed out changeset 87132a806ab0 (bug 1147660)
Backed out changeset e6b410c7b847 (bug 1147660)
Backed out changeset c350fe54d9c0 (bug 1147660)
Backed out changeset e4b971996b94 (bug 1147660)
Backed out changeset f221db19fb75 (bug 1147660)
Backed out changeset c4599f0cff00 (bug 1142828)
Backed out changeset c7388a9c3935 (bug 1138499)
Backed out changeset 9b51b38317d6 (bug 1138499)
Backed out changeset ad243a3cd06f (bug 1138499)
Backed out changeset fafda276abd9 (bug 1138499)
Backed out changeset 0a00470fdc2a (bug 1145636)
Backed out changeset 06dbe25231c2 (bug 1123875)
--HG--
extra : amend_source : be3290b09642feacd7f517f1e354126b2e905998
2015-04-01 19:17:45 -07:00
Jason Orendorff
68464c731e
Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
...
--HG--
extra : rebase_source : 3da66c3cd20099f907f58cdc0de2ce31e3bf95a8
2015-03-26 06:13:18 -05:00
Vladimir Vukicevic
223017214a
Bug 1148005; Update WebVR APIs based on latest spec changes; r=baku
2015-04-01 16:02:20 -04:00
Tom Schuster
ac250f9d73
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Boris Zbarsky
bfe065abe8
Bug 1144397. Disallow using fill when dedent would do. r=peterv
2015-03-30 23:43:24 -04:00
L. David Baron
f04f3ed4a7
Back out changeset 64934914c29d (bug 1144397) for widespread test bustage, on a CLOSED TREE.
2015-03-30 21:52:35 -07:00
L. David Baron
8d99e883ef
Back out changeset 616e32e3da77 (bug 1146333) for widespread test bustage.
2015-03-30 21:52:07 -07:00
Boris Zbarsky
ca1bc95bfc
Bug 1146333. Get rid of WrapCallThisValue and just use ToJSValue, now that we have it. r=peterv
2015-03-30 23:43:45 -04:00
Boris Zbarsky
286af0ecae
Bug 1144397. Disallow using fill when dedent would do. r=peterv
2015-03-30 23:43:24 -04:00
Cameron McCormack
07051e8f27
Bug 1072101 - Part 2: Implement FontFaceSet.{entries,values}. r=peterv
2015-03-31 14:05:33 +11:00
Andrew McCreight
89727e3fac
Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku
2015-03-30 10:45:39 -07:00
Eddy Bruël
8f6d3f73d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey
2015-03-30 13:54:38 +02:00
Andrew McCreight
69bad032ab
Bug 1147967 - Remove CreateStackFrameLocation. r=bholley
...
This method is defined on nsIXPConnect and StackFrame, but is not used.
Also the non-default constructor that for StackFrame that is no longer used.
2015-03-29 07:52:53 -07:00
Phil Ringnalda
70731646e2
Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
...
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster
8a5dbf7c06
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Cameron McCormack
6a34c73ca4
Bug 1146235 - Followup to address review comment correctly.
2015-03-28 15:05:04 +11:00
Cameron McCormack
03ca266d1b
Bug 1146235 - Part 2: Expose @@iterator aliases on XrayWrappers. r=peterv
2015-03-28 11:44:44 +11:00
Cameron McCormack
1350d06002
Bug 1146235 - Part 1: Add support for an [Alias] extended attribute on IDL operations. r=peterv
2015-03-28 11:44:39 +11:00
Cameron McCormack
cfe96041ae
Bug 1146234 - Allow non-object values to be used as the this value when invoking IDL callback functions. r=peterv
2015-03-28 11:44:29 +11:00
Nick Fitzgerald
34bc4ac51a
Bug 1038238 - Part 4: Rename JS::StringifySavedFrameStack to JS::BuildStackString; r=jorendorff
2015-03-27 13:08:46 -07:00
Nick Fitzgerald
2edf06beb3
Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
...
like js::ComputeStackString and other browsers do; r=jorendorff
https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
Jason Orendorff
1def388b28
Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
...
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.
There is no change in behavior.
In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.
We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).
Notes:
* InvokeGetterOrSetter had to be split into two functions:
InvokeGetter takes a MutableHandleValue out-param,
InvokeSetter a HandleValue in-param.
* Watchpoints can still tamper with values being assigned. So can
JSSetterOps. I'm pleased we can support this craziness in a way that
doesn't have to spread via the type system to encompass the entire
codebase.
* Change in GlobalObject::setIntrinsicValue is not really a change.
Yes, it asserted before, but an exception thrown during self-hosting
initialization is not going to go unnoticed either.
* Since the receiver argument to js::SetProperty() is at the end now, it
makes sense for it to be optional. Some callers look nicer.
--HG--
extra : rebase_source : e89f916fe267800bc73890e11aceef5c4855b272
2015-03-01 13:16:19 -06:00
Boris Zbarsky
eb1c5a9b3a
Bug 1147193. Go back to having our accessors on JSStackFrame infallible. r=bholley
2015-03-26 23:05:16 -04:00
Eddy Bruël
7c855a15e6
Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey
2015-03-26 20:09:45 +01:00
Jason Orendorff
2e5f991fe0
Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
...
--HG--
extra : rebase_source : c40a50b3522e8306d68d8114fe576d4f43006d82
2015-02-17 11:58:43 -06:00
Terrence Cole
dd4ddb761b
Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : b2e435ebf64ec0bac42af7a8f0968578599fd67b
2015-02-25 13:11:37 -08:00
Wes Kocher
49bb55c007
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-23 16:47:58 -07:00
Jocelyn Liu
b83b288476
Bug 1114515 - Par h4: Implement Service, Characteristic, Descriptor interfaces for GATT client DiscoverServices API. r=btian, r=mrbkap
...
This patch covers
1) Add BluetoothGattService, BluetoothGattCharacteristic, BluetoothGattDescriptor interfaces
2) Create services, characteristics, descriptors from handling signals distributed by BluetoothGattManager
--HG--
extra : histedit_source : d5d881f0da1ac57c1ad8a0a59100ff6ba86bfde4
2015-03-23 03:27:00 -04:00
Ehsan Akhgari
3684011d00
Bug 1145631 - Part 2: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the WebIDL codegen; r=froydnj
2015-03-21 12:28:16 -04:00