Commit Graph

563888 Commits

Author SHA1 Message Date
Nicholas Nethercote
7480060898 Bug 1407494 (part 7) - Replace malloc uses with operator new. r=glandium.
MozReview-Commit-ID: 5mNDX95Cexn

--HG--
extra : rebase_source : d355f6fbd8c41c84a428cf879fa4f84fd08193a5
2017-10-13 15:24:59 +11:00
Nicholas Nethercote
e4a4426ba0 Bug 1407494 (part 6) - Remove GetContentChild(). r=glandium.
We can just use XRE_IsContentProcess() instead, because the pointer return
value is only ever used in a bool context.

MozReview-Commit-ID: 6R4Bwf1cnKU

--HG--
extra : rebase_source : 392e01cfc145f05783c4bdc7aa08486ef07982be
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
39ffd37e3d Bug 1407494 (part 5) - Replace uses of NS_strdup(), PL_strdup(), PL_strfree() with more standard functions. r=glandium.
MozReview-Commit-ID: FPDUZZqkHqg

--HG--
extra : rebase_source : fbe0e3c4c5f9c18060b6609ac94eb9dfe34b6e77
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
003d9a950d Bug 1407494 (part 4) - Remove have_PrefChangedFunc_typedef. r=glandium.
This is detritus from old changes that can be cleaned up now.

The patch removes the declaration of PrefChangedFunc from Preferences.cpp
because it's also in Preferences.h, which is included by Preferences.cpp.

The patch also removes the part of the comment about passing a non-zero result
because it's clearly false -- the callback has no return value.

MozReview-Commit-ID: 72cdauYsRUt

--HG--
extra : rebase_source : 84cbbcea3b0ce3242c629e428be1e81be9cb5792
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
89d51cf936 Bug 1407494 (part 3) - Remove PR_ALIGN_OF_WORD and WORD_ALIGN_MASK. r=glandium.
Their last use was removed in bug 200524, 14.5 years ago.

MozReview-Commit-ID: FoM8KpJNA7m

--HG--
extra : rebase_source : 0c0ffb90a5e8d23cead729b71563ad2249102c96
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
151b37fd07 Bug 1407494 (part 2) - Remove TEST_PREFREAD. r=glandium.
It's unclear how to compile it; it isn't a proper test, because it just prints
stuff out without explicitly checking anything; and I bet nobody has run it in
a long time.

MozReview-Commit-ID: 48s7pCy7HC6

--HG--
extra : rebase_source : 39d3ba85bd9e45e68b7c7c4cd27b5d7a5a9272b0
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
b7cc1a8c68 Bug 1407494 (part 1) - Remove C-isms. r=glandium.
MozReview-Commit-ID: C2u2JpTkbkn

--HG--
extra : rebase_source : 7ebb89b57c00561e13bdd5b02196ef0b06264126
2017-10-13 15:24:58 +11:00
Nicholas Nethercote
c2c63f9811 Bug 1408275 - Teach the write hazard analysis about more heap allocator functions. r=sfink.
This bit me in bug 1407494 part 5, where I replaced some NS_strdup() calls with
moz_xstrdup().

MozReview-Commit-ID: 7LnlCJDvgm5

--HG--
extra : rebase_source : 332c6615d8731e9cd8e122f6f98b9f2f43f97121
2017-10-13 15:24:21 +11:00
Sebastian Hengst
11a2b8ef67 Backed out changeset 237acf2879f6 (bug 1407428) for frequent crashes, e.g. in xpcshell's test_bug248970_cookie.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 1ccac4fb953566239cba8db7d6f8bdca4ce48b35
2017-10-16 00:00:15 +02:00
Sebastian Hengst
324f132c98 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-15 23:45:26 +02:00
Kris Maglione
7d8f8ea3d6 Bug 1407428: Hand out a const array reference for expanded principal whiteList. r=krizsa
The current API makes the life time and ownership of the result array unclear
without careful reading. The result array is always owned by the principal,
and its lifetime tied to the lifetime of the principal itself. Returning a
const array reference makes this clear, and should prevent callers from
accidentally modifying the returned array.

MozReview-Commit-ID: 3f8mhynkKAj

--HG--
extra : rebase_source : d2a5e0862f8c964fb5a3e46b50c2e9629b218699
extra : amend_source : 27d7a7ef5da6fe2aa1104009b6ee067465db73e1
2017-10-10 15:00:16 -07:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Sebastian Hengst
01cd7f3d0f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GbmY183Epi2
2017-10-10 23:56:11 +02:00
Sebastian Hengst
7b58b734df merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CdkzY7WJ58G
2017-10-10 23:48:17 +02:00
Kris Maglione
00e91e08fb Bug 1407258: Dowgrade document loads with expanded principals to their last sub-principal. r=bz
There are currently some corner cases where channels that are eventually
loaded into documents (mainly <img src="data:image/svg+xml,") can inherit
expanded principals from a caller. Since documents aren't allowed to have
expanded principals, this causes crashes.

This patch is a short term workaround for the issue, until we have a longer
term solution that prevents the channels from inheriting the expanded
principals to begin with.

MozReview-Commit-ID: JwqqtVynLjj

--HG--
extra : rebase_source : 23199517414428924e9c78629ac794b54bd23c52
2017-10-10 14:08:47 -07:00
Sebastian Hengst
592a737256 Backed out 2 changesets (bug 1357191) for frequently failing mochitest dom/html/test/forms/test_input_sanitization.html on Android 4.3 API16+ debug. r=backout
Backed out changeset c6ba568874b0 (bug 1357191)
Backed out changeset 562e7fc9a839 (bug 1357191)
2017-10-10 23:27:21 +02:00
Ben Kelly
fa33ed763d Bug 1407245 Fix service worker update 24-hour time check conversion from microseconds. r=asuth 2017-10-10 13:50:36 -07:00
Luke Wagner
cf897d6fcb Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly)
MozReview-Commit-ID: DXv2MegefDw

--HG--
extra : rebase_source : aca4d6e40ae9af03e05520ec8bdef92889e44acc
2017-10-10 14:41:24 -05:00
Luke Wagner
e5a32cf225 Bug 1347644 - Baldr: shell WebAssembly.compileStreaming and instantiateStreaming (r=till)
MozReview-Commit-ID: 9b6RH95tqUI

--HG--
extra : rebase_source : 00ea4341d70b0defcc3b3e5db46b07c82a9de17e
2017-10-10 14:17:50 -05:00
ffxbld
c8b9469182 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-10-10 10:45:25 -07:00
ffxbld
4d59676f4f No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-10-10 10:45:22 -07:00
Shane Caraveo
3a90ea2602 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: 64lIMu6neaD

--HG--
extra : rebase_source : 36fef9a014a7f4bb2db66fb8736de06298008e36
2017-10-10 09:54:22 -07:00
evilpies@gmail.com
06beef32ba Bug 1305237 LoadInfo changes to include all ancestors principals and window IDs, r=bz,mystor
MozReview-Commit-ID: 1IMi5MqTx7o

--HG--
extra : rebase_source : 373f1928987718fe3bc22306e0dd3ae13fc0cd9f
2017-10-10 09:54:00 -07:00
Jason Orendorff
2db41f075d Bug 1396466 - Remove Xray expando chains from the weakmap when transplanting nodes. r=bz
--HG--
extra : rebase_source : aa90385160666b155cc8dbad63bcfa34d3e50d32
extra : amend_source : 6b9ebda268a6198f5e0143e5449f9d62ef1aed76
2017-10-10 10:42:18 -05:00
Robert-André Mauchin
3d620068f1 Bug 1407211 - Fix typo in build/unix/run-mozilla.sh from bug 1403366. r=glandium 2017-10-12 07:28:20 +09:00
Jan de Mooij
9d1f02bc43 Bug 1405994 part 2 - Use arguments rectifier when entering JIT code instead of a Vector. r=nbp
--HG--
extra : rebase_source : 474d7454f92d0fff92a1b38403b3ba68fe31c0e8
2017-10-10 14:04:46 +02:00
Jan de Mooij
6fefbc439b Bug 1405994 part 1 - Handle rectifier frames following c++ entry frame in profiler code. r=bbouvier
--HG--
extra : rebase_source : 6380e4cdde9268b59f20571ac557c175b51d08b5
2017-10-10 14:03:24 +02:00
Jon Coppeard
4ee603a0a2 Backed out changeset 3b19f13cf22a (bug 1406746) for rooting hazards 2017-10-10 13:03:36 +01:00
Catalin Badea
d059041927 Bug 1402251 - Assert ranges our not added to multiple common ancestor lists. r=smaug 2017-10-10 12:10:00 +01:00
Jon Coppeard
74f1c6ece5 Bug 1406455 - Disallow OOM simulation on worker threads r=jandem 2017-10-10 12:07:08 +01:00
Jon Coppeard
a830e07d00 Bug 1406452 - Check for errored modules in builtin testing functions r=evilpie 2017-10-10 12:07:08 +01:00
Jon Coppeard
3c1db04027 Bug 1406746 - Fix ctypes error handling when creating FunctionInfo r=sfink 2017-10-10 12:07:08 +01:00
Jon Coppeard
d3627867f2 Bug 1406438 - Ensure GC lock held when iterating all non-empty chunks r=sfink 2017-10-10 12:07:08 +01:00
sotaro
2935e1ba35 Bug 1407149 - Add immediate context pointer check to d3d images r=nical 2017-10-10 19:09:37 +09:00
Sebastian Hengst
1a4a26905f merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-10 06:12:26 -03:00
Sebastian Hengst
ee02ddae54 merge autoland to mozilla-central. r=merge a=merge 2017-10-10 06:07:19 -03:00
ffxbld
678b6b5093 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-09 22:53:39 -07:00
ffxbld
c5ca0896eb No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-09 22:53:35 -07:00
Phil Ringnalda
63a7c915ff Backed out changeset 8cce0046e302 (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
MozReview-Commit-ID: G9jW217fO0v
2017-10-09 21:33:53 -07:00
Phil Ringnalda
5fee8a40bb Backed out changeset 9843839bf1df (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
MozReview-Commit-ID: J7rX4lX2lxM
2017-10-09 21:32:12 -07:00
Steve Fink
2a91809c78 Bug 1339989 - Create a sixgill compilation toolchain job, r=glandium
--HG--
extra : rebase_source : ccd11f3522b6c87a59bb9837a6a1d338cfbb8608
2017-10-09 17:49:29 -07:00
Sebastian Hengst
d486c008dc Backed out changeset 3a1d45b3084d (bug 1406551) for leaks and frequently failing new devtools test devtools/client/debugger/new/test/mochitest/browser_dbg-wasm-sourcemaps.js. r=backout a=backout
MozReview-Commit-ID: 6NxdP26SSKw

--HG--
extra : amend_source : 596d5810941b0ff91e5418d728fc9d015c32dabf
extra : transplant_source : %BB%FAz%C9%DA%86e%DA8%E8%40F%05%E7%CF%E6%17%1B%A8L
2017-10-09 21:11:26 +02:00
Sebastian Hengst
c2d6023454 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36L7JL73CzG
2017-10-09 23:52:04 +02:00
Sebastian Hengst
c623cb074c merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 63rZAVDkxDT
2017-10-09 23:46:29 +02:00
Boris Zbarsky
591c9f864b Bug 1405878. Make sure to notify for our kids, if needed, before calling DoneAddingChildren in the XML content sink. r=hsivonen
Once we call DoneAddingChildren, random code of various sorts will run, which
can flush our notification state.  If that happens before we've notified on our
kids, but after we've popped the element we're closing off the element stack,
we will fail to ever notify on the kids.

MozReview-Commit-ID: Ei7v5OobX8R
2017-10-09 14:49:19 -04:00
Jeff Gilbert
da2ce929ea Bug 1394265 - Set MAX_COMBINED_TEXTURE_IMAGE_UNITS to 0 if GetIntegeriv fails. r=daoshengmu
MozReview-Commit-ID: 6VDKmtVPrVO
2017-10-09 14:28:39 -04:00
Steve Fink
67d7e8dcdc Bug 1406570 - Rooting improvements, r=jonco,bz
--HG--
extra : rebase_source : 48d6fd63e016abe7a6ce22e621d25858560e61f1
2017-10-09 10:59:02 -07:00
Ryan Hunt
f7a9b95167 Block the main thread to wait for async paints to complete instead of for IPC resuming. (bug 1406960, r=dvander)
MozReview-Commit-ID: KTd25x2epkC

--HG--
extra : rebase_source : 44a74300dbd16ab91ba7b007cc8ee77e7ed7a332
2017-10-12 14:31:59 -04:00
Geoff Brown
4ab44aa920 Bug 1407687 - Increase max run time for linux rusttests; r=me,test-only 2017-10-13 10:18:53 -06:00
Steve Fink
04e342c3ba Bug 1305005 - Remove race on TypeString() char buffers, r=jonco
--HG--
extra : rebase_source : 400e68078258f455e2645dca4c81eaa4783498f7
extra : source : 3d4353f7c8b7d4a8672fe6b0a5572d9393ee8026
2017-10-12 17:39:59 -07:00