Commit Graph

5826 Commits

Author SHA1 Message Date
Bill McCloskey
27169c8483 Bug 1353565 - Label snow white killer as SystemGroup (r=mccr8)
MozReview-Commit-ID: Hta7RGdZgNJ
2017-04-05 13:29:34 -07:00
Bill McCloskey
fcdb251c4b Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)
MozReview-Commit-ID: BBrRsk3KvGb
2017-04-05 13:26:20 -07:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
David Teller
1d9102358f Bug 1305950 - Extend XPCOMUtils.defineLazyPreferenceGetter to be informed upon preference change. r=billm
This is a pretty common use case of preferences.

MozReview-Commit-ID: 7tkdylPZxpY

--HG--
extra : transplant_source : %86%21%C1oXw%07%BB%C6.%CE%C5S%B6%E0%26%8Be%9A%E1
extra : histedit_source : 072f778d7959fa8c0f5838077116b7b9d87c5157
2016-09-28 16:33:20 +02:00
Tooru Fujisawa
61524c3df7 Bug 1352323 - Add JS_NewMaybeExternalString function that creates either an external string or returns a static string. r=jandem 2017-04-04 15:45:49 +09:00
Eric Rahm
572d67e180 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-31 15:21:27 -07:00
Ryan VanderMeulen
75e7e911b8 Backed out changeset 42ea3fb4b694 (bug 1351831) for Windows bustage. 2017-03-31 14:58:03 -04:00
Eric Rahm
9afbcd5a22 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-31 11:00:11 -07:00
Phil Ringnalda
4cb08c4110 Backed out 2 changesets (bug 1351831, bug 1351820) for Windows build bustage
CLOSED TREE

Backed out changeset 91c2f1592df1 (bug 1351831)
Backed out changeset f825bdbb2ece (bug 1351820)
2017-03-30 19:21:06 -07:00
Eric Rahm
02c3c2e880 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-30 18:32:18 -07:00
Christoph Diehl
5fb70d9869 Bug 1351708 - Fix Preferences::UnregisterCallback typo for fuzzing.enabled. r=froydnj
--HG--
extra : rebase_source : 29ed27d7019c08df775c48b116dffee7e6468af4
2017-03-29 08:20:00 -04:00
Jon Coppeard
0c82b7b16d Bug 1322539 - Call ExposeObjectToActiveJS on the targets of xray wrappers r=sfink 2017-03-29 10:53:12 +01:00
Tooru Fujisawa
76239ccf41 Bug 1331092 - Part 12: Disable Async Iteration in chrome or add-ons code. r=shu 2017-03-29 17:15:13 +09:00
Makoto Kato
d0560ad81c Bug 943283 - Use NS_CopyNativeToUnicode instead of nsIUnicodeDecoder. r=jfkthame
By bug 1346674, we don't use NSILOCALE_* for unicode conversion in XPC/JS.  So we should use NS_CopyNativeToUnicode to get a rid of nsIPlatformCharset.

MozReview-Commit-ID: Kp2jijN8On9
2017-03-28 18:07:36 +09:00
Jon Coppeard
973692b373 Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Boris Zbarsky
491fa25872 Bug 1218437. Need to check that the value is an object before we try to UNWRAP_OBJECT it to check whether it's an Exception. r=qdot
MozReview-Commit-ID: 8lwCoilRz49
2017-03-27 14:50:41 -04:00
Jon Coppeard
1376c2700e Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards 2017-03-27 11:09:54 +01:00
Jon Coppeard
f7a6438226 Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Kris Maglione
9accf0b687 Bug 1349989: Correctly handle errors for OMT-compiled scripts. r=shu
MozReview-Commit-ID: 3FpoUmu9ijI

--HG--
extra : rebase_source : 666fb25c1a36b14f28bd61f0622143b063b3759e
2017-03-23 22:13:07 -07:00
Boris Zbarsky
e786ca31c0 Bug 1348095 part 3. Cache the proto of an Xray on its holder, so we don't have to keep re-wrapping it. r=bholley
MozReview-Commit-ID: I78AoSB3TNW
2017-03-23 03:06:25 -04:00
Boris Zbarsky
e2c99615af Bug 1348095 part 2. Give all the Xray holders a JSClass that has a slot for caching a prototype. r=bholley
MozReview-Commit-ID: ID9vMG3iJfZ
2017-03-23 03:06:25 -04:00
Boris Zbarsky
ab35f8679e Bug 1348095 part 1. Remove the unused reserved slots from the XPCWN xray holder. r=bholley
MozReview-Commit-ID: 5IRrE8EmL9A
2017-03-23 03:06:25 -04:00
Carsten "Tomcat" Book
9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Jon Coppeard
e4d62401f0 Bug 1341044 - Rename the GC's 'zone group' concept to 'sweep group' r=sfink 2017-03-22 17:30:50 +00:00
Andrea Marchesini
1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Andrea Marchesini
68207654f2 Bug 1343933 - Renaming Principal classes - part 1 - ExpandedPrincipal, r=qdot
--HG--
rename : caps/nsExpandedPrincipal.cpp => caps/ExpandedPrincipal.cpp
rename : caps/nsExpandedPrincipal.h => caps/ExpandedPrincipal.h
2017-03-22 11:38:17 +01:00
Boris Zbarsky
ec233151ac Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot
MozReview-Commit-ID: 2ebVZO4fN6i
2017-03-21 14:59:02 -04:00
Zibi Braniecki
f2ed37fd2f Bug 1349470 - Use OS locale for unicode conversions for Date.toLocaleFormat. r=m_kato
MozReview-Commit-ID: KGYGRqtHOvJ

--HG--
extra : rebase_source : 307b778792a1e21e7e270a3932104049eac1b213
2017-03-22 09:10:18 -07:00
Kris Maglione
31f241c6ca Bug 1333990: Follow-up: Return before wrapping result value on error. r=bz
MozReview-Commit-ID: AwGVr3gjzd0

--HG--
extra : rebase_source : 4987a60520941665b9fc6c0242d7f34ce43a060b
2017-03-17 14:34:55 -07:00
Kris Maglione
b3d00ca35b Bug 1333990: Follow-up: Use safer conversion functions when creating error message JS strings. r=bz
MozReview-Commit-ID: FimoWFIgUxL

--HG--
extra : rebase_source : 7b9193ac1c12dc96b269ee3dea167edc4051669f
2017-03-17 16:53:04 -07:00
Kris Maglione
f446374619 Bug 1333990: Follow-up: Add cycle collection and comments where unnecessary. r=bz
MozReview-Commit-ID: 70omvafFFFH

--HG--
extra : rebase_source : 4815476110a4eaf071241c3d98fc579c4d3f6dd5
2017-03-17 13:54:32 -07:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Kris Maglione
aaaea39c13 Bug 1333990: Part 1b - Add tests for script precompiler. r=shu
MozReview-Commit-ID: DVFFdyzY6Kn

--HG--
extra : rebase_source : d41324f18ee2c13e98f94ecec3af73e67da873ea
2017-03-16 16:55:59 -07:00
Kris Maglione
437f4e37d4 Bug 1333990: Part 1a - Add an async script pre-loading utility. r=billm,shu
MozReview-Commit-ID: 4vJF2drLeHS

--HG--
extra : rebase_source : 8adaa22d6d91ac6ef1804cf4c8d5698cf304b141
2017-03-16 19:10:40 -07:00
Boris Zbarsky
c63be1e971 Bug 1347706. Update to spec change for [[SetPrototypeOf]] on cross-origin objects. It should return true if null is passed. r=bholley
MozReview-Commit-ID: 42je5yfBRee
2017-03-16 17:43:49 -04:00
Makoto Kato
20cb071f24 Bug 1347431 - Skip some xpcshell tests that is failure on Android without ENABLE_INTL_API. r=snorp
Sicne some tests doesn't work with --with-intl-api=no, we should skip it on Android

MozReview-Commit-ID: IjlH3aQdiqb

--HG--
extra : rebase_source : ac6d91bf291f6268ea29bcb29180b2f5197e012c
2017-03-16 12:54:25 +09:00
Blake Kaplan
18b64f8d42 Bug 1208957 - No need for a condvar for thread shutdown. r=billm
Now that we join on the thread exiting, we no longer need to have the thread
explicitly tell us it's shutting down.

MozReview-Commit-ID: LycPjUvyeX

--HG--
extra : rebase_source : 7b3d21c3d8de73a1ed511c7d6efefe2a73b2e02a
2017-03-14 23:36:02 -07:00
Blake Kaplan
9f2cfeccc4 Bug 1208957 - Join the watchdog thread to avoid shutdown races. r=billm
MozReview-Commit-ID: FlnPO2fJWVu

--HG--
extra : rebase_source : f7465994db184b21b4e0159c1b4ca3509c071f5b
2017-03-14 23:27:21 -07:00
Nicholas Nethercote
8876b32323 Bug 1345262 (part 5) - Fix how JS sampling is started/stopped by the profiler. r=mstange,djvj.
Currently, JS sampling has major problems.

- JS sampling is enabled for all JS threads from the thread that runs
  locked_profiler_start() -- currently only the main thread -- but the JS
  engine can't handle enabling from off-thread, and asserts. This makes
  profiling workers impossible in a debug build.

- No JS thread will be JS sampled unless enableJSSampling() is called, but that
  only happens in locked_profiler_start(). That means any worker threads
  created while the profiler is active won't be JS sampled.

- Only the thread that runs locked_profiler_stop() -- currently only the main
  thread -- ever calls disableJSSampling(). This means that worker threads that
  start being JS sampled never stop being JS sampled.

This patch fixes these three problems in the following ways.

- locked_profiler_start() now sets a flag in PseudoStack that indicates
  JS sampling is desired, but doesn't directly enable it. Instead, the JS
  thread polls that flag and enables JS sampling itself when it sees the flag
  is set. The polling is done by the interrupt callback. There was already a
  flag of this sort (mJSSampling) but the new one is better.

  This required adding a call to profiler_js_operation_callback() to the
  InterruptCallback() in XPCJSContext.cpp. (In comparison, the
  InterruptCallback() in dom/workers/RuntimeService.cpp already had such a
  call.)

- RegisterCurrentThread() now requests JS sampling of a JS thread when the
  profiler is active, the thread is being profiled, and JS sampling is enabled.

- locked_profiler_stop() now calls stopJSSampling() on all live threads.

The patch makes the following smaller changes as well.

- Renames profiler_js_operation_callback() as profiler_js_interrupt_callback(),
  because "interrupt callback" is the standard name (viz.
  JS_AddInterruptCallback()).

- Calls js::RegisterContextProfilingEventMarker() with nullptr when stopping
  JS sampling, so that ProfilerJSEventMarker won't fire unnecessarily.

- Some minor formatting changes.

--HG--
extra : rebase_source : 372f94c963a9e5b2493389892499b1ca205ebc2f
2017-03-10 09:04:23 +11:00
Nicholas Nethercote
d8023679e3 Bug 1345262 (part 2) - Add profiler_{set,clear}_js_context(). r=mstange.
PseudoContext::sampleContext() is always called immediately after
profiler_get_pseudo_stack(). This patch introduces profiler_set_js_context()
and profiler_clear_js_context(), which replace the profiler_get_pseudo_stack()
+ sampleContext() pairs. This takes us a step closer to not having to export
PseudoStack outside the profiler.

--HG--
extra : rebase_source : 8558d1600eafd395cc696d31f3d21fb52a1a74b0
2017-03-09 17:06:35 +11:00
Geoff Brown
6eac32a3c5 Bug 1338809 - Build android xpcshell as position independent executable; r=glandium
This allows xpcshell-test to be run on Android 5.0 and greater at the
expense of Android 4.0: Run xpcshell on Android 4.1 and above.
2017-03-14 08:08:43 -06:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Chih-Yi Leu
ec60526d60 Bug 1315037 - Use NS_ENSURE_SUCCESS for nsresult diagnosis. r=erahm 2017-03-13 02:14:00 +01:00
Zibi Braniecki
f096c9aab9 Bug 1346674 - Migrate all uses of nsILocaleService::GetApplicationLocale to mozILocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 2E7mj3yQnxB

--HG--
extra : rebase_source : 97ba5b1738b2f116ec75830ed1b23f279680035e
2017-03-12 20:39:22 -07:00
Andrew McCreight
634490d4bf Bug 1344527 - Give up in ReadScriptAsync if we can't create a promise. r=bholley
MozReview-Commit-ID: Hq4vJZmfDpc

--HG--
extra : rebase_source : f3544bfc559aee379f66972ce97764354b6aa658
2017-03-09 09:24:28 -08:00
Christian Holler
1965d4b2e1 Bug 1345906 - Add ReloadPrefsCallback for fuzzing.enabled pref. r=jandem
MozReview-Commit-ID: 5lNyaebmt1h

--HG--
extra : rebase_source : 331dcf55caaa662203a501e5d0fa16f692b61793
2017-03-09 16:47:34 +01:00
Wes Kocher
3842d8fcef Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Shu-yu Guo
c91e65240b Bug 1108941 - Implement the per-global template literal registry. (r=arai,jonco) 2017-03-08 12:00:54 -08:00
Boris Zbarsky
2ab128503c Bug 1344443. Fix [[SetPrototypeOf]] on cross-origin objects to follow the spec. r=bholley,waldo
MozReview-Commit-ID: JI9fbQTS0PS
2017-03-08 03:14:38 -05:00
Carsten "Tomcat" Book
96fe421b34 Merge mozilla-central to autoland 2017-03-08 17:04:17 +01:00
David Teller
c1b5f21196 Bug 1343483 - Determine how long functions remain syntax-parsed before they are full-parsed;r=shu
In many cases, to speed up start, compiling a ScriptSource will not
compile the functions themselves, but will rather syntax-parse them
(to check for syntax errors), leaving full compilation for
later. However, if we find ourselves in a case in which the function
is needed almost immediately, we need to full-parse the function
immediately after the syntax-parse, which is wasteful.

This changeset intends to measure how often this happens, by exporting
through Telemetry the duration between the end of the syntax-parse and
the start of the full-parse for each function.

As a memory optimization, instead of storing a timestamp for the
syntax-parse of each function, we store a single timestamp for an
entire ScriptSource. This assumes that all functions of the
ScriptSource are syntax-parsed at approximately the same instant,
which should be mostly true for everything except perhaps `eval` and
`new Function`. Then, when time comes to delazify a function, we
simply determine the time elapsed since the ScriptSource was compiled.

Histogram JS_PARSER_COMPILE_LAZY_AFTER_MS starts at 10ms (anything
smaller is often not measurable) and stops at 10s (anything larger can
safely be said to be not wasteful).

MozReview-Commit-ID: 6Ycy2OIIiAt

--HG--
extra : rebase_source : 0ccd6f51189b3ad8056e9f39e267235d68f6e2db
2017-03-06 21:22:00 +01:00
Ehsan Akhgari
df3bce859e Bug 1344974 - Part 3: Speed up principal access checks in WrapperFactory::Rewrap() by eliminating virtual dispatch and inling; r=bholley 2017-03-07 00:29:44 -05:00
Ehsan Akhgari
3169d6c35c Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley
This has the nice side effect of making nsIPrincipal::GetOrigin() a bit faster
by avoiding computing the origin each time.
2017-03-06 22:27:53 -05:00
Ehsan Akhgari
65b2fe2b53 Bug 1343866 - Scope more nsCOMPtrs in XRE_XPCShellMain(); r=bsmedberg 2017-03-06 15:06:18 -05:00
Jan Varga
e161ee742d Bug 1311057 - Part 1: Remove support for packaged apps from asmjscache; r=luke 2017-03-06 18:38:40 +01:00
Jon Coppeard
82cbd987a2 Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Ehsan Akhgari
4f4a529bd2 Bug 1342719 - Optimize away a virtual function call in AccessCheck::isChrome; r=bholley 2017-02-27 09:39:50 -05:00
Phil Ringnalda
ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Jan de Mooij
76f56574e3 Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke 2017-02-25 16:07:56 +01:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Olli Pettay
66be2f31cc Bug 1342244, try to avoid extra CompartmentPrivate::Get calls during Rewrap, r=bholley
--HG--
extra : rebase_source : 951f392a2d19a509ce951213686684cc326f4895
2017-02-24 15:03:38 +02:00
Kris Maglione
d1e03c1b46 Bug 1322273: Return DeadObjectProxy when wrapping for nuked compartment. r=bholley
MozReview-Commit-ID: V07P0eZvKO

--HG--
extra : rebase_source : 822441921b2b0a968a7dec5a532bba5535cb871b
extra : absorb_source : dd03f3197d5a4c09d228c2168726f9ae2408a7bb
extra : source : e74563742aafb580f88ef17f2121dd385e37755a
2017-02-22 19:11:52 -08:00
Kris Maglione
42bebe8564 Bug 1322273: Cut wrappers that point out of a browser compartment when nuking it. r=bholley
MozReview-Commit-ID: FLS3xRgih2u

--HG--
extra : rebase_source : ffae5590afe3efcb70cdda6386f5b1d71123943c
extra : absorb_source : 8b3db1348e793dabca338841dc18b6d9021c6ef8
2017-02-23 13:56:10 -08:00
Nicholas Nethercote
352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
Andrea Marchesini
e7a1e33581 Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Sebastian Hengst
0ea43f8182 Backed out changeset f0886e3477a5 (bug 1341250) 2017-02-22 11:20:46 +01:00
Andrea Marchesini
c83982c31f Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Sylvestre Ledru
39d7cd6467 no bug - Fix a misleading indentation
MozReview-Commit-ID: 4yvVRRxoxC8
2017-02-19 14:27:57 +01:00
Masatoshi Kimura
47d59c07d5 Bug 1338971 - Stop using non-standard JavaScript in AutoConfig files. r=mkaply
MozReview-Commit-ID: F2dDRHAw02S

--HG--
extra : rebase_source : ca74dd69aa51e4eb8d832161e05f98cc2b42df3c
2017-02-13 22:18:12 +09:00
Tom Tromey
d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey
9ab784cd84 Bug 1060419 - make XPC_Log_print use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: 9ruECevHqfs

--HG--
extra : rebase_source : 7b4ed9315952404f7ea75246da614e0ce67a3cd6
2016-12-09 10:18:04 -10:00
Andrea Marchesini
3043646e52 Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Wes Kocher
3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher
017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Bill McCloskey
194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Tooru Fujisawa
918d55e6ea Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley 2017-02-15 23:53:06 +09:00
Tooru Fujisawa
b025ee6d4e Bug 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and xpc::ErrorReport.mNotes. r=bholley 2017-02-15 23:53:06 +09:00
Carsten "Tomcat" Book
ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Boris Zbarsky
a449ccb8fa Bug 1333045. Update Location object properties to current spec. r=qdot
Specifically, three changes:

1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.

The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Wes Kocher
415dbf1a26 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JuiEcsYYLS3
2017-02-13 17:08:00 -08:00
Wes Kocher
252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Kris Maglione
d0f62ee58a Bug 1336988: Correctly handle dead callback objects when iterating over event listeners. r=peterv
MozReview-Commit-ID: 5vGlPL1p3uh

--HG--
extra : rebase_source : 7e33d93472faa1c047361addf8b15f8a78639255
2017-02-06 11:34:56 -08:00
Luca Greco
1470d15357 Bug 1329731 - Add moz-extension to the principals immune to script policy. r=bholley
MozReview-Commit-ID: FAn2Cq5Lz5O

--HG--
extra : rebase_source : 8d89707f91747946d98e473983345d6a5857ea89
2017-01-17 13:54:03 +01:00
Sylvestre Ledru
27e7b32872 Bug 1338086 - Remove useless else blocks in order to reduce complexity in js/ r=bbouvier
MozReview-Commit-ID: Giwp0K1YoBH

--HG--
extra : rebase_source : e557ce010d00b1d6986229ab8a880c196d4162c1
2017-02-14 15:50:56 +01:00
Jan de Mooij
447fa1b7be Bug 1338880 - Optimize WrapperFactory::Rewrap a bit by avoiding GetXrayType/IsContentXBLScope calls in the non-xray case. r=bholley 2017-02-12 22:45:25 +01:00
Tom Schuster
39312086de Bug 1339036 - Rename JSTYPE_VOID to JSTYPE_UNDEFINED. r=arai 2017-02-13 17:26:16 +01:00
Jon Coppeard
46c6dced28 Bug 1338614 - Refactor incremental barrier APIs and make them call the read barrier r=sfink 2017-02-13 11:11:09 +00:00
Brian Hackett
01a649c197 Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00
Tooru Fujisawa
014382051d Bug 1338255 - Remove remaining legacy generator from js/xpconnect/tests/. r=bholley 2017-02-11 01:53:24 +09:00
Tooru Fujisawa
33a302accc Bug 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. r=jandem 2017-02-08 23:04:57 +09:00
Carsten "Tomcat" Book
d228eab012 Merge mozilla-central to mozilla-inbound 2017-02-08 11:30:50 +01:00
Carsten "Tomcat" Book
55606baab8 merge mozilla-inbound to mozilla-central a=merge 2017-02-08 11:30:00 +01:00
Andrea Marchesini
8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Zibi Braniecki
b8f991e41b Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 5GEnL7Kihpj

--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
Wes Kocher
a9ce32d9a5 Backed out 2 changesets (bug 1335983) for build bustage a=backout
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)

MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00
Zibi Braniecki
6d98bad59d Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: bJVrVj2dAS

--HG--
extra : rebase_source : f3a28e003415f0c58462a73b5fd987455e102fc5
2017-02-06 14:57:09 -08:00
Tim Huang
72200b06f7 Bug 1319773 - Part 3: Making the WrapperFactory ignores the First Party Domain of the originAttributes when rewrapping the wrapper. r=mrbkap
--HG--
extra : rebase_source : 6013d2b7386f907af761098d006949ba07c163d7
2017-01-18 20:34:31 +08:00
Boris Zbarsky
0041276515 Bug 1335654 part 4. Fix some CrossOriginXrayWrapper error reporting bits to follow the HTML spec for cross-origin objects. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
bcc1d4ab44 Bug 1335654 part 3. Implement actually throwing a SecurityError when cross-origin property accesses are denied. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
72ca8d1730 Bug 1335654 part 2. Change the deny() methods of our wrapper security policies to take a JSContext and a mayThrow boolean. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
52118e082c Bug 1335654 part 1. Propagate AutoEnterPolicy's mayThrow argument to the enter() methods of proxy handlers, so they know whether it's OK to throw some sort of custom exception or whether they should just silently deny. r=bholley,jandem 2017-02-02 12:48:49 -05:00
Hannes Verschore
65f3d3c7f2 Bug 1331414: Adding javascript.options.jit.full_debug_checks in about:config for people that want to use debug builds for surfing with less slowdown, r=jandem 2017-02-01 22:05:14 +01:00
Jon Coppeard
5c43c1ac3b Bug 1332745 - Split runtime-wide pointer udpates from per-zone updates in compacting GC r=sfink 2017-02-02 16:17:28 +00:00
Sebastian Hengst
e855f7f79d Backed out changeset dbf9a55f1101 (bug 1331414) for unused variable 'fullJitDebugChecks' at XPCJSContext.cpp:1452. r=backout 2017-02-01 22:26:23 +01:00
Hannes Verschore
f48573af0c Bug 1331414: Adding javascript.options.jit.full_debug_checks in about:config for people that want to use debug builds for surfing with less slowdown, r=jandem 2017-02-01 22:05:14 +01:00
Boris Zbarsky
970a120fb5 Bug 1335368 part 21. Get rid of some IsCallerChrome usage in XPConnect. r=bholley 2017-02-01 15:43:59 -05:00
Boris Zbarsky
1f816c60cf Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly 2017-02-01 15:43:37 -05:00
Boris Zbarsky
c41740271d Bug 1334537. Make sure to clear out our external string cache if the length doesn't match, since our length no longer needs to match our stringbuffer. r=froydnj
Without this change, we could do a "short" get of a string (e.g. from
XMLHttpRequest), then do another get that returns the same stringbuffer but a
longer length.  But we wouldn't notice, hit our cache, and return the same,
too-short, external string.  The site would not see the new data it should have
seen.
2017-02-01 15:29:47 -05:00
Sebastian Hengst
ccd3fc9950 Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout 2017-02-01 19:08:22 +01:00
Andrea Marchesini
3b9eaa7785 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-01 17:13:08 +01:00
Benjamin Smedberg
ca77995f5d Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
MozReview-Commit-ID: 52vPyDXdFte

--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Brian Hackett
8033ed29a8 Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv.
--HG--
extra : rebase_source : 53cf4fa94f122a991c2adbd7bae3714de4391bb4
2017-01-30 06:31:47 -07:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Tom Schuster
48ee845dbd Bug 1333073 - Enable DataView Xray. r=bz 2017-01-28 21:52:45 +01:00
Wes Kocher
18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Boris Zbarsky
ecfa536932 Bug 1332713 part 3. Implement a version of XrayAwareCalleeGlobal that works for specialized getters. r=bholley
The problem is that JSJitGetterInfo doesn't contain a callee.  So we can't use
xpc::XrayAwareCalleeGlobal in a specialized getter, because we don't have our
callee function available.
2017-01-27 18:53:36 -05:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Jan de Mooij
1ea46b80dd Bug 1330593 part 1 - Allow non-flat external strings. r=jwalden,bz 2017-01-26 18:40:41 +01:00
Tooru Fujisawa
ddd36fec56 Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz
--HG--
rename : js/xpconnect/idl/nsIScriptError.idl => dom/bindings/nsIScriptError.idl
rename : js/xpconnect/src/nsScriptError.cpp => dom/bindings/nsScriptError.cpp
rename : js/xpconnect/src/nsScriptErrorWithStack.cpp => dom/bindings/nsScriptErrorWithStack.cpp
2017-01-28 00:42:47 +09:00
Christian Holler
4dc29b3b09 Bug 1332361 - Expose TestingFunctions to content in FUZZING builds. r=jandem.
MozReview-Commit-ID: HA0oodPzAeS

--HG--
extra : rebase_source : 896f4d9465b8bd2a5655dec63165f893b0f0f5df
2017-01-25 13:39:54 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Makoto Kato
0d01065054 Bug 1215247 - Turn on ICU and Intl API for Android. r=Waldo
Intl API (ECMA-402) already supports most web browsers such as Edge (including Windows 10 Mobile), Chrome (including Android), and upcoming Safari 10(https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_0.html).

Also IDN2008 support, and number control by <input type="number"> require ICU.  And, although gfx has own unicode table, we want to remove this if ICU is supported on all platform.

Also, new L20N framework (aka L20N) wants to use Intl API to localize UI.

So I would like to use ICU as default on Fennec Android.

Negative issue is file size.  ICU has big table, file size of libxul.so will be following.  This support requires additional 4.4MB.

before this ... 26287379 bytes
after this  ... 30692696 bytes

Although android OS already has ICU, ICU version is different per OS version.  And our ICU requirement is 50.1+ (Android 4.0 uses ICU 48) and exported fucntion name of ICU has ICU version suffix.  So we cannot use it.

MozReview-Commit-ID: 5R5iNMzWNjS

--HG--
extra : rebase_source : fceb3ee320f885e7c03749f76cf0ad7699a21c2c
2016-08-01 14:14:22 +09:00
Nicholas Nethercote
bf48aecf29 Bug 1332172 - Remove XPC_MAP_WANT_*. r=mccr8.
nsIXPCScriptable flags handling in xpc_map_end.h is a bit of a mess.

- Half the flags relate to whether various functions are defined (PreCreate,
  GetProperty, etc). These are set using the XPC_MAP_WANT_* macros;
  for each one xpc_map_end.h  inserts the corresponding flag using the
  preprocessor (see XPC_MAP_CLASSNAME::GetScriptableFlags()).

- The other half of the flags relate to other things (IS_GLOBAL_OBJECT,
  DONT_REFLECT_INTERFACE_NAMES, etc). These are set using the XPC_MAP_FLAGS
  macro.

Having two similar but different mechanisms to set the flags for a class is
confusing. (Indeed, until recently we had some classes where a single flag was
redundantly specified via both mechanisms.) Note also that the classes done in
dom/base/nsIDOMClassInfo.h also specify all the flags in a single value,
similar to how XPC_MAP_FLAGS works.

This patch removes the XPC_MAP_WANT_* macros. All flags are now set
via XPC_MAP_FLAGS. This is a significant simplification to xpc_map_end.h and
all the places that use it.

The downside of this change is that I had to change the flag constants from
class constants (i.e. nsIXPCScriptable::FOO) to macros (i.e.
NSIXPCSCRIPTABLE_FOO) because they need to be used in #if statements like this
in xpc_map_end.h:

  #if !((XPC_MAP_FLAGS) & NSIXPCSCRIPTABLE_WANT_PRECREATE)

and you can't use a '::'-qualified name inside a #if. I think this downside is
outweighed by the simplification described above.

Overall the patch removes 80 lines of code.

--HG--
extra : rebase_source : 6d5c341d0deba8f1529d81c17bb8819e09620b05
2017-01-23 13:33:58 +11:00
Phil Ringnalda
74f10163fe Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
Nicholas Nethercote
12647a7223 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.

--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Boris Zbarsky
2daa8920fe Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
d274f30b35 Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Sebastian Hengst
e533169d2c Backed out changeset eab8ccda41b8 (bug 851892) 2017-01-20 19:30:19 +01:00
Sebastian Hengst
d4070f77eb Backed out changeset 31103a03f2c2 (bug 851892) 2017-01-20 19:30:14 +01:00
Boris Zbarsky
2132f0075d Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
a5709a4cb8 Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Lars T Hansen
6d7b1e9cef Bug 1312446 - Enable SharedArrayBuffer and Atomics by default. r=shu
--HG--
extra : rebase_source : 308016a3820017d790d7a77d8fc25e1388f04df4
extra : amend_source : 1fc3635840cd1a1021f6f3f9d6491c381a122dc9
2017-01-19 17:22:47 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Nicholas Nethercote
b1100b7e94 Bug 1330904 - Remove XPCNativeScriptableCreateInfo. r=mccr8.
XPCNativeScriptableCreateInfo is now a very thin wrapper around
nsIXPCScriptable. Removing it simplifies things quite a bit.

Note especially the change to GatherScriptableCreateInfo(), which is a
confusing function. Previously its fourth argument was never touched it was
called, but it did have a return value. Now the fourth argument is touched and
effectively replaces that return value, and the function now returns void.
* * *
Bug 1330904 - fixups. r=mccr8.

I will fold this into the previous patch before landing.

--HG--
extra : rebase_source : 22e7fd0c44dd7c4174f8edf3e1d3ae362bf95757
2017-01-13 11:26:02 +11:00
Boris Zbarsky
3293a4cd98 Bug 1330759 part 3. Add a "stringbuffer we own" mode to DOMString. r=froydnj
We're going to need it because we're going to add a consumer that cannot in fact
promise that its stringbuffer reference will outlive the DOMString.
2017-01-18 22:20:14 -05:00
Boris Zbarsky
ced1c6138f Bug 1330759 part 2. Fix XPCConvert::JSData2Native to not share an external string stringbuffer if it would create a non-null-terminated string. r=froydnj 2017-01-18 22:20:14 -05:00
Kris Maglione
d00d51d963 Bug 1273251: Part 6 - Test that extension window wrappers are nuked on close. r=billm
MozReview-Commit-ID: 3sWNuLqZBzp

--HG--
extra : rebase_source : f094357f5bf5b0de0dd1da22c9afeed233f19bb3
2016-11-17 12:44:30 -08:00
Kris Maglione
1a992eb125 Bug 1273251: Part 5 - Add tests for event listeners in nuked sandboxes. r=peterv
MozReview-Commit-ID: 1Ok8hhaOdp4

--HG--
extra : rebase_source : b8d10e28367a35fd1da1a59364741ce261e2e898
2016-11-17 12:26:51 -08:00
Kris Maglione
e51f27d8cb Bug 1273251: Part 1 - Mark nuked sandboxes as nuked and non-scriptable. r=bholley
MozReview-Commit-ID: tq9nExa1P7

--HG--
extra : rebase_source : 3c0e856335b8585457e2679b30177bd1df9ac6bb
2017-01-12 14:47:38 -08:00
Mike Hommey
09dc362a61 Bug 1306327 - Use the new XRE Bootstrap API in Desktop Firefox. r=bsmedberg
This just wraps all the XRE method calls to go through the Bootstrap API
instead of relying on the XPCOM glue methods.

--HG--
extra : rebase_source : eccbe18b9b21ca1ab6c403515ffd60f0a9174d9c
2016-12-16 11:10:02 +09:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Phil Ringnalda
686006613e Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky
12d9bfeec4 Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
596effcfff Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
0c844d909c Back out bug 851892 for Windows build bustage on CLOSED TREE 2017-01-13 11:47:22 -05:00
Boris Zbarsky
440a3a3356 Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
3379caebf7 Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Nicholas Nethercote
3bbc82eb80 Bug 1329846 (follow-up) - Fix bustage. r=bustage. 2017-01-13 11:28:49 +11:00
Nicholas Nethercote
7a8872808f Bug 1329846 (part 2) - Remove NATIVE_HAS_FLAG. r=mccr8.
It's only used in three places, and it no longer makes the code more readable.

--HG--
extra : rebase_source : 1d66cc542dda8d66a72d567f271fcab60c2d92c4
2017-01-11 07:40:19 +11:00
Nicholas Nethercote
e3685c4266 Bug 1329846 (part 1) - Remove XPCNativeScriptableInfo. r=mccr8.
XPCNativeScriptableInfo is now a very thin wrapper around nsIXPCScriptable, and
it uses manual memory management. Removing it simplifies things quite a bit.

In particular, when setting XPCWrappedNative::mScriptable in
XPCWrappedNative::WrapNewGlobal() and XPCWrappedNative::Init() we no longer
have to worry about sharing the XPCNativeScriptableInfo object with the proto.
And XPCWrappedNative::{Init,Destroy}() have similar simplifications.

--HG--
extra : rebase_source : e58eb28f1574224a8e8badf25fcfa25e5a5b8ad8
2017-01-10 12:47:57 +11:00
Andrea Marchesini
359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Ehsan Akhgari
cfca13cda1 Bug 1330188 - Add hidden prefs for adjusting the baseline and ion JIT thresholds; r=sstangl 2017-01-11 14:55:04 +08:00
Nicholas Nethercote
7fad269a06 Bug 1324330 (part 6) - Streamline nsIXPCScriptable flags. r=mccr8.
This patch adjusts the values so there are no skipped bits, and removes the
no-longer-used RESERVED flag.

--HG--
extra : rebase_source : 88a50110d66ad85c1277213afea7e08f7aa9538a
2016-12-23 08:30:45 +11:00
Nicholas Nethercote
c7018d9f7d Bug 1325542 - Remove XPCNativeScriptableFlags. r=mccr8.
WantFoo() and the similar methods remain, but they've been moved from
XPCNativeScriptableFlags to nsIXPCScriptable.

One consequence of this change is that in places where we used to get the flags
from an XPCNativeScriptableCreateInfo we now need a null check on the
nsIXPCScriptable. (This isn't true when getting flags from
XPCNativeScriptableInfo, however, because nsIXPCScriptable is always non-null
within that type.)

--HG--
extra : rebase_source : 3d1e1d1c313b4629bb2e337cc2fb7c0d1092ed99
2016-12-23 16:14:32 +11:00
Florian Quèze
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Nicholas Nethercote
2fde95af84 Bug 1324330 (part 4) - Remove some unused functions. r=mccr8.
--HG--
extra : rebase_source : 093a6ae13879deafc070ffa658d5822dc310cf88
2016-12-23 08:30:29 +11:00
Nicholas Nethercote
d7a51c9a2f Bug 1324330 (part 3) - Don't mix |Cant| and |Cannot| in function names in XPCWrappedNativeJSOps.cpp. r=mccr8.
Use |Cannot| consistently.

--HG--
extra : rebase_source : dfef428a88953a01dcaca866d82d6277ac779c8d
2016-12-23 08:30:27 +11:00
Nicholas Nethercote
47b78b17ae Bug 1324330 (part 2) - Make XPC_MAP_FLAGS non-optional when using xpc_map_end.h. r=mccr8.
I'd like to remove XPC_MAP_WANT_* altogether and use XPC_MAP_FLAGS for all the
nsIXPCScriptable flag setting, but I haven't worked out how to handle the
method definitions in xpc_map_end.h yet. In the meantime, it seems good to make
the flag setting more consistent and explicit.

In particular, the three "Module" classes have "#define XPC_MAP_WANT_CALL" and
"#define XPC_MAP_FLAGS nsIXPCScriptable::WANT_CALL" which both have the same
effect. The patch removes the latter, to make them consistent with other
classes.

--HG--
extra : rebase_source : 3119e895809bb14e63f61e4e440c84e16cc4c5f9
2016-12-23 08:30:22 +11:00
Markus Stange
4bdc4ca0fb Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.

MozReview-Commit-ID: 3vwhS55Yzt

--HG--
extra : rebase_source : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Olli Pettay
d4f2be7cde Bug 1326507, rename Traverse to TraverseNative, r=mccr8
--HG--
extra : rebase_source : cb10292c2b9685855a6027a0377d10f168bbcbf6
2017-01-03 21:50:10 +02:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
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
Phil Ringnalda
bcbe2e1fcc Merge m-c to autoland 2017-01-20 19:15:16 -08:00
Mike Hommey
f9c3dd278b Bug 1332523 - Make the Bootstrap API entry point the same for both dependent and standalone linkage. r=bsmedberg
--HG--
extra : rebase_source : 21d9371dfa0a7ed7ff056d8486f28c978df8932d
2017-01-13 07:29:56 +09: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
Kris Maglione
74012f4fcd Bug 1312690: Load content scripts asynchronously when possible. r=aswan
MozReview-Commit-ID: BzpZA4stbCI

--HG--
extra : rebase_source : 1b93f4ee7add989b3716b75c26ee9835e086d29c
2016-11-02 13:57:19 -07:00
Michelangelo De Simone
6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Tom Schuster
5bdbfd162a Bug 1130988 - Add SharedArrayBuffer to JSXray. r=bz 2016-10-29 20:11:42 +02:00
Tom Schuster
13263ee62f Bug 1248865 - Some small changes to JSXray and tests. r=bz 2016-10-25 10:18:40 +02:00
Michelangelo De Simone
8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Tooru Fujisawa
2496019988 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa
6f9d4ca127 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
23d868fa20 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Ryan VanderMeulen
75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Tom Tromey
0dc689acdd Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC

--HG--
extra : rebase_source : 61cdf0da1a82b626abc79209ee41e43c3bb152ca
2016-10-11 12:44:40 -06:00
Bill McCloskey
cbd15a0459 Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap) 2016-10-19 16:26:23 -07:00
Wes Kocher
71f24926ed Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Tooru Fujisawa
fe381e93f3 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa
8d69b4f507 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
81c1a988e3 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Jon Coppeard
1989821a93 Bug 1308116 - Improve GC telemetry for non-incremental GCs r=sfink 2016-10-18 18:02:54 +01:00
Jon Coppeard
556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Brian Hackett
7b7d057eda Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
--HG--
extra : rebase_source : 331f8d0f8010dd3d522d00511bb9f89348f7fa03
2016-10-13 18:07:02 -06:00
Jon Coppeard
6ca64e3652 Bug 1308919 - Don't make Handles to Heap<T> as it avoids the read barrier r=bz 2016-10-14 09:45:28 +01:00
Sebastian Hengst
9b55cff586 Backed out changeset 0d4f60fa9597 (bug 1306281) for hazard. r=backout 2016-10-13 18:33:08 +02:00
Brian Hackett
d04d2b9c49 Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
--HG--
extra : rebase_source : 19cc22ea009390de6661d2d77ea4f976c650947f
2016-10-12 13:09:49 -06:00
Andrea Marchesini
793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Ho-Pang Hsu
ea1ffcd54c Bug 1282671 - Loose the assertion checking win->IsDying(). r=bholly 2016-10-12 19:49:00 +02:00
Nicolas B. Pierron
c4ddfd637a Bug 1286009 - Distinguish failure reasons of JS_{En,De}codeScript. r=luke 2016-10-12 12:13:22 +00:00
Jan de Mooij
16f561144e Bug 1303754 - Don't use lazy source code if the startup cache is not available (i.e. content processes). r=bholley 2016-10-12 11:51:02 +02:00
Tooru Fujisawa
f13e53f272 Bug 1309473 - Set browser.dom.window.dump.enabled to true in xpcshell to print error. r=bholley 2016-10-20 23:10:36 +09:00