Commit Graph

27898 Commits

Author SHA1 Message Date
Niko Matsakis
82e050c9ff Bug 898338 - Binary Data: Adjust formatting, convert some static things to non-static. r=nsm
--HG--
extra : rebase_source : 8ba33f8b1223099667261a88ae2aa4c39ad5c989
2013-07-26 11:03:42 -07:00
Brian Hackett
d649398227 Bug 898021 - Mark values written to integer typed arrays as truncated, r=jandem. 2013-07-26 11:29:48 -06:00
Mina Almasry
d88dc366d5 Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Carsten "Tomcat" Book
cffa34be10 Backed out changeset df8423fdcad8 (bug 888088) for possible premaorange crash 2013-07-26 14:49:17 +02:00
Till Schneidereit
5e23af36ee Bug 898365 - Remove superfluous handler-wrapping form JSFunction::nonLazyScript. rs=jonco
--HG--
extra : rebase_source : 67f2c2fd74dbc2e3461ad905e248d06a5c2f9155
2013-07-26 12:59:48 +02:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jeff Walden
e6943aa105 Bug 894026 - Implement ES6 binary and octal literals. r=till
--HG--
extra : rebase_source : 8b38dbc0f3c98f7246137d21ae9b3a29be640e2b
2013-07-23 14:12:36 -07:00
Jon Coppeard
56e13933fd Bug 897956 - Tidy use of fromMarkedLocation() in interpreter r=luke 2013-07-26 10:00:39 +01:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Jon Coppeard
4258a261db Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Marty Rosenberg
eaca822cab bug 894251: NEVER use mov to move the address of a call target. The tracer has no clue how to deal with a single instruction move (r=jandem) 2013-07-26 03:50:22 -04:00
Emanuel Hoogeveen
d7f169426c Bug 888088 (part 12) - Fix #include ordering in a handful of remaining places. r=nnethercote.
--HG--
extra : rebase_source : 3ab804c5e08732079e5bdcfd36c4566e18192985
2013-07-25 19:13:55 -07:00
Emanuel Hoogeveen
a574188941 Bug 888088 (part 11) - Fix #include ordering in js/src/ion/arm/. r=nnethercote.
--HG--
extra : rebase_source : 74ce29fbacbf1f52fd5129f92cc0c83de59cfd07
2013-07-25 17:10:25 -07:00
Ryan VanderMeulen
d6be8d390f Backed out 3 changesets (bug 896124, bug 784739, bug 894026) for Windows checktest orange on a CLOSED TREE.
Backed out changeset 631b3d5d54f4 (bug 896124)
Backed out changeset 5e1dd28ede5d (bug 894026)
Backed out changeset c10c0a6270ec (bug 784739)
2013-07-26 00:08:51 -04:00
Peter Van der Beken
52d88da1d5 Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky 2013-07-04 17:24:59 +02:00
Boris Zbarsky
a0857fe689 Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley 2013-07-25 19:41:46 -07:00
Dan Gohman
d1aeb8c2ec Bug 897747 - IonMonkey: Fix range analysis for MMod. r=waldo 2013-07-25 19:09:50 -07:00
Dan Gohman
ee5658fe99 Bug 895465 - IonMonkey: Micro-optimize test instructions using x86's "h" registers. r=sstangl 2013-07-25 18:59:50 -07:00
Till Schneidereit
679f8bd296 Bug 897507 - part 2: add nsrcnotes argument to SaveSharedScriptData and use it instead of script->numNotes(). r=bhackett
--HG--
extra : rebase_source : faac238dc652bc52e83c08369ebb43cfcb868c89
2013-07-26 01:27:04 +02:00
Till Schneidereit
a378980e3e Bug 897507 - part 1: remove functions from header files that are only used in jsscript.cpp. r=bhackett
--HG--
extra : rebase_source : a05bd61019d688ab74484641d9f79e8ac64f89de
2013-07-26 01:16:05 +02:00
Till Schneidereit
3cd3b97a6d Bug 892059 - Assert on unclonable values in self-hosting CloneValue. r=jimb
--HG--
extra : rebase_source : 0b39e57643965fc41ff1220a2c049eecce24e8c8
2013-07-26 03:04:28 +02:00
Nikhil Marathe
33676c2440 Bug 578700 - BinaryData ArrayType method implementations. r=nmatsakis
--HG--
extra : amend_source : 8ae08d1ce9a57328dd6a3f8028abf21d0b806222
2013-07-25 17:59:59 -07:00
Nikhil Marathe
5589287684 Bug 578700 - StructType and BinaryStruct implementation. r=nmatsakis
--HG--
extra : amend_source : 379738603fc3c3254f0a159e66cce038478e366a
2013-07-25 17:59:47 -07:00
Nikhil Marathe
8d0d66f431 Bug 578700 - ArrayType and BinaryArray implementation. r=nmatsakis
--HG--
extra : amend_source : 6b5fd0077a4d8f182212a6e7e775eee87bd73bd5
2013-07-25 17:59:14 -07:00
Nikhil Marathe
564d235f8e Bug 578700 - Numeric types implementation. r=nmatsakis
--HG--
extra : amend_source : 16bd14404c2e30589101f5b965c016b7304b7773
2013-07-25 17:58:50 -07:00
Nikhil Marathe
88f8ec69ce Bug 578700 - Binary Data: initialize architecture. r=nmatsakis
--HG--
extra : amend_source : 7775dc457c0c25283608e583472dc7cf04bffe8c
2013-07-25 17:57:04 -07:00
Jeff Walden
b023ffcb98 Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits 2013-07-19 20:14:34 -07:00
Jeff Walden
32b61d2755 Bug 894026 - Implement ES6 binary and octal literals. r=till 2013-07-23 14:12:36 -07:00
Nicholas Nethercote
aed65d8aa8 Bug 897850 - Fix order of "construct" and "hasInstance" comments. r=evilpie. DONTBUILD
--HG--
extra : rebase_source : 0c7794045398db2e66d3ad1210b3b4b8b14947b0
2013-07-25 15:30:53 -07:00
Terrence Cole
562f743f71 Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Ben Turner
7704e2ca9c Bug 894993 - 'SessionWorker takes lots of memory'. r=billm+khuey. 2013-07-25 15:03:27 -04:00
Terrence Cole
fa3a6402d4 Bug 897724 - Fix some opt build warnings in clang; r=sfink
--HG--
extra : rebase_source : af3aa90d6464fd6701e29d014782a9037a3b1afe
2013-07-25 10:52:52 -07:00
Terrence Cole
0697640a71 Bug 897718 - Remove unused JSAPI method JS_CallGenericTracer; r=jonco
--HG--
extra : rebase_source : 42641b92f4228a6cbccc9c7c6d16333308748a80
2013-07-24 15:33:08 -07:00
Terrence Cole
13d8b4f59f Bug 890048 - Fix rooting of the findReferences shell command; r=jimb,billm 2013-07-24 16:32:21 -07:00
Dan Gohman
cef720bda3 Bug 881390 - IonMonkey: Hoist floating-point constants out of loops. r=h4writer 2013-07-25 09:40:25 -07:00
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Jon Coppeard
515be587b9 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - js/src changes r=terrence 2013-07-25 13:57:00 +01:00
Emanuel Hoogeveen
447b8c364b Bug 888088 (part 10) - Fix #include ordering in most of js/src/ion/. r=nnethercote. 2013-07-24 23:34:48 -07:00
Eric Faust
b3ea8699d7 Bug 897875 - Add IsCallPC(). (r=h4writer) 2013-07-25 03:49:48 -07:00
Eric Faust
3c44d6ff35 Bug 897866 - Move types::IsInlinableCall() to Ion.h as ion::IsIonInlinablePC() (r=h4writer) 2013-07-25 03:49:32 -07:00
Eric Faust
359ebeaa6b Bug 897492 - Fix bogus assert. (r=djvj) 2013-07-25 03:47:31 -07:00
Nicholas Nethercote
b3d76cccc1 Bug 892806 - Clean up InflateUTF8String() and related functions. r=terrence.
--HG--
extra : rebase_source : df901e9900fbd01f1adbe430b9ac52428499681f
2013-07-09 23:17:32 -07:00
Bobby Holley
b9ad141c3d Bug 897789 - Add a fuzz factor to watchdog tests. r=Waldo
CLOSED TREE
2013-07-24 23:00:22 -04:00
Jim Blandy
0a3ab6fc66 Bug 876946: Never return null from Proxy::className, even if we're over-recursed. 2013-07-24 17:48:33 -07:00
Terrence Cole
986ff0ccc6 Bug 897574 - Fix GGC opt build failure; r=sfink
--HG--
extra : rebase_source : 1a5f5f1eef09241960b1ba08e4c52b820b55b66b
2013-07-24 15:33:02 -07:00
Bobby Holley
4af12de291 Bug 870043 - Watchdog tests. r=mrbkap 2013-07-24 15:33:32 -07:00
Bobby Holley
cb2e05a511 Bug 870043 - Add a way to simulate the JSRuntime activity callback from xpcshell. r=mrbkap
The JS engine fires this callback when the request count drops to zero, and we
use it determine when we should hibernate the watchdog thread. But since the
request count never drops to zero for nested event loops, the watchdog never
runs in those cases. And since our xpcshell harness runs tests in a nested event
loop, this means we can't test watchdog hibernation from xpcshell. And we don't
want to test it in mochitests, because the non-determinism of timer CCs and GCs
are likely to be problematic.

Really, we should consider finding a way to integrate nested event loops into
the activity callback mechanism, and should probably get a bug on file. But such
a task is out of scope for this bug, so we just add a way to fake it.
2013-07-24 15:33:32 -07:00
Bobby Holley
22a7891400 Bug 870043 - Add support for scripted operation callbacks in XPCShell. r=mrbkap 2013-07-24 15:33:31 -07:00
Bobby Holley
93442ca1ad Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Bobby Holley
63f5620548 Bug 870043 - Factor the watchdog machinery into a helper class. r=mrbkap
This is a long-overdue change in general. It's now particularly necessary
because we want to start and stop the watchdog, potentially multiple times
during a session. Encapsulating this into a class that we can
destroy/instantiate several times means that we don't end up with inconsistent
state.

As a nice bonus, this centralizes the whole setup and makes it easier to
comprehend. I actually had this nicely split up into several patches, but
I accidentally squashed them while rebasing. :-(
2013-07-24 15:33:31 -07:00