Andrew Halberstadt
6adcf5b456
Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
...
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.
MozReview-Commit-ID: IBHG7Thif2D
--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -05:00
Boris Zbarsky
1e3ce6af00
Bug 1316616 part 3. Use the new CallerType-getting API in a few places to demonstrate how it works. r=bholley
2016-11-18 16:13:07 -05:00
Boris Zbarsky
c892e11e49
Bug 1318117. Stop using IsCallerChrome in pointerlock API, fullscreen API, and documentURI getter. r=ehsan
2016-11-17 13:49:27 -05:00
Wes Kocher
609b9922f7
Merge m-c to autoland, a=merge
2016-11-16 17:29:05 -08:00
Boris Zbarsky
3815c83ef1
Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert
2016-11-16 14:10:22 -05:00
Boris Zbarsky
be79f7def4
Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly
2016-11-16 14:10:22 -05:00
Michelangelo De Simone
4b90783184
Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
...
MozReview-Commit-ID: AHkMHalG99K
--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Jeff Gilbert (:jgilbert)
79d1dbc149
Bug 1308057 - Update bindings. - r=qdot
...
MozReview-Commit-ID: AA79s0qaRzT
2016-11-14 14:04:47 -08:00
Jeff Gilbert (:jgilbert)
d945e6a8f8
Bug 1316778 - Update IDL and bindings. - r=qdot
...
MozReview-Commit-ID: COMYaZMv5GI
2016-11-14 14:00:17 -08:00
Boris Zbarsky
282d7c0569
Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley
2016-11-11 16:09:05 -05:00
Andrea Marchesini
8524257019
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 2 - WorkletGlobalScope, r=smaug
2016-11-06 09:54:29 +01:00
Sebastian Hengst
86cdc9e867
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/bindings. r=RyanVM
...
MozReview-Commit-ID: I4N8FiO3ECo
--HG--
extra : rebase_source : a16876cf8b570111c9f38a4379cdea006b037682
2016-11-05 11:29:14 +01:00
Wes Kocher
db15df3e50
Merge m-c to inbound, a=merge CLOSED TREE
2016-11-04 15:19:49 -07:00
Boris Zbarsky
1ef30fd1e4
Bug 1021289 another followup. Make sure that we don't leave an uninitialized opresult when deleting things on DOM objects via Xrays. r=bustage and CLOSED TREE
2016-11-04 15:58:32 -04:00
Boris Zbarsky
e1249e3f78
Bug 1021289 followup. Fix webidl parser tests to account for there being no more indexed deleters
2016-11-04 13:28:17 -04:00
Boris Zbarsky
598f3f4180
Bug 1021289 part 4. Implement support for WebIDL deleters over Xrays. r=peterv
2016-11-04 12:41:26 -04:00
Boris Zbarsky
955f4ccd70
Bug 1021289 part 3. Factor getDeleterBody our of CGDOMJSProxyHandler_delete so we can use it in a new Xray hook too. r=peterv
2016-11-04 12:41:26 -04:00
Boris Zbarsky
d5fd55b992
Bug 1021289 part 2. Remove support for indexed deleters, since they're gone from the spec. r=peterv
2016-11-04 12:41:26 -04:00
Michelangelo De Simone
80af1b3196
Bug 1310864
- Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
...
MozReview-Commit-ID: Az4PTYFUKW8
--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Phil Ringnalda
16522e6c40
Backed out changeset 27695ca9f8cd (bug 1310864
) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html
2016-10-31 19:39:06 -07:00
Michelangelo De Simone
8b355547fc
Bug 1310864
- Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
...
MozReview-Commit-ID: 2tWZc6hMtk5
--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
6314d37360
Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
...
MozReview-Commit-ID: IEhwzzBgb3x
--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Phil Ringnalda
021e8e0cee
Merge m-i to m-c, a=merge
2016-10-30 10:55:00 -07:00
Tobias Schneider
5b2ef3c1db
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Andreas Farre
3aecf57375
Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
...
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.
MozReview-Commit-ID: KSYQsyaZ6is
--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Ben Kelly
0983850a63
Bug 1303167
P6 Rename new suspend and freeze methods to final names. r=smaug
2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77
Bug 1303167
P2 Use new window suspend and freeze methods. r=smaug
...
* * *
Bug 1303167
P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Sebastian Hengst
3110d249d5
Backed out changeset c55a20f1422b (bug 1243846) for failing modified test test_intersectionobservers.html. r=backout
2016-10-26 18:49:08 +02:00
Tobias Schneider
e7229ba450
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
...
--HG--
extra : rebase_source : fed18f84d17be6f8d1a6196d3a0b6c66f005fa8b
extra : histedit_source : 2d2579bba67ba6bb1857ecbf92a1ab4a21e0d81e
2016-10-12 20:15:16 -07:00
Carsten "Tomcat" Book
1895ce466b
Backed out changeset eb2606332cb8 (bug 1198381)
2016-10-25 12:32:54 +02:00
Andreas Farre
1380385c69
Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
...
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.
MozReview-Commit-ID: KSYQsyaZ6is
--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
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
Andi-Bogdan Postelnicu
1ccbe1644f
Bug 1301033 - add assert cx on generated code in order to prevent false-positive from static analysis tools. r=baku
...
MozReview-Commit-ID: ELTP8E3zRNf
--HG--
extra : rebase_source : e50e2bbb7414b44a38c4bfbbad976ad65c516394
2016-09-07 15:32:02 +03:00
Boris Chiou
adeea43b3b
Bug 1274944 - Part 1: Add writable spacing attribute. r=smaug
...
Use [SetterThrows] for KeyframeEffect.spacing because it throws if the input
string is not conformed to the grammar.
MozReview-Commit-ID: CkAnPu8TnV
--HG--
extra : rebase_source : af0960391684323a25ac0b40da28dcbe5c3c2919
2016-08-31 16:58:57 +08:00
Boris Zbarsky
40a43f8a00
Bug 1299306 part 2. Call JS_SetImmutablePrototype on Location instances to make their prototype immutable in a more spec-compliant way. r=peterv
2016-09-02 17:55:38 -04:00
Boris Zbarsky
8aef9d0ce9
Bug 1299306 part 1. Refactor the error handling in CGWrapNonWrapperCacheMethod and CGWrapWithCacheMethod to have less duplication. r=peterv
2016-09-02 17:55:38 -04:00
Boris Zbarsky
10a9e4c620
Bug 1297717. Stop using an unforgeable holder for global objects with unforgeable properties, since it's just pure slowdown in that case. r=peterv
2016-09-02 17:55:38 -04:00
Tom Schuster
55a65363a9
Bug 1299321 - Make DOM/Xray handle string values in JSPropertySpec. r=peterv
2016-09-02 18:39:50 +02:00
Edgar Chen
eaa3aed9dd
Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
...
MozReview-Commit-ID: 10NPmzTRogc
--HG--
extra : rebase_source : 9f4b5b79f1ef4d65a457066b079a338fd3895c40
2016-09-01 15:11:32 +08:00
John Dai
afa50be601
Bug 1294100 - Part 3: Modify Codegen to generate including FakeString's binding files and fix build errors. r=bz
...
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/FakeString.h
2016-09-01 18:10:54 +08:00
Boris Zbarsky
37ce88ab1c
Bug 1298410. Remove support for IDL arrays, since those are not a thing anymore. r=peterv
2016-09-01 21:31:23 -04:00
Gabriele Svelto
fe73634c76
Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku
2016-09-01 20:17:03 +02:00
Boris Zbarsky
e8c8715cfb
Bug 1297756
part 2. Allow specifying a default value for a union containing an enum. r=mystor
2016-08-30 12:55:17 -04:00
Boris Zbarsky
1e5fa72546
Bug 1297756
part 1. Improve the exception thrown when an invalid default value (right type but wrong value) is used for a union. r=mystor
2016-08-30 12:55:15 -04:00
Michael Layzell
164944c0c0
Bug 1292293 - Part 1: Update the WebIDL Parser to allow default values for ByteString, r=bz
...
--HG--
extra : rebase_source : 8d031a5a34e4bb75a3432e23e625370cbcea0dae
2016-08-05 17:46:54 -04:00
Kaku Kuo
03100d8735
Bug 1297648 - Create DOMException for NS_ERROR_MODULE_DOM_MEDIA error codes; r=bz
...
MozReview-Commit-ID: A8TgQHToCmQ
--HG--
extra : rebase_source : 36cbe0ffe5f3aa0167bf5f9512bc631c33593cb7
2016-08-24 17:30:58 +08:00
Boris Zbarsky
17194b94cf
Bug 1295322 followup: disable the test on Android, where we have no feed: handler and hence get a CLOSED TREE.
2016-08-26 17:15:53 -04:00
Boris Zbarsky
0e5b46b6d6
Bug 1295322 test. r=bholley
2016-08-26 15:38:16 -04:00
Boris Zbarsky
4821850eb8
Bug 1295322 part 2. Stop propagating through xpconnect exceptions to consumers that won't be able to work with them. r=bholley
2016-08-26 15:38:16 -04:00
Boris Zbarsky
6a73ce5a82
Bug 1295322 part 1. Make ThrowExceptionObject return void, instead of bool. r=bholley
2016-08-26 15:38:16 -04:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Jon Coppeard
d1435a2a8c
Bug 1296688 - Add JSCLASS_FOREGROUND_FINALIZE flag r=sfink r=smaug
2016-08-24 14:18:10 +01:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kearwood (Kip) Gilbert
434f167559
Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
...
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Kearwood (Kip) Gilbert
0fa828c884
Bug 1250244 - Part 5: Rename VRDevice to VRDisplay,r=bz
...
- In order to reduce the size of the following patches
and increase their readability, we rename VRDevice
to VRDisplay here first.
MozReview-Commit-ID: 3pv8scdIi5w
2016-04-12 17:39:28 -07:00
Jan de Mooij
5149714d22
Bug 1292892 part 6 - Remove nsContentUtils::RootingCx. r=bz
2016-08-11 14:39:23 +02:00
Jan de Mooij
c33bac8363
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Jan de Mooij
0ad12515f4
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Thomas Wisniewski
1fbaa831cc
Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas
2016-08-04 15:05:50 -04:00
Jarda Snajdr
e8b9017f0d
Bug 1286281 - Part 2: Add static chrome-only method to create server-side WebSocket to WebIDL r=baku
...
MozReview-Commit-ID: CNEkI9UP2mw
2016-07-29 07:01:00 -07:00
Terrence Cole
e57d650fcf
Bug 1291928 - Expose JSSavedStack's stack before returning; r=bz
2016-08-03 16:12:51 -07:00
Boris Zbarsky
d7821950f4
Bug 1278583 part 5. Switch DOM code from using hasInstance class hooks to using Symbol.hasInstance. r=peterv
2016-08-03 18:32:07 -07:00
Boris Zbarsky
ba5962ed70
Bug 1278583 part 4. Rip out the now-unused construct hook holder bits in bindings. r=peterv
2016-08-03 18:32:06 -07:00
Boris Zbarsky
ab204ba73e
Bug 1278583 part 3. Make static stuff (static attributes, methods, constants) actually work on globals. r=peterv
2016-08-03 18:32:06 -07:00
Tom Schuster
473d3dc22d
Bug 1197324 - Fix new warnings. r=froydnj
2016-08-03 14:37:31 +02:00
Boris Zbarsky
30fb9d7bd3
Bug 1290636. Fix some bugs in the way single-type (value) iterators are hooked up in the Web IDL bindings. r=qdot
...
There were two issues:
1) The keys/entries/values/forEach properties were being added no matater what
the value of the 'unforgeable' boolean was. So we ended up spitting out
unforgeable versions of those, and this confused some Xray cases.
2) The number of args listed for forEach was wrong, which hit assertions in the
JS engine because the same self-hosted function was being instantiated with
different numbers of args from different places.
2016-07-30 01:00:12 -04:00
Xidorn Quan
31f5ebf083
Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
...
So that we can avoid unnecessary refcount changes.
MozReview-Commit-ID: 4Mk9SJTj6AS
--HG--
extra : source : c35643f76ef33b6cdce115c8de0dfae8abccd644
2016-07-28 12:00:06 +10:00
Andrew McCreight
e806f57820
Bug 1289136 - Fifth argument to XPCConvert::NativeInterface2JSObject() is always null. r=gabor
2016-07-27 10:11:40 -07:00
Kyle Machulis
6b02d1de30
Bug 1289315 - Tests for Iterable<> Union Types in WebIDL Interfaces; r=bz
...
MozReview-Commit-ID: 1co6k6YOPUI
2016-07-27 09:48:59 -07:00
Jonathan Chan
bd2261bd38
Bug 1289315 - Fix union types for maplike/setlike/iterable in WebIDL parser; r=qdot
...
MozReview-Commit-ID: Bmn0CPfwUXZ
2016-07-27 09:48:59 -07:00
Boris Zbarsky
8617edc967
Bug 1288791 part 3. Ensure that FindAssociatedGlobal never returns a gray global. r=bkelly
2016-07-27 11:05:36 -04:00
Boris Zbarsky
5b840d9b96
Bug 1288791 part 2. Rename WrapNativeParent to FindAssociatedGlobal and update it to actually do that. r=bkelly
2016-07-27 11:05:36 -04:00
Boris Zbarsky
8e34004cf1
Bug 1288791 part 1. Rename the GetParentObject template bits to make it clearer what they're really doing: finding the associated global for an object's native. r=bkelly
2016-07-27 11:05:36 -04:00
Boris Zbarsky
f65cc2b16c
Bug 1289467 part 4. Make ForwardDeclarationBuilder error out if asked to forward-declare a templated type instead of spitting out nonsense that doesn't compile. r=qdot
2016-07-27 11:05:36 -04:00
Boris Zbarsky
d39f976400
Bug 1289467 part 3. Skip forward-declaring types used by methods/attributes on maplikes/setlikes/iterables that we auto-generate an implementation for. r=qdot
2016-07-27 11:05:36 -04:00
Boris Zbarsky
f9765094cb
Bug 1289467 part 2. Skip example codegen for methods/attributes on maplikes/setlikes/iterables that we auto-generate an implementation for. r=qdot
2016-07-27 11:05:35 -04:00
Boris Zbarsky
f7ef79ba7f
Bug 1289467 part 1. Example codegen generation should print out which files it generated, so it's easy to examine them. r=qdot
2016-07-27 11:05:35 -04:00
Jeff Walden
9251e2a1da
Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. r=froydnj
2016-07-20 15:06:48 -07:00
Jeff Walden
d6391c60ea
Backed out changeset 1a2627378a0d, didn't tag the reviewer correctly.
2016-07-26 11:12:21 -07:00
Mike Taylor
e18289c5e2
Bug 1246796. Allow getting/setting dashed attributes that start with "-", for web compatibility. r=bz
2016-07-26 11:23:36 -05:00
Jeff Walden
b0edcf1fb1
Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. NOT REVIEWED YET
...
--HG--
extra : rebase_source : 4b2fe5fbf7baaf599026f916e8969862c053a64c
2016-07-20 15:06:48 -07:00
Boris Zbarsky
a42390b506
Bug 1288581 followup. Remove a bogus comment. DONTBUILD.
2016-07-22 17:20:49 -04:00
Boris Zbarsky
25504e4a0d
Bug 1288581 part 1. Start tracing the expando object, if any, inside the ExpandoAndGeneration of a shadowing DOM proxy from that proxy's trace hook. r=smaug
2016-07-22 16:19:52 -04:00
Carsten "Tomcat" Book
8b6316ec5f
Merge mozilla-central to mozilla-inbound
2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Andrew McCreight
623b56a3f1
Bug 1287143
- Remove the window argument to SpecialPowers.exactGC(). r=jmaher
...
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Boris Zbarsky
13a6409e22
Bug 1280818 part 2. Change console to capture the first non-self-hosted subsumed frame when it just needs a caller location, instead of capturing the first frame and then possibly failing to get useful location info out of it because it's self-hosted. r=baku
2016-07-21 23:41:02 -04:00
Nick Fitzgerald
ea16cfab73
Bug 1280818 part 1 - Add the ability to capture the stack until the first non-self-hosted frame with the given principals; r=bz,jimb
...
Before this commit, one could either capture all stack frames (by passing
maxFrameCount = 0) or a maximum of N frames (by passing maxFrameCount = N). This
commit introduces the ability to capture the first frame (by default ignoring
self hosted frames) with some target principals. This new option required
replacing the `unsigned maxFrameCount` parameter with the introduction of a new
sum type to describe the stack capturing behavior:
StackCapture = AllFrames
| MaxFrames(unsigned n)
| FirstSubsumedFrame(JSPrincipals* p, bool ignoreSelfHosted)
This is obviously more wordy in C++ than we'd like, but does make the stack
capturing more explicit rather than relying on the sentinal 0 to stand in for
infinity.
2016-07-21 23:40:59 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Till Schneidereit
f8bc4fae19
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Brad Lassey
b3e11b9f98
Bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash). r=jst,mconley,mrbkap
2015-08-03 19:24:35 -04:00
Carsten "Tomcat" Book
0b2b46fcdb
Merge mozilla-central to mozilla-inbound
2016-07-18 17:10:52 +02:00
Carsten "Tomcat" Book
331d217bba
merge autoland to mozilla-central a=merge
2016-07-18 17:05:46 +02:00
Carsten "Tomcat" Book
779d97cbaf
Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request
2016-07-18 16:14:59 +02:00
Jan de Mooij
b68d3ea4c4
Bug 1285134 part 1 - Move the runtime private to the context. r=efaust
2016-07-18 14:36:13 +02:00
Carsten "Tomcat" Book
a0992595d6
merge mozilla-inbound to mozilla-central a=merge
2016-07-17 10:08:08 +02:00
Brian Birtles
dca0a51347
Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz
...
MozReview-Commit-ID: 4LhbIUIz6Vd
--HG--
extra : rebase_source : 817d59a42876d2c28455fece896e0648fbff551e
2016-07-13 13:22:13 +09:00
Boris Zbarsky
c100c511bf
Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
de3dccf7da
Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
e3b8194f3f
Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
2016-07-15 22:35:13 -04:00
Till Schneidereit
3a9eed06fe
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Emilio Cobos Álvarez
12929ea07e
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Carsten "Tomcat" Book
255d05f484
Backed out changeset 03362dd7616d (bug 1224664)
2016-07-16 10:03:12 +02:00
Carsten "Tomcat" Book
2abd5d3f18
Backed out changeset dd2d38b7c16b (bug 933378)
2016-07-16 10:03:11 +02:00
Carsten "Tomcat" Book
b2d35d7ca3
Backed out changeset 1c2bd3bdebd6 (bug 933378)
2016-07-16 10:03:10 +02:00
Carsten "Tomcat" Book
dfb4a51bab
Backed out changeset ed38780a242c (bug 933378)
2016-07-16 10:03:08 +02:00
Carsten "Tomcat" Book
10cd9bcc48
Backed out changeset 7fef388bc6cf (bug 1224664)
2016-07-16 10:03:07 +02:00
Boris Zbarsky
8f9cd3e3f5
Bug 1224664 followup: NS_ASSERT_OWNINGTHREAD needs to be #ifdef DEBUG if our NS_DECL_OWNINGTHREAD is.
2016-07-15 23:40:19 -04:00
Boris Zbarsky
a522fa79b7
Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
38d0ae9c0c
Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
4e44fce24b
Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
2016-07-15 22:35:13 -04:00
Emilio Cobos Álvarez
c5ce5bdb84
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Edgar Chen
3c4e6a930e
Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
...
MozReview-Commit-ID: K7Z3r2YRt7M
--HG--
extra : rebase_source : 5ebb9cd09de4a42690bac6cd04208f108da50731
2016-07-14 17:48:20 +08:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Andrew McCreight
1d1ce1020c
Bug 1283636 - Use CallbackPreserveColor() less. r=bz
...
Some places call CallbackPreserveColor() because they know the object
must have already been marked black. This patch replaces those calls
with a new function CallbackKnownNotGray() which documents and
dynamically checks this assumption.
2016-07-13 13:28:00 +02:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Boris Zbarsky
1ed92648d1
Bug 1257037 part 15. Get rid of the wantsXrays configuration annotation. Just set bindings to want Xrays if they're exposed in Window. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
8c00d2132b
Bug 1257037 part 14. Remove the now-unused skipGen bits from binding code. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
d959247e48
Bug 1257037 part 13. Get rid of the concept of worker vs non-worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
4813a875a7
Bug 1257037 part 12. Simplify CGRegisterWorkerBindings now that there are no more worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
f3fde63185
Bug 1257037 part 11. Get rid of getRelevantProviders, since all the places that use it have a Configuration. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
584c6019b6
Bug 1257037 part 10. Store only one descriptor per interface name in the configuration. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
67d015d59c
Bug 1257037 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
ca29b3c56a
Bug 1257037 part 8. Remove Configuration.getDescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
f719b4d8e4
Bug 1257037 part 7. Make the binding Configuration a non-workers DescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
fc26f41e40
Bug 1257037 part 6. Simplify the toBindingNamespace function now that there are no worker bindings. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
e36bd30afb
Bug 1257037 part 5. Remove remaining checks for worker descriptors from Codegen.py. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
c65c962762
Bug 1257037 part 4. Remove the worker-only XXX comments from CGWrapGlobalMethod, since we never have worker descriptors for globals anyway. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
69caa834f3
Bug 1257037 part 3. Remove filteredSignatures, since it's a no-op unless we're dealing with a worker descriptor. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
1dbb14fbc5
Bug 1257037 part 2. Remove isMaybeExposedIn, since it always returns true now. r=khuey
2016-07-08 00:37:53 -04:00
Boris Zbarsky
69f3736864
Bug 1257037 part 1. Remove the worker-descriptor-related complexity in getControllingCondition, since workerDesc.workers never tests true anymore. r=khuey
2016-07-08 00:37:53 -04:00
Boris Zbarsky
8345db87d2
Bug 1282150 followup: placate the rooting analysis in SimpleGlobalObject::Create so we can reopen the CLOSED TREE
2016-07-07 22:24:37 -04:00
Boris Zbarsky
97b0a16147
Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
d208b0de7a
Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
e990418707
Bug 1282150 part 2. Get rid of GetDefaultJSContextForThread. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
eb139d85bf
Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
2016-07-07 20:08:25 -04:00
Jan de Mooij
a53a99aab6
Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
...
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
Brad Werth
e0d3269112
Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
...
--HG--
extra : rebase_source : 0c2a49236a2c71233a1ce6a92e50663b8a9f6238
2016-07-06 11:45:18 -07:00
Fabrice Desré
f3a986a379
Bug 1284455 - Remove the Web Activities API r=me
...
MozReview-Commit-ID: 5SNGsRU4m9V
--HG--
extra : rebase_source : ccc6860481faa17b4b52571ae4fa6d9f2fc749de
2016-04-20 19:02:44 +02:00
Astley Chen
c0cfafab52
Bug 1284169
- include ACDEFINES flags in CSS properties PyGen r=mshal
...
MozReview-Commit-ID: 6fBTizGkBqG
--HG--
extra : rebase_source : 3d5a10b19941383e16c84712c3d6403632e7da50
2016-07-04 13:48:54 +08:00
Andrea Marchesini
43868a9da7
Bug 1282366 - Improve WorkerHolder use in Runnables, r=khuey
2016-07-04 08:19:10 +02:00
Daniel Holbert
2354f5fcb2
(no bug) Fix documentation in Bindings.conf to clarify that only some interfaces need to be listed there. rs=khuey
...
comment-only, so DONTBUILD
MozReview-Commit-ID: 5TY2roIvVcZ
2016-07-01 15:47:30 -07:00
Carsten "Tomcat" Book
3a42c363cc
merge mozilla-inbound to mozilla-central a=merge
2016-06-30 12:33:41 +02:00
Gregory Szorc
301c133f5c
Bug 1280326 - Stop monkeypatching os.path.exists; r=ted
...
MockedOpen monkeypatches os.path.exists. Changes to MockedOpen
since this test code was written have made it more robust
making the extra monkeypatching in the test not necessary.
This change may not fix the test failure reported in the bug.
But at least it makes the test code simpler.
MozReview-Commit-ID: BnUr08leope
--HG--
extra : rebase_source : d8d721392c88883fddf7959ca40ea194f91483c9
2016-06-24 13:41:49 -07:00
Carsten "Tomcat" Book
5c90a99952
merge mozilla-inbound to mozilla-central a=merge
2016-06-29 16:13:05 +02:00
Mantaroh Yoshinaga
8bc07a20e3
Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
...
MozReview-Commit-ID: CqqDlHQsm0p
--HG--
extra : rebase_source : 4495e289009af105b61413526ffd03200b5bee6b
2016-06-29 11:13:45 +09:00
Tom Schuster
4455e57052
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Boris Chiou
03d90dd78b
Bug 1244590
- Part 3: Parse spacing. r=birtles
...
We only support spacing mode from Web Animations API, so add a simple parser and
use it only from the API. In this patch, parse spacing mode from the constructor
and throw TypeError if we have any parse error.
MozReview-Commit-ID: 9H7g80IcZfZ
--HG--
extra : rebase_source : e1bc781ff0f20a1a38c04e672832ec013edc549d
2016-05-13 16:38:25 +08:00
Wes Kocher
8414c26e20
Merge m-c to inbound, a=merge
2016-06-27 14:09:06 -07:00
Wes Kocher
cd463132d8
Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
...
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)
--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Mantaroh Yoshinaga
5b4de2dcff
Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
...
MozReview-Commit-ID: CqqDlHQsm0p
--HG--
extra : rebase_source : 6f6f4583ffa57a4375af62c64a76081902b1f361
2016-06-27 08:09:32 +09:00
Boris Zbarsky
4eb82c0b30
Bug 1281071
. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley
2016-06-23 19:39:53 -04:00
Andrea Marchesini
f8c59929b9
Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey
2016-06-29 08:00:39 +02:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Kyle Huey
2dda6971f7
Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
...
--HG--
extra : rebase_source : ed96d99034e9236bd1fd4a8287efbd17cf20138e
2016-06-28 10:47:23 -07:00
Mike Shal
17d3cc636b
Bug 1273579 - Move GenerateCSS2PropertiesWebIDL.py invocation to moz.build; r=ted
...
MozReview-Commit-ID: 4OdSORktwis
2016-05-16 15:43:56 -04:00
Mike Shal
368c6bdec3
Bug 1273579 - Create main() function in GenerateCSS2PropertiesWebIDL.py; r=ted
...
MozReview-Commit-ID: 1R4L8Yvuzb2
2016-05-16 15:28:48 -04:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Andrea Marchesini
37ac18fc67
Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
...
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Andrea Marchesini
ec2c86347e
Bug 1269162 - part 5 - Merge XMLHttpRequestUploadWorker and XMLHttpRequestUpload, r=smaug
2016-06-27 19:13:41 +02:00
Andrea Marchesini
7c9f17d89a
Bug 1269162 - part 4 - Move XMLHttpRequestEventTarget in separate files, r=smaug
2016-06-27 19:13:41 +02:00
Andrea Marchesini
d3028d3755
Bug 1269162 - part 2 - Move XHRUpload in workers to XMLHttpRequestUploadWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequestUpload.cpp => dom/workers/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUpload.h => dom/workers/XMLHttpRequestUploadWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
e8f16c81be
Bug 1269162 - part 1 - Move XHR in workers to XMLHttpRequestWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequest.cpp => dom/workers/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequest.h => dom/workers/XMLHttpRequestWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
82f92bee37
Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly
2016-06-12 16:26:51 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrea Marchesini
1264ad2da5
Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug
2016-06-09 12:44:54 +02:00
Andrea Marchesini
d84e87b425
Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug
2016-06-09 12:43:56 +02:00
Andrea Marchesini
e7022433c4
Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug
2016-06-09 12:43:02 +02:00
Andrea Marchesini
c1ff80c475
Bug 1278834 - Renaming nsPerformanceTiming to mozilla::dom::PerformanceTiming, r=smaug
2016-06-09 12:42:43 +02:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
23a4858f1f
Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj
2016-06-07 02:46:03 -07:00
Jan de Mooij
66faed38af
Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
...
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
James Graham
5eb8c8dd4e
Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
...
MozReview-Commit-ID: AiMiksDzUdt
--HG--
extra : rebase_source : 3125cd305459a8080c3b266b07c199937bc36c5c
2016-06-06 17:52:24 +01:00
Boris Zbarsky
0f8a633cfe
Bug 1277401 part 5. Change dictionary codegen to output Func stuff as needed. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
7a576733a8
Bug 1277401 part 4. Fix up includes for dictionary members with [Func] on them. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
5b496a675c
Bug 1277401 part 3. Add IDL parser support for [Func] on dictionary members. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
d3289bfcf8
Bug 1277401 part 2. Fix up includes for dictionaries that have [ChromeOnly] members. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
df8eeb6742
Bug 1277401 part 1. Factor out the condition list generation for pref/func so we can reuse it for dictionary members. r=peterv
2016-06-07 10:34:53 -04:00
Carsten "Tomcat" Book
f70103867d
Backed out changeset 555091dfb391 (bug 1263991) for bustage on a CLOSED TREE
2016-06-07 12:10:43 +02:00
Jonas Sicking
be1a3a8e1d
Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj
2016-06-07 02:46:03 -07:00
Andrea Marchesini
c30cdb7269
Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz
2016-06-04 09:32:51 +02:00
Andrea Marchesini
be787b709b
Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv
2016-06-04 09:31:44 +02:00
Ms2ger
595eb44ead
Bug 1273499 - Move some code around in CallSetup::CallSetup() to avoid code repetition; r=bz
...
This has been possible since changeset d5f6867173c9 (bug 1262630).
2016-06-03 11:11:45 +02:00
Cameron McCormack
e3ca5e1f4a
Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv
2016-06-02 12:14:24 -04:00
Cameron McCormack
fe6930a402
Bug 1141916 - Part 1: Store extended attributes on IDLArguments. r=peterv
2016-06-02 12:10:56 -04:00
Boris Zbarsky
783e8cc098
Bug 1270601 part 3. Add a way to annotate and IDL namespace as needing a new plain object as its prototype, because using Object.prototype as the prototype of 'console' is not web-compatible. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
98b4dca6e9
Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
7e52059153
Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv
2016-06-02 10:34:39 -04:00
Kaku Kuo
fca7b0b604
Bug 1141979 - part8 - implement ImageBitmap extensions; r=jrmuizel
...
MozReview-Commit-ID: Bc6HoqRLMNB
--HG--
extra : transplant_source : %89%E9Q%FD4%ED%FD%EC5pqq%AF%C6%90%E0y%A2%88%12
2016-04-27 13:03:01 +08:00
Nicholas Nethercote
2fda0872c8
Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
...
This patch fixes numerous unchecked calls.
--HG--
extra : rebase_source : 566f2ca9fba1c8b18fa7ec1753168dbae9cf70d1
2016-06-01 15:49:04 +10:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336
Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
...
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Nathan Froyd
1578760736
Bug 1272813 - part 3 - try to take advantage of string sharing in JSEventHandler::HandleEvent; r=peterv
...
The Rebind() call in HandleEvent was attempting to be clever by sharing
string data with the error event's message. Unfortunately, we
eventually needed to pass the message out to JS, which required copying
the string for JS's purposes. Fortunately, we can attempt to be even
more clever by noticing whether the error event's message is already
allocated as a string buffer and sharing that, rather than just the raw
data. In the best case, the string buffer can be shared out to JS and
we avoid some needless copying.
2016-06-01 16:26:59 -04:00
Nathan Froyd
a4f2ce0263
Bug 1272813 - part 2 - factor out a AssignFromStringBuffer method in FakeString; r=peterv
...
We're shortly going to have multiple ways to assign an nsStringBuffer
into FakeString, so we might as well put the common code somewhere
useful.
2016-06-01 16:26:59 -04:00
Andrea Marchesini
e004a6613e
Bug 1276887 - webidl "Deprecated" keyword should work in workers, r=smaug
2016-06-01 12:15:34 +02:00