Commit Graph

551160 Commits

Author SHA1 Message Date
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Mason Chang
fa082bb902 Bug 1386080 - Make DrawTarget thread safe refcountable. r=bas 2017-08-08 15:11:11 -07:00
Matthew Noorenberghe
5a8d9770c6 Bug 1373563 - Skip the ControlCenter localFile mozscreenshots configuration due to changing paths. r=me
MozReview-Commit-ID: DbTrgwKEREq

--HG--
extra : rebase_source : 534c3ab070683628773c16a9738f8752fe45b4ec
2017-08-08 14:37:25 -07:00
Eric Rahm
7eae341db9 Bug 1386825 - Part 6: Remove FxAccountsManager now that MOZ_B2G is removed. r=markh
MozReview-Commit-ID: 8ldrMrPqhsV
2017-08-08 14:41:12 -07:00
Eric Rahm
fb60453284 Bug 1386825 - Part 5: Remove MOZ_B2G from configure. r=glandium
MozReview-Commit-ID: Cg5gljpECwo
2017-08-08 14:41:11 -07:00
Eric Rahm
fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Eric Rahm
d947321e29 Bug 1386825 - Part 3: Remove MOZ_B2G from libpref. r=froydnj
MozReview-Commit-ID: GFLU2XF5yId
2017-08-08 14:41:08 -07:00
Eric Rahm
fe8929dc60 Bug 1386825 - Part 2: Remove MOZ_B2G from toolkit. r=froydnj
MozReview-Commit-ID: Ji3MoFKLVI4
2017-08-08 14:41:07 -07:00
Eric Rahm
01f545fea7 Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Jan Varga
bd9fcfbc01 Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth
When a storage child actor gets the xpcom-shutdown notification, it releases
the actor singleton which asynchronously sends __delete__ to the parent and
destroys the child actor immediatelly. However, at the same time parent can be
sending a message to the child which results in a routing error since the child
actor doesn't exist anymore. The routing error causes a crash.
This patch prevents the race by doing the teardown in two steps. We send a
message to the parent DeleteMe and parent then sends __delete__ to the child.
2017-08-08 23:02:57 +02:00
Wes Kocher
96d2fa009d Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Emilio Cobos Álvarez
199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Mark Banner
17760ce731 Bug 1388250 - Remove old sync isBookmarked and getBookmarkedURIFor APIs from nsINavBookmarksService. r=Paolo
Also remove IsBookmarkedInDatabase(), mItemCount, RecursiveFindRedirectedBookmark(), UpdateKeywordsForRemovedBookmark() from nsNavBookmarks as they aren't used anywhere.

MozReview-Commit-ID: 4cZXAdRuVoF

--HG--
extra : rebase_source : 2c08a09de48cfb06c3e8db261dfe7ea1b1526e10
2017-08-08 07:58:59 +01:00
Aryeh Gregor
82ee59d8c7 Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug
They were just dropped from the spec:

https://github.com/whatwg/dom/issues/362
https://github.com/whatwg/dom/pull/489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

--HG--
extra : rebase_source : 4bdcd605b179ea787985845e9b1c53f76ebc179a
2017-08-07 21:19:59 +03:00
Emilio Cobos Álvarez
f5afe5c1a5 servo: Merge #18009 - stylo: Fix skip_root_and_item_display_fixup (from emilio:video-controls); r=heycam
The check isn't doing what the comment is saying.

XBL subtrees for video controls all have the
NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE flag, but not all of them are NAC
themselves, so we may incorrectly miss blockification.

Bug: 1366163
Reviewed-by: heycam
MozReview-Commit-ID: Oq3W258Lz2
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ecedb562c66c1f436850704b6dc467a04f5a283

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ac2d18a9f0b660d8bc869a436d6e2e210d07302
2017-08-08 05:28:35 -05:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Carsten "Tomcat" Book
635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Carsten "Tomcat" Book
0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Emilio Cobos Álvarez
ce167a2880 servo: Merge #17992 - style: Rework how precomputed pseudo stuff works, to avoid malloc/free churn (from emilio:rework-precomputed-pseudo); r=heycam
This showed up in a few profiles, and was an easy improvement.

Source-Repo: https://github.com/servo/servo
Source-Revision: 69f02f4f7f102a3fe3f82d5f000533a9277d233e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d71674e9235874fd965574ec5dd145efba19928f
2017-08-08 04:25:24 -05:00
Sebastian Hengst
f0fc89b3bc Backed out changeset 7c3e4a58c61c (bug 1384841) or failing browser_UITour.js, at least on OS X. r=backout 2017-08-08 10:04:52 +02:00
Paul Adenot
da39c08e8c Bug 1384655 - Backed out changeset 7829ceaaec31 for busting gUM on some configurations.
MozReview-Commit-ID: DSr6uAMzVxq

--HG--
extra : amend_source : 12e63146939d93f97cc31b3588187c234639de99
2017-08-08 09:50:07 +02:00
Julian Seward
3d63ed80b1 Bug 1386680 - irregexp: reduce size of initial evaluation stack. r=bhackett. 2017-08-08 07:54:03 +02:00
Boris Chiou
9c6a18d6f3 Bug 1387948 - Enable font-weight in test_transitions_per_property.html for stylo. r=xidorn
MozReview-Commit-ID: LX9MwgLBluy

--HG--
extra : rebase_source : ef21c3e03a46e956ebd8d5dddc2d72327d55c7ae
2017-08-08 13:38:07 +08:00
Boris Chiou
624a54b3f3 servo: Merge #18007 - stylo: Fix the computation of the interpolation of FontWeight (from BorisChiou:stylo/animation/interpolation/font_weight); r=xidorn
Interpolated result of FontWeight is wrong because clamping code is incorrect.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1387948](https://bugzilla.mozilla.org/show_bug.cgi?id=1387948).
- [X] These changes do not require tests because Gecko has tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 48b7e6d27c6fbeea9b03acface18d163cb7eedbc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b634dad43aa799dee556deb2d319ab88f6afe3fc
2017-08-08 01:32:06 -05:00
Andrew Sutherland
8e40043ab4 Bug 1350637 - Part 10: Update LocalStorage e10s tests for change to PBackground. r=janv
The e10s tests were written assuming a world where ContentTask.spawn and
LocalStorage were both PContent.  Also, that Quantum DOM labeling wasn't
something to worry about.  These assumptions no longer held, resulting in
the test intermittently failing if all changes hadn't propagated via
PBackground to the tab under test by the time the ContentTask.spawn
state retrieval call made it to the tab's main thread.

This has been corrected by using "storage" events where already in use and
polling where not in use.  Plase see the added comments for more details.
2017-08-07 04:14:17 -04:00
Jan Varga
ac9ac9e347 Bug 1350637 - Part 9: Move Local Storage event broadcasting from PContent to PBackground; r=asuth 2017-08-08 23:02:28 +02:00
Jan Varga
03162967f7 Bug 1350637 - Part 8: Implement BackgroundParent::GetLiveActorArray; r=billm 2017-08-08 23:02:16 +02:00
Jan Varga
b53d9b8691 Bug 1350637 - Part 7: Convert asynchronous StorageDBParent initialization to be synchronous and fix low disk space checking; r=asuth 2017-08-08 23:01:56 +02:00
Jan Varga
9d50c72e29 Bug 1350637 - Part 6: Fix a deadlock when main process storage child actor triggers storage thread initialization; r=asuth 2017-08-08 23:01:52 +02:00
Jan Varga
3acd1f5628 Bug 1350637 - Part 5: Factor out the parent actor observer sink to work on the PBackground thread, fix the rest of observer handling to use IPC; r=asuth 2017-08-08 23:01:33 +02:00
Jan Varga
75c214b7ea Bug 1350637 - Part 4: Implement serialization for mozilla::OriginAttributesPattern, so we can use it on the receiver side of IPC without bouncing to the main thread; r=asuth 2017-08-08 23:01:14 +02:00
Jan Varga
9ea37e48ab Bug 1350637 - Part 3: Move mozilla::dom::Optional serialization helper to ipc/glue/IPCMessageUtils.h to make it available to other consumers; r=billm 2017-08-08 23:01:03 +02:00
Nicholas Nethercote
710682624c Bug 1387940 - Make --max-frames=8 the default for dmd.py. r=mccr8.
The current default is 24, which is equal to the maximum number of stack frames
that DMD will record. And that's a terrible value because it splits up too many
related stack traces into separate records. There is no single best value, but
8 is a much better default.

--HG--
extra : rebase_source : c423fc4fe0e490ff6d58fa8f7116bc01c86a366e
2017-08-07 14:56:15 +10:00
Phil Ringnalda
a51f7dc64c Backed out changeset 26831e829c5a (bug 1377944) at markh's request
MozReview-Commit-ID: 526HN6OCn1A
2017-08-07 20:42:50 -07:00
Ethan Lin
80ffba5a9e Bug 1387455 - Add nullptr check for the draw target in WebRenderLayerManager::GenerateFallbackData. r=kats
MozReview-Commit-ID: Dk8WiqOmA1y

--HG--
extra : rebase_source : 91f66b56b70e7cf6401baed1a84fa63bc422dc8b
2017-08-07 10:10:58 +08:00
Jing-wei Wu
dd509b472e Bug 1386975 - Part 2: Fix Robocop/Mochitest-chrome errors when Photon is enabled. r=maliu,nalexander,sebastian
MozReview-Commit-ID: FszicKMWywf

--HG--
extra : rebase_source : a963060986941e8518a1e278c6699cfe18549212
2017-08-08 10:40:36 +08:00
Jing-wei Wu
51ea6f24b7 Bug 1386975 - Part 1: Use Photon resources to build Fennec. r=maliu,nalexander,sebastian
Remove '--enable-photon' option and use Photon resources to build Fennec.

This patch prohibits changing skin(Australis/Photon) in mach build because we would drop Australis resources in near future.

Any modification in Nightly after this patch should only affect Photon.

MozReview-Commit-ID: 37HzuN6xmPm

--HG--
extra : rebase_source : 0fe6d2e7f49d3c59ceb13c88109061d5a69fce68
2017-08-04 16:35:45 +08:00
Aaron Klotz
05284bffa5 Bug 1386836: Add a nsACString overload to nsAccessibilityService::GetStringEventType; r=surkov
MozReview-Commit-ID: 9hMC54ki37e
2017-08-02 15:39:51 -06:00
Nicolas B. Pierron
1e631032d7 Bug 1283855 - OOMTest: Guard JS_DEFAULT_ZEAL_FREQ macro with JS_GC_ZEAL. r=jandem 2017-08-08 17:37:37 +00:00
Boris Zbarsky
69b153ce8c Bug 1385178. Do fallible allocation of our font data buffer in SyncLoadFontData. r=jfkthame 2017-08-08 13:22:10 -04:00
Eugen Sawin
4c19212863 Bug 1386240 - [2.0] Fix JNI wrappers. r=me 2017-08-08 19:20:44 +02:00
Jon Coppeard
a36e3e0610 Bug 1388110 - Fix slot access intrinsics for objects with > 16 reserved slots r=nbp 2017-08-08 18:00:31 +01:00
Paolo Amadini
f07a275693 Bug 1382899 - Reduce Promise overhead in the DownloadLegacy.js progress events. r=florian
MozReview-Commit-ID: KS4kujUvX3s

--HG--
extra : rebase_source : c0b82eab2d97829a7a11cc51fa002c1eae49a4d0
2017-08-08 14:44:52 +01:00
Jorg K
f9e77b6cab Bug 1388166 - Handle case where chromeWin.getBrowser() doesn't exist. r=johannh 2017-08-07 14:44:00 -04:00
Alexandre Poirot
9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
Alexandre Poirot
8ca339dcee Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 7e5c976c6a9690ae730fd8c32a8909e24a277ace
2017-08-07 18:47:20 +02:00
Alexandre Poirot
253b1895e6 Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf

--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 3222c8ca77a6c38dc2f0ee01adc27264e028a514
2017-08-01 16:17:22 +02:00
dagasatvik
d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Sean Lee
3fa1506f53 Bug 1358960 - "united state" string should not be recognized as "address-level1". r=MattN
MozReview-Commit-ID: E7pmBkGRBkQ

--HG--
extra : rebase_source : 228ad8678b0b01cb99a12b6ded5edd5d82dc0318
2017-08-04 16:23:45 +08:00
Emilio Cobos Álvarez
f0e3ab05cb servo: Merge #18008 - stylo: Avoid reporting rules that contain both normal and important declarations twice (from emilio:double-important); r=upsuper
Bug: 1387906
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fdc571e9fa4e95ec7a5ce7bfd03db6b544b8c9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0474e60faf024161af94689d7d77233e55947605
2017-08-08 03:21:54 -05:00