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

582065 Коммитов

Автор SHA1 Сообщение Дата
Richard Marti 872d855cee Bug 1437284 - Fix the spinbuttons in in-content pages. r=dao
MozReview-Commit-ID: LhRPG9tGMmE
2018-02-10 16:45:00 +01:00
Dorel Luca e3b96b7694 Merge mozilla-central to mozilla-inbound 2018-02-17 12:01:23 +02:00
Jonathan Kew f33b65d235 Bug 1438522 - Cherry-pick recent FreeType fixes for variation fonts and flex rendering. r=jrmuizel 2018-02-17 09:04:16 +00:00
Tooru Fujisawa d58a217b1c Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles
KeyframeEffect and KeyframeEffectReadOnly constructors can run in the caller
compartment, which is okay because of the following reasons:

1. The target window global is used for most operation:
     * KeyframeEffectReadOnly::ConstructKeyframeEffect uses the target window
       global instead of current global.
     * KeyframeEffectParamsFromUnion which receives `aGlobal.CallerType()`

   In Xray case, Web Animations API can be disabled on web content
   (currently disabled on beta/release by default), and in that case some API
   won't work even it's triggered from WebExtensions, but it should be fine.

2. GetKeyframesFromObject is executed in the caller's compartment to access
   the passed-in JSObject that is keyframe, with iterable/iterator protocols.
   This operation doesn't perform any GCThing allocation on the target window
   global.
2018-02-17 17:21:13 +09:00
Steve Fink 056f86b89a Bug 1439003 followup - avoid asm(), ignore hazards
Nuisance fixes on a CLOSED TREE.

--HG--
extra : amend_source : e12639d401d3a07de3714d3d6d8497459a703157
2018-02-16 16:56:44 -08:00
Steve Fink aa3ff70d92 Bug 1439003 - gdb prettyprinter develoment aids (better stack traces), r=jimb
Previously, all errors would be reported in <module> and you would only know the name of the whole failing test. This patch adds in the filename and line number to the stack traces, as well as the C++ "fragment" that was executing (very helpful when manually running gdb on the gdb-tests binary.)

--HG--
extra : rebase_source : cc1c5cdb7a2737d925ca3dbd2030833845d3f922
2018-02-13 20:32:21 -08:00
Steve Fink 73a9893f52 Bug 1439003 - gdb prettyprinter: update for spidermonkey changes and gdb's switch to Python 3, and resolve breakage due to unwanted optimizations enabled by unified compilation, r=jimb
--HG--
extra : rebase_source : 43bac3527c5cbbe43fecc0d35e8971f4534a1ae7
2018-02-16 13:49:08 -08:00
David Keeler 12125be772 bug 1437214 - if PathBuildingStep::Check fails due to a problem with the subject certificate rather than the potential issuer, set keepGoing to false r=jcj
MozReview-Commit-ID: DEr4YgXfkOL

--HG--
extra : rebase_source : daea8346adeb56cc34c0fb284dba2e571fd3621e
2018-02-09 16:35:54 -08:00
Daniel Stenberg 74167930bd bug 1438947 - avoid unnecessary timer cancels + clears r=valentin
To avoid race risk.

MozReview-Commit-ID: 2h8xkmgjPP7

--HG--
extra : rebase_source : 31e0fef119862343467049347b012cc6e3056f2c
2018-02-17 00:35:14 +01:00
J. Ryan Stinnett 9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Emilio Cobos Álvarez e1b381f3d6 Bug 1439009: Declare a function in ServoBindingList to keep --disable-stylo happy. r=me
MozReview-Commit-ID: GbJXyA42CSs
2018-02-17 00:02:08 +01:00
Gurzau Raul c276a6b86e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-17 00:11:50 +02:00
Emilio Cobos Álvarez f2afd33bae servo: Merge #20065 - style: Cleanup GeckoElement::note_explicit_hints (from emilio:note-stuff); r=nox
What it's doing is not so complicated.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5f2eb141315f4abbc2e2340950d43679aaf79f42
2018-02-16 15:33:48 -05:00
Ed Lee ef5ddbeefb Bug 1438821 - Fix drag placeholders, Pocket labels and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: BlSK701BOUQ

--HG--
extra : rebase_source : fa29246a7abc5c52debb999e0218169a6cab3759
2018-02-16 12:23:10 -08:00
Oriol Brufau da20c7145a Bug 1437178 - Fix various pageAction visibiltiy issues when using show_matches and hide_matches r=mixedpuppy
MozReview-Commit-ID: 5jQ7MkkKWRk

--HG--
extra : rebase_source : 4af4acda8d25c606ea8734b2ce3bd96954647dbd
2018-02-09 22:22:43 +01:00
Prathiksha 3ef0cd25b3 Bug 1434976 - Stop setting web-extension install prompt message details dynamically. r=johannh
MozReview-Commit-ID: GfewQFsgEAa

--HG--
extra : rebase_source : 4751a6874fad38dfb0dd41d67736fdfba52e1241
2018-02-15 18:44:29 +05:30
Chris Peterson 50e9affc6b Bug 1436263 - Part 4: Remove unnecessary `virtual` and `final` from non-overriding final virtual function declarations. r=froydnj
AccessibleNode::GetParentObject is a non-overriding final virtual function. GetParentObject is a common virtual function in many DOM classes, but AccessibleNode does not derive from any base classes that define virtual GetParentObject or have any derived classes of its own.

WebCryptoTask::CalculateResult and CallCallback are non-overriding final virtual functions that mirror virtual function names in the CryptoTask class, even though WebCryptoTask does not actually derive from CryptoTask.

nsWindowBase::GetWindowHandle is a non-overriding final virtual function. The only other function called GetWindowHandle is MouseScrollHandler::EventInfo::GetWindowHandle, which is not related to the nsWindowBase class.

MozReview-Commit-ID: 4ldSAyP3ZpP

--HG--
extra : rebase_source : cd6fea309c042183db59653ed39e1e63b70c6a63
2018-02-09 01:31:38 -08:00
Nicholas Nethercote 046941efbf Bug 1436863 - Only send possibly-changed prefs to content processes. r=glandium.
The meaning of "possibly-changed" is provided by the big comment above
MustSendToContentProcesses.

On a new profile this reduces the number of prefs sent like so:
- Command-line: 222 --> 3
- IPC:         3129 --> 130

On an older profile:
- Command-line: 222 --> 3
- IPC:         3165 --> 180

MozReview-Commit-ID: DcgedhXhZd8

--HG--
extra : rebase_source : acef424fab5031347cbcbd5c3e6a24ee66895ef9
2018-02-09 16:31:13 +11:00
Chris Peterson fe5cd3d5d9 Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42

--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Nicholas Nethercote ca3ec907fd Bug 1436863 - Factor out several calls to ContentPrefs::GetEarlyPref(i). r=glandium
MozReview-Commit-ID: 9lGgu7oJQga

--HG--
extra : rebase_source : 70a2c1f987ac062fb965eb3128ef189e476a5df1
2018-02-09 16:20:44 +11:00
Luke Wagner 57d972ed6a Bug 1428453 - Baldr: use new traps for indirect call to null trap (r=bbouvier) 2018-02-15 20:42:43 -06:00
Luke Wagner 3f567b26ea Bug 1428453 - Baldr: use new traps for the already-reported trap (r=bbouvier) 2018-02-15 20:41:50 -06:00
Luke Wagner 004a93c6fa Bug 1428453 - Baldr: use new traps for SIMD conversion trap (r=bbouvier) 2018-02-15 20:40:56 -06:00
Jeff Walden 0f14979435 Bug 1437970 - Use mozilla::Abs in js::powi rather than unary negation, to avoid signed-integer-overflow issues with INT32_MIN. r=anba
--HG--
extra : rebase_source : 7f6051fd53e856057aba807e93e11fbf5d56efbe
2018-02-15 17:15:24 -08:00
Jeff Walden 29bf925937 Bug 1437729 - Make fdlibm::atan2(y, x)'s handling for |x == 1.0| not potentially invoke signed integer overflow. r=arai
--HG--
rename : modules/fdlibm/patches/15_use_safer_strict_assign_on_visual_studio.patch => modules/fdlibm/patches/16_use_safer_strict_assign_on_visual_studio.patch
extra : rebase_source : c4d0988163c9f854d28e67c1c1568f7c1f99929a
2018-02-13 09:00:53 -08:00
Jeff Walden abf8ff7bfe Bug 1437731 - Convert a |uint16_t * uint16_t| to |1U * uint16_t * uint16_t| to avoid integer promotion of the original two operands resulting in signed integer overflow given the right runtime inputs. r=froydnj
--HG--
extra : rebase_source : acbc3eb181e8a044f0ffd8c5b0a7c96b59f57ffe
2018-02-13 08:59:54 -08:00
Chris Peterson 0129d900f3 Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson d09123f248 Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D

--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Andreea Pavel 3391719f1c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-02-17 23:50:07 +02:00
Jeff Muizelaar 62a9686ee2 Bug 1439005. Add PushLayerWithBlend. r=Bas
This makes it possible to implement nsDisplayBlend blob image invalidation.
It currently only includes an implementation for Skia and DrawTargetRecording.
All other backends will crash when used.

MozReview-Commit-ID: 2GhdDxi4jHG
2018-02-17 12:07:30 -05:00
Tooru Fujisawa d70a10cbd8 Backed out changeset c3f16a179c93 (bug 1414674) 2018-02-18 01:24:08 +09:00
Brendan Dahl 40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Brendan Dahl abf7e1cbe2 Bug 1418403 - Remove old view source window title test. r=jryans
The behavior that this test expects is not the same as when viewing
source in a browser tab.

MozReview-Commit-ID: EwzrCz0VCJY

--HG--
extra : rebase_source : 6e4f994d86527e6608088fb84c1be8870be3c62e
2018-02-05 13:36:21 -08:00
Jim Chen 9cf5255ceb Bug 1438682 - 2. Implement dummy closeConnection; r=esawin
closeConnection is a new API introduced in N. We don't really support it
at the moment but we also don't want the default behavior, so we
implement a dummy.

MozReview-Commit-ID: JY1Tl30X2s7

--HG--
extra : rebase_source : a64371a05aed9db957df2a97da5b23c90760cdb1
2018-02-15 18:06:07 -05:00
Jim Chen a1a66f9c59 Bug 1438682 - 1. Cache initial selection offsets; r=esawin
Getting the selection offsets in onCreateInputConnection can fail
because of us being on a wrong thread. The solution is to cache the last
selection offsets and use those in onCreateInputConnection.

MozReview-Commit-ID: AOlZsuOvzHm

--HG--
extra : rebase_source : 42f35bc60219707fc29db7cc2803f64313806244
2018-02-15 18:06:06 -05:00
Jonathan Kingston 9f340d8168 Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Dorel Luca e6b2438e24 Merge mozilla-central to autoland 2018-02-17 11:59:56 +02:00
Markus Stange 9fe1f51348 Bug 1437428 - Split ThreadInfo into three classes: ThreadInfo, RegisteredThread and ProfiledThreadData. r=njn
The file copies and renames make this patch look a bit confusing. Here's what
happens:

ThreadInfo.h:
Most of the code gets moved into RegisteredThread.h and ProfiledThreadData.h,
but a small piece remains in ThreadInfo.h.

ThreadInfo.cpp:
Gets split into RegisteredThread.cpp and ProfiledThreadData.cpp.
ThreadInfo.cpp itself goes away.

In the mercurial changeset, I've marked ThreadInfo.h as being copied to both
RegisteredThread.h and to ProfiledThreadData.h, and ThreadInfo.cpp as being
copied to RegisteredThread.cpp and as being renamed to ProfiledThreadData.cpp.

MozReview-Commit-ID: 1j1imAv9cTd

--HG--
rename : tools/profiler/core/ThreadInfo.cpp => tools/profiler/core/ProfiledThreadData.cpp
rename : tools/profiler/core/ThreadInfo.h => tools/profiler/core/ProfiledThreadData.h
rename : tools/profiler/core/ThreadInfo.cpp => tools/profiler/core/RegisteredThread.cpp
rename : tools/profiler/core/ThreadInfo.h => tools/profiler/core/RegisteredThread.h
extra : rebase_source : 91310691d5e46246ec03305511c1b86ab458b0b9
2018-02-16 22:43:51 -05:00
Jeff Walden 792f264ae3 Bug 1437739 - Don't blacklist the entirety of the JS engine for the signed integer overflow sanitizer. jstests and jit-tests only report two runtime signed overflows, so the problem appears easily well corralled enough to not exclude the entire engine. r=decoder
--HG--
extra : rebase_source : d501e76485383cdb88dafed009615b79dfc13fc5
2018-02-02 21:35:30 -08:00
Ralph Giles 07d65e6e07 Bug 1430928 - mozboot: install rust 1.24. r=froydnj DONTBUILD
Have `./mach boostrap` update users to at least rust 1.24.0,
which is the current stable release.

MozReview-Commit-ID: 2sma2p3BktJ
2018-02-15 17:07:37 -08:00
Jan de Mooij 74263e01cf Bug 1438232 - Handle lazy scripts in CanReuseScriptForClone without forcing a delazify/clone. r=shu 2018-02-16 01:06:12 +01:00
sotaro e32352899f Bug 1438408 - Shutdown RenderThread if it exists r=nical 2018-02-16 09:04:07 +09:00
Dylan Roeh 8819d6c766 Bug 1432233 - Eliminate GeckoBundles from public APIs in GeckoSession. r=snorp 2018-02-15 12:44:32 -06:00
Margareta Eliza Balazs 9003462ae4 Backed out 2 changesets (bug 1438292) for multiple failures in /builds/worker/workspace/mozharness/mozharness/base/script.py on a CLOSED TREE
Backed out changeset 8508dc544f8b (bug 1438292)
Backed out changeset a9db2b954595 (bug 1438292)
2018-02-16 00:04:54 +02:00
Jeff Muizelaar 96c7a33c31 Bug 1438425. Delete DocumentRenderer. r=jesup
It is unused.
2018-02-15 16:28:02 -05:00
Joel Maher 86bb036ec8 Bug 1438292 - add JetStream benchmark to talos. r=rwood 2018-02-15 16:18:03 -05:00
Joel Maher d681d25fe0 Bug 1438292 - add JetStream benchmark source to tree. r=rwood 2018-02-15 16:17:57 -05:00
Margareta Eliza Balazs 55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
David Major 52d94ead86 Bug 1333126 - Add #include to fix non-unified build in Win64ModuleUnwindMetadata.cpp. DONTBUILD 2018-02-15 15:27:25 -05:00
Margareta Eliza Balazs 54a8193a23 Backed out 3 changesets (bug 1429824) for frequently failing devtools/client/netmonitor/test/browser_net_autoscroll.js (bug 1438412) a=backout
Backed out changeset 500836846f62 (bug 1429824)
Backed out changeset e3d4ec2c18b5 (bug 1429824)
Backed out changeset cf796a41ff7d (bug 1429824)
2018-02-15 22:05:10 +02:00