Commit Graph

639048 Commits

Author SHA1 Message Date
Nicolas Chevobbe
36e515d435 Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
Doing this allows us to use native `extends` instead of
the custom one.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:05:51 +00:00
Nicolas Chevobbe
c273e7f9d4 Bug 1463128 - Rename WebConsoleUI.owner into WebConsoleUI.hud; r=bgrins.
Renaming this property makes it easier to grasp what
it represents (instead of the vague `owner` term).

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:04:53 +00:00
Emily Toop
c616a388d1 Bug 1462018 - Add API for taking screenshot of visible page. r=geckoview-reviewers,snorp
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

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

--HG--
extra : moz-landing-system : lando
2019-02-26 10:51:02 +00:00
Dorel Luca
cde6aa9ebe Backed out 2 changesets (bug 1335740) for devtools failures. CLOSED TREE
Backed out changeset 1bddabb7bafb (bug 1335740)
Backed out changeset e31483efc331 (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
extra : rebase_source : e6fc9bc5fc3eac450e65d6ff38b672b01a4cbe5d
2019-02-27 12:00:27 +02:00
yulia
be92800480 Bug 1527294 - implement deprecation notice for shader editor, canvas editor, and audio editor; r=pbro
The goal of this deprecation notice is to inform people that these panels are going away. This code should be short lived, only firefox versions 67-68.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:08:52 +00:00
yulia
6b47255bce Bug 1530554 - Fix expression evaluation in worker threads; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21226

--HG--
extra : moz-landing-system : lando
2019-02-26 15:58:21 +00:00
arthur.iakab
20c9fd087e Bug 1525117 - disable long-url-list-stack-overflow.html on Windows 7 debug r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D21165

--HG--
extra : moz-landing-system : lando
2019-02-26 11:09:24 +00:00
Martin Stransky
1f8f77f796 Bug 1530625 - Enable system titlebar on Gnome/X.org sessions due mutter Bug 1530625 and disable titlebar X shape mask on mutter/X.org, r=lsalzman
- Detect current desktop session and disable shape mask on Mutter/X.org due to Bug 1530252 (mutter bug).
- Use system titlebar on Mutter/X.org as we can't draw the titlebar reliably.
- Remove widget.default-hidden-titlebar from prefs. When it's defined it overrides default titlebar detection heuristics now.
- Don't use shape masks at all on Mutter/x.org. When system titlebar is hidden in this case (by user choice) it has opaque corners unless
  argb visual is selected.
- Use Window manager decorations on Gnome Classic session, that works better than client decorations.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:46:15 +00:00
Mark Banner
11c44b6ae3 Bug 1522521 - Port browser_bug655584 to QuantumBar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D21245

--HG--
rename : browser/base/content/test/general/browser_bug655584.js => browser/components/urlbar/tests/browser/browser_switchTab_closesUrlbarPopup.js
extra : moz-landing-system : lando
2019-02-27 08:06:12 +00:00
Mark Banner
63c9c2927f Bug 1522521 - Port the new browser_switchToTab_closes_newtab.js to QuantumBar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D21244

--HG--
extra : moz-landing-system : lando
2019-02-27 08:05:57 +00:00
Mark Banner
df02cd3c5f Bug 1522521 - Move and correct indentation in browser_bug555767.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D21243

--HG--
rename : browser/base/content/test/general/browser_bug555767.js => browser/components/urlbar/tests/browser/browser_switchToTab_closes_newtab.js
extra : moz-landing-system : lando
2019-02-27 08:05:38 +00:00
Mark Banner
7d00f1921c Bug 1522438 - Port Customizable UI tests to QuantumBar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21031

--HG--
extra : moz-landing-system : lando
2019-02-26 23:28:34 +00:00
Julian Descottes
2f48ae10e8 Bug 1530833 - Use correct document in browser_aboutdebugging_telemetry_runtime_updates.js;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D21271

--HG--
extra : moz-landing-system : lando
2019-02-27 03:24:25 +00:00
Glenn Watson
fde9185d49 Bug 1530915 - Change external scroll offset to be a vector. r=emilio
Change the external scroll offset to be a vector, rather than a
point. This can also be updated gecko-side in future, but for
now is converted to a vector at the API boundary.

Also plumb through the external scroll offset so that it is stored
inside the ScrollFrameInfo in a spatial node. This will allow
modifying the transforms that the clip-scroll tree creates to
take into account the external scroll offset in future.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 05:26:50 +00:00
Makoto Kato
f6085c16d6 Bug 1524926 - Move some CSS files from mobile/android to toolkit. r=geckoview-reviewers,snorp
Although about.css, aboutMemory.css and aboutSupport.css are mobile-specific
style, these CSS files are used in toolkit, not mobile/android.
Since GeckoView doesn't has chrome.jar, these files are missing. So we should
move these CSS files to toolkit since we have mobile theme in toolkit.

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

--HG--
rename : mobile/android/themes/core/about.css => toolkit/themes/mobile/global/about.css
rename : mobile/android/themes/core/aboutMemory.css => toolkit/themes/mobile/global/aboutMemory.css
rename : mobile/android/themes/core/aboutSupport.css => toolkit/themes/mobile/global/aboutSupport.css
extra : moz-landing-system : lando
2019-02-26 14:54:45 +00:00
Csoregi Natalia
d713b1a85a Merge mozilla-central to autoland. CLOSED TREE 2019-02-27 06:35:29 +02:00
Csoregi Natalia
2a6f3dde00 Merge inbound to mozilla-central. a=merge 2019-02-27 06:31:28 +02:00
Csoregi Natalia
50a7e15520 Merge autoland to mozilla-central. a=merge 2019-02-27 06:29:10 +02:00
Gurzau Raul
9adf5b0182 Backed out changeset 2a034c02b842 (bug 1530773) for bustage at interface/FuzzingInterface.h 2019-02-27 06:01:39 +02:00
Jan-Ivar Bruaroey
5739f01e2d Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-02-27 03:51:14 +00:00
Jan-Ivar Bruaroey
1901f71c69 Bug 1335740 - getUserMedia() NotAllowedError in http (pref'd on), & [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19549

--HG--
extra : moz-landing-system : lando
2019-02-27 03:51:07 +00:00
Paul Bone
5a9e06b14f Bug 1506761 - Fix existing spelling error r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D20813

--HG--
extra : moz-landing-system : lando
2019-02-27 03:36:56 +00:00
Paul Bone
1913e73f45 Bug 1506761 - Add a fraction threshold for collecting the nursery r=sfink
We collect the nursery in idle time if there is less than 256KB of space
remaining.  However when the nursery is small this doesn't make sense, so
add a percentage-based threshold to be used when the nursery is small.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 03:36:54 +00:00
Daisuke Akatsuka
4b869d9db6 Bug 1525533: Stop supporting inspection of addon in Browser Toolbox. r=jdescottes,rpl
Depends on D20786

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

--HG--
extra : moz-landing-system : lando
2019-02-27 01:57:19 +00:00
Gurzau Raul
8b285d0a8f Backed out changeset 279a75b5a6d4 (bug 1429432) for failing at test_notification_insecure_context.html on a CLOSED TREE. 2019-02-27 03:25:08 +02:00
Bogdan Tara
18bcb54a7e Backed out changeset bf486c5f798b (bug 1522246) for ES Lint failure CLOSED TREE 2019-02-27 02:51:26 +02:00
Bogdan Tara
a780967ed0 Backed out changeset 592350649c0f (bug 1522246) for browser_test_performance_metrics.js failures CLOSED TREE 2019-02-27 02:50:41 +02:00
Brian Hackett
d9d9f82b72 Bug 1522246 - Don't check for information from shared worker in test. 2019-02-26 14:28:43 -10:00
Nicholas Nethercote
f476546aaa Bug 1530311 - Add a length check to HashTable::reserve(). r=luke
Also add an assertion to a similar function in PLDHashTable.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 00:08:13 +00:00
Mike Hommey
fb0665284b Bug 1530562 - Enable DMD by default when possible. r=mshal
And remove the manual --enable-dmd in in-tree mozconfigs, as well as
--enable-profiling, which is implied by --enable-dmd.

This disables DMD on add-on-devel builds, which don't look like they
were actually meant to have DMD enabled in the first place (they only do
because they use the nightly mozconfig on all branches, and as a matter
of fact, the nightly mozconfig didn't enable DMD before bug 1409739)

This enables DMD on mingw builds with the same conditions applied as
other platforms, meaning that it's not enabled on opt builds on release
branches.

And this enables DMD on plain builds, which, from this perspective,
reflect local developer builds, and this is the expected effect.

Depends on D21161

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:07:04 +00:00
Mike Hommey
9ca5062588 Bug 1530562 - Set SmokeDMD compiler flags depending on compiler type rather than target OS. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D21161

--HG--
extra : moz-landing-system : lando
2019-02-26 22:06:37 +00:00
Daosheng Mu
1048e35c21 Bug 1530588 - Remove duplicate copy of geckoState in VRSystemManagerExternal::PushState. r=kip
MozReview-Commit-ID: Emmkw2CazxB

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

--HG--
extra : moz-landing-system : lando
2019-02-27 00:02:06 +00:00
Emilio Cobos Álvarez
90554be433 Bug 1530826 - Fix computed value clamping. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D21268

--HG--
extra : moz-landing-system : lando
2019-02-26 23:34:25 +00:00
Johann Hofmann
a56953c8cc Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21001

--HG--
extra : moz-landing-system : lando
2019-02-26 22:37:22 +00:00
Andrew Erickson
9864393fc6 Bug 1530846: fix issue when installing hostutils r=gbrown
Per https://pythonhosted.org/six/index.html, urlopen resides in urllib.request.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:38:35 +00:00
Csoregi Natalia
86fd564657 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-26 23:53:15 +02:00
Csoregi Natalia
0858aaa5b8 Merge autoland to mozilla-central. a=merge 2019-02-26 23:49:43 +02:00
Andrew Halberstadt
26d3e5b30a Bug 1530775 - [tryselect] Fix bug when migrating try syntax presets, r=kats,a=NPOTB
Differential Revision: https://phabricator.services.mozilla.com/D21250

--HG--
extra : rebase_source : 1688a24623f92134cd91de087d52cf8fc607476c
2019-02-26 14:33:03 -05:00
Ehsan Akhgari
6c217088a5 Bug 1530076 - Part 2: Add a test for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=baku
Depends on D20901

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

--HG--
extra : moz-landing-system : lando
2019-02-26 18:50:22 +00:00
Ehsan Akhgari
45c7ece733 Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet.  So we would need to re-evaluate this decision after that
information becomes available.  For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
Ryan VanderMeulen
fc4475e69c Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21238

--HG--
extra : moz-landing-system : lando
2019-02-26 23:21:05 +00:00
Gurzau Raul
0138685180 Backed out changeset de46aec7227e (bug 1528648) for 'style' bustage on Windows platform on a CLOSED TREE. 2019-02-27 01:40:34 +02:00
Alexis Beingessner
42eb2a2c50 Bug 1529976 - only parse spec capabilities that are objects. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D21237

--HG--
extra : moz-landing-system : lando
2019-02-26 18:12:05 +00:00
Robert Strong
fcc4fdabfe Bug 1530548 - Move the definition of MAXPATHLEN after includes in updatedefines.h. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D21135

--HG--
extra : moz-landing-system : lando
2019-02-26 17:35:31 +00:00
Jean-Yves Avenard
dc992b8658 Bug 1530322 - Abort trim if an overflow occurred during earlier time calculation. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21209

--HG--
extra : moz-landing-system : lando
2019-02-26 17:32:54 +00:00
Sam Foster
8d22ea9e10 Bug 1149500 - Delay autofill until the document is visible. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20046

--HG--
extra : moz-landing-system : lando
2019-02-26 20:51:56 +00:00
Julian Descottes
61a763b33b Bug 1525619 - Update typography for RuntimeInfo r=ladybenko,daisuke
Depends on D20472

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:43:17 +00:00
Julian Descottes
446b55e82e Bug 1525619 - Add Disconnect button as disabled in the RuntimeInfo layout r=daisuke,ladybenko
Depends on D20471

I can drop this changeset if we prefer, but this is how I imagine the disconnect button would fit in the RuntimeInfo.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:46 +00:00
Julian Descottes
310f4e13bc Bug 1525619 - Update layout for RuntimeInfo to display device name on separate line;r=ladybenko,daisuke
Depends on D20464

For this change I moved all the layout logic for the RuntimeInfo h1 to RuntimeInfo.css
I don't know if we prefer to have layout info in base.css or in specialized components, but the RuntimeInfo header has a very specific structure.
I can't see how this would be worth having in base.css. And it is the only consumer for main-heading, so I removed all layout rules from base.css for main-heading.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:44 +00:00
Julian Descottes
16b6c78cce Bug 1525619 - Separate runtime action buttons from addon debug checkbox r=daisuke
Depends on D20439

I want to separate the addon checkbox and the load temporary addon for 2 reasons:
- we will get remove the checkbox after Bug 1525533
- we may support temporary addons for remote runtimes later

The "load temporary addon" might also move inside the Temporary Extensions category.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:37:07 +00:00