Tom Schuster
13263ee62f
Bug 1248865 - Some small changes to JSXray and tests. r=bz
2016-10-25 10:18:40 +02:00
Michelangelo De Simone
8641036d15
Bug 1310859 - Remove DOM/nfc and related code. r=jst
...
MozReview-Commit-ID: FiS7uGytipN
--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Tooru Fujisawa
2496019988
Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley
2016-10-19 02:10:33 +09:00
Tooru Fujisawa
6f9d4ca127
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
23d868fa20
Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden
2016-08-14 20:39:30 +09:00
Ryan VanderMeulen
75888fe1aa
Merge autoland to m-c on a CLOSED TREE. a=merge
2016-10-21 17:12:27 -04:00
Tom Tromey
0dc689acdd
Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
...
MozReview-Commit-ID: DD3DJRkOxmC
--HG--
extra : rebase_source : 61cdf0da1a82b626abc79209ee41e43c3bb152ca
2016-10-11 12:44:40 -06:00
Bill McCloskey
cbd15a0459
Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap)
2016-10-19 16:26:23 -07:00
Wes Kocher
71f24926ed
Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
...
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Tooru Fujisawa
fe381e93f3
Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley
2016-10-19 02:10:33 +09:00
Tooru Fujisawa
8d69b4f507
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
81c1a988e3
Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden
2016-08-14 20:39:30 +09:00
Jon Coppeard
1989821a93
Bug 1308116 - Improve GC telemetry for non-incremental GCs r=sfink
2016-10-18 18:02:54 +01:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Brian Hackett
7b7d057eda
Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
...
--HG--
extra : rebase_source : 331f8d0f8010dd3d522d00511bb9f89348f7fa03
2016-10-13 18:07:02 -06: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
9b55cff586
Backed out changeset 0d4f60fa9597 (bug 1306281) for hazard. r=backout
2016-10-13 18:33:08 +02:00
Brian Hackett
d04d2b9c49
Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
...
--HG--
extra : rebase_source : 19cc22ea009390de6661d2d77ea4f976c650947f
2016-10-12 13:09:49 -06:00
Andrea Marchesini
793b227795
Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug
2016-10-13 14:33:07 +02:00
Ho-Pang Hsu
ea1ffcd54c
Bug 1282671 - Loose the assertion checking win->IsDying(). r=bholly
2016-10-12 19:49:00 +02:00
Nicolas B. Pierron
c4ddfd637a
Bug 1286009 - Distinguish failure reasons of JS_{En,De}codeScript. r=luke
2016-10-12 12:13:22 +00:00
Jan de Mooij
16f561144e
Bug 1303754 - Don't use lazy source code if the startup cache is not available (i.e. content processes). r=bholley
2016-10-12 11:51:02 +02:00
Tooru Fujisawa
f13e53f272
Bug 1309473 - Set browser.dom.window.dump.enabled to true in xpcshell to print error. r=bholley
2016-10-20 23:10:36 +09:00
Tooru Fujisawa
9d05259251
Bug 1308947 - Report uncaught error in xpcshell interactive mode. r=bholley
2016-10-20 23:10:35 +09:00
Phil Ringnalda
25afef5692
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07: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
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
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
Boris Zbarsky
171911dd94
Bug 946906 part 2. Declare XrayExpandoObjectClassOps in XrayWrapper.h so we can use it from bindings code. r=bholley
2016-10-10 18:16:25 -04:00
Boris Zbarsky
4d566db15c
Bug 946906 part 1. Move the ExpandoSlots enum to XrayWrapper.h. r=bholley
...
The other option, of course, is to just define an "expando slot count" constant
in the header and then static_assert it has the right value once the
ExpandoSlots enum is declared.
2016-10-10 18:16:25 -04:00
Andi-Bogdan Postelnicu
1bb22fcee7
Bug 1308884 - clean return from functions that use variable number of arguments. r=bholley
...
MozReview-Commit-ID: JXvNwPJyOvb
--HG--
extra : rebase_source : bcc602c6a10c0c157edbb8bbb568a0aaf1e06f64
2016-10-10 14:31:16 +03:00
Sebastian Hengst
3cfa07e6d2
Bug 1304829 - Rename test_xrayToJS.xul's isReleaseBuild to isReleaseOrBeta. r=gabor
...
MozReview-Commit-ID: GCPbc0IfzTN
2016-10-08 11:15:44 +02:00
Jon Coppeard
123936bacd
Bug 1306382
- Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8
2016-10-07 13:58:37 +02:00
Tom Schuster
774a8bf34d
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02:00
Nicolas B. Pierron
b3e4b94e1e
Bug 1288104 part 1 - Move XDR buffer to the caller. r=luke
...
Add a typedef on top of mozilla::Vector to define the TranscodeBuffer which owns
the encoded content of a Script / Function.
This modification renames JS_EncodeScript, into JS::EncodeScript, and change its
prototype to have a JSContext, a TranscodeBuffer, and a Handle on a script that
we want to encode.
Similar modifications are made to JS_EncodeInterpretedFunction, and the Decode
variant of these.
2016-10-20 09:44:33 +00:00
Tom Schuster
4e49d5103f
Bug 1303714 - Always Unwrap ArrayBuffer in TypedArray constructor. r=bholley
2016-10-03 21:19:09 +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
681cacc1f6
Bug 1290337 - Part 15: Replace Value parameter to const Value& in js/xpconnect. r=jandem
2016-09-11 18:15:24 +09:00
Carsten "Tomcat" Book
6636b09ddd
merge mozilla-inbound to mozilla-central a=merge
2016-09-30 12:02:16 +02:00
Sylvestre Ledru
f833237445
Bug 1302401 - This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. r=Waldo
...
MozReview-Commit-ID: 5elj65A6dzO
--HG--
extra : rebase_source : 2696ee83dab7856cb8f599ef9f3c13fd4cd5e5f7
2016-09-13 14:23:04 +02:00
Tooru Fujisawa
10dd75211d
Bug 1289050 - Part 2: Use ASCII or Latin1 variants of JS_ReportError in not-simple cases. r=jwalden
2016-08-15 19:20:01 +09:00
Tooru Fujisawa
8dff9a4d76
Bug 1289050 - Part 10: Use Latin1 variant of JS_ReportErrorNumber for strerror. r=jwalden
2016-08-16 03:11:59 +09:00
Tooru Fujisawa
13d64d6825
Bug 1289050 - Part 3.1: Add mozJSComponentLoader::Location and use UTF8 variant of JS_ReportError in mozJSComponentLoader. r=jwalden
2016-09-30 12:34:44 +09:00
Tooru Fujisawa
215be0c5d2
Bug 1289050 - Part 3: Use UTF8 variant of JS_ReportError after re-encoding string. r=jwalden
2016-08-15 19:20:04 +09:00
Tooru Fujisawa
f2542c1849
Bug 1289050 - Part 2.1: Use JS_ReportErrorLatin1 in mozJSComponentLoader::LoadModule. r=jwalden
2016-09-30 12:34:43 +09: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
Phil Ringnalda
556a8f6ea1
Backed out 3 changesets (bug 1301301) for crashing
...
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Andrew McCreight
9d11cb0868
Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
...
This will let my later patch run code at the start and end of each CC.
This patch should not change any behavior.
MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Ehsan Akhgari
0baf8d2b40
Bug 1300908 - Avoid using expanded principals as the loading principal of XHR; r=smaug
2016-09-27 14:11:28 -04:00