Commit Graph

531086 Commits

Author SHA1 Message Date
ffxbld
52a0317e95 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-04-18 07:50:56 -07:00
Carsten "Tomcat" Book
bb87f43c09 merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
Iris Hsiao
4329ee3ef3 Backed out changeset 14010d77d56a (bug 1356933) for invisible bustage 2017-04-18 13:33:00 +08:00
Nicholas Nethercote
4a55f047a5 Bug 1356249 - Fix assertion in profiler_set_frame_number(). r=mstange.
This function can run off the main thread when 'layers.frame-counter' is
enabled.

--HG--
extra : rebase_source : f3db0fd01c636d5af97109761bb0b57b57c79293
2017-04-18 14:40:00 +10:00
DimiL
a1e69433d3 Bug 1329817 - Enable V4 lookups. r=francois
After this patch is introduced, url-classifier will return merged classify result
from V2 and V4.

--HG--
extra : rebase_source : 1940f8617547878b87a5808479ef9d46e6722a92
2017-04-17 08:51:16 +08:00
Ray Lin
eec2adc8fb Bug 1270983 - Wait for media to being playing before pause check to avoid timeout. r=jaws
MozReview-Commit-ID: 7F18fUU8asl

--HG--
extra : rebase_source : b0495ac5c936009f86f919e14efe71257eb8bf59
2017-04-18 10:48:48 +08:00
JW Wang
837a8390aa Bug 1356502. P2 - let VideoData::UpdateTimestamp() take a TimeUnit instead of ambiguous int64_t. r=gerald
MozReview-Commit-ID: G17uLSrjBrR

--HG--
extra : rebase_source : 7b1f57e85ff7610c50c84e7b92d10772712e5bf7
extra : intermediate-source : c725b22a1dc94bbb549c57064a151783b9aa1152
extra : source : 65f2827866f62a89e1865c60ea6c1437f4faee27
2017-04-14 14:17:04 +08:00
JW Wang
3c0e7bddc7 Bug 1356502. P1 - let MediaDatra::GetEndTime() return a TimeUnit instead of ambiguous int64_t. r=gerald
MozReview-Commit-ID: DBQELBs32Ad

--HG--
extra : rebase_source : a7c9f7affbdfa12aaf94a6d0505cf4f54f4408cc
extra : intermediate-source : e1fcccdb12bb86c23520b5c2e0d76aef355597a5
extra : source : ddb8a8382c74e18dd52cdfbc7e8eee54cf46f05d
2017-04-14 14:14:08 +08:00
Markus Stange
618a091371 Bug 830990 - Stop dispatching CheckResponsivenessEvents when the profiler is stopped. r=njn
MozReview-Commit-ID: 4MnRGqE2sEK

--HG--
extra : rebase_source : 2e6e8b354983240a6f8a177f90d5a59d1e58b94c
2017-04-16 14:48:24 -04:00
Fischer.json
b11d8148e6 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb

--HG--
extra : rebase_source : b93ca35fdfe375b22dd82dfbc7c1ffe4cfde1d72
2017-04-12 11:53:18 +08:00
DimiL
8eed56ee65 Bug 1296406 - Fix ReloadDatabase API fail in safebrowsing testcase. r=francois
Recent change of safebrowsing thread model may cause nsUrlClassifierDBService::ReloadDatabase
API fail if there is an ongoing update at the same.

Fix this issue by adding retry in testcase.

MozReview-Commit-ID: CZGMpQvuzum

--HG--
extra : rebase_source : c59937f3e11bafcb2ad501872ffa29bafe84dad8
2017-04-17 09:13:41 +08:00
Markus Stange
180a94d4c2 Bug 1346592 - When stopping the profiler, mark all ThreadInfos as not being profiled. r=njn
This also renames HasProfile() to IsBeingProfiled().

MozReview-Commit-ID: 70RGHNbyZG3

--HG--
extra : rebase_source : 64f1df6985f41ae52d2385edcfd7822d16fd1e00
2017-04-17 22:46:54 -04:00
Markus Stange
43a18179f1 Bug 1356751 - Remove unused pref layout.frame_rate.precise. r=mchang
MozReview-Commit-ID: 2QjinjJHzUh

--HG--
extra : rebase_source : ab4514e5354b77f3a80ef8f1bdf5e6ba73cc4739
2017-04-15 00:23:08 -04:00
Iris Hsiao
063f52934e Backed out changeset 1b277ae21ba5 (bug 1346592)
CLOSED TREE
2017-04-18 11:05:12 +08:00
Iris Hsiao
82a868141d Backed out changeset 9d86f0c3ddd4 (bug 830990) for build bustage
CLOSED TREE
2017-04-18 11:05:00 +08:00
Markus Stange
e6bcc1a69f Bug 830990 - Stop dispatching CheckResponsivenessEvents when the profiler is stopped. r=njn
MozReview-Commit-ID: 4MnRGqE2sEK

--HG--
extra : rebase_source : 10078745ac3839ea80879a6ebe710a0f4973f25d
2017-04-16 14:48:24 -04:00
Markus Stange
b1002e6197 Bug 1346592 - When stopping the profiler, mark all ThreadInfos as not being profiled. r=njn
This also renames HasProfile() to IsBeingProfiled().

MozReview-Commit-ID: 70RGHNbyZG3

--HG--
extra : rebase_source : fbe6faf0ed9ee7273e77f1f81b79915800772212
2017-04-16 13:41:32 -04:00
Nicholas Hurley
861e6a501e Bug 1345094 - make http redirects to file:// uris work under e10s. r=mayhemer
MozReview-Commit-ID: J4IheswoeMZ

--HG--
extra : rebase_source : 4af1354af026fc9be255ed2ef92164d5575f1d5d
2017-04-12 11:43:50 -07:00
Mike Hommey
0e4def53f6 Bug 1356994 - Add a top-level directory to the libdmg-hfsplus source tarball. r=ted
Also change the README of the dmg tarball to point to the artifact url
directly.

--HG--
extra : rebase_source : efc96cf468fd2dcccf727b4c2f32c8d9e0d1bc40
2017-04-17 17:24:40 +09:00
Mike Hommey
9620fd514e Bug 1356937 - Avoid mach artifact toolchain failing to get taskcluster artifacts when they are not directly under public/. r=gps
--HG--
extra : rebase_source : aeb7a54dea393a97c8597412e45520a2215f9cc5
2017-04-17 09:47:56 +09:00
Mike Hommey
9454329d61 Bug 1356933 - Use tooltool-download.sh helper in cctools build scripts. r=chmanchester
--HG--
extra : rebase_source : 929cce8db1c01d265f6c40f5a080f9bcd87e5ff7
2017-04-17 08:34:24 +09:00
David Parks
6a3359a108 Bug 1326084 - Unbind accessible child doc before replacing with new one. r=trevor
We need to update mChildDocs on child document removal.  This also cleans up some code related to setting a new child doc when one is already set -- we now assert that this cannot happen.
2017-04-07 13:26:45 -07:00
Ehsan Akhgari
ce9afcdc80 Bug 1356838 - Reduce the hashtable lookup cost in EnsureGlobalPredictor(); r=nwgh 2017-04-17 23:27:45 -04:00
Shu-yu Guo
cd3756c697 Bug 1216630 - Unskip test262 class toString tests. (r=Yoric) 2017-04-17 19:51:35 -07:00
Shu-yu Guo
1df7352485 Bug 1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes. (r=Yoric) 2017-04-17 19:51:35 -07:00
Shu-yu Guo
159df826fb Bug 1216630 - Print class source when calling toString on the constructor. (r=Yoric)
This is accomplished in the following ways.

LazyScripts and JSScripts now have 4 offsets:

 - Source begin and end for the actual source. This is used for lazy
   parsing.

 - toString begin and end for toString. Some kinds of functions, like
   async, only have a different begin offset. Class constructors have
   different offsets for both begin and end.

For syntactically present (i.e. non-default) constructors, the class
source span is remembered directly on the LazyScript or JSScript. The
toString implementation then splices out the substring directly.

For default constructors, a new SRC_CLASS SrcNote type is added. It's
binary and has as its arguments the begin and end offsets of the class
expression or statement. MakeDefaultConstructor reads the note and
overrides the cloned self-hosted function's source object. This is
probably the least intrusive way to accomplish this.
2017-04-17 19:51:34 -07:00
L. David Baron
1d8b4e0ef0 Bug 1307134 - Rename nsGlobalWindow::EnsureSizeUpToDate to EnsureSizeAndPositionUpToDate. r=tnikkel
This is because it does ensure both, and some of the callers care about
size and some care about position.

MozReview-Commit-ID: 3e8II6Lf72X

--HG--
extra : transplant_source : %EE%5E%87%1D%AA%EB%B9%22%D9%D6%D2%9D6U%C4%2A%CA%A1r%E9
2017-04-18 11:28:52 +09:00
L. David Baron
05bfb6bf19 Bug 1307134 - Only flush in ancestor documents for window.mozInnerScreenX/Y. r=tnikkel
This reduces the amount of flushing we do when these APIs are called on
the root document, but increases the amount of flushing we do (probably
fixing existing bugs) when these APIs are called in a document at depth
three or more (if you consider the root depth one).

I considered the idea of adding a EnsurePositionUpToDate alias, but it
seems that some of the existing users of EnsureSizeUpToDate actually
care about position (e.g.,
nsLayoutUtils::GetDeviceContextForScreenInfo), so I just added a comment
instead.

MozReview-Commit-ID: B3L5DDQ5krc

--HG--
extra : transplant_source : J%05%F1%20M%40%88Wz%F5s_%FB%0D%0C%D6%F2%103%9B
2017-04-18 11:28:50 +09:00
Luke Wagner
c39bb259da Bug 1356631 - Change LargeAllocationCallback to be process-wide (r=mccr8)
This is necessary to allow helper threads to attempt large allocations and recover from fragmentation situations with the LargeAllocationFailureCallback.

MozReview-Commit-ID: AyA3pbXcaYy

--HG--
extra : rebase_source : 7a5feb779b690ec7f123481e76f2390c850dac91
2017-04-17 21:19:54 -05:00
Makoto Kato
0410282e88 Bug 1352882 - Part 3. Cache nsIDocumentEncoder into TextEditor. r=masayuki
All editor code gets nsIDocumentEncoder from TextEditor::GetAndInitDocEncoder(), so we can have a cache into TextEditor, then return cached object.

MozReview-Commit-ID: IEoOvz7BG7T

--HG--
extra : rebase_source : 1b30325c99fbc43dc77453325e97e88b439285e2
2017-04-17 17:29:46 +09:00
Makoto Kato
f711389dd1 Bug 1352882 - Part 2. Add test for RequiresReinitAfterOutput. r=smaug
MozReview-Commit-ID: 97FNGeunmof

--HG--
extra : rebase_source : 19c030fdf567f695a6029a43513e7100ac72424a
2017-04-17 19:02:39 +09:00
Makoto Kato
da147c947a Bug 1352882 - Part 1. Add releasing nsIDocument option to recycle nsIDocumentEncoder. r=smaug
Editor uses weak reference for nsIDocument.  But nsDocumentEncoder has strong reference of nsIDocument. So to recycle nsIDocumentEncoder, editor wants the option that nsIDocumentEncoder releases nsIDocument into nsDocumentEncoder after EncodeTo* is called.

MozReview-Commit-ID: K3E9XhgD8FY

--HG--
extra : rebase_source : d37983705d574a2443c8f7504c7f5e3f35470ef1
2017-04-17 19:49:52 +09:00
Kartikaya Gupta
41e55cb57d No bug - Remove outdated and incorrect comment. r=me and DONTBUILD
MozReview-Commit-ID: Iai8TvtaBUw
2017-04-17 19:41:14 -04:00
Mats Palmgren
b73a39811b Bug 1357092 - Make EnsureWritablePath() always try to create a mPathBuilder, also when we don't have a valid target (i.e. for sErrorTarget). r=mstange
MozReview-Commit-ID: AzyZOpsIdwA
2017-04-18 00:56:34 +02:00
Gregory Moore
022156f613 Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond,kats
MozReview-Commit-ID: IAhD3jO4NWH

--HG--
extra : rebase_source : 782699a9f501327431bf66645b3313921a864e09
extra : source : 456dbb5c2b93ba738bc5b0e15d7e43cab2d0a856
2017-03-25 18:36:35 -07:00
Wes Kocher
b53f4d8806 Merge m-c to inbound, a=merge 2017-04-17 13:03:40 -07:00
Wes Kocher
228c755a80 Merge inbound to central, a=merge 2017-04-17 12:56:25 -07:00
Wes Kocher
0becaff588 Merge autoland to central, a=merge 2017-04-17 12:41:36 -07:00
Kearwood Gilbert
c944eed13a Bug 1356387 - Add constructor to VRHMDSensorState
- Also removed some now redundant calls to VRHMDSensorState::Clear()


MozReview-Commit-ID: Kkbvkn3XAP4

--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Michael Layzell
344f335411 backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.

MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Kartikaya Gupta
7a4b7a370e Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Kartikaya Gupta
4444fcf4d5 Bug 1356695 - Don't expose DOM touch APIs with autodetection if APZ is disabled. r=smaug
When the dom.w3c_touch_events.enabled pref is set to "2" (autodetect) on Win/Linux,
it checks to see if the hardware supports touch events, and only enables the
DOM touch APIs if so. However, even if the hardware supports touch events, we
might have e10s or APZ disabled for other reasons, and in those cases we don't
actually turn on touch support in the widget (nsBaseWidget::RegisterTouchWindow
will not be called). So in those cases the widget will never actually dispatch
touch events, and the DOM touch APIs shouldn't be exposed either. This patch
implements this by checking the APZ state when deciding whether or not to
expose the DOM touch APIs.

MozReview-Commit-ID: EIvJh030b0X
2017-04-17 11:56:22 -04:00
Jeff Muizelaar
67e82cd2a7 Bug 1356689. Add pref to highlight painted layers. r=mchang
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Lee Salzman
03ed17e42f Bug 1357009 - add missing UnscaledFontGDI::GetFontInstanceData. r=jrmuizel
MozReview-Commit-ID: 21EoCWhkDDu
2017-04-17 10:59:31 -04:00
Kartikaya Gupta
4087e4ae28 Merge m-c to graphics
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
Sebastian Hengst
5a100ecb59 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-17 16:32:14 +02:00
Sebastian Hengst
4bd7a206de merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DZowmCXo7Q
2017-04-17 16:21:05 +02:00
Kartikaya Gupta
41c543ac1b Merge m-c to graphics
MozReview-Commit-ID: G9MmPXdyBxg
2017-04-17 09:40:34 -04:00
sotaro
444f539c4b Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry 2017-04-17 22:08:43 +09:00
Sebastian Hengst
eacfbf3ac6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D039X4edhVO
2017-04-16 20:00:50 +02:00