Michelangelo De Simone
07411b2cc6
Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
...
MozReview-Commit-ID: ENmSuOCdTnA
--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Boris Zbarsky
b4c8518aff
Bug 1311362. Fix webidl member name collision checking with ancestor interfaces to not claim name collisions on totally unrelated names. r=qdot
...
Fixing this exposed the fact that the 'size' tests were passing quite accidentally, since we never added 'size' to the disallowed names sets.
2016-10-19 16:03:00 -04:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Ehsan Akhgari
1978fee9f2
Bug 1310385 - Remove support for UndoManager; r=smaug
...
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.
We can revive this from VCS history in the future if we decide
to start working on it again. In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
Carsten "Tomcat" Book
d6850a3a86
merge mozilla-inbound to mozilla-central a=merge
2016-10-17 11:19:02 +02:00
Michelangelo De Simone
42dd1f7367
Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
...
MozReview-Commit-ID: JDSqQnYD6xL
--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Wes Kocher
524df273d6
Merge m-c to autoland, a=merge
2016-10-14 14:49:31 -07:00
Xidorn Quan
ea2d289c2c
Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: 5AXhsuvvrwe
--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Jon Coppeard
529ca3aff2
Bug 1308919 - Fix typo in comments r=bz on a CLOSED TREE
2016-10-14 10:24:56 +01:00
Jon Coppeard
6ca64e3652
Bug 1308919 - Don't make Handles to Heap<T> as it avoids the read barrier r=bz
2016-10-14 09:45:28 +01:00
Sebastian Hengst
3c1524e5e0
Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
...
MozReview-Commit-ID: 7gvZrDtmcZP
--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Boris Zbarsky
e158454b4e
Bug 1309970. Add a way to return frozen arrays to chrome callers with a .contains defined on them, returning the same value as .includes. r=qdot
2016-10-13 22:14:26 -04:00
Jeff Walden
bc403f8efa
Bug 1306540 - FindEnumStringIndex should follow JSAPI interface conventions. r=bz
...
--HG--
extra : rebase_source : 68b64ef7dc44e52dfdf64c527ab78f8b7ab14d85
2016-09-30 13:11:41 -07:00
Boris Zbarsky
4d59f9aa76
Bug 1309239. Fix the codegen for a cached DOM getter to not worry about Xrays if the interface doesn't want Xrays (i.e. is not mainthread-exposed). r=baku
2016-10-11 10:32:37 -04:00
Boris Zbarsky
3f10f5ed57
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Boris Zbarsky
695f3ad671
Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley
2016-10-10 18:16:26 -04:00
Boris Zbarsky
13514334ba
Bug 946906 part 8. When getting a cacheable property off a DOM Xray, cache it on the Xray's expando object. r=bholley
2016-10-10 18:16:26 -04:00
Boris Zbarsky
13a81b596c
Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
...
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky
fba67a8141
Bug 946906 part 6. Clear the relevant slots on Xray expandos when clearing cached slots on a DOM object. r=bholley
2016-10-10 18:16:26 -04:00
Boris Zbarsky
8070de70a2
Bug 946906 part 5. Use the codegenned JSClass, if available, when creating Xray expando objects. r=bholley
2016-10-10 18:16:26 -04:00
Boris Zbarsky
bb0814b5d3
Bug 946906 part 4. Codegen Xray expando JSClasses for DOM objects with [Cached] or [StoreInSlot] members. r=bholley
2016-10-10 18:16:26 -04:00
Boris Zbarsky
7f2945874f
Bug 946906 part 3. Create a macro for declaring Xray expando classes, and move the default Xray expand class definition to bindings code. r=bholley
2016-10-10 18:16:25 -04:00
Michelangelo De Simone
3e5861c1f3
Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
...
MozReview-Commit-ID: EWBjamnhAyC
--HG--
extra : rebase_source : 84bc99a7fd0f9d74b5b25d3ddc295c132e51d987
2016-09-30 16:03:21 -07:00
Jon Coppeard
38b109439a
Bug 1307372 - Avoid triggering mCallback read barrier in CallbackObject::CallbackKnownNotGray r=mccr8
2016-10-05 10:09:24 +02:00
Boris Zbarsky
010d3de058
Bug 1307115. Improve error reporting on name collisions in webidl. r=qdot
2016-10-04 23:42:06 -04:00
Stone Shih
d76caea5e4
Bug 1292063 - Part 1: Add Event.composed. r=smaug
...
--HG--
extra : rebase_source : 105f9cfddb083d48d3da25fa13bf9a3b4c2637f6
2016-08-31 11:16:11 +08:00
Andrea Marchesini
4077c84f75
Bug 1306222 - Introducing GlobalObject::GetSubjectPrincipal, r=ehsan
2016-09-30 19:54:13 +02:00
Terrence Cole
0edc10380c
Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8
2016-02-07 09:08:55 -08:00
Tooru Fujisawa
d7c8c69a03
Bug 1290337 - Part 17: Replace Value parameter to const Value& in dom/bindings. r=smaug
2016-09-11 18:15:24 +09:00
Tooru Fujisawa
e0c7801dc3
Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink
2016-09-11 18:15:23 +09:00
Tooru Fujisawa
64346ea2e2
Bug 1289050 - Part 11: Use UTF8 variant of JS_ReportErrorNumberVA. r=jwalden
2016-08-14 20:39:30 +09:00
Jon Coppeard
591ec11f61
Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug
2016-09-29 10:18:50 +01:00
Andrea Marchesini
47e3640d27
Bug 1297393 - Make passing of subject principals to webidl entry points explicit - part 1 - WebIDL [NeedsSubjectPrincipal], r=ehsan, r=peterv
2016-09-29 08:55:19 +02:00
Boris Zbarsky
2e60934ea9
Bug 1304516. Remove mention of nsIInputStreamCallback from WebIDL stuff, since it's not used there. r=bkelly
2016-09-29 00:28:27 -04:00
Tooru Fujisawa
6d493d48ec
Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden
2016-08-14 20:39:28 +09:00
Tooru Fujisawa
fd9e045dcb
Bug 1304970 - Check encoding of js.msg-like files. r=jandem,gps
2016-09-28 14:12:54 +09:00
Carsten "Tomcat" Book
a65e4225ef
merge mozilla-inbound to mozilla-central a=merge
2016-09-23 12:05:53 +02:00
Andi-Bogdan Postelnicu
0a7e6c2c05
Bug 1302442 - Add ignore-initialization-check annotation to class member variables constructed by Codegen. r=peterv
...
MozReview-Commit-ID: 2vd6EELGSSj
--HG--
extra : rebase_source : 810b61ea983b8a2636130f488c13b1ee61996aef
2016-09-20 15:11:08 +03:00
Boris Zbarsky
4d0f8a0705
Bug 1302858. Remove unnecessary JS_WrapValue from dom::MaybeWrapObjectValue. r=peterv
2016-09-20 13:25:05 +01:00
Boris Zbarsky
87d24a4a1d
Bug 1297304. Fix our named property DOM proxy code to handle deletion correctly when expandos are involved. r=peterv
2016-09-20 13:24:34 +01:00
Boris Zbarsky
7afde49b04
Bug 1096267. Stop calling into the nsIInputStream overload of XMLHttpRequest.send() if a random object is passed in (except in chrome code, where we will keep doing that). r=smaug
2016-09-22 16:58:37 +01:00
Boris Zbarsky
5afc8a9e03
Bug 1294747. Make sure we expose the expando of a [OverrideBuiltins] proxy to active JS when it gets cleared from the proxy. r=peterv
...
This should also fix bug 1296775 and bug 1290359.
There's a very good chance it will also fix bug 1293386, bug 1292855, bug
1289452, and bug 1303340: those would get hit if we happened to start _another_
gc after the expando died but while it was still in the Rooted. All of them
seem to be dying under the domClass->mGetProto call, which could finish up a GC
that kills the expando and then do _another_ one, causing the Rooted to try to
mark a dead object.
2016-09-15 15:04:56 -04:00
Andrea Marchesini
56c54a3930
Bug 1302987 - Rename nsLocation to mozilla::dom::Location, r=smaug
...
--HG--
rename : dom/base/nsLocation.cpp => dom/base/Location.cpp
rename : dom/base/nsLocation.h => dom/base/Location.h
2016-09-16 09:18:18 +02:00
Phil Ringnalda
c4610bd093
Backed out changeset a4ef0b5b78cb (bug 1294747) for debug Android jsreftest crashes
...
CLOSED TREE
2016-09-15 20:47:39 -07:00
Boris Zbarsky
f671eef0e3
Bug 1303099. LenientFloat handling should not prevent all arguments being processed; instead it should just cause an early return right after argument processing. r=qdot
2016-09-15 17:10:59 -04:00
Boris Zbarsky
19ceff9c07
Bug 1294747. Make sure we expose the expando of a [OverrideBuiltins] proxy to active JS when it gets cleared from the proxy. r=terrence
...
This should also fix bug 1296775 and bug 1290359.
There's a very good chance it will also fix bug 1293386, bug 1292855, and bug
1289452: those would get hit if we happened to start _another_ gc after the
expando died but while it was still in the Rooted. All of them seem to be
dying under the domClass->mGetProto call, which could finish up a GC that kills
the expando and then do _another_ one, causing the Rooted to try to mark a dead
object.
2016-09-15 15:04:56 -04:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Mike Hommey
935ad653b8
Bug 1299919 - Set CPP/CXXCPP from python configure. r=chmanchester
2016-09-13 13:25:18 +09:00
Tom Tung
a167b66e90
Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly.
2016-09-07 10:20:23 +08:00
Carsten "Tomcat" Book
7c6c7db247
Merge mozilla-central to autoland
2016-09-07 17:26:11 +02:00