Commit Graph

15586 Commits

Author SHA1 Message Date
Eric Rahm
d021c055ec Bug 1313477 - Convert XPCOM test TestObserverArray to a gtest. r=froydnj
This is a very straightforward conversion of TestObserverArray. The tests were
not split out as they are all dependent on each other. The test macro was left
as well as converting it to a proper function would require a fair amount of
modification to the tests.

MozReview-Commit-ID: Bz9aWbAwBS

--HG--
rename : xpcom/tests/TestObserverArray.cpp => xpcom/tests/gtest/TestObserverArray.cpp
2016-11-04 16:23:38 -07:00
Eric Rahm
caff0efb46 Bug 1313475 - Part 2: Convert TestNsRefPtr to a gtest. r=froydnj
This converts the tests over to gtests.

MozReview-Commit-ID: 3oXY9kUZdB6

--HG--
rename : xpcom/tests/TestNsRefPtr.cpp => xpcom/tests/gtest/TestNsRefPtr.cpp
2016-11-04 16:23:23 -07:00
Eric Rahm
3b6db52f8b Bug 1313475 - Part 1: Split out test functions. r=froydnj
MozReview-Commit-ID: EHmr48RpGq0
2016-11-04 16:23:22 -07:00
Eric Rahm
2d999d3cd0 Bug 1313475 - Part 0: Cleanup indentation. r=froydnj
MozReview-Commit-ID: 9BKCOxDZpBk
2016-11-04 16:23:21 -07:00
Eric Rahm
eed887ecb5 Bug 1313474 - Convert XPCOM test TestID to a gtest. r=froydnj
MozReview-Commit-ID: 7rLi2Y9lYEI

--HG--
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-04 16:23:08 -07:00
Eric Rahm
962506ea53 Bug 1313473 - Part 2: Convert XPCOM test TestHashtables to a gtest. r=froydnj
MozReview-Commit-ID: DTOeKiesYBP

--HG--
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
2016-10-31 16:58:42 -07:00
Eric Rahm
0a6bf97fca Bug 1313473 - Part 1: Split out test functions. r=froydnj
MozReview-Commit-ID: 4A0JgxyXWPz
2016-10-31 16:34:24 -07:00
Eric Rahm
84a7d935e9 Bug 1313472 - Part 1: Convert XPCOM test TestFile to a gtest. r=froydnj
This is a very straightforward conversion of TestFile to a gtest. It sticks
with using one main test function to avoid dealing with possible dependency
issues between subtests.

MozReview-Commit-ID: IoIeGgisMGE

--HG--
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
2016-11-04 16:22:43 -07:00
Eric Rahm
07a4fa7730 Bug 1313472 - Part 0: Cleanup indentation. r=froydnj
MozReview-Commit-ID: 8LrPZNELGkJ
2016-11-04 16:22:41 -07:00
Eric Rahm
95aaba6075 Bug 1313471 - Part 2: Convert TestCOMPtrEq to a gtest. r=froydnj
MozReview-Commit-ID: GifbCK1zzxh

--HG--
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
2016-11-04 16:22:29 -07:00
Eric Rahm
3ea2b4d54f Bug 1313471 - Part 1: Remove dead code. r=froydnj
MozReview-Commit-ID: FzGVmd0LO73
2016-11-04 16:22:28 -07:00
Eric Rahm
3a98aea28d Bug 1313470 - Part 2: Convert TestCOMPtr to a gtest. r=froydnj
MozReview-Commit-ID: HfcLTmvkRc8

--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
2016-11-04 16:22:14 -07:00
Eric Rahm
5eb4e3e106 Bug 1313470 - Part 1: Split out test functions. r=froydnj
This just splits out test functions, no logic is changed.

MozReview-Commit-ID: EjGYyUjf1b2
2016-11-04 16:22:12 -07:00
Eric Rahm
42e86206df Bug 1313470 - Part 0: Cleanup indentation. r=froydnj
This is just whitespace changes with a few minor deletions.

MozReview-Commit-ID: A7fpHLqt5fU
2016-11-04 16:22:11 -07:00
Eric Rahm
63cd7f256f Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj
MozReview-Commit-ID: CEhXX60lpZ8

--HG--
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
2016-11-04 16:21:59 -07:00
Eric Rahm
63521114a3 Bug 1313469 - Part 1: Split out test functions. r=froydnj
This just splits out the test functions, no logic is changed.

MozReview-Commit-ID: KjUA9rQ7iOS
2016-11-04 16:21:58 -07:00
Eric Rahm
c2b108ce95 Bug 1313468: Convert XPCOM test TestAutoRef to a gtest. r=froydnj
MozReview-Commit-ID: GkEPSkzNeuB

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
2016-11-04 16:21:37 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Matt Woodrow
12feacb4da Bug 1314191 - Make sure we shut down VideoDecoderManagerChild before threads go away. r=dvander 2016-11-03 09:57:17 +13:00
Aaron Klotz
9a3cf49632 Bug 1314183: Ensure that nsWindowsDllInterceptor does not accept RIP-relative displacements on amd64; r=dmajor
MozReview-Commit-ID: DNf3h9UiRkG

--HG--
extra : rebase_source : 5357b972f72ca10579c6a8ba4a73b61ea84870bb
2016-11-02 10:42:07 -06:00
Phil Ringnalda
c1b863b390 Merge m-c to autoland 2016-11-04 19:05:33 -07:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -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
David Anderson
ea1b39856a Ensure we start the Telemetry singleton in the GPU process. (bug 1304494 part 1, r=gfritzsche) 2016-10-30 22:35:56 -07:00
Andreas Farre
3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Andreas Farre
d87b4d239b Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug
The intent of idleDispatch is the possibility to have a runnable
executed when the thread is idle. This is accomplished by adding an
event queue for idle tasks that will only be considered when the main
event queue is empty and the caller of ProcessNextEvent doesn't
require that we wait until there is an event on the main event queue.

MozReview-Commit-ID: IDWQfzZqWpZ

--HG--
extra : rebase_source : 0d5bfeebd08e01597c2cd8b76e8e848d9f9c58f0
2016-08-24 16:18:06 +02:00
Ryan VanderMeulen
a41f7d1058 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Phil Ringnalda
b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Phil Ringnalda
445097654c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 56Hspl8LZMY
2016-10-27 19:21:47 -07:00
Gerald Squelart
a9a4de3944 Bug 1300476 - Prevent passing references through InvokeAsync - r=froydnj
Passing references to an async call is dangerous because referenced objects
could be destroyed before/during the call, or even be stored by the callee.

The assertion message points at bug 1313497, which is a follow-up to
(eventually) re-allow references in a safer manner.

MozReview-Commit-ID: FTgI5CGCVAe

--HG--
extra : rebase_source : 3062a7441e21617f559accf4476cdafa5575e8ed
2016-10-27 15:13:37 +11:00
Gian-Carlo Pascutto
8b0d2992cb Bug 1310116 - Allow waitpid but warn on creating processes in content. r=jld
MozReview-Commit-ID: JjNfA6wUe3T

--HG--
extra : rebase_source : ad565d238e7554a951d2f6b4e076918bdfd7a450
extra : histedit_source : 127ff408e498f7c687cf6e7f8f7b4e2fbb8c5ae8
2016-10-25 20:43:42 +02:00
Jon Coppeard
4f90a79a0c Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Phil Ringnalda
76f5d03bb6 Merge m-c to m-i
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Phil Ringnalda
4012e61cc3 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Matt Woodrow
4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Kyle Machulis
05c2031bce Bug 1313160 - Add From<&'a String> and From<&'a Vec<u8>> conversions for rust nsstring lib; r=mystor
MozReview-Commit-ID: EBHFA8sjnM6
2016-10-27 13:07:50 -07:00
Aaron Klotz
d4a8a0d706 Bug 1310056: Part 2 - Additional DLL interceptor enhancements; r=m_kato
MozReview-Commit-ID: 6fFbGjqTHzg
2016-10-25 17:57:16 -06:00
Aaron Klotz
bb3855e88a Bug 1310056: Part 1 - DllInterceptor improvements to support InSendMessageEx; r=m_kato
MozReview-Commit-ID: 2I1AHqKGfQi
2016-10-13 15:04:48 -06:00
Gijs Kruitbosch
8d36987e6f Bug 1310518 - fix crashes when downloading files without referrer/source URL, r=mstange
MozReview-Commit-ID: HnSb0yxlAfs

--HG--
extra : rebase_source : 56548450c404702c66e213e327e2083495577382
2016-10-28 17:38:29 +01:00
Markus Stange
f92c8259d3 Bug 1310814 - Add ObjC exception guards. r=spohl
With the added safety checks it's unlikely that anything in this function will
fire ObjC exceptions, but our rule is to have guards around every Objective C
function that can directly be called from C++ files.

MozReview-Commit-ID: GQ0bN5638Sf

--HG--
extra : rebase_source : 3919f4a2b8160f197e1690ba13b58319239848e1
extra : source : 3d233eddd929e0cb2cadf0b07f75d60aa3fba419
2016-10-18 11:23:38 -04:00
Markus Stange
6b58571417 Bug 1310814 - Use public NSLocale API for getting the system country code. r=spohl
This potentially changes behavior. On my machine, the old code returned
NS_ERROR_FAILURE because the dictionary did not have a "countryCode" entry,
but this new implementation correctly returns the string "CA".

MozReview-Commit-ID: 17Vme0fcAIw

--HG--
extra : rebase_source : 9ffc388ae98b11cb37c37957a8721e92284208c3
extra : source : e1a14b0c638571ec7f7aaec56f11d4b77dfb4dd5
2016-10-26 17:56:59 -04:00
Mike Conley
85ea24e315 Bug 1312597 - Increase ThreadStackHelper's initial max buffer size to avoid (chrome script) placeholder in BHR pseudostacks. r=jchen
MozReview-Commit-ID: 6gE4eug7cmY

--HG--
extra : rebase_source : 84b0270f251d6b715fcb2df04005ff437b9d3226
2016-10-25 14:28:23 -04:00
Carsten "Tomcat" Book
e42af6918c Backed out changeset 333a899fb5e6 (bug 1198381) 2016-10-25 12:32:56 +02:00
Carsten "Tomcat" Book
1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Carsten "Tomcat" Book
59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Xidorn Quan
78bf314c48 Bug 1312338 part 1 - Add as_str_unchecked() to nsACString. r=mystor
MozReview-Commit-ID: 8FwxFGtnhjp

--HG--
extra : source : d91104ea4dd66d39f1d9a00eff3a2027f6870176
2016-10-25 10:19:45 +11:00
Eric Rahm
ea799cdb96 Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj
This adds an intermediate interface, nsIArrayExtensions, that inherits from
nsIArray. This is necessary as nsISupportsArray implements nsIArray as well
so the methods could not just be addded to nsIArray. nsIMutableArray inherits
from nsIArrayExtensions and so any interface that works with an nsIMutableArray
can be updated to return an nsIArrayExtensions.

This will allow interfaces that currently return an nsISupportsArray to instead
return an nsIArrayExtensions and internally work with an nsIMutableArray.
Consumers of these functions will continue to be able to use
nsISupportsArray-like iteration even though they're now working with an
nsIArray.

MozReview-Commit-ID: 9uRjsJbg9Jp
2016-10-24 13:24:26 -07:00
David Anderson
b6b222c57c Ensure the hang monitor is enabled in the GPU process. (bug 1311716, r=billm) 2016-10-24 01:07:54 -07:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Mike Conley
9205728a0e Bug 1312080 - Repeated calls to BackgroundHangMonitor::NotifyWait shouldn't unnecessarily wake the BackgroundHangThread. r=billm
MozReview-Commit-ID: 5NLVIFJ9fmJ

--HG--
extra : rebase_source : e5b6c0d9f1baa7c879cf2a4a60c149f09faa08ec
2016-10-21 14:56:32 -04:00
Ryan VanderMeulen
75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen
5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Masayuki Nakano
701f3b7c7a Bug 1311235 part.3 Rename NS_EDITOR_ELEMENT_NOT_FOUND to NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND r=Ehsan
MozReview-Commit-ID: KBeqo2WwOBY

--HG--
extra : rebase_source : b8263ea2bbad63bcbea056b1c11240a28bb4bfb2
2016-10-19 14:35:21 +09:00
Masayuki Nakano
015e1b9d89 Bug 1311235 part.2 Rename NS_FOUND_TARGET to NS_EDITOR_FOUND_TARGET and make it a success code r=Ehsan
NS_FOUND_TARGET is now declared as an error code.  However, making it as a success code makes the code simpler.

First, this patch renames it to NS_SUCCESS_EDITOR_FOUND_TARGET because it's usual naming rule (according to the other declarations).

Next, FindTargetNode() should return it when a nest call of itself returns NS_SUCCESS_EDITOR_FOUND_TARGET as it does now.

Finally, removing the code overwriting NS_FOUND_TARGET with NS_OK from HTMLEditor::CreateDOMFragmentFromPaste() since it doesn't cause hitting NS_ENSURE_SUCCESS() and the variable, rv, will be overwritten with other method's result.

MozReview-Commit-ID: 6GgZptrXXQa

--HG--
extra : rebase_source : 79418fc83fb087e559221f895c59c7c334980456
2016-10-19 14:15:24 +09:00
Masayuki Nakano
3f60f85201 Bug 1311235 part.1 Remove NS_ERROR_EDITOR_NO_SELECTION and NS_ERROR_EDITOR_NO_TEXTNODE since nobody uses them r=Ehsan
MozReview-Commit-ID: LHzlHSGMM2u

--HG--
extra : rebase_source : 43c3dfdc44bff4548243afb3462dfd7686a0a5e3
2016-10-19 13:09:32 +09:00
Tom Tromey
4fa10fe6d8 Bug 553032 - move MOZ_FORMAT_PRINTF to mfbt; r=froydnj
MozReview-Commit-ID: 2aC4ZUOsGPK

--HG--
extra : rebase_source : ec936e8447624653980d9168587223694a9e10c7
2016-10-11 12:42:58 -06:00
Byron Campen [:bwc]
70c2bbb4dc Bug 1307350: Compensate for repeating timers that have not been appropriately cancelled. r=froydnj
MozReview-Commit-ID: 20VpLbgSjh4

--HG--
extra : rebase_source : b5b38c69c228b750e986cc502db1a6c2242919b4
2016-10-04 10:23:39 -05:00
Byron Campen [:bwc]
bd9637251a Bug 1310925: Acquire a reference before unlocking, just in case. r=froydnj
MozReview-Commit-ID: BLExeLU8AFs

--HG--
extra : rebase_source : f5103a955f21a9f1bdf52130b4e061b5904bea5f
2016-10-18 09:42:13 -05:00
Andreas Farre
1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Andreas Farre
60a3a10742 Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug
The intent of idleDispatch is the possibility to have a runnable
executed when the thread is idle. This is accomplished by adding an
event queue for idle tasks that will only be considered when the main
event queue is empty and the caller of ProcessNextEvent doesn't
require that we wait until there is an event on the main event queue.

MozReview-Commit-ID: IDWQfzZqWpZ

--HG--
extra : rebase_source : b16ff65d7a9b2fa16216a9ce8756358014d7ad96
2016-08-24 16:18:06 +02: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
fa2f08828a Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Eric Rahm
996515dcac Bug 1311568 - Remove unused references to nsISupportsArray in xptiInterfaceInfoManager. r=froydnj
MozReview-Commit-ID: KMEJTyXXZ3m
2016-10-21 16:34:40 -07:00
J. Brown
822aa4b8d8 Bug 1242901 - Fix linking libxul.so with binutils/GNU ld >= 2.26. r=glandium
The build fails with:

    /usr/bin/ld: ../../xpcom/components/nsComponentManager.o: relocation R_386_GOTOFF against protected data `start_kPStaticModules_NSModule' can not be used when making a shared object
    /usr/bin/ld: final link failed: Bad value
    collect2: error: ld returned 1 exit status

This is a patch from 2016/04/27 16:36:50 ryoon found on
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/firefox45/patches/#dirlist.
2016-10-20 04:25:00 -04:00
Mike Conley
f2fa591912 Bug 1310880 - Allow a BackgroundHangMonitor to have its own private BackgroundHangThread. r=jchen
MozReview-Commit-ID: L32E19FVhv

--HG--
extra : rebase_source : ad279f8a04e2e33a8b37e15674263aa7a1a0efbf
extra : histedit_source : 9f085995ec8d39014a45ab06fb366fb52eb57c6c
2016-10-19 14:32:43 -04: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
Nathan Froyd
d1108c1e52 Bug 1311068 - remove InitializerList.h; r=botond
We needed this polyfill for <initializer_list> when some of our C++
standard libraries did not support said header.  They all do now, so the
polyfill is redundant.
2016-10-19 00:33:14 -04:00
Eric Rahm
f17e00d7f9 No Bug - Add include to fix unified bustage. r=me 2016-10-18 12:10:35 -07:00
Eric Rahm
3ee733ccd7 Bug 1310040 - Make nsSupportsArray implement nsIArray. r=froydnj
This makes nsSupportsArray implement the |nsIArray| interface. This will allow
us to replace references to nsISupportsArray as a param in our gecko interfaces
with nsIArray instead.

The goal is to remove this adapter (and nsISupportsArray) after a full release
cycle.

MozReview-Commit-ID: If7RiO5muIk
2016-10-18 11:52:08 -07:00
Eric Rahm
ac6647aa97 Bug 1308317 - Part 10: Just use an nsCOMArray. r=froydnj
This switches over from using a half-baked auto array to nsCOMArray.

MozReview-Commit-ID: 6FR2SjOhoZR
2016-10-18 11:36:41 -07:00
Eric Rahm
5b5f49eb80 Bug 1308317 - Part 9: Remove nsSupportsArray::Compact. r=froydnj
This removes the scriptable method |Compact| which is unused in
our codebase and turns up no references in the plugins repo.

MozReview-Commit-ID: 5sJtO5COJpB
2016-10-18 11:36:39 -07:00
Eric Rahm
7fde5ad2f6 Bug 1308317 - Part 8: Remove nsSupportsArray::LastIndexOf. r=froydnj
This removes the scriptable method |GetLastIndexOf| which is unused in
our codebase and turns up no references in the plugins repo. This allows to
remove the non-scriptable |LastIndexOf|.

MozReview-Commit-ID: 54Ux7yZMh4F
2016-10-18 11:36:38 -07:00
Eric Rahm
7292673607 Bug 1308317 - Part 7: Remove nsSupportsArray::RemoveElementsAt. r=froydnj
MozReview-Commit-ID: H3A3gxckw5o
2016-10-18 11:36:37 -07:00
Eric Rahm
d4f6772880 Bug 1308317 - Part 6: Remove nsSupportsArray::GetIndexOfStartingAt. r=froydnj
This removes the scriptable method |GetIndexOfStartingAt| which is unused in
our codebase and turns up no references in the plugins repo. This allows to
remove the non-scriptable |IndexOfStartingAt| which is folded into |IndexOf|.

MozReview-Commit-ID: 2ADz5mLIvMU
2016-10-18 11:36:36 -07:00
Eric Rahm
1cd7bbde2c Bug 1308317 - Part 5: Remove nsSupportsArray::DeleteLastElement. r=froydnj
|DeleteLastElement| is scriptable, but a search of our add-on repo turned up
no hits and there were no references in gecko code. This also allows us to
remove the non-scriptable |RemoveLastElement| which was only called by
|DeleteLastElement|.

MozReview-Commit-ID: 20FXBrosacA
2016-10-18 11:36:35 -07:00
Eric Rahm
15057c80cb Bug 1308317 - Part 4: Remove nsSupportsArray::Equals. r=froydnj
|Equals| is not scriptable and unused in our codebase.

MozReview-Commit-ID: BsbJIuR9fSk
2016-10-18 11:36:33 -07:00
Eric Rahm
5eb6276d7f Bug 1308317 - Part 3: Remove nsSupportsArray::SizeTo. r=froydnj
|SizeTo| is not scriptable and unused in our codebase.

MozReview-Commit-ID: 1DrTm46qbar
2016-10-18 11:36:32 -07:00
Eric Rahm
9be4258264 Bug 1308317 - Part 2: Remove nsSupportsArray::MoveElement. r=froydnj
|MoveElement| is not scriptable and unused in our codebase.

MozReview-Commit-ID: CBe8WZHG1JG
2016-10-18 11:36:31 -07:00
Eric Rahm
f89a684018 Bug 1308317 - Part 1: Remove debug code. r=froydnj
MozReview-Commit-ID: 7TQG7flcJkj
2016-10-18 11:36:30 -07: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
84473915d8 Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Andrea Marchesini
5e4e74e859 Bug 1310973 - Fixing a comment in nsIMemoryReporter.idl, r=me 2016-10-18 12:37:23 +02:00
Carsten "Tomcat" Book
260c42fadb Merge mozilla-central to mozilla-inbound 2016-10-14 15:00:30 +02:00
Carsten "Tomcat" Book
98c8a7a746 Backed out changeset ea82808b9abd (bug 1308317) 2016-10-14 14:58:49 +02:00
Carsten "Tomcat" Book
46b2fe93c0 Backed out changeset 63208c26bfc3 (bug 1308317) 2016-10-14 14:58:46 +02:00
Carsten "Tomcat" Book
638c43c71b Backed out changeset 8d8a0f01f28c (bug 1308317) 2016-10-14 14:58:44 +02:00
Carsten "Tomcat" Book
8f39dfed93 Backed out changeset bb30697071b2 (bug 1308317) 2016-10-14 14:58:42 +02:00
Carsten "Tomcat" Book
ac6a598542 Backed out changeset 476a831ca87e (bug 1308317) 2016-10-14 14:58:40 +02:00
Carsten "Tomcat" Book
b79e4e00cc Backed out changeset 8c2984643f74 (bug 1308317) 2016-10-14 14:58:38 +02:00
Carsten "Tomcat" Book
3470d6dfe0 Backed out changeset 928ad5e93372 (bug 1308317) 2016-10-14 14:58:35 +02:00
Carsten "Tomcat" Book
b6187e2b2e Backed out changeset 96d1b7238832 (bug 1308317) 2016-10-14 14:58:33 +02:00
Sebastian Hengst
c4a0ba38de Bug 1304829 - Rename nsXULAppInfo's isReleaseBuild to isReleaseOrBeta. r=ted
MozReview-Commit-ID: J4F27Z1Hy7h
2016-10-14 13:31:39 +02:00
Carsten "Tomcat" Book
b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Eric Rahm
9aeecd32b2 Bug 1308317 - Part 8: Just use an nsTAutoArray. r=froydnj
This switches over from using a half-baked auto array to nsTAutoArray.

MozReview-Commit-ID: 6FR2SjOhoZR
2016-10-13 22:04:42 -07:00
Eric Rahm
5e0a57ef2e Bug 1308317 - Part 7: Remove nsSupportsArray::RemoveElementsAt. r=froydnj
MozReview-Commit-ID: H3A3gxckw5o
2016-10-13 22:04:41 -07:00
Eric Rahm
b3bce28ad5 Bug 1308317 - Part 6: Remove nsSupportsArray::GetIndexOfStartingAt. r=froydnj
This removes the scriptable method |GetIndexOfStartingAt| which is unused in
our codebase and turns up no references in the plugins repo. This allows to
remove the non-scriptable |IndexOfStartingAt| which is folded into |IndexOf|.

MozReview-Commit-ID: 2ADz5mLIvMU
2016-10-13 22:04:39 -07:00
Eric Rahm
08e653d2cf Bug 1308317 - Part 5: Remove nsSupportsArray::DeleteLastElement. r=froydnj
|DeleteLastElement| is scriptable, but a search of our add-on repo turned up
no hits and there were no references in gecko code. This also allows us to
remove the non-scriptable |RemoveLastElement| which was only called by
|DeleteLastElement|.

MozReview-Commit-ID: 20FXBrosacA
2016-10-13 22:04:38 -07:00
Eric Rahm
b8014cf9d8 Bug 1308317 - Part 4: Remove nsSupportsArray::Equals. r=froydnj
|Equals| is not scriptable and unused in our codebase.

MozReview-Commit-ID: BsbJIuR9fSk
2016-10-13 22:04:37 -07:00
Eric Rahm
23dd90cee5 Bug 1308317 - Part 3: Remove nsSupportsArray::SizeTo. r=froydnj
|SizeTo| is not scriptable and unused in our codebase.

MozReview-Commit-ID: 1DrTm46qbar
2016-10-13 22:04:35 -07:00
Eric Rahm
a3599628c0 Bug 1308317 - Part 2: Remove nsSupportsArray::MoveElement. r=froydnj
|MoveElement| is not scriptable and unused in our codebase.

MozReview-Commit-ID: CBe8WZHG1JG
2016-10-13 22:04:34 -07:00
Eric Rahm
f4bf8c3f70 Bug 1308317 - Part 1: Remove debug code. r=froydnj
MozReview-Commit-ID: 7TQG7flcJkj
2016-10-13 22:04:33 -07:00
Aaron Klotz
b785d4851f Bug 1218473: Add check for presence of NVIDIA Optimus drivers to WindowsNopSpacePatcher; r=ehsan
MozReview-Commit-ID: 7WhWWbRHOw7
2016-10-13 17:10:52 -06:00
Aaron Klotz
25ab6720e1 Bug 1240848: Adds additional instructions to x64 detour patcher and prevents register clobbering in jmp from trampoline; r=ehsan
MozReview-Commit-ID: 7DCQZc9eoQI
2016-10-13 14:56:23 -06:00
Aaron Klotz
dc65cea470 Bug 1240977: DLL interceptor improvements for Windows 10 x64 ntdll APIs; r=ehsan
MozReview-Commit-ID: rM8XWK5y2n
2016-10-13 15:15:22 -06:00
Xidorn Quan
320a08b33e Bug 1309794 - Make RefCnt types non-copyable. r=froydnj
MozReview-Commit-ID: Lx344xrXDZT

--HG--
extra : rebase_source : 31ef46add0b2b4b2e62b425d0740199f0e4d4f85
2016-10-13 16:52:54 +11:00
Carsten "Tomcat" Book
802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
Chris Peterson
69596fd26b Bug 1309462 - Replace MOZ_ASSERT with MOZ_RELEASE_ASSERT in xpcom/tests/. r=froydnj 2016-10-12 19:40:45 -07:00
Wes Kocher
2337995bb0 Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
Carsten "Tomcat" Book
6c0aec63b8 Merge mozilla-central to mozilla-inbound 2016-10-12 12:03:34 +02:00
Carsten "Tomcat" Book
2844380bd4 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Gijs Kruitbosch
a6e0fa62ec Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz
This actually accomplishes what was discussed in the bug and marks any file with the
relevant URI flags as WebDownload, and everything else as OtherDownload.

Note that I'm using DoGetProtocolFlags in order to deal with
nsIProtocolHandlerWithDynamicFlags correctly; while just getting protocol flags
from the IO service directly would be less work, it's technically less correct.

MozReview-Commit-ID: HgD1fV98IEc

--HG--
extra : rebase_source : f114532b48dbca5c83871e61c8d04c719e3b38d1
2016-10-03 13:52:19 +01:00
Gijs Kruitbosch
5fae01fcd2 Bug 1305339 - part 1: use correct key to get and set quarantine information on 10.10+, r=mstange
kLSItemQuarantineProperties was deprecated in 10.10. AFAICT it was replaced by
kCFURLQuarantinePropertiesKey, which was inconveniently new in 10.10.
On my 10.11 machine, the Info.plist fix from the previous patch was not
sufficient to get the data to actually show up when using the old (deprecated)
key. I suspect the setter is a no-op with the old key. So here's code that
uses the new key ("documented" in LSQuarantine.h, where conveniently
the actual properties in the dictionary have kept their keys, but the
dictionary key is now referenced as the CF one).

MozReview-Commit-ID: IMsV6TLrYTP

--HG--
extra : rebase_source : 400db5d7dcbc8fbf165c9e8049376d50001e8f1c
2016-10-03 13:52:41 +01:00
Ehsan Akhgari
b441f24399 Bug 1309031 - Remove support for prohibiting the background hang monitor; r=froydnj
The code that was using this was removed in bug 1284674.
2016-10-11 09:37:46 -04:00
Andrew McCreight
7f21d47f87 Bug 1308652, part 2 - Only allow nsTraceRefcnt::DumpStatistics to be called once. r=froydnj
DumpStatistics does not track any objects that are created or
destroyed while it is running, which means that any subsequent calls
to it will produce incorrect results. This can lead to incorrect
positive or negative leaks being reported. See 1271182.

Now that about:bloat has been removed, DumpStatistics should only be
called once, during shutdown.

MozReview-Commit-ID: IjMkExeBRBr

--HG--
extra : rebase_source : 5966789c2febfedc796d17f8589e8c3703d266cb
2016-10-10 11:55:15 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Eric Rahm
11d01803a8 Bug 1308036 - Check sizes when growing nsISupportsArray. r=froydnj
This adds size checks when growing the nsISupportsArray. It also removes
|InsertElementsAt| and |AppendElements| which are unused notxpcom interfaces
that would need similar modifications.

MozReview-Commit-ID: ET32q0OCrLU
2016-10-07 09:55:32 -07:00
Jon Coppeard
123936bacd Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
Matt Woodrow
67cd537af3 Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander 2016-10-07 21:13:33 +13:00
Andrew McCreight
21046706e7 Bug 1308995, part 5 - Use early return in NS_LogCtor/Dtor. r=froydnj
This is an unrelated change to fix an issue that was bothering me.

MozReview-Commit-ID: Cxw9WhHfSAf

--HG--
extra : rebase_source : 10e3b3f28ecad0af216dbb368ffdb3b0ff75c7f9
2016-10-10 13:34:53 -07:00
Andrew McCreight
6d99589133 Bug 1308995, part 4 - Rename mAllStats to mStats. r=froydnj
There's only one stats field now.

MozReview-Commit-ID: 9XZLQNrhrIU

--HG--
extra : rebase_source : 3b1543eb28543361e57c477fe74238a5e1f4a5e1
2016-10-10 13:24:05 -07:00
Andrew McCreight
d835d1a2f7 Bug 1308995, part 3 - Get rid of mNewStats. r=froydnj
Nobody asks for the new stats, only the total ones, so there's no need
for two sets of statistics.

MozReview-Commit-ID: AO0ue9MPn3N

--HG--
extra : rebase_source : 8d5237c4efdc0ece5bf1a386cae38e394aaadf01
2016-10-10 13:22:37 -07:00
Andrew McCreight
e3f825e5a5 Bug 1308995, part 2 - Remove nsTraceRefcnt::StatisticsType arguments. r=froydnj
Only about:bloat used NEW_STATS, so act like we have ALL_STATS
everywhere. A later patch will remove the mNewStats field.

MozReview-Commit-ID: LUJBpS3iYht

--HG--
extra : rebase_source : 543951314e12e7964e3f25c155b658d50ce674a6
2016-10-10 10:56:09 -07:00
Andrew McCreight
4690bf258a Bug 1308995, part 1 - Remove unused DumpStatistics::aOut argument. r=froydnj
Only about:bloat used this argument.

MozReview-Commit-ID: HXIUPVwl5ID

--HG--
extra : rebase_source : 8c12de73d6e5d8b7b733decf4fdd13db810236a4
2016-10-10 10:53:08 -07:00
Andrew McCreight
ab2fd3606b Bug 1309051 - Ensure GetSerialNumber is consistent with aCreate. r=froydnj
MozReview-Commit-ID: 92N6vcV2NhP

--HG--
extra : rebase_source : ed0a64e6686683adc50475a1ddf005be90abb66a
2016-10-10 15:57:03 -07:00
Sebastian Hengst
22179cd574 Backed out changeset 491237dbcb5d (bug 1323207) 2016-12-16 20:06:43 +01:00
Andrew McCreight
d8103c4981 Bug 1323207, part 2 - Assert early if we're painting at various points we enter JS. r=billm
nsContentUtils::IsPatternMatching is the most common by far, but the
other two are generic locations that may cover a number of issues.

MozReview-Commit-ID: Kli39btsqdd

--HG--
extra : rebase_source : 1a7eda2a711f079978b54012d9c7466bbd6de36f
2016-12-14 16:28:57 -08:00
Phil Ringnalda
0e26fa186a Backed out changeset 3851e5f51530 (bug 1299489) for unfathomable bustage of Linux32 debug test_peerConnection_capturedVideo.html
CLOSED TREE

MozReview-Commit-ID: I6HSmVRtucs
2016-10-05 19:25:24 -07:00
Michael Layzell
c5faf7265c Bug 1307615 - Avoid depending on potentially-undefined behavior in the rust nsstring bindings, r=froydnj
MozReview-Commit-ID: AbISqKM9hcg
2016-10-05 11:54:51 -04:00
Michael Layzell
025811ca63 Bug 1299489 - Change nsTArray to use a custom iterator based on index instead of pointers to improve iterator invalidation safety of ranged for loops, r=froydnj
MozReview-Commit-ID: CahPOcRYvES
2016-10-05 11:54:51 -04:00
Valentin Gosu
a6ca82fdd0 Bug 1306920 - Make sure log file is closed when clearing it at runtime r=nfroyd 2016-10-05 11:34:12 +02:00
Wes Kocher
5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Byron Campen [:bwc]
060752fb8e Bug 1306733: Don't crash on release builds if mTimer isn't set here. r=froydnj
MozReview-Commit-ID: eupSpSpJU3

--HG--
extra : rebase_source : d943f86b4bc015011f04f26fc8c2190f2472d111
2016-09-30 16:42:45 -05:00
Phil Ringnalda
c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Tom Tromey
7bc8491bea Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
MozReview-Commit-ID: 6hDZDaBsNFM

--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
Nathan Froyd
3ca4c03f1d Bug 1306616 - part 2 - remove nsWritingIterator<T>::write; r=erahm
Iterators shouldn't have methods like write(); if you need to write to
an iterator, that logic should be handled by something outside of the
iterator...which also explains why we have a specialization of
nsCharTraits<nsWritingIterator<T>>.  The HTML parser wants this for its
own reasons, so we have to make sure it continues to work.
2016-10-03 17:21:52 -04:00
Nathan Froyd
3806e7bb85 Bug 1306616 - part 1 - don't use write() method of nsWritingIterator in nsReadableUtils; r=erahm
Iterators really shouldn't have methods like these; there should be
something else sitting on top of iterators that provides this.
2016-10-03 17:21:52 -04:00
Phil Ringnalda
400813c30b Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Jan de Mooij
825f1f904e Bug 1306317 - Fix BackgroundHangThread::ReportHang to handle empty mHangStack correctly. r=froydnj
--HG--
extra : rebase_source : c96766e4fc071bc119fe946ee86a045f0b1db4f4
2016-09-30 14:46:19 +02:00
Gijs Kruitbosch
926b56b96c Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
MozReview-Commit-ID: 4CENm3iqGUH

--HG--
extra : rebase_source : 2e208aa73d4c9d6827a11e3ef73fdeca6ed4a348
2016-09-30 17:18:41 +01:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Wes Kocher
485474bedb Backed out 3 changesets (bug 1279240) for leaks on Windows VM mochitests a=backout
Backed out changeset 4b69e32e3a83 (bug 1279240)
Backed out changeset d0d5180dc062 (bug 1279240)
Backed out changeset dc1b725b47d4 (bug 1279240)
2016-09-29 17:44:41 -07:00
Gijs Kruitbosch
c85dd42c4b Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
MozReview-Commit-ID: 4CENm3iqGUH

--HG--
extra : rebase_source : f9932abcee9f923b58e964ade81f3428181707d5
2016-09-27 11:51:43 +01:00
Nils Ohlmeier [:drno]
565956109b Bug 1305159: replace NSAddImage with dlopen on OSX. r=froydnj
MozReview-Commit-ID: FHZthgRxPha

--HG--
extra : rebase_source : a6f7f61a4016b515ea96073f943aec06fea224b7
2016-09-23 15:31:39 -07:00
Wes Kocher
673a0db365 Backed out changeset 57e78c503c4e (bug 1294450) for build bustage a=backout 2016-09-28 17:38:00 -07:00
Josh Matthews
facc06fda2 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=froydnj
--HG--
extra : rebase_source : 764aa593bd2734ca15d556a0b5ca55e3f69d25bb
2016-09-28 18:38:51 -04:00
Thomas Wisniewski
778b8e1ef7 Bug 1300986 - Improve exception messages for XMLHttpRequest. r=smaug
--HG--
extra : rebase_source : 911c543155d894f106b4e32599db89da4d781add
2016-09-28 13:04:17 -04:00
Honza Bambas
eeb66ca287 Bug 1305025 - Don't return error from nsPipe::Status when there are data to read to prevent potentiall loop. r=jduell
--HG--
extra : rebase_source : 8362d5f7e6a459d507ba8b7ac8a74afed9242982
2016-09-28 03:32:00 -04:00
Carsten "Tomcat" Book
572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Phil Ringnalda
556a8f6ea1 Backed out 3 changesets (bug 1301301) for crashing
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Andrew McCreight
068861044a Bug 1301301, part 5 - In debug builds, check if there are too many calls to JS::TraceChildren. r=smaug
This can indicate that we are repeatedly calling TraceChildren on
non-AddToCCKind GC things.

MozReview-Commit-ID: C2udI1zg5R9
2016-09-26 10:19:07 -07:00
Andrew McCreight
5a97b708ad Bug 1301301, part 4 - Make calls to JS::TraceChildren go through a single method on CCJSContext. r=smaug
In this patch I add a new tracer base class, CCJSTracer, and make all
of the code in CycleCollectedJSContext that used to do
JS::TraceChildren depend on it. This will let me record the number of
calls to JS::TraceChildren in one place, in a later patch.

This should not change any behavior.

MozReview-Commit-ID: LdDu5rnpvX0
2016-09-26 10:19:07 -07:00
Andrew McCreight
9d11cb0868 Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
This will let my later patch run code at the start and end of each CC.

This patch should not change any behavior.

MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Carsten "Tomcat" Book
ceb8695fd3 Merge mozilla-central to mozilla-inbound 2016-09-27 11:26:17 +02:00
Nathan Froyd
d50eeaffb6 Bug 1305422 - followup - use correct check for memory allocation failure in nsWindowsRegKey.cpp; r=bustage 2016-09-30 01:56:28 -04:00
Nathan Froyd
24fe404f62 Bug 1305422 - part 18 - remove #if 0'd-out code from nsStringIterator.h; r=erahm
We don't support IBM VisualAge for OS/2 anymore, and we haven't needed
this code in a long time regardless.
2016-09-29 22:33:57 -04:00
Nathan Froyd
2f1ab0c5e0 Bug 1305422 - part 17 - remove size_{forward,backward} from ns{Reading,Writing}Iterator; r=erahm 2016-09-29 22:33:57 -04:00
Nathan Froyd
9131b203eb Bug 1305422 - part 11 - don't call size_forward in nsXPCOMStrings.cpp; r=erahm 2016-09-29 22:33:57 -04:00
Nathan Froyd
cc34f85e8b Bug 1305422 - part 9 - remove {start,end} from ns{Reading,Writing}Iterator; r=erahm
These methods are now unused thanks to previous patches.
2016-09-29 22:33:57 -04:00
Nathan Froyd
46e20138db Bug 1305422 - part 6 - pass explicit end iterators for CopyTo{Upper,Lower}Case; r=erahm
This change avoids calling size_forward on the iterator, which we are
trying to eliminate.
2016-09-29 22:33:57 -04:00
Nathan Froyd
7fbe6c830e Bug 1305422 - part 6a - add operator- support for ns{Reading,Writing}Iterator; r=erahm
This change is necessary so we can start using a pair of
iterators (current, end) and subtract them to figure out how far we have
left to go.  The current code just uses size_forward and size_backward
for this purpose, and it's quite an unusual iterator that knows how far
it can go until it's done.
2016-09-29 22:33:58 -04:00
Nathan Froyd
17702bc8dd Bug 1305422 - part 3 - don't call size_forward in nsTStringComparator.cpp; r=erahm
Asking for size_forward on an iterator that you haven't started reading
from is just asking for the length of the original string, so use that
instead.
2016-09-29 22:33:58 -04:00
Nathan Froyd
d59bcecbbd Bug 1305422 - part 2 - don't call size_forward on ns*String::iterators to check for SetLength failure; r=erahm
We have better ways of checking for SetLength failure nowadays, and even
if these SetLength calls did fail, the program would crash anyway.
2016-09-29 22:33:58 -04:00
Nathan Froyd
a6c2b19c93 Bug 1305422 - part 1 - remove normalize* methods from ns{Reading,Writing}Iterator; r=erahm
They are never called.
2016-09-29 22:33:58 -04:00
Jan de Mooij
e079cbfe2a Bug 1302914 - Use GetThreadContext after calling SuspendThread to ensure threads are really suspended. r=froydnj 2016-09-29 20:05:36 +02:00
Andrew Osmond
31ad519348 Bug 1275464 - Part 1. Unregister from handling image memory reports when shutting down. r=njn 2016-09-19 13:29:59 -04:00
Josh Matthews
ee8da66177 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
Iris Hsiao
bea139e001 Merge mozilla-central to autoland 2016-09-26 19:14:57 +08:00
Sylvestre Ledru
5c7328abbb Bug 1305037 - simplify the getpid usage r=alchen
MozReview-Commit-ID: 1ra57AW9xug

--HG--
extra : rebase_source : cfef0e018eb8ec2d59fc0406f39a78ac2c9e50be
2016-09-23 15:02:23 +02:00
Sylvestre Ledru
c0a2402556 Bug 1305037 - Simplify the declaration of slashp r=froydnj
MozReview-Commit-ID: BBax5TZdSDt

--HG--
extra : rebase_source : e97cf58802fbd542aa88772f7ced585d59c1a001
2016-09-23 15:00:21 +02:00
Mike Shal
33dd807e8a Bug 1304131 - list xpidl.stub as the first output for header.py; r=gps
Since xpidllex.py and xpidlyacc.py are created deep in the
other-licenses/ply code, we can't easily pass in our FileAvoidWrite
handle from the mozbuild action. As a result, when ply writes out
xpidllex.py, the mozbuild action overwrites the contents of the file
with a new 0-length xpidllex.py. This causes future xpidl invocations to
write out a new xpidllex.py rather than using the pre-built one.

MozReview-Commit-ID: NOC1Wr3MZO

--HG--
extra : rebase_source : a364a0f6f47e1c652bd41c90548fe7cbaf516374
2016-09-19 13:43:39 -04:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
David Anderson
4c2e28b8b6 Add XRE_IsGPUProcess. (bug 1301266 part 1, r=billm) 2016-09-21 22:38:40 -07:00
Eric Faust
121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Nathan Froyd
a9c993ccd1 Bug 1298855 - part 2 - remove prcpucfg.h #include from xpt_arena.h; r=erahm
Nothing else in this code requires prcpucfg.h at this point, and we
might as well remove nspr.h from xpt_xdr.cpp while we're at it.
2016-09-21 18:16:10 -04:00
Nathan Froyd
c0268e7859 Bug 1298855 - part 1 - use EndianUtils.h in xpt_xdr.cpp; r=erahm
More obvious, slightly more efficient, and dispensing with NSPR macro
goo is always a good thing.
2016-09-21 18:16:10 -04:00
Andrea Marchesini
d62e084ce0 Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
Matt Woodrow
64a71f90da Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander 2016-09-21 21:24:43 +12:00
Matt Woodrow
74b953d168 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
97147af527 Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander
--HG--
extra : rebase_source : fd702b96f36645a2b0d8a7a4e4afc74c063a68c4
2016-09-21 15:36:09 +12:00
Matt Woodrow
4caf5b9aa0 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley
--HG--
extra : rebase_source : 38596e6ebfc7eb2fb863e242cee718060abe470c
2016-09-21 15:36:09 +12:00
Michael Layzell
030fcbd018 Bug 1303472 - Add a move constructor to nsCOMPtr, r=froydnj
MozReview-Commit-ID: 6ECLDmA9Ol
2016-09-20 11:36:14 -04:00
Michael Layzell
0f0181c55e Bug 1295762 - Part 2: Add tests to ensure that the layout of rust's ns[C]String matches C++'s, r=froydnj
MozReview-Commit-ID: FH18iSXkhX5
2016-09-20 11:26:43 -04:00
Michael Layzell
dace0b2e39 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-09-20 11:26:43 -04:00
Carsten "Tomcat" Book
2c29ecf6ea Merge mozilla-central to autoland
--HG--
rename : browser/themes/shared/controlcenter/conn-degraded.svg => browser/themes/shared/controlcenter/connection.svg
rename : browser/themes/shared/identity-block/identity-mixed-active-loaded.svg => browser/themes/shared/identity-block/connection-mixed-active-loaded.svg
rename : browser/themes/shared/identity-block/identity-mixed-passive-loaded.svg => browser/themes/shared/identity-block/connection-mixed-passive-loaded.svg
rename : browser/themes/shared/identity-block/identity-secure.svg => browser/themes/shared/identity-block/connection-secure.svg
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/ANRReporter.java => mobile/android/base/java/org/mozilla/gecko/ANRReporter.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java => mobile/android/base/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java
rename : taskcluster/ci/signing/signing.yml => taskcluster/ci/build-signing/android-signing.yml
rename : taskcluster/ci/signing/kind.yml => taskcluster/ci/build-signing/kind.yml
extra : rebase_source : d069a089538d77ef97a2ea10095f66eb814879eb
2016-09-21 12:10:25 +02:00
Cervantes Yu
41c36d9c23 Bug 1303940 - MessageLoop::PostDelayedTask() should schedule the runnable on the target thread instead of the current thread. r=froydnj
MozReview-Commit-ID: 8yCY9WSwbAJ

--HG--
extra : rebase_source : 126184b84868977df8b9864eb158a3ad14052365
2016-09-20 14:00:18 +08:00
Andi-Bogdan Postelnicu
9b7638bfd4 Bug 1301333 - mark Initialize as initialisation function for CycleCollectedJSContext. r=mccr8
MozReview-Commit-ID: BRO2gsJRNjk

--HG--
extra : rebase_source : 22f027261538bf1a3e39d8bd02fd93cda61fe693
2016-09-16 13:31:37 +03:00
Wes Kocher
da7b1c61a1 Merge inbound to central, a=merge 2016-09-19 15:51:39 -07:00
Valentin Gosu
c0e2f75813 Bug 1239686 - Add method to set logging file at runtime r=nfroyd
* Only allows setting the log file at runtime if not set by an Env Var
* LogModulePrefWatcher will watch logging.config. prefs and call into Logging.cpp to set the log file, sync or timestamp
* Log files set by pref will have a -main.PID or -child.PID suffix
* If the logging.config.clear_on_startup pref is true, prefs will be reset upon restart.
MozReview-Commit-ID: CWJujX4jm2A
2016-09-19 17:39:47 +02:00
ffxbld
857d1ac980 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-09-19 09:45:57 -04:00
Andi-Bogdan Postelnicu
cbfe4ec772 Bug 1282408 - Add ignore-initialization-check annotation to mCurrPi from CCGraphBuilder. r=mccr8
MozReview-Commit-ID: FFgmluIyvbs
2016-09-19 16:23:40 +03:00
Xidorn Quan
7d4ca9c88b Bug 1303302 - Add IsDestructible trait in TypeTraits and use it for refcounted type static check. r=froydnj
MozReview-Commit-ID: G3YFhrJngq0

--HG--
extra : rebase_source : da0aa325eb7772c1a156440ed46be9d0d429c91e
2016-09-16 17:23:55 +10:00
Phil Ringnalda
6beabc555f Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
c725e729c5 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Eric Rahm
395fa9e2ed Bug 1301742 - Improve UTF-16 to UTF-8 conversion speed. r=froydnj
This adds an SSE2 optimized path for UTF-16 strings that can be trivially
converted to UTF-8 (they contain no characters > 0X7F). It has a
speedup for the case where many of the leading characters are < 0X80 and
should have the same performance in the worst-case scenario where the first
character is > 0X7F.
2016-09-15 15:46:29 -07:00
Byron Campen [:bwc]
60820e4a14 Bug 1157323 - Part 6: Some comment improvements. r=froydnj
MozReview-Commit-ID: GDLuJS0Wlgh

--HG--
extra : rebase_source : 6156b6ab99aa7b429bec55b0e32500074d59f7a6
extra : source : 32ed23f6341788882a076134a62ae5717c2fbf02
2016-08-05 13:46:07 -05:00
Byron Campen [:bwc]
1a6b8f0e4e Bug 1157323 - Part 5: Remove some unnecessary members. r=froydnj
MozReview-Commit-ID: Fhkq0CZoqQP

--HG--
extra : rebase_source : fb0624ad264173656de1c28ebbafcc509533ebb2
2016-08-05 13:39:34 -05:00
Byron Campen [:bwc]
0f00611fff Bug 1157323 - Part 4: Stop modifying mTimeout/mDelay from the TimerThread, plus some simplification. r=froydnj
MozReview-Commit-ID: 1pMCKLi9DLZ

--HG--
extra : rebase_source : 03eabab8f39865bdb2489a96c809abb99b1fb7d9
2016-08-05 12:50:00 -05:00
Byron Campen [:bwc]
d317470863 Bug 1157323 - Part 3: Do not allow mTimeout to change while a timer is in the queue. r=froydnj
MozReview-Commit-ID: 3ZyikUsix8D

--HG--
extra : rebase_source : 94a71aae125f541ef1aee962b1aae69c6e326a42
2016-08-05 10:07:38 -05:00
Byron Campen [:bwc]
0cf5031cd7 Bug 1157323 - Part 2: Factor nsTimerImpl into two classes, so we don't need to do racy stuff in nsTimerImpl::Release. r=froydnj
MozReview-Commit-ID: DAe4TpMqBpA

--HG--
extra : rebase_source : 4caeb1ffc41b0704e5c1c111ef869d8edfb6d30c
2016-07-20 15:16:40 -05:00
Byron Campen [:bwc]
f6af4a9282 Bug 1157323 - Part 1: Make TestTimers a unit-test. r=froydnj
MozReview-Commit-ID: HPdP3muvzU8

--HG--
extra : rebase_source : a4728b9a4fdf1b1de354c04351d35dfb58edf693
2016-06-23 17:05:40 -05:00
Gerald Squelart
3aef8d49e3 Bug 1247056 - NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR - r=jwwang
MozReview-Commit-ID: ykIi2lmQJ2

--HG--
extra : rebase_source : f3bd7a7f0b0b02e5e36faa690627f116a77d3bb0
2016-09-18 19:30:06 -07:00
Thomas Wisniewski
ba6cb5196e Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
Wes Kocher
b20dd04b94 Backed out 13 changesets (bug 1247056) for WinXP bc7 failures in browser_decoderDoctor.js CLOSED TREE
Backed out changeset ff3538fd40fe (bug 1247056)
Backed out changeset a444d7cb1091 (bug 1247056)
Backed out changeset 03553484a062 (bug 1247056)
Backed out changeset 001b42631702 (bug 1247056)
Backed out changeset d0d71a80a029 (bug 1247056)
Backed out changeset cd40559e25d7 (bug 1247056)
Backed out changeset b8857adc4003 (bug 1247056)
Backed out changeset 1f3b037bfd1f (bug 1247056)
Backed out changeset c5cd9597ec02 (bug 1247056)
Backed out changeset 2bfe3aeb9f59 (bug 1247056)
Backed out changeset 934d7c9628f1 (bug 1247056)
Backed out changeset 63094a80bee7 (bug 1247056)
Backed out changeset 511ed53eee9a (bug 1247056)
2016-09-26 12:15:55 -07:00
Gerald Squelart
782d22e09d Bug 1247056 - NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR - r=jwwang
MozReview-Commit-ID: ykIi2lmQJ2

--HG--
extra : histedit_source : b6bb0aeb246e6b304b3379a5a285ab74144a9014
2016-09-18 19:30:06 -07:00
Eric Rahm
3fa6be1ab6 Bug 1316904 - Convert windows XPCOM tests to gtest. r=froydnj
This converts TestNtPathToDosPath and TestCOM to gtests.

MozReview-Commit-ID: EeNwvsj4cAs
2016-11-11 12:02:52 -08:00
Eric Rahm
84d0b89865 Bug 1316738 - Remove XPCOM test TestInterfaceInfo. r=froydnj
This removes a GeckoSimpleProgram that is neither built nor run.

MozReview-Commit-ID: 5ERreh9Gksw
2016-11-11 12:02:20 -08:00
Eric Rahm
2b4f954694 Bug 1316737 - Remove XPCOM test TestXPTCInvoke. r=froydnj
This removes the GeckoSimpleProgram TestXPTCInvoke which is neither compiled
nor run.

MozReview-Commit-ID: 5JdVEjEUUmu
2016-11-11 12:02:10 -08:00
Terrence Cole
0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Wes Kocher
7c3b68eebf Backed out changeset 92d09cb049f5 (bug 1310056) for cpp failures a=backout 2016-10-20 14:32:04 -07:00
Aaron Klotz
5f919ffa25 Bug 1310056: Part 1 - DllInterceptor improvements to support InSendMessageEx; r=m_kato
--HG--
extra : amend_source : 65fbbe2188b320e62407c92ca7fd63ea0ac8c555
2016-10-13 15:04:48 -06:00
Olli Pettay
38db072da0 Bug 1324808 - Improve string allocation, r=nfroyd 2016-12-22 00:23:07 +02:00
Dylan Roeh
fc0297ebcf Bug 1307858 - Use a copy of the list of observers to broadcast. r=froydnj 2016-12-16 14:49:25 -06:00
Ryan Hunt
e7c126d7a0 Bug 1313978 - Don't use Preferences in MainThreadIdlePeriod until they are available r=smaug 2016-10-31 17:30:38 -05:00
Nicolas B. Pierron
395abf823f Bug 1288104 part 2 - Instrument SRICheckDataVerifier to load/save the computed hash from the bytecode cache. r=francois 2016-10-20 09:44:33 +00:00
Terrence Cole
1a8989f3c0 Bug 1004276 - Assert that we do not GC in the wrong parts of the CC; r=mccr8
--HG--
extra : rebase_source : f5a339a1c7e356e5d726b5323b860f3cbe490ec3
2014-04-30 16:06:25 -07:00
Boris Zbarsky
0fd831e559 Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly 2016-09-15 11:41:35 -04:00
Carsten "Tomcat" Book
571b01b867 Backed out changeset fdee8d1538b0 (bug 1288618) 2016-09-15 16:34:10 +02:00
Carsten "Tomcat" Book
6155a378e7 Backed out changeset 30e2b2eea845 (bug 1288618) 2016-09-15 16:34:09 +02:00
Matt Woodrow
0f949621e5 Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander 2016-09-15 23:17:59 +12:00
Matt Woodrow
9c7f101c32 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-15 23:17:59 +12:00
Christian Holler (:decoder)
3c7149e85d Bug 1289194 - Experimental LibFuzzer integration. r=glandium
MozReview-Commit-ID: 9njDcbltyow

--HG--
extra : rebase_source : 774d25f2ac4e4b1a876e48159333188bc722f940
2016-09-01 15:07:01 +02:00
Jan de Mooij
7f794780e0 Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Jan de Mooij
a53986bf29 Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Gabriele Svelto
6a9ddd1201 Bug 1301667 - Increase the low memory threshold under Windows and clean up the available memory tracker r=njn 2016-09-14 13:52:45 +02:00
Carsten "Tomcat" Book
d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Ben Kelly
ae456e0d5c Bug 1300118 P5 Expose the TaskQueue backlog ImpreciseLengthForHeuristics(). r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
48310e4429 Bug 1300118 P4 Make nsThread expect NS_DISPATCH_AT_END similar to nsThreadPool. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
11d56a06f0 Bug 1300118 P3 Fix TaskQueue sCurrentThread TLS handling for nsIEventTarget targets. r=jwwang 2016-09-13 20:12:15 -07:00
Ben Kelly
e03450312b Bug 1300118 P2 Make TaskQueue implement nsIEventTarget. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
f0d440f9d1 Bug 1300118 P1 Make TaskQueue deliver runnables to nsIEventTarget. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
46960c09a1 Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
Ryan VanderMeulen
739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
David Anderson
f80736e0c8 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
Andrew McCreight
f9e6d19361 Bug 1299934 - Run shutdown collection in workers in opt builds. r=froydnj,smaug
We skip running shutdown collection on the main thread, because we're
exiting right after, but the process still continues when we shut down
a worker, so we should always do collections there.

MozReview-Commit-ID: IQZItm1qWXW

--HG--
extra : rebase_source : 4fd89e36db124a524c240e806a885dee3b68979e
2016-09-08 13:04:30 -07:00
Andrew McCreight
d9ec3221fa Bug 1301796 - Remove racy code in nsCycleCollector::RegisterJSRuntime. r=smaug
MozReview-Commit-ID: 18MW4EYbaC8

--HG--
extra : rebase_source : a8e4b2fbf14f5ffd6acde32bf3ba96443c8ab5d4
2016-09-09 15:14:15 -07:00
Jean-Yves Avenard
2dbf4a63af Bug 1299072: P2. Add media decoding error types. r=gerald
MozReview-Commit-ID: KW2pWsXtffp

--HG--
extra : rebase_source : 0d8878c00d165250a25a6be0fd9c965539a077ce
2016-09-09 23:08:45 +10:00
Terrence Cole
6af2f7d660 Bug 1257387 - Move OOM callback annotation to the common runtime for workers; r=mccr8
--HG--
extra : rebase_source : 3278a5bc32ce245003b890fbfbbf4f32e3d42944
2016-09-13 10:57:07 -07:00
Jon Coppeard
d97a19687b Bug 1298639 - Use bytecode offsets rather than direct pointer in profiling API r=shu 2016-09-13 14:06:46 +02:00
Josh Aas
0a5546331b Bug 337051: Add origin and referrer URL metadata to downloaded files on OS X. r=mstange,pamadini 2016-09-13 02:25:36 -05:00
Wes Kocher
42f4e48aee Backed out 6 changesets (bug 1300118) for frequent Windows VM Xpcshell failures a=backout CLOSED TREE
Backed out changeset 24f714ad248c (bug 1300118)
Backed out changeset 6fe61ed092e8 (bug 1300118)
Backed out changeset dd18e29b64bf (bug 1300118)
Backed out changeset 50882fb40551 (bug 1300118)
Backed out changeset 60e82c1780e5 (bug 1300118)
Backed out changeset e40df52925d5 (bug 1300118)

--HG--
extra : amend_source : 7475f45d827654abe309696d73fd86e75a497c32
2016-09-12 16:34:41 -07:00
Sebastian Hengst
c2d659643b Backed out changeset 8c9117de1e7f (bug 1300152) 2016-09-09 16:53:45 +02:00
Wes Kocher
14246ed95a Backed out 7 changesets (bug 1298938) for mass leaks a=bustage CLOSED TREE
Backed out changeset d710b5ac1e13 (bug 1298938)
Backed out changeset df832e32e7aa (bug 1298938)
Backed out changeset 3f6883401be4 (bug 1298938)
Backed out changeset e43fc0029b90 (bug 1298938)
Backed out changeset 6dd0b4b22b23 (bug 1298938)
Backed out changeset 81e994db6b8c (bug 1298938)
Backed out changeset a757098353c6 (bug 1298938)
2016-09-08 13:28:14 -07:00
David Anderson
435ec16468 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 1ea89a87362f86b7730f6a745dbcacb634806e07
2016-09-08 11:28:05 -07:00
Andrea Marchesini
ed81ee1595 Bug 1301025 - Change string allocation to be similar to nsTArray allocation, r=smaug, r=froydnj 2016-09-08 19:49:49 +02:00
Makoto Kato
893f6698da Bug 1180684 - Part 1. Analyze MOV with GS. r=aklotz
Allow MOV with GS prefix on x64.  Windows 10 uses this opcode on GetKeyState().

MozReview-Commit-ID: CqDSxmWdkiH

--HG--
extra : rebase_source : aa83b2b4c141730eb89f29cad61af79e66cb7a71
2016-09-07 16:15:58 +09:00
Ted Mielczarek
d98ac10c0c bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : 7cfc08e62de49de869b97ae96630db573f882f18
2016-09-02 13:22:21 -04:00
Sebastian Hengst
5aaa326c3d merge mozilla-central to mozilla-inbound to fix spidermonkey bustage. r=merge a=merge 2016-09-07 18:49:04 +02:00
Sebastian Hengst
a66df0b0c2 Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00