Commit Graph

5452 Commits

Author SHA1 Message Date
Masatoshi Kimura
5aabeea338 Bug 1325217 - Remove Windows Vista from <supportedOS> manifest. r=jimm
MozReview-Commit-ID: BoZo3XKCgv0

--HG--
extra : rebase_source : 8ad6fa7d6fcc3741e308287a57471f61dd62f97b
2016-12-22 07:17:30 +09:00
Jan de Mooij
158805801d Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Jan de Mooij
e67d1ceec6 Bug 1325345 - Add compartment asserts to JS_FireOnNewGlobalObject and other APIs. r=jonco,bholley
--HG--
extra : rebase_source : 07f26b60760e20f4ada79f02222588e79460ead8
2016-12-22 12:25:26 +01:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Yoshi Huang
2ceecc22f5 Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug 2016-12-21 14:59:21 +08:00
Nicholas Nethercote
df925b776c Bug 1321374 - Simplify js::Class handling relating to nsIXPCScriptable. r=mccr8, sr=bholley.
This patch removes XPCNativeScriptableShared and XPCNativeScriptableSharedMap,
which results in a net reduction of ~100 lines of code.
2016-12-14 08:33:46 +11:00
Ehsan Akhgari
d67534c9f0 Bug 1320201 - When an XHR is made with an expanded principal, use the expanded principal for CORS security checks; r=bzbarsky
We should only ensure that the resulting document doesn't end up
inheriting the expanded principal.
2016-12-15 16:49:35 -05:00
Carsten "Tomcat" Book
4a9a623faf Merge mozilla-central to mozilla-inbound 2016-12-15 14:24:41 +01:00
Steve Fink
7f97277dc2 Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8 2016-10-28 15:11:56 -07:00
Wes Kocher
c3693bf65e Merge m-c to autoland, a=merge 2016-12-14 16:12:33 -08:00
Till Schneidereit
95b8398292 Bug 1322920 - Remove DOM Promise implementation. r=bz
MozReview-Commit-ID: 1zzd0x2LNNb
2016-12-14 17:11:48 +01:00
Pawan Sasanka
46399d1148 Bug 1306538 - Move js::ReportASCIIErrorWithId to AddonWrapper.cpp. r=arai 2016-12-13 14:57:21 +05:30
Andi-Bogdan Postelnicu
1ce5b7e29b Bug 1323183 - prevent memory leak from CheckTargetAndPopulate. r=bholley
MozReview-Commit-ID: 6iMg2eUHoU6

--HG--
extra : rebase_source : b075cd1b7f8897b776b17c201f2b33c4992a0a9a
2016-12-14 20:56:46 +02:00
Olli Pettay
6f87bd6cd5 Bug 1323226, re-enable the accidentally disabled xpc_TryUnmarkWrappedGrayObject also in opt builds, r=ehsan 2016-12-14 01:07:42 +02:00
Sebastian Hengst
42d867c83e Backed out changeset 8574c820840b (bug 1323226) for static analysis bustage. r=backout on a CLOSED TREE 2016-12-13 20:25:40 +01:00
Olli Pettay
a0607eb3a5 Bug 1323226, re-enable the accidentally disabled xpc_TryUnmarkWrappedGrayObject also in opt builds, r=ehsan
--HG--
extra : rebase_source : 372d56e1ed73968d64fa53d9f3ca7aab5e8370e9
2016-12-13 20:56:27 +02:00
Boris Zbarsky
43e94e6458 Bug 1322415. Fix property enumeration on cross-origin windows to include indexed props, and add some tests for the ordering of the indexed, named, and symbol-named props on cross-origin objects (window and location). r=bholley 2016-12-13 13:14:43 -05:00
Tom Schuster
fffde16165 Bug 1313112 - Remove non-standard static ArrayBuffers.slice. r=arai 2016-12-13 15:40:22 +01:00
Nicholas Nethercote
f81fa28212 Bug 1322080 (part 3, attempt 2) - Remove nsIXPCScriptable::addProperty. r=peterv.
--HG--
extra : rebase_source : af5d98e2d84bd7592b499134e06c98821302f488
2016-12-02 17:37:55 +11:00
Nicholas Nethercote
b654a853d9 Bug 1322080 (part 2, attempt 2) - Remove XPC_MAP_WANT_POST_CREATE_PROTOTYPE. r=peterv.
--HG--
extra : rebase_source : 38e7b889e7fa8ea76aba402baf536a3f8d7e297d
2016-12-02 17:12:08 +11:00
Carsten "Tomcat" Book
9788e20a9e Backed out changeset 5b3a011acc01 (bug 1322080) 2016-12-12 12:15:51 +01:00
Carsten "Tomcat" Book
5f2a9e53a6 Backed out changeset 9356d8836ca8 (bug 1322080) 2016-12-12 12:15:49 +01:00
Nicholas Nethercote
d307e2a3a9 Bug 1322080 (part 3) - Remove nsIXPCScriptable::addProperty. r=peterv.
The only non-trivial implementation of this method is in nsEventTargetSH, but
it's never called, so no point keeping it around. (Similar methods were removed
in bug 1132184 and bug 1132187.)
2016-12-02 17:37:55 +11:00
Nicholas Nethercote
f4dc382625 Bug 1322080 (part 2) - Remove XPC_MAP_WANT_POST_CREATE_PROTOTYPE. r=peterv.
It's never defined, and there's a comment in
XPCWrappedNativeProto::CallPostCreatePrototype() explaining how
PostCreatePrototype() doesn't have an associated "want" check.
2016-12-02 17:12:08 +11:00
Jon Coppeard
b8a1fc66c2 Bug 1295033 - Handle failure in nsXPCWrappedJS constructor r=mccr8 2016-12-07 13:43:24 -10:00
Shu-yu Guo
72e9231d47 Bug 1315592 - Handle JS compilation errors in the async subscript loader. (r=bholley) 2016-12-02 17:36:42 -08:00
Boris Zbarsky
11fbb63457 Bug 1321299. Cross-origin objects should allow gets of certain symbol-named properties but force the value to be undefined. r=bholley 2016-12-02 15:24:20 -05:00
Tooru Fujisawa
10515acfd3 Bug 1321222 - Remove legacy generator from js/xpconnect/. r=mrbkap 2016-12-01 18:12:14 +09:00
Tom Schuster
a4860e9fe0 Bug 1192038 - Update RegExp Xray code. r=bholley,arai 2016-11-26 19:17:39 +01:00
Tom Schuster
f5ca1e8eea Bug 1213341 - Simplify Error Xray code. r=bholley 2016-11-22 20:53:38 +01:00
Tom Schuster
78e10f98ab Bug 755821 - Parse arguments of Function constructor properly. r=shu 2016-10-15 11:47:00 +09:00
Ehsan Akhgari
7009c0e03a Bug 1318768 - Part 2: Make nsIURIClassifier::Classify() available in the content process; r=gcp,baku 2016-11-22 08:17:26 -05:00
André Bargull
8a555a2bfd Bug 1303091 - Share static Intl data across compartments. r=Waldo, r=jonco
--HG--
rename : js/src/builtin/IntlTzData.js => js/src/builtin/IntlTimeZoneData.h
extra : rebase_source : 558f4fba32efdee429423055f3786e1dc09e4d68
2016-11-17 14:40:18 -08:00
Tooru Fujisawa
62e286f0d5 Bug 1293305 - Part 1.7: Remove already disabled test that uses for-each. r=bholley 2016-11-21 15:03:35 +09:00
Ehsan Akhgari
4a7e1635a3 Bug 1318875 - Stop using nsIPrincipal.APP_STATUS_INSTALLED in test_xpcwn_tamperproof.js; r=baku
Instead of the principal object, we use the command line object which is
another XPCOM object with classinfo that has an attribute, a method and
a constant.
2016-11-20 11:20:56 -05:00
Tom Schuster
9ecd567697 Bug 1155700 - Enable Map/Set Xrays. r=bz 2016-11-19 01:17:53 +01:00
Ryan VanderMeulen
85a696c413 Bug 1318195 - Only build RegisterXPCTestComponents if tests are enabled. r=froydnj
--HG--
extra : rebase_source : b02e7acb1299a816be1f182fc7c1821f1d566ee7
2016-11-17 12:48:23 -05:00
Benjamin Smedberg
ef89ac1033 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : d6c813e568ba62bcc7174a0fc990ccf4364717e6
extra : source : c78f97c0b77126fa37c857728192f2e2d0c2d99c
2016-11-16 12:28:57 -05:00
Iris Hsiao
5f1776f800 Backed out changeset c78f97c0b771 (bug 1314955) 2016-11-16 15:19:46 +08:00
Benjamin Smedberg
e6c91228b2 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : 5e9e9d065010b3d772c1795b798530cb00828637
2016-10-26 11:47:52 -04:00
Jan de Mooij
44e40b79ad Bug 981201 - Stop using JS_IsRunning in PreciseGCRunnable::Run and remove JS_IsRunning. r=bholley 2016-11-15 10:58:30 +01:00
Andrea Marchesini
2aba798852 Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
Tom Schuster
77bdad13e3 Bug 1015798 - Improve ClassSpec depedent behavior especially with inheritance. r=bz 2016-11-08 22:08:28 +01:00
Tom Schuster
63d908c446 Bug 1015798 - Add int32 type to PropertySpec. r=arai 2016-11-08 22:08:28 +01:00
Lars T Hansen
03a640d849 Bug 1232966 - Adapt Xrays tests for SharedArrayBuffer.prototype.slice. r=bz
--HG--
extra : rebase_source : 3274877fbffb56153ffaa7e08f27d79898cdbee1
2016-11-01 10:00:34 +01:00
Lars T Hansen
16602df083 Bug 1314564 - adapt xray tests for SharedArrayBuffer to include new properties. r=bz
--HG--
extra : rebase_source : 9b84f4e1ac126964d241e51666188e0d7b137d49
2016-11-03 19:00:09 +01:00
Sebastian Hengst
265bb0f27f Bug 1310297 - Remove test annotations using b2g, mulet or gonk: js. r=RyanVM
MozReview-Commit-ID: 3ACHxcWBQh6

--HG--
extra : rebase_source : 2fcd0af0cbee005e1493076183245655914d46f9
2016-11-05 11:29:20 +01:00
Jon Coppeard
99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00: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
6a713608c0 Bug 1021289 part 1. Change XrayWrapper::delete_ to call through to the traits delete_ method if the property doesn't actually exist on the expando. r=peterv 2016-11-04 12:41:26 -04:00