Commit Graph

674347 Commits

Author SHA1 Message Date
Emma Malysz
e539d2cdc1 Bug 1586883, replace the remaining XUL textbox with HTML input in testcases within layout directory r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48434

--HG--
extra : moz-landing-system : lando
2019-10-08 18:26:49 +00:00
Markus Stange
7f9c11f94a Bug 1581433 - Maximize or minimize the window when double clicking the titlebar. r=spohl
This was already working for toolbars, but it wasn't working for the titlebar in windows that
actually have a real separate titlebar.
All our windows use NSFullSizeContentViewWindowMask, so we no longer get this behavior for free.
In windows with titlebars, the titlebar area is covered with a TitlebarGradientView, so that's
where we need to handle the double clicks.

Differential Revision: https://phabricator.services.mozilla.com/D48593

--HG--
extra : moz-landing-system : lando
2019-10-08 21:03:30 +00:00
Tom Ritter
a5545c008f Bug 1585366 - Remove a gcc mangling workaround for Windows r=dmajor
Bug 1329593 introduced this for the mingw-gcc build; but we no longer support this
build and mingw-clang does not need it.

Differential Revision: https://phabricator.services.mozilla.com/D48606

--HG--
extra : moz-landing-system : lando
2019-10-08 21:00:08 +00:00
mcrawford@mozilla.com
bdec1200f3 Bug 1585808 - Add UTM parameters to the "Learn more about this breach" link in breach notifications. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48597

--HG--
extra : moz-landing-system : lando
2019-10-08 20:57:34 +00:00
Greg Tatum
0b3c8bde66 Bug 1586757 - Add types to everything but the components; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D47913

--HG--
extra : moz-landing-system : lando
2019-10-08 20:43:16 +00:00
Greg Tatum
edef14c2cb Bug 1586757 - Create a @types directory and change to // @ts-check; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D47912

--HG--
rename : devtools/client/performance-new/types.ts => devtools/client/performance-new/@types/perf.d.ts
extra : moz-landing-system : lando
2019-10-08 20:30:49 +00:00
Greg Tatum
b4b444658c Bug 1586757 - Rename .jsm files to .jsm.js to allow type checking; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D47911

--HG--
rename : devtools/client/performance-new/popup/background.jsm => devtools/client/performance-new/popup/background.jsm.js
rename : devtools/client/performance-new/popup/menu-button.jsm => devtools/client/performance-new/popup/menu-button.jsm.js
extra : moz-landing-system : lando
2019-10-08 20:48:04 +00:00
Glenn Watson
59f6ac9ee1 Bug 1587084 - Fix non-picture-caching path on webrender. r=kvark
The framebuffer clear was accidentally removed due to a rebase
error. We need to clear the framebuffer (and z) here when the
non-picture caching path is active.

Differential Revision: https://phabricator.services.mozilla.com/D48600

--HG--
extra : moz-landing-system : lando
2019-10-08 20:44:56 +00:00
Aaron Klotz
b256fc294a Bug 1586436: Ensure that mscom methods that accept variadic arguments use rvalue references in their arguments; r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48435

--HG--
extra : moz-landing-system : lando
2019-10-08 20:43:38 +00:00
Vijay Budhram
3245b0b0a8 Bug 1587143 - Updated the Fxa toolbar devices button link r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D48589

--HG--
extra : moz-landing-system : lando
2019-10-08 18:42:46 +00:00
Emilio Cobos Álvarez
4a03157884 Bug 1587152 - Remove some dead menupopup code. r=bgrins
I was looking at some unsoundness in our XUL layout code just randomly setting
attributes on non-anonymous nodes [1] and wondering what the acceltext attribute
was used for.

Found this usage which is dead, as boxObject will never return anything truthy.

If nobody is missing it, we may as well remove it.

[1]: https://searchfox.org/mozilla-central/rev/7cc0f0e89cb40e43bf5c96906f13d44705401042/layout/xul/nsMenuFrame.cpp#1030

Differential Revision: https://phabricator.services.mozilla.com/D48584

--HG--
extra : moz-landing-system : lando
2019-10-08 18:08:46 +00:00
Ryan VanderMeulen
c63de82d8d Bug 1587187 - Update xxHash to version 0.7.2. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D48596

--HG--
extra : moz-landing-system : lando
2019-10-08 19:53:34 +00:00
Harry Twyford
a604e4862e Bug 1586861 - Use promiseDocumentFlushed in SearchOneOffs.__rebuild. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48405

--HG--
extra : moz-landing-system : lando
2019-10-08 19:25:20 +00:00
Emma Malysz
695191a7dd Bug 1585727, ensure browser_preferences_usage.js is fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D47945

--HG--
extra : moz-landing-system : lando
2019-10-08 14:54:53 +00:00
Noemi Erli
a0c197288b Backed out changeset e0427b37129b (bug 1566868) for turning Bug1528607 into permafail CLOSED TREE 2019-10-08 22:25:20 +03:00
Andreas Schuler
9cde4e3ef1 Bug 1585009: Support playout-delay RTP header extension r=bwc
Added playout-delay RTP header extension for video to JsepSessionImpl::SetupDefaultRtpExtensions.
This ensures that this extension will be preserved when generating an answer to an offer (by a sending peer) containing it.
Also updated JsepSessionTest to include a test verifying that the expected default audio and video extensions are set.

Differential Revision: https://phabricator.services.mozilla.com/D47689

--HG--
extra : moz-landing-system : lando
2019-10-08 12:49:52 +00:00
Dylan Roeh
1657764793 Bug 1563343 - Do not search for OS protocol handlers in GV; just let Gecko return ERROR_UNKNOWN_PROTOCOL. r=snorp,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D46311

--HG--
extra : moz-landing-system : lando
2019-10-08 19:05:09 +00:00
Daosheng Mu
2aafd36cc9 Bug 1585938 - Annotating battery-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html as a known failure if it is not Nightly build. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D48453

--HG--
extra : moz-landing-system : lando
2019-10-08 18:57:45 +00:00
Matthew Gregan
f1fe14d3cc Bug 1583996 - Unlock CubebDeviceEnumerator mutex during call to cubeb_enumerate_devices. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D48475

--HG--
extra : moz-landing-system : lando
2019-10-08 18:53:55 +00:00
Ting-Yu Lin
daaa2aa565 Bug 1426010 - Ship column-span. r=dbaron
Enable layout.css.column-span.enabled in all channels.

Differential Revision: https://phabricator.services.mozilla.com/D47352

--HG--
extra : moz-landing-system : lando
2019-10-03 18:25:27 +00:00
Michael Kaply
22b5796f9c Bug 1574963 - Add description for LegacyProfiles policy. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D48421

--HG--
extra : moz-landing-system : lando
2019-10-08 18:12:37 +00:00
David Teller
6b44f90be6 Bug 1585108 - Reworking enterTaggedTuple to remove the need to lookup when we're not in a sum;r=arai
In many cases, we call enterTaggedTuple in situations in which we already know that there is only one possible value, which ends up encoded on 0 bits in Context. This patch lets us entirely skip the lookup.

Differential Revision: https://phabricator.services.mozilla.com/D48524

--HG--
extra : moz-landing-system : lando
2019-10-08 17:10:18 +00:00
Doug Thayer
30e84ef562 Bug 1587131 - Compute proper remote type for talos framescripts r=mconley
This fixes timeouts in some Talos tests with Fission enabled.

Differential Revision: https://phabricator.services.mozilla.com/D48574

--HG--
extra : moz-landing-system : lando
2019-10-08 17:54:25 +00:00
Dan Minor
ad61673439 Bug 1564902 - Checked paused_ prior to calling SendPacket; r=bwc
There is a window inside of SendPacket where the critical section is released
which means that other code could set paused_. This would lead to us hitting
the assertion at the top of SendPacket. Checking paused_ in the while loop
will avoid this. Upstream has fixed this problem in a similar way, but the
code has changed there enough that it doesn't make sense to try to bring in
their fix directly.

Differential Revision: https://phabricator.services.mozilla.com/D48540

--HG--
extra : moz-landing-system : lando
2019-10-08 15:42:58 +00:00
Cosmin Sabou
73c11d0ebd Backed out changeset 388dbc366e53 (bug 1586862) for mochitest failures on test_focus_docnav.xul CLOSED TREE 2019-10-08 21:04:02 +03:00
Gabriel Luong
6de755b3b6 Bug 1578839 - Implement resizing of the browser with the embedded RDM UI. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D47569

--HG--
extra : moz-landing-system : lando
2019-10-08 16:19:34 +00:00
Brian Grinstead
a2b4c055ef Bug 1586877 - Replace <xul:textbox> with <html:input> in preferences tests;r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48417

--HG--
extra : moz-landing-system : lando
2019-10-08 17:35:53 +00:00
Kevin Jacobs
f44743a255 Bug 1564179 - Add telemetry for delegated credentials r=jcj
This patch adds telemetry for the Delegated Credentials TLS extension [0].

The data review questions are answered in [1], though I've never gone through this process, so questions I'm unsure how to answer are highlighted.

[0] https://tools.ietf.org/html/draft-ietf-tls-subcerts-04
[1] https://docs.google.com/document/d/1UAljhHppirlQphDFn9ly9-iWbK8V23GhoRztAS1rGvk

Differential Revision: https://phabricator.services.mozilla.com/D46379

--HG--
extra : moz-landing-system : lando
2019-10-07 23:38:34 +00:00
Tom Ritter
23ba7b6fe3 Bug 1583949 - Add a check for IsEvalAllowed to the worker callpath for eval() r=ckerschb,baku
This patch does several things.  Because Workers aren't on the main thread,
many of the things done are in the name of off main thread access.

1) Changes a parameter in IsEvalAllowed from a nsIPrincipal to a bool.
   We only used the principal to determined if it was the System Principal.
   Principals aren't thread safe and can only be accessed on Main Thread, so
   if we passed a Principal in, we would be in error. Instead only pass in
   the bool which - for workers - comes from a thread-safe location.

2) Separates out the Telemetry Event Recording and sending a message to the
   console into a new function nsContentSecurityUtils::NotifyEvalUsage. (And
   creates a runnable that calls it.)

   We do this because we will need to only call this method on the main thread.

   Telemetry Event Recording has only ever been called on the Main Thread.
   While I possibly-successfully cut it over to happen Off Main Thread (OMT)
   by porting preferences to StaticPrefs, I don't know if there were other
   threading assumptions in the Telemetry Code. So it would be much safer to
   just continue recording Event Telemetry on the main thread.

   Sending a message to the console requires calling GetStringBundleService()
   which requires main thread. I didn't investigate if this could be made
   thread-safe, I just threw it onto the main thread too.

   If, in IsEvalAllowed, we are on the main thread - we call NotifyEvalUsage
   directly. If we are not, we create a runnable which will then call
   NotifyEvalUsage for us on the main thread.

3) Ports allow_eval_with_system_principal and allow_eval_in_parent_process
   from bools to RelaxedAtomicBool - because we now check these prefs OMT.

4) In RuntimeService.cpp, adds the call to IsEvalAllowed.

5) Add resource://gre/modules/workers/require.js to the allowlist of eval
   usage. This was the script that identified this gap in the first place.
   It uses eval (twice) for structural reasons (scope and line number
   massaging.)  The contents of the eval are the result of a request to a
   uri (which may be internal, like resource://). The whole point of this
   is to implement a CommonJS require() api.

   This usage of eval is safe because the only way an attacker can inject
   into it is by either controlling the response of the uri request or
   controlling (or appending to) the argument. If they can do that, they
   are able to inject script into Firefox even if we cut this usage of eval
   over to some other type of safe(r) script loader.

   Bug 1584564 tracks making sure calls to require.js are safe.

6) Adds cld-worker.js to the allowlist. Bug 1584605 is for refactoring that
   eval usage, which is decidedly non-trivial.

7) Does _not_ enforce the eval restrictions for workers. While I've gotten
   try to be green and not throw up any instances of eval-usage by workers,
   it is much safer to deploy this is Telemetry-only mode for Workers for
   a little bit to see if anything pops up from the Nightly population.

   Bug 1584602 is for enforcing the checks.

Differential Revision: https://phabricator.services.mozilla.com/D47480

--HG--
extra : moz-landing-system : lando
2019-10-08 17:31:35 +00:00
Alexander Surkov
7544bd8298 Bug 1586836 - remove <xul:textbox> from a11y tests r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D48576

--HG--
extra : moz-landing-system : lando
2019-10-08 17:29:16 +00:00
John Lin
2341df44ac Bug 1581902 - p6: introduce a pref to enable/disable H.264 for WebRTC. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D46368

--HG--
extra : moz-landing-system : lando
2019-10-08 17:16:01 +00:00
John Lin
8f1bf15aa3 Bug 1581902 - p5: check H.264 hardware availability. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D46367

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:52 +00:00
John Lin
36bb9562d3 Bug 1581902 - p4: add HW H.264 feature to GfxInfo. r=esawin
Recycle FEATURE_WEBRTC_HW_ACCELERATION constant and rename it for H.264.

Differential Revision: https://phabricator.services.mozilla.com/D47370

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:44 +00:00
John Lin
e1b8252731 Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

Differential Revision: https://phabricator.services.mozilla.com/D47369

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:35 +00:00
John Lin
7f69cb2948 Bug 1581902 - p2: add HW H.264 check and rename methods. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D47368

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:23 +00:00
John Lin
3ab45bc445 Bug 1581902 - p1: use MediaDataEncoder on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D46366

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:15 +00:00
Andrew Swan
50fda19ea0 Bug 1585588 Fix screenshots cross-doc adoption r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D48338

--HG--
extra : moz-landing-system : lando
2019-10-08 17:00:25 +00:00
Oana Pop Rus
1c5bdaa74c Bug 1571863 - Disable browser_dbg-worker-scopes.js on linux, windows and mac. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48267

--HG--
extra : moz-landing-system : lando
2019-10-08 16:53:12 +00:00
Brian Grinstead
5cfb7798a4 Bug 1586878 - Replace <xul:textbox> with <html:input> in test_add_remove_dictionaries.xul;r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D48419

--HG--
extra : moz-landing-system : lando
2019-10-08 17:13:43 +00:00
Cosmin Sabou
5366aca380 Bug 1585437 - Mark tests as fail-if on fission. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D48276

--HG--
extra : moz-landing-system : lando
2019-10-07 13:58:25 +00:00
Edouard Oger
79a871cd9c Bug 1577690 - WebChannel support for optional Sync. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46316

--HG--
extra : moz-landing-system : lando
2019-10-08 15:19:23 +00:00
Emma Malysz
2e3c4bba36 Bug 1586862, replace XUL textbox with HTML input and generic XUL box in testcases within dom directory r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48450

--HG--
extra : moz-landing-system : lando
2019-10-08 15:32:07 +00:00
Jeff Muizelaar
c572d06005 Bug 1516286. WR Fallback: Do the empty check later. r=aosmond
What we actually care about here is whether itemRect is empty bceause that's
the what we'll use for the actual surface size.

Differential Revision: https://phabricator.services.mozilla.com/D48548

--HG--
extra : moz-landing-system : lando
2019-10-08 14:20:40 +00:00
Junior Hsu
74d30daaec bug 1566868 - coop comparison with top-level parents r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48464

--HG--
extra : moz-landing-system : lando
2019-10-08 16:58:24 +00:00
James Graham
e056e81c8f Bug 1580097 - Revert bogus metadata change, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D48571

--HG--
extra : moz-landing-system : lando
2019-10-08 16:51:08 +00:00
Erik Rose
8b0b68e6a9 Bug 1232403 - Upgrade to sphinx-js 2.8. r=ahal
This should fix the doc builds on Windows, as sphinx-js added Windows support in 2.3.1 and 2.4. We also now get support for variadic args, @deprecated, and @see, along with other features.

sphinx-js 2.7.1 changed the default cwd to be the one containing conf.py, so I also had to twiddle `jsdoc_config_path`.

Let some other pipenv pinnings update themselves as well, as, if I don't, they'll just update themselves the next time somebody runs `mach doc`, dirtying their tree.

I suspect this also fixes bug 1556460, whose equivalent bug in sphinx-js is https://github.com/mozilla/sphinx-js/issues/106. IOW, it should no longer break with versions of jsdoc >= 3.6.

Differential Revision: https://phabricator.services.mozilla.com/D48122

--HG--
extra : moz-landing-system : lando
2019-10-04 22:02:31 +00:00
Andreea Pavel
ab8a9b521f Bug 1388256 - disabled browser_caching_name.js on debug mac and win, linux64 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48510

--HG--
extra : moz-landing-system : lando
2019-10-08 16:13:31 +00:00
Nicolas Silva
a68a1fa1cd Bug 1587084 - Prevent disabling picture caching temporarily. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48555

--HG--
extra : moz-landing-system : lando
2019-10-08 15:47:46 +00:00
Edouard Oger
da3f0d0753 Bug 1581709 - Use sessionTokens for OAuth requests. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46517

--HG--
extra : moz-landing-system : lando
2019-10-08 15:45:06 +00:00
Razvan Maries
9c27546918 Backed out changeset 6852bdb8d8c5 (bug 1581709) for Linting failures. CLOSED TREE 2019-10-08 18:42:11 +03:00