Commit Graph

633186 Commits

Author SHA1 Message Date
Jan Henning
696af8e1a4 Bug 1518226 - Request foreground service permission. r=snorp
We use foreground services, so this is necessary in order to be able to target
Android P.

The GeckoView example app needs it for the crash handling service.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:20 +00:00
Jan Henning
879d1a037c Bug 1503455 - Part 4: Compile with SDK28. r=nalexander,snorp
android.test.* is no longer part of the main framework, so as per
https://developer.android.com/training/testing/set-up-project,
- we must no longer declare them as a *required* dependency in our manifests
- we must explicitly include a dependency on them in our build config

This will temporarily break running tests depending on android.test.* (i.e.
mainly Robocop) on devices using P or newer until we also start targeting P as
well.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:11 +00:00
Jan Henning
110351a055 Bug 1503455 - Part 3: Filter classpath for SDK bindings generation. r=nalexander
Once we start compiling with API28, android.test.* is no longer part of the main
framework JAR and will be included from separate libraries instead.
Those additional JARs will then subsequently show up on the class path in
Gradle, too.

Because our SDKProcessor is currently set up to process only one JAR at a time
and because we don't actually need to generate bindings for those test classes,
we simply filter them out again.

We explicitly only filter the android.test.* JARs and use findAll so that if the
android classpath unexpectedly gains another member, we're alerted to that fact
and can consciously take a decision on whether to ignore it as well or not.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:04 +00:00
Jan Henning
efeb6ace63 Bug 1503455 - Part 2: Remove compile SDK setting from configure. r=nalexander
Post bug 1498406, this seems to be unused and doesn't affect anything.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:31:57 +00:00
Jan Henning
f04abdeceb Bug 1503455 - Part 1: Update some test library versions. r=nalexander
Not strictly required, but since we're in the area anyway...

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:31:50 +00:00
Timothy Guan-tin Chien
7417fbe066 Bug 1510406 - Use UA Widget in XML Pretty Print r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D13310

--HG--
extra : moz-landing-system : lando
2019-01-28 18:38:57 +00:00
Nick Alexander
dc88caf991 Bug 1520226 - Make GeckoView set permanentKey on <browser> elements for Marionette. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D17577

--HG--
extra : moz-landing-system : lando
2019-01-28 18:35:45 +00:00
Timothy Guan-tin Chien
9f9d259c76 Bug 1507895 - Part VI, Reword the content process XBL binding assertion r=smaug
This patch cleans up the assertion added in bug 1426492.
With that we have disallowed all bindings in content HTML.

The XMLPrettyPrint binding was removed in bug 1503019.

Depends on D17575

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

--HG--
extra : moz-landing-system : lando
2019-01-25 15:07:06 +00:00
Timothy Guan-tin Chien
c013639646 Bug 1507895 - Part V, Remove dom.ua_widget.enabled pref r=smaug
With all the dependency removed this pref can be safely removed.

Depends on D17574

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:33:25 +00:00
Timothy Guan-tin Chien
38f8d61ad5 Bug 1507895 - Part IV, Remove the XBL pluginProblem binding r=smaug
This patch removes the XBL pluginProblem binding and have the in-content
UI always created by the UA Widget.

Depends on D17573

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

--HG--
extra : moz-landing-system : lando
2019-01-26 07:51:10 +00:00
Timothy Guan-tin Chien
f1367fab83 Bug 1507895 - Part III, Remove the marquee binding r=smaug
This patch removes the XBL marquee binding and always uses
UA Widget for the internal "gut" of the marquee element.

Depends on D17572

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

--HG--
extra : moz-landing-system : lando
2019-01-25 14:24:43 +00:00
Timothy Guan-tin Chien
ccf133638c Bug 1507895 - Part II, Remove the datetimebox binding r=smaug
This patch removes the datetimebox binding and always use
UA Widget for the job.

Depends on D17571

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:39 +00:00
Timothy Guan-tin Chien
d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Eugen Sawin
effaab9cc0 Bug 1522228 - [1.0] Add baseUri to ContextElement and enforce absolute URI for linkUri. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D17567

--HG--
extra : moz-landing-system : lando
2019-01-28 18:28:19 +00:00
Timothy Guan-tin Chien
0de6e5d4aa Bug 1518932 - Convert menulist to custom element r=paolo
This custom element replaces XBL <content> usage by directly prepend the two needed child nodes when the element is connected.

This is doable because

- There isn't any direct access of child nodes under <menulist>. Everyone seems to access via .menupopup, which is usually the only child.
- We don't need to move the children under <menulist>. If we need to and if the child is a <xbl:children> (which could happen if <menulist> is inside an XBL <content> that just get cloned to the document), the layout will get very confused and crash (see finding in bug 1514926)

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

--HG--
rename : toolkit/content/widgets/menulist.xml => toolkit/content/widgets/menulist.js
extra : moz-landing-system : lando
2019-01-28 18:24:08 +00:00
Timothy Guan-tin Chien
c5b97c4ccd Bug 1518932 - Create BaseControlMixin, allowing BaseControl to inherit other native XULElement classes r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D14925

--HG--
extra : moz-landing-system : lando
2019-01-28 18:24:06 +00:00
Timothy Guan-tin Chien
d524c53377 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:21:59 +00:00
Nika Layzell
9b58a2ab87 Bug 1521189 - Asynchronously destroy WindowGlobalChild, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D17030

--HG--
extra : moz-landing-system : lando
2019-01-28 18:09:13 +00:00
Francesco Lodolo (:flod)
2bf51c86b5 Bug 1523243 - Update URLs in LEO searchplugin, remove Romansh variant r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D17803

--HG--
extra : moz-landing-system : lando
2019-01-28 16:54:41 +00:00
Jan Henning
348e2d672b Bug 1497460 - Remove reflection usage in ShortcutUtils. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17775

--HG--
extra : moz-landing-system : lando
2019-01-28 15:38:09 +00:00
Jan de Mooij
e8e1a9b725 Bug 1521491 part 4 - Stop using JOF_JUMP for JSOP_LABEL. r=tcampbell
JSOP_LABEL isn't a jump instruction at all. This patch adds JOF_CODE_OFFSET and
uses it for JSOP_LABEL. This lets us simplify some code and avoids a rooting
hazard with the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 17:40:11 +00:00
Alex Chronopoulos
c7a3f72677 Bug 1522488 - Increase wait time before a new device enumeration after a device change event to avoid getting outdated list. r=padenot
The problem here is that the MediaStreamGraphImpl::mInputDeviceID is not reset after a device unplug. On a device-remove event of the active device MediaStreamGraphImpl::mInputDeviceID is reset when MediaStreamGraphImpl::CloseAudioInput is being executed. This method will not be executed if the new enumeration, on the MediaManager::OnDeviceChange, is returning the old outdated list of devices. This patch increases the wait time before the new enumeration in order to allow the system to update the provided device list.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 17:36:07 +00:00
Ehsan Akhgari
bfbc7123b5 Bug 1522912 - Add a test case for propagation of user activation flag to the reject handler of promises returned from the Storage Access API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17836

--HG--
extra : moz-landing-system : lando
2019-01-28 16:38:55 +00:00
Ehsan Akhgari
5ebc9bcaf0 Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17742

--HG--
extra : moz-landing-system : lando
2019-01-28 16:40:21 +00:00
Felipe Gomes
d5cbcacb8a Bug 1514757 - Remove InPermitUnload message listener once it has done its job. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17530

--HG--
extra : moz-landing-system : lando
2019-01-28 16:02:27 +00:00
Ryan Hunt
a05a3b1068 Bug 1523052 - Only flush pending scroll anchor selection when we have restyling to do. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17754

--HG--
extra : moz-landing-system : lando
2019-01-26 20:37:45 +00:00
Tom Prince
5d40d2aac2 Bug 1522380: [win64-aarch64] Add in-tree support for win64-aarch64 partner repacks; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D17454

--HG--
extra : moz-landing-system : lando
2019-01-25 16:07:33 +00:00
Tom Prince
c6cdf8e32d Bug 1522380: [win64-aarch64] Build win64-aarch64 on release branches; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D14665

--HG--
extra : moz-landing-system : lando
2019-01-25 16:07:32 +00:00
Tom Prince
3b43c82fd4 Bug 1522380: [win64-aarch64] Don't beetmove win64-aarch64 installers on release branches; r=nthomas
These builds aren't ready for general availability, so we don't want to publish
them. But we want to start building them now.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 16:07:31 +00:00
Tom Prince
0b741aa881 Bug 1521584: [win64-aarch64] Add win64-aarch64 release mozconfigs; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17452

--HG--
extra : moz-landing-system : lando
2019-01-26 09:50:27 +00:00
Marco Bonardo
e0fe1d8606 Bug 1520494 - follow-up: properly wait for the HTTP Server stop. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17835

--HG--
extra : moz-landing-system : lando
2019-01-28 16:22:38 +00:00
Belén Albeza
8d8ed6bd71 Bug 1506784 - UX implementation: show debug target info in about:devtools-toolbox r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D16553

--HG--
extra : moz-landing-system : lando
2019-01-28 16:12:15 +00:00
Andrew McCreight
0ff15fc634 Bug 1521510 - Keep a reference to the document in PaymentRequest. r=qdot
The current document of a window can change in between the time when a
PaymentRequest registers as an activity observer and when it attempts
to unregister, so keep a strong reference to the document. This is the
same issue as bug 1317805.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 22:12:39 +00:00
James Willcox
0f9084622b Bug 1507166 - Make test_omta_animations.html work under GeckoView r=birtles
The GeckoView test app doesn't handle visited link history, so disable
a couple tests that rely on that.

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

--HG--
extra : moz-landing-system : lando
2019-01-27 04:14:25 +00:00
James Willcox
84984eac60 Bug 1515789 - Ensure nsILoadURIDelegate::loadURI() is only called for toplevel redirects. r=smaug,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D16990

--HG--
extra : moz-landing-system : lando
2019-01-28 15:35:17 +00:00
Henrik Skupin
44e3c9066d Bug 1495062 - [geckodriver] Add commit id for 0.24.0 release. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D17825

--HG--
extra : moz-landing-system : lando
2019-01-28 15:30:44 +00:00
Dorel Luca
ce02c9eca3 Backed out changeset 159930eacfd7 (bug 1521491) for spidermonkey failure 2019-01-28 17:31:41 +02:00
Tom Schuster
35523d50cc Bug 1156077 - Remove the non-standard Proxy getPropertyDescriptor trap. r=bzbarsky,jorendorff
I am bit surprised myself, but just removing the getPropertyDescriptor trap seems to mostly work.
The only real special case here is the XPC Sandbox, which I changed to keep using its getPropertyDescriptorImpl.

testSetPropertyIgnoringNamedGetter.cpp didn't even really need its getPropertyDescriptor implementation.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 16:41:34 +00:00
Henrik Skupin
9abcc24777 Bug 1495062 - [geckodriver] Release 0.24.0. r=ato
Depends on D17682

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:20:03 +00:00
Henrik Skupin
bc2b2e1e2a Bug 1495062 - [geckodriver] Updated changelog for the 0.24 release. r=ato
Depends on D17681

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:03:24 +00:00
Henrik Skupin
a7f1d64843 Bug 1495062 - [webdriver] Release 0.39.0. r=ato
Depends on D17680

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:02:51 +00:00
Henrik Skupin
267486a4e5 Bug 1495062 - [mozversion-rust] Release 0.2.0. r=ato
Depends on D17679

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:22:37 +00:00
Henrik Skupin
927eabeb98 Bug 1495062 - [mozrunner-rust] Release 0.9.0. r=ato
Depends on D17678

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

--HG--
extra : moz-landing-system : lando
2019-01-28 15:22:44 +00:00
Henrik Skupin
32ca2a0c03 Bug 1495062 - [mozprofile-rust] Release 0.5.0. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D17678

--HG--
extra : moz-landing-system : lando
2019-01-28 15:22:56 +00:00
Alphan Chen
5c9b573069 Bug 1507286 - Convert content-sessionStore.jsm to C++ r=mikedeboer,nika
Test Plani: browser/components/sessionstore/test/

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

--HG--
extra : moz-landing-system : lando
2019-01-28 14:53:18 +00:00
Jan de Mooij
501ac77053 Bug 1521491 part 4 - Store IC index in jump target ops. r=tcampbell
The interpreter will use this to set the frame's ICEntry* pointer at jump target
ops and then it will just bump this pointer after each JOF_IC op. This way the
interpreter can use Baseline ICs with minimal overhead compared to the Baseline
JIT.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 13:51:07 +00:00
Jan de Mooij
3e1d451b87 Bug 1521491 part 3 - Fold BytecodeEmitter::checkTypeSet into BytecodeEmitter::emitCheck. r=tcampbell
The bytecode emitter used to call checkTypeSet for each JOF_TYPESET op. Despite
correctness asserts in the TypeScript code, this was pretty error prone. Doing
something similar for JOF_IC ops would have made it worse.

The solution is to move this check to BytecodeEmitter::emitCheck (called for
each opcode we emit), so we don't have to worry about this anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 13:50:38 +00:00
Jan de Mooij
628d68e8b0 Bug 1521491 part 2 - Stop treating JSOP_TRY as a jump target op. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D17113

--HG--
extra : moz-landing-system : lando
2019-01-28 13:50:13 +00:00
Jan de Mooij
59f47e9fa3 Bug 1521491 part 1 - Stop treating JSOP_ENDITER as a jump target op. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D17112

--HG--
extra : moz-landing-system : lando
2019-01-28 13:49:37 +00:00
Dorel Luca
65a9c73e4c Backed out changeset b8a1a3cca350 (bug 1521049) for devtools failures in devtools/client/webconsole/test/mochitest/browser_jsterm_context_menu_labels.js. CLOSED TREE
--HG--
extra : amend_source : 52e58d463e741382cf8b82bfa7a63af60ce6cbfa
2019-01-28 16:40:37 +02:00