Brian Hackett
909e578fea
Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem.
2015-02-02 11:20:38 -07:00
Tom Schuster
f605ba3799
Bug 1127443 - Remove JS_NewObject proto argument.
2015-01-31 16:18:51 +01:00
Tom Schuster
42f3ec261e
Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto
2015-01-31 16:18:51 +01:00
Terrence Cole
93976b9fec
Backed out changeset f6ac06e9143d (Bug 1125929) for breaking win32 builds on a CLOSED TREE.
...
--HG--
extra : rebase_source : 20adf8603c62c967257d4603a6b1e8303d8bdd1c
2015-01-29 12:01:23 -08:00
Bill McCloskey
94aebaaa39
Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley)
2015-01-29 11:28:01 -08:00
Terrence Cole
aa3b065ff1
Bug 1125929 - Remove the unused GC stack capture; r=billm
...
--HG--
extra : rebase_source : e3e11fcde39720c6bf5b62bf670b04debc193426
2015-01-28 11:52:01 -08:00
Bill McCloskey
cbecfa296f
Bug 1123868 - Clear interposition map after deleting it (r=mccr8)
2015-01-28 12:10:53 -08:00
Nicholas Nethercote
3163cfc2c1
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Tooru Fujisawa
ee95717e31
Bug 1069416 - Part 2: Remove JS_HAS_SYMBOLS from js tests. r=evilpie,mrbkap
2015-01-28 13:06:37 +09:00
Shu-yu Guo
4e73ce230d
Bug 1119363 - Tweak trusted stack buffer size to give Win64 PGO more room. (r=bholley)
2015-01-27 17:06:23 -08:00
Eric Skoglund
fff6b439db
Bug 1107645 - Implement TypedArray.forEach in accordance with the ecma 6 revision 31 spec. r=evilpie
...
Added reference to the forEach function in TypedArrayObject.cpp. Also added the correct specification reference to the function.
Tests added for the TypedArray#forEach based on the tests for TypedArray#some
Added reference to forEach in test_xrayToJs.xul
Added test to assert that forEach returns undefined.
Added new Proxy() to list of invalid receivers.
2015-01-26 12:46:00 -05:00
Bobby Holley
928226b50e
Bug 1126023 - Annotate assertion. r=me
2015-01-26 15:44:00 -08:00
Bill McCloskey
2f3d90830b
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-26 13:32:18 -08:00
Bobby Holley
ebfd3a1b74
Bug 1124898 - Tests. r=bz
2015-01-26 10:26:33 -08:00
Tom Schuster
7f95393f87
Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff
2015-01-24 16:38:08 +01:00
Tom Schuster
66ad9a2e49
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Boris Zbarsky
3c92a4bdd7
Bug 1107443 part 3. Stop defining non-configurable properties on the window in xpconnect sandbox code. r=peterv,jorendorff
2015-01-23 09:54:15 -05:00
Boris Zbarsky
cbb271e250
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
Jon Coppeard
12ae93f10e
Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent
2015-01-23 10:23:57 +00:00
Jon Coppeard
c17c1bd7eb
Bug 1107639 - Use two phase construction rather than Maybe<PersistentRooted> r=terrence
2015-01-23 10:23:57 +00:00
Nicholas Nethercote
1728be992a
Bug 1122322 (follow-up) - Fix busted paths in worker memory reporter. r=bent.
...
--HG--
extra : rebase_source : c191acaa96ff7fd3d973eb542a56e7b96efb7466
2015-01-22 21:26:21 -08:00
Wes Kocher
c1bec44889
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
e535bf8aa7
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-22 20:00:19 -08:00
Ehsan Akhgari
5f3af43996
Bug 1123108 follow-up: Fix the Windows only build bustage on a CLOSED TREE
2015-01-22 19:13:39 -05:00
Ehsan Akhgari
59d99db61e
Bug 1123108 - Mark nsIXPConnectWrappedNative::mIdentity as an nsCOMPtr; r=bholley
2015-01-22 17:54:54 -05:00
Ehsan Akhgari
165b504f32
Bug 1116357 - Prevent double releasing the wrapper object in the error handling code in FinishCreate; r=bholley
2015-01-22 17:54:53 -05:00
Ehsan Akhgari
41354c1922
Bug 1119260 - Mark virtual overridden functions as MOZ_OVERRIDE in XPConnect; r=bholley
2015-01-22 17:54:52 -05:00
Tom Schuster
269e651092
Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz
2015-01-22 17:17:26 +01:00
Bill McCloskey
582425cdbd
Bug 1114345 - Don't pop up slow script dialog after waking up laptop (r=bholley)
2015-01-21 16:13:21 -08:00
Jon Coppeard
90c9dbbc91
Bug 650161 - Don't trace contents of wrapped native scope in wrapped native proto's trace hook, just the scope's global r=billm
2015-01-21 09:25:13 +00:00
Ehsan Akhgari
d161a0c991
Bug 1123002 - Convert XPCStringConvert::ZoneStringCache::mBuffer to void*; r=mccr8
...
This variable is only used for pointer comparison in order to compute
a cache match. This patch converts the type of the variable to void*
so that it can still be used for the pointer comparison, but not for
any other purpose, including dereferencing, since the pointer may
potentially be dangling if the string buffer dies.
2015-01-20 19:12:42 -05:00
Trevor Saunders
6c486b0407
bug 1122100
- more MOZ_OVERRIDE in xpcomish stuff r=froydnj
2015-01-19 17:41:12 -05:00
Bill McCloskey
f6534c08fb
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Nicholas Nethercote
69fe655b04
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
...
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Jason Orendorff
ef7a22ceb7
Bug 1112778, part 2 - Rename js::DefaultValue -> js::OrdinaryToPrimitive. r=Waldo.
...
--HG--
extra : rebase_source : 90e9de457d157d0ac30308ceb633f981917645ff
2014-12-18 05:02:30 -06:00
Phil Ringnalda
e39f0adeca
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
e9735966fa
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
47221bc7f9
Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
...
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
c7538c9776
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
...
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Brad Lassey
36b059df69
bug 1096718 - - display time measured spent in each compartment r=billm,mossop
2015-01-13 17:38:05 -08:00
Christoph Kerschbaumer
54b8e4e5e4
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Tom Schuster
630b6a532d
Bug 1119217 - Implement %TypedArray%.prototype.{keys, values, entries}. r=till
2015-01-11 21:21:35 +01:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Chris Peterson
9e23388ca8
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Andrew McCreight
ffbaeabe1a
Bug 1119499 - Define BAD_TLS_INDEX where it is used. r=janv
2015-01-09 12:41:49 -08:00
Martin Thomson
09d5b914b7
Bug 1116269 - Add 'crypto' to sandbox global properties, r=gabor
...
--HG--
extra : rebase_source : 559500a07bf8c5d7a280310a776195d85d313e57
2015-01-09 10:55:44 -08:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ben Kelly
2f999e45d9
Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking
2015-01-08 11:21:52 -05:00
ziyunfei
59aac072c3
Bug 1117350 - Part 2: Implement %TypedArray%.prototype.{reduce, reduceRight}. r=evilpie
2015-01-07 01:55:00 -05:00
Jon Coppeard
0b1dcc49a2
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Michael Pruett
411a94b05a
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Lars T Hansen
66db35349c
Bug 1117735 - remove expected functions from an xpconnect test. r=me
2015-01-07 09:17:09 +01:00
Chris Peterson
1d34b65657
Bug 1118149 - Mark js/src as FAIL_ON_WARNINGS for gcc and clang. r=jorendorff
2014-12-14 22:10:10 -08:00
Ryan VanderMeulen
16a3a81985
Backed out changeset 205f8fa00772 (bug 1055755) for Android debug jsreftest permafail.
...
CLOSED TREE
2015-01-06 19:07:06 -05:00
Eric Faust
236fc8fba2
Bug 1055755 - Remove |existing| arg from JSCompartment::wrap. (r=billm)
2015-01-06 13:12:06 -08:00
Ben Turner
e5dcbec838
Bug 1116697 - Fix nsScriptError::InitWithWindowID to work better off the main thread, r=mrbkap.
2015-01-05 14:53:37 -08:00
ziyunfei
b346d7268c
Bug 1116390 - Implement %TypedArray%.prototype.{every, some}. r=evilpie
2015-01-03 08:26:00 -05:00
Ryan VanderMeulen
4d0783188e
Backed out 5 changesets (bug 1099152, bug 1117098) for causing frequent B2G debug timeouts.
...
Backed out changeset 4feee07c34ad (bug 1117098)
Backed out changeset 168e5b9bf198 (bug 1099152)
Backed out changeset 9192d432d87e (bug 1099152)
Backed out changeset 8b891ebcd21f (bug 1099152)
Backed out changeset 24dae3ce853d (bug 1099152)
2015-01-05 12:38:18 -05:00
Jon Coppeard
f1d487e594
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Wes Kocher
6d40130fd9
Backed out 5 changesets (bug 1099152) for hazard build failures on a CLOSED TREE
...
Backed out changeset 3d195c54dcf1 (bug 1099152)
Backed out changeset e5a903979b5f (bug 1099152)
Backed out changeset 969965f4c893 (bug 1099152)
Backed out changeset 1e4e3b85c620 (bug 1099152)
Backed out changeset 501a22044336 (bug 1099152)
2015-01-02 12:43:48 -08:00
Jon Coppeard
706b85bf8f
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
ziyunfei
3f2a6a8998
Bug 1115817 - Implement %TypedArray%.prototype.join. r=evilpie
2014-12-29 19:24:00 +01:00
ziyunfei
2666ae7589
Bug 1111869 - Implement %TypedArray%.prototype.includes. r=till
2014-12-24 07:34:00 -05:00
Brian O'Keefe
a7beaba91a
Bug 923080 - Generate xpt files into final location. r=glandium
...
Now that the mozbuild backend knows about FINAL_TARGET, we are able to
install generated xpt files into their final location. This saves us
from copying xpt files into their final location on every build.
Original patch by gps, rebased and comments addressed by Ms2ger
--HG--
extra : transplant_source : %E2%DC%0F%E0%AD%C2%25%A1%B8%A9%FE%B0%8C%60%FF%CB%02G%25%E5
2014-05-21 08:25:57 -04:00
Bill McCloskey
b1e81067d6
Backout bug 1072980 due to regressions.
2014-12-20 21:15:36 -08:00
ziyunfei
cab354fdd1
Bug 1111516 - Implement %TypedArray%.prototype.reverse. r=evilpie
2014-12-18 21:36:00 +01:00
Bill McCloskey
93dadf5551
Bug 1111412 - Make sure slow script timeout is initialized when event starts running (r=bholley)
2014-12-18 17:36:20 -08:00
Bill McCloskey
aacd3e1553
Bug 1072980 - Don't allow CPOWs to be passed to C++ functions (r=mrbkap)
2014-12-18 17:34:23 -08:00
Bobby Holley
682a5b2f5c
Bug 1110546 - Allow null as the principal argument for the sandbox constructor. r=gabor
2014-12-18 12:44:42 -08:00
Bobby Holley
e9f1d90071
Bug 1112925 - Don't re-enter JS with a pending exception in CheckForPendingException. r=terrence
2014-12-18 12:39:30 -08:00
Carsten "Tomcat" Book
95ee4c0ee0
Merge mozilla-central to mozilla-inbound
2014-12-17 12:59:05 +01:00
Carsten "Tomcat" Book
70b3e47b2d
merge b2g-inbound to mozilla-central a=merge
2014-12-17 12:57:09 +01:00
Dan Gohman
8bacfeb968
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-16 16:30:39 -08:00
Nikhil Marathe
3d31470511
Bug 1107777 - Add autoJSAPIOwnsErrorReporting flag to JSContext options. AutoJSAPI sets it. r=bholley
2014-12-16 02:02:37 -08:00
Fabrice Desré
130be9050a
Bug 923897 - Extensibility support for b2g r=ferjm,bholley
2014-12-16 15:32:28 -08:00
ziyunfei
a34e71d4d0
Bug 1107601 - Implement %TypedArray%.prototype.{indexOf, lastIndexOf}. r=evilpie
2014-12-13 07:15:00 -05:00
Gabor Krizsanits
6ad20c15c2
Bug 1110105 - Get rid of -Promise from wantGlobalProperties. r=bholley
2014-12-15 11:34:16 +01:00
Ehsan Akhgari
b48a4d79a0
Bug 1109702 - Fix more bad implicit constructors in js; r=Waldo
2014-12-13 10:22:19 -05:00
Botond Ballo
79d427447d
Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
...
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Tom Schuster
8960d9ef9f
Bug 1094176 - Remove lookup API from browser. r=bholley
2014-12-17 00:28:39 +01:00
Tom Schuster
7ed0e36ad2
Bug 783829 - Remove getEnumerablePropertyKeys. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
f834688bbc
Bug 783829 - Change from Proxy iterate to enumerate. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Terrence Cole
20e03ef2a5
Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
...
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Terrence Cole
a99f92dd64
Bug 1105069 - Part 15: Convert xpc_GCThingIsGrayCCThing to GCCellPtr; r=mccr8, r=jonco
...
--HG--
extra : rebase_source : 096b8eaf5b46afc1c40b0b9e8b233ec13c638c85
2014-12-09 16:22:51 -08:00
Terrence Cole
e4a4d0c7fa
Bug 1105069 - Part 14: Convert NoteJSChild to GCCellPtr; r=mccr8, r=jonco
...
--HG--
extra : rebase_source : 2338e0a57779401f9bc4744bc2fa59a4b31d76bf
2014-12-05 09:38:34 -08:00
Nigel Babu
b91168c141
Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE
2014-12-16 11:24:15 +05:30
Dan Gohman
d791adb2b0
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-15 20:53:58 -08:00
Ehsan Akhgari
09a262787c
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Tom Schuster
9dfe5c2fd4
Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley
2014-12-11 19:31:10 +01:00
Tom Schuster
5dd32b3dd5
Bug 1097267 - Remove the DONT_ENUM_STATIC_PROPS flag from XPC. r=bholley
2014-12-11 19:31:10 +01:00
Ryan VanderMeulen
9a56a97e41
Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures.
...
--HG--
extra : rebase_source : 0266cc0b2a6568ca653885745f381df8d6d167ec
2014-12-11 11:28:30 -05:00
ziyunfei
5f470bd4a1
Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till
2014-12-10 20:50:00 -05:00
Jason Orendorff
92f1bf16c5
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
...
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Jason Orendorff
acdfa74202
Bug 1103152
- Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
...
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Boris Zbarsky
212b09964c
Bug 1101123. Don't allow redefining the getter of a non-configurable accessor property on native objects, even via the low-level JSAPI methods. r=efaust,bholley
2014-12-09 14:44:38 -05:00
Mark Hammond
91fcbf833d
Bug 287107 followup - skip test on Android on CLOSED TREE. r=me
2014-12-09 15:36:55 +11:00
Mark Hammond
98b5b441cd
Bug 287107 - make Components.returnCode be the xpcom nsresult if set by js components. r=bholley
2014-12-09 13:52:08 +11:00
ziyunfei
9f432a3c84
Bug 1078975 - Implement %TypedArray%.prototype.{find, findIndex}. r=till,gabor
2014-12-04 13:22:10 -08:00
Allison Naaktgeboren
8f0e0cc755
Bug 1080212 - [e10s] Add Telemetry probe for js exceptions that occur in the addon js compartment.r=billm
2014-12-02 16:41:00 -08:00
Trevor Saunders
1a013270b5
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00