Commit Graph

670388 Commits

Author SHA1 Message Date
Adam Gashlin
28fa13a2e5 Bug 1561546 - Update theme when nsXPLookAndFeel prefs change. r=dholbert,jmathies
Also causes removing a pref to take effect immediately, and prevents
losing all color pref overrides when the theme changes.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 18:35:44 +00:00
Nathan Froyd
a66584728f Bug 1579523 - fix visibility definition for future NDKs on Android; r=nalexander
A previous patch defined `_LIBCPP_HIDE_FROM_ABI` to the empty string.
This definition worked for normal (opt/debug) builds, but
PGO-instrumented builds fell over with some linker errors.  A closer
look at the definition of `_LIBCPP_HIDE_FROM_ABI`:

```
#ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU
#  ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 0
#  else
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 1
#  endif
#endif

#ifndef _LIBCPP_HIDE_FROM_ABI
#  if _LIBCPP_HIDE_FROM_ABI_PER_TU
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_INTERNAL_LINKAGE
#  else
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION
#  endif
#endif
```

says that there are two macros involved there: one to set hidden visibility
(which we don't want), and another to exclude the function definition
from explicit instantiation.  The semantics of this are not obvious (the
clang documentation only documents this attribute in terms of C++
templates; the particular case we're interested in sets the attribute on
normal function definitions).  But roughly, what this does is that it
forces the compiler to see that an equivalent function definition is
provided external to the compilation unit, so it doesn't have to keep
the annotated function definition around.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:13:36 +00:00
Martin Stransky
eee009c581 Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak
- When widget.wayland_cache_mode=1 use direct rendering to wl_buffer only when there isn't any
  cached rendering pending and we're updating one big piece of screen (video playback/scrolling etc..)

- Disable frame callback commits between WindowSurfaceWayland::Lock and WindowSurfaceWayland::Commit
  as the buffer can be updated by gecko compositor

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:32:48 +00:00
Erica Wright
8fb5529dbc Bug 1579487 - Change the Protections database API to return the correct date in the user's timezone. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45064

--HG--
extra : moz-landing-system : lando
2019-09-11 18:06:25 +00:00
Kevin Jacobs
4bf9806ed6 Bug 1562773 - Propagate Delegated Credential flag to nsITransportSecurityInfo r=keeler,jcj
This patch adds a new `mIsDelegatedCredential` parameter to nsITransportSecurityInfo, indicating whether or not a delegated credential keypair was used in the TLS handshake (see: https://tools.ietf.org/html/draft-ietf-tls-subcerts-03) .

This functionality is only available if _security.tls.enable_delegated_credentials_ is set to true.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:19:57 +00:00
Jeff Muizelaar
b8ad0be101 Bug 1580543. Update to VS 2017 for WebRender appveyor. r=kvark
This should hopefully fix WebRender CI.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:30:02 +00:00
Kristen Wright
2a7dbd7709 bug 1296898 - Memory api (pulled from erahm's experiment) as a part of the webextension api r=mixedpuppy
Webextension api to get memory usage. Also brings back memory.jsm, as it is used by the api. Adds test_ext_memory.js to test ext-memory.js' functionality and permissions.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:34:04 +00:00
Paolo Amadini
ff66e620e9 Bug 1539000 - Prevent Fluent exceptions when the localized value is too long. r=zbraniecki
This is achieved by not including the offending preference state in the text provided to screen readers, while still providing the full value. It currently happens only for the "media.wmf.disable-d3d11-for-dlls" preference in new profiles, and for "network.proxy.autoconfig_url" because it is set to a "data:" URL in automation. While preferences like "browser.uiCustomization.state" might theorectically grow over the limit of 2500 characters, this may be rare as they seem to be typically around 1000 characters.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:14:39 +00:00
Gabriel Luong
dcd3f3a19f Bug 1580312 - Refactor ResponsiveUI into its own module. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D45443

--HG--
rename : devtools/client/responsive/manager.js => devtools/client/responsive/ui.js
extra : moz-landing-system : lando
2019-09-10 21:36:07 +00:00
Steven Michaud
a57ff23303 Bug 1201401 - Work around a crash in CVCGDisplayLink::getDisplayTimes. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D45426

--HG--
extra : moz-landing-system : lando
2019-09-11 16:49:45 +00:00
Geoff Brown
84b7cdad58 Bug 1579073 - Copy robocop test files required by junit to a junit-specific location; r=agi
The geckoview-junit tests make a few http requests to the server and in doing so
rely on robocop resources. This patch creates a junit-specific location in the test
package and uses those files instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:43:52 +00:00
Dan Mosedale
dadeeba36b Bug 1567926 - switch newtab unit tests to tier 1, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45475

--HG--
extra : moz-landing-system : lando
2019-09-11 14:19:44 +00:00
Jason Laster
43f6a1b816 Bug 1580362 - Rewinding while recording should rewind to the last breakpoint. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45473

--HG--
extra : moz-landing-system : lando
2019-09-11 04:16:15 +00:00
Brian Grinstead
9ccf6b264c Bug 1579540 - Migrate urlbar.viewSiteInfo.label from dtd to ftl r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45467

--HG--
extra : moz-landing-system : lando
2019-09-11 16:36:14 +00:00
Brian Grinstead
ccde06e7e2 Bug 1579540 - Introduce browser.ftl and load it in browser.xhtml r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45466

--HG--
extra : moz-landing-system : lando
2019-09-11 16:36:10 +00:00
Dzmitry Malyshau
6c2bf0f5ad Bug 1575663 - Improve WebIDL bindgen of enum variants starting with a digit r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42980

--HG--
extra : moz-landing-system : lando
2019-09-11 16:10:45 +00:00
Ehsan Akhgari
1e7286932d Bug 1580410 - Increase the timeout for browser_blockingMessaging.js by 2x in ccov tests
Differential Revision: https://phabricator.services.mozilla.com/D45546

--HG--
extra : moz-landing-system : lando
2019-09-11 15:45:12 +00:00
Jason Laster
6dd9c29f22 Bug 1579658 - Hovering on the console jump button should update the viewport. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45133

--HG--
extra : moz-landing-system : lando
2019-09-11 03:43:30 +00:00
Erica Wright
708ecf499f Bug 1579947 - Edit font sizes and colors to match the mock. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45380

--HG--
extra : moz-landing-system : lando
2019-09-11 15:54:46 +00:00
Jason Laster
c91c3ac848 Bug 1578602 - Update buttons ux. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45131

--HG--
extra : moz-landing-system : lando
2019-09-11 15:58:22 +00:00
Brian Hackett
5b83776c8a Bug 1580104 Part 2 - Don't treat middleman processes as websocket child processes, r=mayhemer.
Depends on D45464

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:07:46 +00:00
Dzmitry Malyshau
3edde5ecd0 Bug 1575384 - WebIDL: Better error message for trying to inherit from a mixin r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42736

--HG--
extra : moz-landing-system : lando
2019-09-11 16:05:19 +00:00
Mihai Tabara
cfc233eac3 Bug 1537713 - switch Devedition to declarative artifacts.r=sfraser a=release
Switch Devedition to declarative artifacts

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:46:14 +00:00
Noemi Erli
ba2490c251 Backed out changeset d0fb6559c22e (bug 1579331) for failing in browser_contextmenu.js CLOSED TREE 2019-09-11 19:05:35 +03:00
Noemi Erli
f74e07d847 Backed out 2 changesets (bug 1543810) for failing in browser_togglePointerEventsNone.js CLOSED TREE
Backed out changeset a0c079f40c78 (bug 1543810)
Backed out changeset 5aec6172783d (bug 1543810)
2019-09-11 19:04:59 +03:00
Mihai Alexandru Michis
95b09298a4 Backed out changeset 7876583b2407 (bug 1577236) for causing failures in calc-rounding-001.html CLOSED TREE 2019-09-11 18:48:22 +03:00
Nick Alexander
a2446c4186 Bug 1298921 - [marionette] Don't restrict Marionette:Quit to Firefox only. r=webdriver-reviewers,geckoview-reviewers,ato,snorp,agi
Formerly this assertion for Firefox was added because it didn't work for Fennec,
and other mobile apps. Meanwhile we shouldn't have this hard restriction anymore,
given that no exception is thrown by the code when running with GeckoView based
app, and also the Thunderbird support would benefit from it.

As we know this method doesn't quit the GeckoView app, and geckodriver itself
has to ensure to gracefully/force stop the process on Android.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:07:28 +00:00
Valentin Gosu
c2c959abc7 Bug 1579331 - URL constructor fails when input is a data URL without a comma r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45372

--HG--
extra : moz-landing-system : lando
2019-09-11 14:03:40 +00:00
Valentin Gosu
078dddfc0a Bug 1576386 - Don't recompute the networkId during shutdown r=michal
Calling the windows APIs may block shutdown.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 14:38:52 +00:00
Erica Wright
377d19f729 Bug 1580002 - Hide automatically scanned message when user is not subscribed to Monitor r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45430

--HG--
extra : moz-landing-system : lando
2019-09-11 08:32:38 +00:00
Francesco Lodolo (:flod)
bfeec26afc Bug 1580403 - Clean up certviewer.ftl (localization comment, trailing spaces, duplicate string) r=johannh,Pike,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D45487

--HG--
extra : moz-landing-system : lando
2019-09-11 14:01:33 +00:00
Mike Conley
051674c0c7 Bug 1543027 - Make Picture-in-Picture player window a dialog window type. r=JSON_voorhees
This also seems to make the player window buttons work more reliably with touchscreens.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 00:08:09 +00:00
Edgar Chen
811663c08e Bug 1578448 - Make img.complete align with spec; r=bzbarsky
If the img has srcset attribute and the current request isn't complete or broken,
the img.complete should return false per spec,
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-complete.

We should check srcset or src attribute, checking only mCurrentRequest isn't
enough given that updating mCurrentRequest happens async.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 14:37:39 +00:00
Mike Conley
510c6cddf1 Bug 1543810 - Regression test. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D45232

--HG--
extra : moz-landing-system : lando
2019-09-11 00:21:38 +00:00
Mike Conley
b87f19be5a Bug 1543810 - Make sure Picture-in-Picture toggle works on videos that have pointer-events: none. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D45231

--HG--
extra : moz-landing-system : lando
2019-09-11 00:11:22 +00:00
Andrew McCreight
9d5c278b92 Bug 1580427 - Fix the nativeType for WindowProxy. r=bzbarsky
Right now, we end up with the forward declaration of
nsIDOMWindowProxy, which does not exist, instead of the proper type.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 14:25:18 +00:00
Mike Conley
fd267a2cc7 Bug 1545924 - Make sure to never unhide the Picture-in-Picture toggle if the feature is disabled. r=JSON_voorhees
This patch centralizes the logic where the videocontrols UAWidget removes the
"hidden" attribute from the Picture-in-Picture toggle, and makes sure we only
do this if the PiP toggle is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 00:10:04 +00:00
championshuttler
873e68649c Bug 1570772 - Fix license text for some files. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45532

--HG--
extra : moz-landing-system : lando
2019-09-11 14:24:29 +00:00
John Dai
3cefe1baf5 Bug 1580177 - Fix dom/events/test/test_bug1518442.html fail when Gecko merges to Beta; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D45513

--HG--
extra : moz-landing-system : lando
2019-09-11 14:23:56 +00:00
Andreea Pavel
5c6c36883a Bug 1572822 - disable test onhover-syncbases.html.ini on all platforms r=egao
Differential Revision: https://phabricator.services.mozilla.com/D45479

--HG--
extra : moz-landing-system : lando
2019-09-11 05:50:23 +00:00
Tim Huang
ed382c5ab7 Bug 1578051 - Apply hovering effect on the info button if it gets tab focus. r=nhnt11
By adding a ':-moz-focusring' on the info button.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 05:27:42 +00:00
Ehsan Akhgari
7e6d000cd3 Bug 1579552 - Update the cookie path matching algorithm per RFC6265; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45427

--HG--
extra : moz-landing-system : lando
2019-09-11 11:07:12 +00:00
Ehsan Akhgari
ebf23e7983 Bug 1580284 - Remove the nsIPrivateModeCallback unused interface; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45410

--HG--
extra : moz-landing-system : lando
2019-09-11 11:02:29 +00:00
Yura Zenevich
92b64e718f Bug 1578494 - make MOUSE_INTERACTIVE_ONLY failure check less strict and only look at click action. r=nchevobbe
Depends on D45217

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:04:40 +00:00
Yura Zenevich
1ed731d560 Bug 1578494 - ignore images inside anchors for semantic check as they get a propagated jump action. r=nchevobbe
Depends on D45216

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

--HG--
extra : moz-landing-system : lando
2019-09-11 13:59:23 +00:00
Yura Zenevich
d7ee1a870c Bug 1578494 - ignore valid labels with "label for" relations as they are clickable. r=nchevobbe
Depends on D45215

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

--HG--
extra : moz-landing-system : lando
2019-09-10 15:48:25 +00:00
Yura Zenevich
9e5e47e8ff Bug 1578494 - separate accessible roles into the ones that are expected to be interactive from keyboard accessible ones, better account for ARIA comboboxes and listboxes. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D45215

--HG--
extra : moz-landing-system : lando
2019-09-11 14:09:03 +00:00
Yura Zenevich
fa78314c8f Bug 1578494 - include ROLE_PARENT_MENUITEM (currently selected/visible menu item) into a set of interactive roles. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D45214

--HG--
extra : moz-landing-system : lando
2019-09-10 14:14:52 +00:00
Jim Blandy
68578ceae3 Bug 1564230: Properly report OOM from js::DebugEnvironments::updateLiveEnvironments. r=jorendorff
I don't have a test for this that doesn't take several minutes to pass, and the
change seems too obvious to require a test.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 13:41:47 +00:00
Shane Caraveo
60f83e71f3 Bug 1411046 fix emiting uninstall events on startup if extensions were removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D43551

--HG--
extra : moz-landing-system : lando
2019-09-11 14:00:20 +00:00