Andrea Marchesini
13abeabca9
Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
...
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-07 15:20:57 +01:00
Andrea Marchesini
0e29ce2ea6
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Wes Kocher
5d7f3c7007
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e523216532
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
...
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
baf96b6e07
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Michael Wu
cd87678225
Bug 1073094 - Disable jsloader.reuseGlobal on debug builds, r=khuey
2014-09-30 12:25:41 -04:00
Bobby Holley
dc1a6220a7
Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
...
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley
78465fa92e
Bug 1070131 - Stop XDR-serializing origin principals. r=luke,r=bz
2014-09-29 10:44:30 +02:00
Phil Ringnalda
dd7ebaded4
Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
...
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
0de2d98100
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-25 16:10:28 -07:00
Carsten "Tomcat" Book
bb6b27d528
Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures
2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
72c6a44018
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-24 01:01:07 -07:00
Wes Kocher
0300f6d4af
Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
...
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
5453719121
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-09-23 09:46:54 -07:00
Christoph Kerschbaumer
ef6536b244
Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap)
2014-09-21 09:45:16 -07:00
Bobby Holley
8dae0fc8ce
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Chris Peterson
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Bobby Holley
fb72204dc4
Bug 1062077 - Remove now-no-op error reporter munging in mozJSSubScriptLoader.cpp. r=bz
...
In the past this might theoretically have switched us from
NS_ScriptErrorReporter to xpc::SystemErrorReporter, but those have now been
merged.
2014-09-08 16:30:12 -07:00
Ehsan Akhgari
10583ebaa1
Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug
2014-08-31 21:06:35 -04:00
Bobby Holley
7c7704aa07
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
7c3098f03b
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
e5da39b71b
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
9867e42134
Bug 913586 (Part 6) - Update Maybe users in js. r=luke
...
--HG--
extra : rebase_source : c5d23a7874de49e61b43f79b8eda744db0523c6e
2014-08-13 15:42:00 -07:00
Bob Owen
2499765048
Bug 1047509 - Part 9: Remove final uses of mozJSComponentLoader's own JSContext and tidy up. r=bholley
2014-08-07 19:36:31 +01:00
Bob Owen
6b5236b16a
Bug 1047509 - Part 8: Add an AutoJSAPI into mozJSComponentLoader::ImportInto. r=bholley
2014-08-08 13:52:16 +01:00
Bob Owen
0ede67a919
Bug 1047509 - Part 7: Change mozJSComponentLoader::LoadModule to use AutoJSAPI and SafeJSContext instead of JSCLContextHelper and its own JSContext. r=bholley
2014-08-07 19:28:16 +01:00
Bob Owen
881ec1ac69
Bug 1047509 - Part 6: Change mozJSComponentLoader::ObjectForLocation to use AutoJSAPI and SafeJSContext instead of JSCLContextHelper and its own JSContext. r=bholley
2014-08-08 13:30:54 +01:00
Bob Owen
76aaa293f3
Bug 1047509 - Part 5: Change mozJSComponentLoader::PrepareObjectForLocation to take JSContext* instead of JSCLContextHelper&. r=bholley
2014-08-07 19:16:47 +01:00
Nicholas Nethercote
8c60d14a1a
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Jan de Mooij
6490db0af1
Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium
2014-07-24 11:56:45 +02:00
Mike Hommey
d10b15b035
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Nicholas Nethercote
c38c9318c7
Bug 1039162 (attempt 2) - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
2014-07-16 22:45:29 -07:00
Carsten "Tomcat" Book
d61ca8ca45
Backed out changeset 33ff09852b0a (bug 1039162) for ics emulator opt/debug test failures
2014-07-17 09:18:16 +02:00
Nicholas Nethercote
d04c49088a
Bug 1039162 - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
...
|for ... each| loops create an Iterator object each time they execute. They're
also an E4X hangover. Converting them to vanilla arrays avoids the creation of
almost 6,000 Iterator objects when starting up B2G, mostly due to makeQI().
--HG--
extra : rebase_source : f3a3fe2d64a045dacf70461611d9a0b72a38a210
2014-07-16 22:45:29 -07:00
Jan de Mooij
8a93b868e6
Bug 1034627 part 2 - Fix xpconnect Dump and Print functions to work with Latin1 strings and nursery strings. r=bholley
2014-07-10 17:36:33 +02:00
Steve Fink
5c77611361
Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
...
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Steve Fink
6205dc4b00
Bug 1022773 - Resolve hazard by switching Compile to MutableHandle, r=terrence,smaug,bholley
...
--HG--
extra : rebase_source : a6f4eb9138688c09bce15f36ffc0bdb5b6e3dc5f
2014-06-11 17:38:22 -07:00
Andrea Marchesini
e25e980526
Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent
2014-06-26 09:47:44 -07:00
Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
083f0e0cc1
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Bill McCloskey
78c2618e3d
Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley)
2014-06-21 11:55:15 -07:00
Bobby Holley
6e05608e3e
Bug 1026860 - Remove mThisObjects and use the function parent instead. r=luke,khuey
2014-06-18 22:36:42 -07:00
Jim Chen
3b5c74e922
Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke
2014-06-06 18:39:40 -04:00
Carsten "Tomcat" Book
c3b1f0e8ad
merge fx-team to mozilla-central
2014-05-22 15:17:20 +02:00
Gijs Kruitbosch
ec807623dd
Bug 1012750 - nitfix, DONTBUILD because immaterial, rs=mak/firebot
2014-05-22 00:48:19 +01:00
Gijs Kruitbosch
b21f1e7aae
Bug 1012750 - defineLazyModuleGetter should log failing URL if there was an error loading, r=mak
2014-05-19 18:12:49 +01:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Girish Sharma
50fa2456f1
Bug 1004487 - Add Cu.isModuleLoaded method to know if a resource has been loaded via Cu.import, r=bholley
2014-05-15 23:52:45 +05:30
Bobby Holley
9086fb6ef0
Bug 1008006 - Use a helper to avoid repeated computations of various dependencies. r=gabor
2014-05-12 14:37:46 -07:00
Bobby Holley
e6386cc6a0
Bug 1006629 - Remove GetCalleeWrapper. r=gabor
2014-05-06 23:17:44 -07:00