Commit Graph

2507 Commits

Author SHA1 Message Date
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Boris Zbarsky
3c09e9975f Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug 2013-08-07 17:40:00 -04:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Nicholas Nethercote
ba723f1034 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Mihnea Dobrescu-Balaur
f71e8922e7 Bug 899857 - Make xpcshell default to a plugins directory only if -p is not specified. r=ted 2013-08-02 15:07:54 -07:00
Justin Lebar
0466eb441e Bug 899256 - Part 2: Change XPCJSRuntime.cpp's REPORT_BYTES so it doesn't require "nsIMemoryReporter::". r=me 2013-08-05 16:33:01 -07:00
Justin Lebar
b38e33455d Bug 899256 - Rework JS memory reporters so gc-heap is no longer a top-level node. r=njn 2013-08-05 16:33:01 -07:00
Justin Lebar
29c7abe55d Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it. r=njn 2013-08-05 16:33:00 -07:00
Justin Lebar
094709ed3d Bug 893222 - Part 2: Fix escaping for huge strings displayed in about:memory. r=njn
We were escaping "/" to "\/", but about:memory expects us to escape "/" to "\".

Escaping "/" to "\/" is probably quite sensible, since then we can represent strings which have both "\" and "/".  But that's a bigger change.
2013-08-05 16:33:00 -07:00
Jon Coppeard
71a6b47923 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Jon Coppeard
694e4a5be0 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Carsten "Tomcat" Book
cda28b85ed Merge b2g-inbound to m-c 2013-08-05 11:22:48 +02:00
Yoshi Huang
3a8a76e455 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Ryan VanderMeulen
e44fa2bc7c Merge inbound to m-c. 2013-08-02 16:36:40 -04:00
Ryan VanderMeulen
24743de8ad Backed out 7 changesets (bug 893222, bug 899256) for build bustage on a CLOSED TREE.
Backed out changeset 4aa234138f44 (bug 893222)
Backed out changeset 4b0bf28abdf2 (bug 899256)
Backed out changeset ea8b6ba99c05 (bug 893222)
Backed out changeset ac8220cb61d5 (bug 893222)
Backed out changeset d01358ff4b15 (bug 893222)
Backed out changeset 3baebe7cc655 (bug 893222)
Backed out changeset 4bdf8611ec57 (bug 893222)
2013-08-02 14:49:38 -04:00
Justin Lebar
7b3ad2a834 Bug 893222 - Part 5: Fix bustage. r=me 2013-08-02 10:53:34 -07:00
Ed Morley
d0a6230a88 Merge mozilla-central and b2g-inbound 2013-08-02 13:51:22 +01:00
Ms2ger
95c8398829 Merge m-c to inbound. 2013-08-02 11:40:30 +02:00
Ms2ger
e032489251 Backout changeset 531f544bc9ce for breaking B2G tests. 2013-08-02 11:38:49 +02:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
699b39966c Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey 2013-08-02 09:09:15 +02:00
Ms2ger
023dc49091 Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley 2013-08-02 09:09:11 +02:00
Bobby Holley
f7c06c0933 Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Gina Yeh
2d4b9278a9 Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap 2013-08-02 18:33:15 +08:00
Bill McCloskey
ca26060518 Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -07:00
Justin Lebar
a05d9e28e5 Bug 899256 - Rework JS memory reporters so gc-heap is no longer a top-level node. r=njn 2013-08-02 10:02:40 -07:00
Justin Lebar
5c20755f20 Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it. 2013-08-02 10:02:40 -07:00
Justin Lebar
c8b0725931 Bug 893222 - Part 2: Fix escaping for huge strings displayed in about:memory. r=njn
We were escaping "/" to "\/", but about:memory expects us to escape "/" to "\".

Escaping "/" to "\/" is probably quite sensible, since then we can represent strings which have both "\" and "/".  But that's a bigger change.
2013-08-02 10:02:40 -07:00
Ms2ger
fb4e44ccbf Bug 900987 - Handle a null category argument to nsScriptError::Init without crashing; pending-r=bholley 2013-08-04 11:18:41 +02:00
Kyle Huey
e30e014637 Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent 2013-08-03 16:55:40 -07:00
Kyle Huey
895f4a30bf Bug 845545: Part 3 - Give the CycleCollectedJSRuntime more control over
SnowWhite. r=smaug
2013-08-03 16:55:39 -07:00
Kyle Huey
0d4beab639 Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8 2013-08-03 16:55:39 -07:00
Kyle Huey
582c3a9b87 Bug 845545: Part 1 - Fix heap dumping to work off the main thread. r=mccr8 2013-08-03 16:55:39 -07:00
Andrea Marchesini
413ce8df28 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
affecad19a Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Masatoshi Kimura
b85aa29a35 Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Tom Schuster
0b021a6fa2 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Andrea Marchesini
507b5977c9 Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
a55b90d029 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
f88a92b855 Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Bobby Holley
97899ea185 Bug 898939 - Disable crashtest on android. r=me CLOSED TREE 2013-07-30 11:11:44 -07:00
Bobby Holley
dc8ec482b2 Bug 897676 - Null out |si| if we end up using that of the proto in WrapNewGlobal. r=mrbkap 2013-07-30 08:53:56 -07:00
Bobby Holley
6a8c3f7e7f Bug 898939 - Crashtest. r=me 2013-07-30 08:43:46 -07:00
Bobby Holley
8848597459 Bug 898939 - Loosen assertion. r=bz
This is just an overzealous assertion, rather than a security issue.
2013-07-30 08:43:46 -07:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Wes Kocher
31bec8860b Backed out changeset a0bc16b5a428 (bug 897676) for causing mochitest failures on a CLOSED TREE 2013-07-29 18:27:04 -07:00
Bobby Holley
c00f6379ec Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
9dbd7cffb9 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Bobby Holley
488031ac4d Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00