Граф коммитов

549203 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Mark Hammond 4f86008efc Bug 1384818 - flush sync log files on sync reset. r=eoger
MozReview-Commit-ID: H6CkvHGxAmx

--HG--
extra : rebase_source : 4fd55ac857c225e0a7de35f0049e873cc362b2db
2017-07-27 14:57:47 +10:00
Mike Hommey eafa227d8d Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Mike Hommey a15c6351cb Bug 1385117 - Make the bss section of the elfhack testcase large enough. r=froydnj
Since bug 635961, building with relro makes elfhack try to use the bss
data for a temporary function pointer. If there is not enough space for
a pointer in the bss, elfhack will complain it couldn't find the bss.

In normal circumstances, this is most likely fine. Libraries with a bss
so small that it can't fit a pointer are already too small to be
elfhacked anyways. In Firefox, the two libraries with the smallest bss
have enough space for two pointers, and aren't elfhacked (libmozgtk.so
and libplds4.so).

However, the testcase that is used during the build to validate that
elfhack works doesn't have a large enough bss on x86-64, making elfhack
bail out, and the build fail as a consequence.

This, in turn, is due to the only non-thread-local zeroed data being an
int, which is not enough to fit a pointer on x86-64. We thus make it a
size_t.

--HG--
extra : rebase_source : bca2ddbf9d4a5e8786881fc524d642c38d610227
2017-07-28 07:15:39 +09:00
J. Ryan Stinnett 9861677629 Bug 1380053 - Skip ua-style-sheet-input-number-1.html for Stylo. r=me
MozReview-Commit-ID: Bo8L7CaVgTk
2017-07-27 18:21:07 -05:00
Markus Stange c7ea693fd8 Bug 1384693 - Cull exit profiles that don't have any overlap with the parent process profile. r=njn
This avoids large gaps in the profiler output.

Sometimes we hold on to exit profiles for a long time before a profile is
gathered. During that time, the parent process's profile buffer might have
looped around several times. At that point, profiles from processes that have
exited long ago are no longer interesting.

MozReview-Commit-ID: 5C47vb69DfK

--HG--
extra : rebase_source : 57f0df2f21ab778ec689a08d0bbf010b10f18ed9
2017-07-25 20:29:17 -04:00
Markus Stange 4036fdd6b0 Bug 1384693 - Let callers of profiler_stream_json_for_this_process obtain the time of the first sample in the buffer. r=njn
MozReview-Commit-ID: IRFq1F3dWIk

--HG--
extra : rebase_source : d4454baf4b4eaf8f185b96a59e40ace5f6702bcc
2017-07-27 15:04:59 -04:00
Shane Caraveo 824d3d0d57 Bug 1380186 implement SimpleChannel Parent/Child IPC, r=kmag,mayhemer
MozReview-Commit-ID: 8zgF2MLwdu2

--HG--
extra : rebase_source : a5adcddb0119b8308a7beef74df998263dc8b620
2017-07-27 13:34:54 -07:00
Shane Caraveo 02063c6559 Bug 1380186 test http redirects to moz-ext protocol, r=kmag
MozReview-Commit-ID: Kg8ELe3tV2z

--HG--
extra : rebase_source : b4bb1c86016ae551eef001bccf7d866740d43564
2017-07-27 13:34:54 -07:00
Alex Gaynor 7372dae53f Bug 1385028 - simplify handling of macOS minor version in the sandbox policy; r=haik
MozReview-Commit-ID: BDD7WzTqHC6

--HG--
extra : rebase_source : 1d4a4deedbf6351da61e9433738000dcf6bcd0df
2017-07-27 13:58:28 -04:00
Tom Prince b43eafa130 Bug 1384210 - Add comm-central checkout support to taskcluster's run-task; r=gps
MozReview-Commit-ID: LxjYLdzmNO3

--HG--
extra : rebase_source : febd7be321ca1acb9193c4893e3a122d6d3a8d58
2017-07-25 10:17:03 -06:00
Punam 4a49a600af Bug 1357171 - cloud storage module r=Gijs
* Has storage providers metadata
* Scan for storage providers returning preferred provider
* Helper methods to access cloud services prefs
* Helper method to set cloud storage as default download directory
* Notify observers for displaying cloud storage prompt
* Support pref value browser.downloads.folderList 3
* Read dropbox custom downloadpath from info.json
* Handle rejected providers by saving response in cloud.services.rejected.key
* Load providers metadata from providers.json
* Tested using add-on implemented in Bug 1365129
* Tests for Linux, Mac and Win Platform

MozReview-Commit-ID: LrmoDfsRTBV

--HG--
extra : rebase_source : cc3933407def5da26b4c0fb29a32797bc6a13130
2017-07-27 10:14:17 -07:00
Nazım Can Altınova ffc264cb6b Bug 1365900 - Create ServoFontFeatureValuesRule and bind servo data r=xidorn
Add ServoFontFeatureValuesRule for CSSOM representation of
@font-feature-values rule and wire up with bindings.

MozReview-Commit-ID: B4Lpj43bvKX

--HG--
extra : rebase_source : 6508027f88ff76784ed7d0e5420d6e174f116b38
2017-07-25 18:30:15 -07:00
Nicholas Nethercote 0574a6b496 Bug 1384835 (part 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
Because we want to remove nsAdoptingString. We have other variants that don't
use nsAdoptingString, which can be used instead. There are three basic
patterns.

1. The easiest case is when we don't check for success.

> nsAdoptingString s = Preferences::GetString("foo");
> foo(s);

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> foo(s);

2. The next case is when we check if the result is empty.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s.IsEmpty()) { ... }

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> if (s.IsEmpty()) { ... }

3. The final case is when we null check the result.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s) { ... }

becomes:

> nsAutoString s;
> nsresult rv = Preferences::GetString("foo", s);
> if (NS_SUCCEEDED(rv)) { ... }

The patch also avoids some UTF8/UTF16 conversions in a few places.

--HG--
extra : rebase_source : f339b1a3dda4dc93979d38c30c001fbe77485b55
2017-07-25 20:36:14 +10:00
Nicholas Nethercote f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Andrew Osmond 16a218837a Bug 1383579 - SourceBufferIterator::SetWaiting should not assert for spurious wakeups if no consumer was given. r=tnikkel
The ICO decoder creates a cloned SourceBufferIterator for its own
SourceBuffer bounded by the resource size. This iterator is used by the
child decoder (PNG, BMP) for decoding the actual image. However we rely
upon the ICO decoder and its iterator to drive event loop, rather than
the child decoder and the cloned iterator. The cloned iterator knows how
many bytes it requires, but it is problematic to give it a consumer to
tell us when to resume without changes to StreamingLexer.

Without a consumer (IResumable), we won't have anything to notify when
we get the appropriate amount of data for the caller. If the caller
tries to advance after some, unknown amount of data has been written to
the SourceBuffer, then it may need to go back to waiting. Thus it should
only assert for a spurious wakeup if we have an actual consumer.
2017-07-27 21:18:17 -04:00
Ryan VanderMeulen c6a9b76f34 Bug 1385136 - Update pdf.js to version 1.8.581. r=bdahl 2017-07-27 20:17:24 -04:00
Mason Chang cc5d07571f Bug 1381973 - Lazily create the reference DT in DrawTargetCapture. r=dvander 2017-07-26 15:43:00 -07:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
sotaro eaf00c953c Bug 1377619 - Add EndTransaction to on screen timing log for WebRender r=nical 2017-07-28 08:05:56 +09:00
Eric Rahm 54d72f81ac Bug 1384337 - Always update cached ghost window count. r=mccr8
Currently the cached count is only updated if a table was passed in to keep
track of the window IDs. This changes the behavior to always update the count
regardless of whether a table is passed in.

MozReview-Commit-ID: EkfzLemVJyV
2017-07-27 15:58:08 -07:00
Nicolas Silva c6cb34826b Bug 1383786 - Rename WebRenderCompositableHolder into AsyncImagePipelineManager. r=sotaro
--HG--
rename : gfx/layers/wr/WebRenderCompositableHolder.cpp => gfx/layers/wr/AsyncImagePipelineManager.cpp
rename : gfx/layers/wr/WebRenderCompositableHolder.h => gfx/layers/wr/AsyncImagePipelineManager.h
2017-07-25 10:54:36 +02:00
Nicolas Silva 08bf19b694 Bug 1383786 - Rename GetImageKey into GenerateImageKey. r=sotaro 2017-07-25 10:54:20 +02:00
Rail Aliiev 787dc04d52 Bug 1380777 - Windows and mac release promotion l10n repacks fail to download en-US r=Callek 2017-07-28 07:35:28 -04:00
Ho-Pang Hsu 95d40e38f2 Bug 1356014 - Wait for appearance of the desired channel to do the related checks. r=bkelly 2017-07-28 15:06:34 +08:00
Kershaw Chang 9d5a13ae0f Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer 2017-07-27 23:42:00 +02:00
Kershaw Chang fc3aa4a532 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02:00
Junior Hsu 9a73bfaee3 Bug 1385166 - disable rcwn in those web request tests causing bustage, r=mixedpuppy 2017-07-27 20:46:00 +02:00
Marco Castelluccio 516b0c13ae Bug 1384509 - Test replacing *_API_KEY variables in URLs using the URL formatter and test trimming sensitive URLs. r=mossop
--HG--
extra : rebase_source : c8bb9066e6a00f3d3bca383b8027cddab7151749
2017-07-28 10:14:57 +02:00
Marco Castelluccio c71b2f3096 Bug 1384509 - Move Bing, Google, Mozilla API key definitions to AppConstants.jsm and stop using preprocessor in nsURLFormatter.js. r=mossop
--HG--
extra : rebase_source : 1f86cc353b2312b281cff2eeccce9e7a8fd260d5
2017-07-27 02:20:37 +02:00
Nicholas Nethercote 49eb219ff5 Bug 1383982 (attempt 2) - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
--HG--
extra : rebase_source : 7075f9570a4262158351ce9ac3ca8360ea4d5394
2017-07-28 20:10:04 +10:00
Jon Coppeard 3075bc5440 Bug 1384885 - Do gray unmarking of cross zone edges as soon as they are found r=sfink 2017-07-28 11:06:40 +01:00
Tom Schuster b1db7228f4 Bug 1383646 - Optimize x.indexOf(x) for AngularJS. r=anba 2017-07-28 11:25:38 +02:00
sotaro b8bc54df5a Bug 1372880 - Add WebRender creation failure handling r=aosmond 2017-07-28 18:22:21 +09:00
Cervantes Yu c6934bc588 Bug 1383025 - Don't report hang for a process that has already shut down. r=billm
MozReview-Commit-ID: 5H1CYYJIiM6
2017-07-28 16:55:16 +08:00
Nazım Can Altınova 0598921a5f Bug 1365900 - Extract CSSFontFeatureValuesRule base class r=xidorn
Extract CSSFontFeatureValuesRule from nsCSSFontFeatureValuesRule
class. This is necessary because we will create a FontFeatureValues
rule for Servo side.

MozReview-Commit-ID: GKy5wa6JLv9

--HG--
extra : rebase_source : 015f13da9a776c4ece8aa13655395afbb347b870
2017-07-24 16:12:57 -07:00
Nazım Can Altınova 881ba2aee9 servo: Merge #17894 - Implement parsing/serialization for @font-feature-values rule (from canaltinova:at-font-feature-values); r=SimonSapin,xidorn
<!-- Please describe your changes on the following line: -->
This is reviewed by SimonSapin and xidorn in [Bug 1365900](https://bugzilla.mozilla.org/show_bug.cgi?id=1365900).

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1365900](https://bugzilla.mozilla.org/show_bug.cgi?id=1365900)

Source-Repo: https://github.com/servo/servo
Source-Revision: 00e55dd278f46560e61959a1fd5aa9e1846cb557

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 31540bc2de7cc2b7b5bd29a8b59d1963591de14b
2017-07-27 16:15:02 -05:00
Sylvestre Ledru a4376d5dd4 Bug 1384848 - Remove dead code in XPCConvert.cpp r=mrbkap
MozReview-Commit-ID: D6kCUtqfIwo

--HG--
extra : rebase_source : 539ce1a925fa42b74007189708287ee74324261a
2017-07-27 09:43:06 +02:00
Eitan Isaacson ea615f1729 Bug 1376825 - Set eIsNotInDocument to accessible's state when unbinding from doc. r=surkov 2017-07-20 12:57:00 -04:00
Jason Laster 1c0fbd1554 Bug 1384391 - Upgrade Debugger Frontend v0.10 (7/25). r=jdescottes 2017-07-26 06:46:00 -04:00
Rail Aliiev 512ad5f829 Bug 1380348 - Enable Devedition nightlies (beta only) r=Callek
MozReview-Commit-ID: EYpEMRSIxbB

--HG--
extra : source : 07415967f7b37f542e0403aee7c57e7b75a024f8
2017-07-27 11:53:16 -04:00
Aki Sasaki e36db901ee bug 1384794 - single hook for tc desktop nightlies (unify buildids) r=callek DONTBUILD
MozReview-Commit-ID: A0yzLvh9x3U

--HG--
extra : rebase_source : f67f2692101070d71dea82ada2d14f94b95e7c11
extra : histedit_source : 2a3e1eee7da54e612ff94fde8efe4b388f490bcc
2017-07-27 09:23:41 -07:00
Sebastian Hengst 302794ab83 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-07-27 18:20:18 +02:00
André Bargull dab06faa1f Bug 1368978 - Skip non-initialized elements when deleting a property range in Array.prototype.splice. r=jandem 2017-07-27 04:37:43 -07:00
Dan Minor 460bb5228f Bug 1382681 - Remove java.lang.RuntimeException in VideoCaptureAndroid; r=jesup
There does not seem to be any bad effects from calling stop twice, so just log that
it has happened rather than throwing an exception.

--HG--
extra : rebase_source : 0d92bad7b33010f50f41de8498b8406c3521c9e7
2017-07-25 11:31:26 -04:00
Geoff Brown 185e545f3a Bug 845134 - Modify annotation to skip test_focusedChild.html on Windows 10; r=me,test-only 2017-07-27 07:43:34 -06:00
Kai Engert 4b5d3d40a9 Bug 1372579, uplift NSPR_4_16_RTM, no code changes, only version numbers, r=me
UPGRADE_NSPR_RELEASE, DONTBUILD

--HG--
extra : amend_source : 6c51fc6eac78a06c3f2bfbcfa98cee2ec0986d00
2017-07-27 15:33:57 +02:00
Sebastian Hengst 94ad8fa71a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-27 14:59:10 +02:00
Junior Hsu 8bb695b75a Bug 1373198 - Part 13: Disable rcwn for wpt tests which require deterministic cache behavior. r=michal 2017-07-26 04:19:00 -04:00
Junior Hsu 426c155edd Bug 1373198 - Part 12: Disable RCWN for the devtools mochitest. r=rickychien 2017-07-26 04:18:00 -04:00