Commit Graph

561389 Commits

Author SHA1 Message Date
Andrea Marchesini
728ee9036d Bug 1404326 - Fixing comments in MediaRecorder.cpp, r=padenot 2017-09-29 16:11:47 +02:00
Yura Zenevich
818cbd9200 Bug 1402309 - fix titlebar-fullscreen-button vertical alignment. r=johannh
MozReview-Commit-ID: 1UXqWriWSaL
2017-09-29 10:04:27 -04:00
Andreas Farre
2e8f0b10d0 Bug 1403586 - Don't disble budget throttling due to gUM. r=smaug,padenot 2017-09-29 15:21:45 +02:00
Boris Zbarsky
c359e02509 Bug 1403293 followup. Add a test. r=kats
MozReview-Commit-ID: GyWZGiT6xeG
2017-09-29 08:51:40 -04:00
Dan Minor
5af93e95a8 Bug 1402818 - Set hwnd_ to NULL in PlatformUIThread::Stop(); r=pehrsons
We only create an event window in Start() if hwnd_ is NULL, but Stop() does
not set it to NULL. This causes the thread to no longer be a GUI thread if
Stop() and then Start() is called on the same thread leading to assertion
failures.

MozReview-Commit-ID: 5TpazUCqBuR

--HG--
extra : rebase_source : 461066e576af87b27c82075a15d6b5772282b54c
2017-09-28 16:32:31 -04:00
Sebastian Hengst
5e8bacff75 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-29 13:32:19 +02:00
Kai Engert
47d3b3ac0b Bug 730495, guarantee that sqlite3_config is called before any other SQLite function, r=asuth, r=froydnj, r=mak 2017-09-29 13:25:06 +02:00
Emilio Cobos Álvarez
78eab7101d Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 13:14:37 +02:00
Rob Thijssen
367f65928a Bug 1403490 - enable mochitest-gpu on tc win 10; r=jmaher
--HG--
extra : amend_source : 8a56e1cc24c630c5cb2783a5ff213517ea5da01c
2017-09-27 12:21:37 +03:00
Peter Moore
f9fc4a4799 Bug 1403490 - disable superseding for worker type gecko-t-win10-64-gpu,r=grenade 2017-09-28 18:30:37 +02:00
Jan de Mooij
e6eae9e233 Bug 1403368 - Make clone() shell function fuzzing-safe. r=luke 2017-09-29 12:09:54 +02:00
Jan de Mooij
9419b1af93 Bug 1398768 part 9 - Clean up and rename SetOrExtendBoxedOrUnboxedDenseElements. r=evilpie 2017-09-29 12:05:39 +02:00
Jan de Mooij
70d7d46577 Bug 1398768 part 8 - Clean up and rename MoveBoxedOrUnboxedDenseElements. r=evilpie 2017-09-29 12:05:09 +02:00
Jan de Mooij
f5133d1dfc Bug 1398768 part 7 - Replace CopyBoxedOrUnboxedDenseElements with a NativeObject::initDenseElements overload. r=evilpie 2017-09-29 12:03:54 +02:00
Sebastian Hengst
9aa7a73678 Backed out changeset 710b592482ee (bug 1404167) for asserting mOwner == ExpectedOwnerForChild(aFrame) at ServoRestyleManager.cpp:125. r=backout 2017-09-29 11:39:12 +02:00
Lars T Hansen
b8549c141b Bug 1402939 - ARM asm/disasm/simulator exclusive-ops bugfixes. r=bbouvier
--HG--
extra : source : d08c88da577bfe70e775677598a86f58eb565735
extra : amend_source : 1f10c98c3bffbb09963661ba7a0e3aa71b01b68e
2017-09-25 20:40:53 +02:00
Lars T Hansen
ea026b35c8 Bug 1403914 - define WASM_HUGE_MEMORY so it's visible to all. r=luke
--HG--
extra : source : 91513f75ccc24c8b6b49590b08661b649cf9e033
extra : amend_source : 84ad108db53efd3230df89ba576d5b45b86b240f
2017-09-28 15:18:33 +02:00
Andrea Marchesini
ca3c8d9064 Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test, r=smaug 2017-09-28 10:38:58 +02:00
Andrea Marchesini
70898ad20b Bug 1388413 - ServiceWorkerClients::OpenWindow() should use the triggeringPrincipal, r=bz
This is done using a JS Sandbox with the triggering Principal.
2017-09-28 10:38:58 +02:00
Andrea Marchesini
bb16593bd2 Bug 1403866 - No AutoSafeJSContext in Console.cpp, r=bz 2017-09-29 09:20:58 +02:00
Andrea Marchesini
96147d4db8 Bug 1403981 - Clean up the return value of MutableBlobStorage::GetBlobWhenReady, r=qdot 2017-09-29 09:19:13 +02:00
Emilio Cobos Álvarez
6f5e0eacb8 Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 08:50:47 +02:00
steveck-chung
440e4c0422 Bug 1393756 - Part 1: Add mochitest for credit card doorhanger never save option. r=lchang
MozReview-Commit-ID: EhKx52OqXOp

--HG--
extra : rebase_source : 383ceb1ff76b10afd749d9bb1c7613f7650abea6
2017-09-20 17:35:35 +08:00
Sean Lee
a9b71ba7de Bug 1403007 - Add the regexp flag to cc-exp rule. r=MattN
MozReview-Commit-ID: KXU4jHxhRuH

--HG--
extra : rebase_source : 51aa36fc73345e045db0a3351233170e77b13241
2017-09-27 10:12:21 +08:00
Mike Hommey
fd18ca4367 Bug 1403843 - Disable static sizes on debug builds. r=njn
Because why not, especially now that this only concerns the page size.

--HG--
extra : rebase_source : 9ff92d2551e0bb8633072e0c8d5aa36c570314e1
2017-09-28 15:15:23 +09:00
Mike Hommey
450b12cd79 Bug 1403843 - Make quantum, small and chunk sizes always static. r=njn
Bug 571209 made many different kinds of sizes static at build time, as
opposed to configurable at run-time. While the dynamic sizes can be
useful to quickly test tweaks to e.g. quantum sizes, a
replace-malloc-built allocator could just as well do the same. This
need, however, is very rare, and doesn't justify keeping the sizes
dynamic on platforms where static sizes can't be used for the page size
because page size may vary depending on kernel options.

So we make every size that doesn't depend on the page size static,
whether MALLOC_STATIC_SIZES is enabled or not.

This makes no practical difference on tier-1 platforms, except Android
aarch64, which will benefit from more static sizes.

--HG--
extra : rebase_source : 28243a67e4fe41154c23dc39b45405479854d31d
2017-09-28 15:27:59 +09:00
Alastor Wu
6881f03d05 Bug 1403478 - part2 : merge 'test_SeekableBefore*' and 'test_SeekableAfter*' into 'test_SeekableBeforeAndAfter*'. r=jya
MozReview-Commit-ID: 3tfdEEV78k8

--HG--
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStreamSplit_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStreamSplit_mp4.html
rename : dom/media/mediasource/test/test_SeekableAfterEndOfStream_mp4.html => dom/media/mediasource/test/test_SeekableBeforeAndAfterEndOfStream_mp4.html
extra : rebase_source : 98e2e7c90f9b22526889eca869160999307e0cf7
2017-09-29 11:58:44 +08:00
Alastor Wu
27e06f23ea Bug 1403478 - part1 : check v.seekable before and after calling ms.endOfStream(). r=jwwang,jya
This patch does two things,

(1) check v.seekable after calling ms.endOfStream()
As test name suggests, we check seekable after calling endOfStream()

(2) check the time range of v.seekable
The seekable represents the ranges of the media resource [1], so it would be changed after calling ms.endOfStream().

Before calling the endOfStream(), seekable should be [0, ms.duration)
After calling the endOfStream(), seekable should be [0, ms.buffer.end(0))

[1] https://www.w3.org/TR/html51/semantics-embedded-content.html#dom-htmlmediaelement-seekable

MozReview-Commit-ID: 56AIZYVsHhW

--HG--
extra : rebase_source : a1f1df601dc8523cd5d4e58b41cada3c79d494c1
2017-09-29 11:33:46 +08:00
Makoto Kato
6d4428a710 Bug 1403841 - IsSelectionEditable should check whether focus node and anchor node aren't null. r=masayuki
This might be regression by bug 1319340, but there is crash signature from old version.  We should check whether focus node and anchor node aren't null.

MozReview-Commit-ID: J7npxN5kC9G

--HG--
extra : rebase_source : e2f19690d529abc1a8e2852a5ed826b0caa39244
2017-09-29 13:12:35 +09:00
Makoto Kato
6f683950a9 Bug 1135901 - Remove nsPrintProgress and nsPrintProgressParams from OS X printing implementation. r=mantaroh
macOS implementation doesn't use nsPrintProgress, so we should remove this.

MozReview-Commit-ID: FJSXtjlv3mL

--HG--
extra : rebase_source : 2826317c83b9d90066e878899485b7146fd54a85
2017-09-27 17:15:06 +09:00
Jing-wei Wu
4038891595 Bug 1403869 - Update 'about.png' for 57 Nightly. r=nechen
MozReview-Commit-ID: IyFV77oBwRD

--HG--
extra : rebase_source : bc348cbf4429ded36218103637cff4718dcdf8b4
2017-09-28 17:23:39 +08:00
Alfredo.Yang
0e22fafb90 Bug 1404182 - add testcase for bug 1380468. r=kinetik
MozReview-Commit-ID: Kg9QeszWnNT

--HG--
extra : rebase_source : 110e38299efadd892ffdc0146f83117981b74f54
2017-09-29 10:55:29 +08:00
Masayuki Nakano
7f281b641d Bug 1403026 - Make IMEStateManager release all string buffer of its static members at XPCOM shutdown r=smaug
IMEStateManager has a static instance of InputContext which has some nsString
instances.  Then, their members will be released after XPCOM shutdown and
that is detected as unexpected destruction.

Therefore, IMEStateManager should release them by itself at XPCOM shutdown.
Using nsTSubstring::SetCapacity(0) is the simplest way to release only the
string buffers.

MozReview-Commit-ID: LMrQxQF9xPn

--HG--
extra : rebase_source : 7cbaf19b76be8db083c10270d0ee436a1c061ea2
2017-09-28 17:31:29 +09:00
Ricky Chien
f0d6fb4579 Bug 1402244 - Recover broken treecol & treechildren font-size r=jaws
MozReview-Commit-ID: 1ojLbVo5hg8

--HG--
extra : rebase_source : 7059c936dff4445e0762fff3a5c023284cb7935b
2017-09-28 11:14:03 +08:00
Manish Goregaokar
2b4e108425 servo: Merge #18667 - Update debug bindings for removal of mFrameRefCnt (from Manishearth:bindingsup); r=emilio
r=emilio from https://bugzilla.mozilla.org/show_bug.cgi?id=1403808

Source-Repo: https://github.com/servo/servo
Source-Revision: c6f4ced45c277e69492966c0b8b2f63f257c3b88

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 09daa56cfc418945e21a38c808178d0cf21bb59a
2017-09-28 20:15:51 -05:00
cku
51c6fc95ad Bug 1373750 - Part 2. Add a crash test consists of two mask layers. r=mstange
MozReview-Commit-ID: ECiDHwCqO1B

--HG--
extra : rebase_source : 8fcda747133df7379d6924d7e118025ece5d4223
extra : source : 69c8d44122acb3fefc3297138938d537eefc46f8
2017-09-25 15:35:37 +08:00
cku
5e785e4fdd Bug 1373750 - Part 1. Except the bottom layer, recompute clip state of each mask layer by a clear clipState object. r=mstange
In nsCSSRendering::PaintStyleImageLayerWithSC, we reuse the same clip-state
object,  clipState, for all bg/mask layers. We hit this assertion if the
border-radius of previous one is not 0, but the the border-radius of the next
one is 0. In this condition, clipState.mHasRoundedCorners is false, but
clipState.mClippedRadii still stores border-radius information of the previous
layer.

MozReview-Commit-ID: KyxD0vPnMb9

--HG--
extra : rebase_source : 198c916c35ecd51a72dc3df83df43d6dc5f6424c
extra : source : e630c34a8b6397a3e8a08e57d400accff392e25f
2017-09-25 15:07:45 +08:00
Bobby Holley
bd4be52f46 Bug 1403397 - Add a testing API. r=bz,r=Manishearth
This will allow us to verify the entire detection pipeline in real nightly
builds, which will give us confidence that real heap corruption will be
detected and reported properly.

MozReview-Commit-ID: 43Fp2HT8RYy
2017-09-28 18:23:15 -07:00
Bobby Holley
9163763885 Bug 1403397 - Protect the hashmaps outside of rebuilds. r=Manishearth,r=dmajor,r=ehoogeveen
MozReview-Commit-ID: KACmfw4pZY2
2017-09-28 18:23:13 -07:00
Bobby Holley
55e810d2cf Bug 1403397 - Round hashglobe allocations up to the nearest page size. r=Manishearth,r=dmajor
MozReview-Commit-ID: 34KFtcwCkBB
2017-09-28 18:23:11 -07:00
Servo VCS Sync
66e73f039b No bug - Revendor rust dependencies 2017-09-29 01:16:50 +00:00
Bobby Holley
32026a5fa7 servo: Merge #18668 - Add mprotect diagnostics for HashMap crash (from bholley:mprotect_diagnostics); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1403397

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d2ac4aa2e746daf312198278369686627360895

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5f5fa574e740c8e60766c5c1220d3955dbef05ea
2017-09-28 19:10:46 -05:00
Grigory Kruglov
cd3e129cfc Bug 1404124 - Pickle account right after it's created r=eoger
This is a relative of Bug 988605, with an exception that instead of going the whole way
and ensuring pickled data is kept up-to-date as Nick proposed, this patch simply ensures that
we pickle as soon as possible, with a goal of eliminating pickle races. The end goal is to kill
off pickling entirely, and so the assumption here is that this workaround is good enough
in the meantime.

MozReview-Commit-ID: 7IjRH7KE2Z9

--HG--
extra : rebase_source : e25b6d6baf5544d5a087cd9e12ec41d6176c317f
2017-09-28 18:44:59 -04:00
Jared Wein
a4e7f674a0 Bug 1399111 - Keep the loading indicator gray for tabs that have been unselected since load. r=Gijs
MozReview-Commit-ID: JPEy3XDsGmb

--HG--
extra : rebase_source : a05b9a35f8555053145edbb9991ed0919cbc0ffc
2017-09-28 14:45:29 -04:00
Jared Wein
302fcec9ab Bug 1399111 - Tabs that start loading in the background and haven't been selected before completing loading will show a lighter tab burst. r=Gijs
MozReview-Commit-ID: FdXwaQr7Glt

--HG--
extra : rebase_source : 4b3ebf421759d3e880d1cb3889078f4b4f0aec77
2017-09-27 14:34:29 -04:00
Blake Kaplan
205489b432 Bug 1396110 - Fix races during watchdog shutdown. r=billm
This patch also ensures that we won't accidentally try stopping slow scripts
when we're shutting down the watchdog manager.

MozReview-Commit-ID: EMb0enfivd8

--HG--
extra : rebase_source : b27205c4d593caa1c33534591686e85fba9f0d41
2017-09-20 15:23:28 -07:00
Wes Kocher
134e495909 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher
1cdb198bd9 Backed out 3 changesets (bug 1388413) for failures in browser_userContextId_openWindow.js a=bustage
Backed out changeset aa2f3c4c3242 (bug 1388413)
Backed out changeset 8f8b7e60f397 (bug 1388413)
Backed out changeset a4d6924a59f1 (bug 1388413)

MozReview-Commit-ID: Gp0AwTKEAGO
2017-09-28 16:57:21 -07:00
Wes Kocher
1674eb3e4f Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Wes Kocher
2c04ebdaa3 Merge autoland to central, a=merge
MozReview-Commit-ID: LTZmzqpIUXI
2017-09-28 15:49:14 -07:00