Commit Graph

2888 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
92151b28e6 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Jocelyn Liu
3699cd017e Bug 1063449 - Add and implement GATT client connection related bluetooth Web APIs. r=btian, r=bz
This patch mainly covers:
  1) Implement register/unregister client, connect/disconnect methods in BluetoothGatt object.
  2) Add/Modify related webidls for 1).
  3) Implement result handlers, notifications in BluetoothGattManager.
2015-02-13 17:13:00 +01:00
Boris Zbarsky
d154f1bd85 Bug 1131096. Use IDLExposureMixins for IDLInterfaceMember. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
2db9b439cb Bug 1131796. Don't parent the DOM proxy expando object to the proxy. r=peterv 2015-02-13 14:34:53 -05:00
Wes Kocher
621f9a3c6f Backed out changeset 4d03c3ba2969 (bug 1131796) for bustage on a CLOSED TREE
--HG--
extra : amend_source : 07e872ce971a620a08b68fbc2b3afdcccaff8539
2015-02-13 13:25:45 -08:00
Wes Kocher
99a83fe08f Backed out changeset 6e0973b390f5 (bug 1131096) 2015-02-13 13:25:31 -08:00
Tom Schuster
6976ec9759 Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff 2015-02-13 12:20:02 +01:00
Boris Zbarsky
78b834acbd Bug 1131096. Use IDLExposureMixins for IDLInterfaceMember. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
d47e00b791 Bug 1131796. Don't parent the DOM proxy expando object to the proxy. r=peterv 2015-02-13 14:34:53 -05:00
Nick Fitzgerald
770748abfb Bug 1117242 - SavedFrame objects should do principal checks for every accessor; r=jimb,jandem,bz 2015-02-13 09:21:50 -08:00
Boris Zbarsky
4c68880cf9 Bug 1132655. Don't allow conversions from DOMString to const XPCOM string references, since it's meant to be an outparam only. r=smaug 2015-02-12 18:39:26 -05:00
Boris Zbarsky
11f1c43ca5 Bug 1132252. An interface with an interface object should not inherit from one that's [NoInterfaceObject]. r=smaug 2015-02-12 18:39:26 -05:00
Tom Schuster
c22e2c0d82 Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust 2015-02-11 23:40:47 +01:00
Tom Schuster
8f3890f934 Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00
Boris Zbarsky
0869f8ba2c Bug 1127501. Treat external interfaces as only being exposed in Window in Web IDL bindings. r=peterv 2015-02-09 11:42:27 -05:00
Boris Zbarsky
dfbff1d2f0 Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. r=peterv 2015-02-09 11:42:27 -05:00
Boris Zbarsky
0d58dbbaf9 Bug 1127341. If we make our codegen for a binding depend on the exposure set of an interface argument to one of the binding's methods, we need to adjust the dependency set of the binding accordingly, so we'll regenerate if the exposure set changes. r=khuey 2015-02-09 11:42:26 -05:00
Dhi Aurrahman
e0a3d64aa1 Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz 2015-02-04 18:46:26 +07:00
JW Wang
3118ef8c6a Bug 1128379 - improve error handling in MediaKeys::CreateSession. r=bz 2015-02-01 19:12:00 +01:00
Jason Orendorff
81e4343779 Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
2015-01-28 17:12:44 -06:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Tom Schuster
3374698e65 Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto 2015-01-31 16:18:51 +01:00
JW Wang
6802f989fc Bug 1121332. Part 4 - implement MediaKeySession.keyStatuses and remove MediaKeySession.getUsableKeyIds. r=bz. 2015-01-31 13:23:07 +13:00
Boris Zbarsky
8391845329 Bug 1127206. Don't try to do binding UnwrapArgImpl on worker threads. It can't do anything useful there. r=peterv 2015-01-30 13:54:43 -05:00
Tooru Fujisawa
1a673bc891 Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
Jeff Walden
d2d785f69e Bug 1112774 - Add a raft of other conversion methods to js/public/Conversions.h past just JS::ToObject. r=jorendorff
--HG--
extra : rebase_source : 5d04a08a8fd51952283ce2a819149da035311b59
2014-12-17 13:50:20 -08:00
Bill McCloskey
411974faf9 Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Ehsan Akhgari
e05321fd66 Bug 1069719 follow-up: Fix indentation
DONTBUILD
2015-01-26 11:23:49 -05:00
Ehsan Akhgari
95c577a8a5 Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky 2015-01-26 11:02:56 -05:00
Gijs Kruitbosch
cdf66ba346 Bug 1116010 - ensure nsITreeView is already QId when returned, r=peterv 2015-01-26 12:05:15 +00:00
Masatoshi Kimura
0676786e20 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Boris Zbarsky
692ac8a7cc Bug 1123541. Make sure to assign to resultVar in the binding call generator even if resultVar is predeclared, as long as we have a result to assign. r=peterv 2015-01-24 22:40:53 -05:00
Phil Ringnalda
29421754ff Back out 2 changesets (bug 1125351, bug 1069719) for m-oth bustage
CLOSED TREE

Backed out changeset fb315ec11af4 (bug 1125351)
Backed out changeset 0ab33c2362cf (bug 1069719)
2015-01-24 14:52:07 -08:00
Ehsan Akhgari
5e290aadb7 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-24 15:14:01 -05:00
Ehsan Akhgari
c0583fcfb9 Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky 2015-01-24 15:13:28 -05:00
Tom Schuster
0998506fdb Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Tom Schuster
8875fc0ed6 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Nikhil Marathe
da6048aea3 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : source : 5ed6d1902cc7bafbf9ffeaf35815c56cdd8f8c0d
extra : amend_source : eab06a362baf7545b9b61e28316666c2ec76acac
2014-11-06 07:57:57 -08:00
Wes Kocher
9d564e2e3e Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE
--HG--
rename : dom/webidl/ExtendableEvent.webidl => dom/webidl/InstallPhaseEvent.webidl
2015-01-23 19:49:51 -08:00
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