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

633213 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe bc455f0e52 Bug 1522724 - Don't clobber visualScrollOffsetUpdate flag if the visual scroll update is higher priority. r=kats,botond
We need to do both of updates in the case where both updates in the same
transaction.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:48:30 +00:00
Mike Hommey 5f875e708a Bug 1522788 - Harmonize config.guess handling between mach and configure. r=chmanchester
In fact, "simply" use whatever python configure does to find a shell to
execute config.guess and config.sub, and get both the mozconfig content
and the real, canonicalized target alias. This has the side effect of
making builds with --target=$cpu use a complete obj-$cpu-$os default
objdir instead of obj-$cpu. This will also allow to change the
host-guessing logic without having to duplicate code.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 22:14:23 +00:00
Luca Greco 97d53a0f4a Bug 1483701 - Split and re-enable browser_ext_browserAction_popup_resize.js. r=mixedpuppy
This patch applies the following changes:

- Reduce the chances of retrieving the initial popup panel size while it is resizing, by comparing the
  content dimensions retrieved before and after the delay (which is already set to a value comparable
  to the time used by the resize debouncing timer), and wait until both the dimensions collected are the same

- split browser_ext_browserAction_popup_resize.js into two test files (as it seems, based on the investigations
  I did by reproducing this intermittent locally, that the part that can still fail intermittently from time
  to time with the change describe above is related to the testBrowserActionMenuResizeBottomArrow test case)

- move the test helpers shared between the two test files into a new head_browserAction.js support file

- re-enabled browser_ext_browserAction_popup_resize.js

- mark the new browser_ext_browserAction_popup_resize_bottom.js as disabled on debug build,
  because it is consistently triggering a "shutdown leak" failure when running locally

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

--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_popup_resize.js => browser/components/extensions/test/browser/browser_ext_browserAction_popup_resize_bottom.js
rename : browser/components/extensions/test/browser/browser_ext_browserAction_popup_resize.js => browser/components/extensions/test/browser/head_browserAction.js
extra : moz-landing-system : lando
2019-01-28 20:43:35 +00:00
Jan Henning 24c879e19f Bug 1510029 - Correctly set desktop mode viewport when creating a tab. r=esawin
The desktopMode property on Fennec's tab object is already being correctly being
preserved when (re)creating a tab [1], but we don't propagate its state to the
content window's desktop viewport mode setting.

[1] When restoring into a fresh tab, the session restore code passes the stored
desktopMode flag to addTab, whereas zombifying an existing tab destroys its
<browser>, but leaves the tab object's properties intact, so we merely need to
re-set the desktop viewport mode on the new <browser>'s content window.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:01:55 +00:00
Alexandre Poirot a0066e8731 Bug 1515862 - Remove Front's form argument. r=jdescottes
Now that form argument is no longer used by any front to set its actor ID,
we can remove this argument.

Have a particular look at:
* devtools/client/shared/test/test-actor-registry.js
which was the last Front to be manually instantiated and need some tweaks,
* canvas head.js to create canvas front via getFront,
* RDM manager.js, which requires the EmulationFront to be self managed.

Depends on D17615

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:52 +00:00
Alexandre Poirot 9a08694477 Bug 1515862 - Set global and target scope front IDs from getFront helper. r=jdescottes
Ideally, formAttributeName would be a field on the prototype of each front,
but unfortunately, Firefox doesn't support ES Class's fields yet. So it is
put as an instance attribute instead.

This patch streamline the manually set actorID and the retrieval of actor ID
from root or target front's form into `getFront` helper method.
So that all the specific related to the lazy actor is now inside of this helper.
It also moves the special "this.manage(this)" to this helper.
We might be able to followup on this one and finally have only the root front
being self managed. But the initialize method makes it hard.

Note the special tweak made to devtools/client/responsive.html/manager.js
Hopefully this can be removed once the target classes are merged.

Depends on D15832

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:50 +00:00
Alexandre Poirot 9db10d1d30 Bug 1515862 - Remove form passed as Front constructor. r=jdescottes
Only a couple of special cases where expecting to pass a full form object
as Front's second constructor argument.
Refactor them to ensure calling Front's form method instead in order to align
with typical protocol.js's behavior.

Depends on D17614

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:48 +00:00
Alexandre Poirot 4199139118 Bug 1515862 - Remove detail feature from protocol.js. r=jdescottes
This feature is only used by node and domrulestyle actors and that, only for actor ID.
Instead of this, support this "pass only actor ID rather than full form" feature
in a more dedicated way.

We might followup on that to clarify/simplify doing this: passing only the actor ID
rather than its full form.

Depends on D17613

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:46 +00:00
Alexandre Poirot d028804ade Bug 1515862 - Remove unecessary usages of actorid checks in actor and front's form method. r=jdescottes
Remove all actorid checks in actors and fronts as we never pass a defined `detail` argument in them.
Only domstylerule and node are using detail and that, always with detail="actorid".
Also remove ctx and detail in Front constructor as that's not used by these two actors.

Depends on D17612

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:39 +00:00
Alexandre Poirot 385ac7de96 Bug 1515862 - Remove protocol.js's formType. r=jdescottes
None of our actor define a `formType` in its specification.
This feature has never been used, so remove it and its test.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:33 +00:00
Mike Conley d257d1d3f5 Bug 1277060 - Ensure the URL bar gets cleared if Home button sends us to an initial page. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17408

--HG--
extra : moz-landing-system : lando
2019-01-28 21:24:00 +00:00
Mike Conley 28313ddaf8 Bug 1277060 - Rename initialPageLoadedFromURLBar to initialPageLoadedFromUserAction. r=Gijs
There are cases where we might want to set this from a non-URL bar user action -
for example, when clicking on the Home button.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:22:47 +00:00
Justin Wood 13ad3b5f0b Bug 1523256 - Fix cedar by not using an outdated target tasks on it, and instead use the default target. r=tomprince
The language pack job specifically was failing becuase of trunk versioning attempting to submit to AMO, while it
should not have even run on central, especially not in an on-push job. Additionally this stops other related jobs
like devedition and beetmover from running for cedar.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 20:07:41 +00:00
Andreea Pavel 54348c9327 Backed out changeset ad9834d2b44e (bug 1520350) for failing browser_aboutPrefs_fc_check_otherInstance.js on a CLOSED TREE 2019-01-28 22:21:21 +02:00
Alphan Chen e6cc4bf7ca Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-28 19:44:03 +00:00
Ryan Hunt 6d38cefd3d Bug 1522264 - Translate the visual viewport offset to be relative to the scroll port. r=botond
This was lost in the change to only use the visual viewport if both the
size and offset were set.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:48:00 +00:00
Ryan Hunt aad54ed1ee Bug 1522026 - Don't cancel animations over relative updates with no offset. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D17757

--HG--
extra : moz-landing-system : lando
2019-01-28 17:39:34 +00:00
Ryan VanderMeulen 7515f6edf1 Bug 1522507 - Update Windows ARM64 builds to Visual Studio 2017 15.9.6. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17728

--HG--
extra : moz-landing-system : lando
2019-01-28 19:29:56 +00:00
Timothy Guan-tin Chien 682c01e658 Bug 1507895 - Fix formatting error in Part III
Differential Revision: https://phabricator.services.mozilla.com/D17855

--HG--
extra : moz-landing-system : lando
2019-01-28 19:19:14 +00:00
Shane Caraveo db03082008 Bug 1511636 toggle private browsing via about:addons r=rpl,mstriemer,flod,kmag
Differential Revision: https://phabricator.services.mozilla.com/D13621

--HG--
extra : moz-landing-system : lando
2019-01-28 18:12:07 +00:00
Shane Caraveo 050ca2e7d4 Bug 1511636: update incognito support to use pref and permissions r=rpl,aswan,kmag
This changes the policy to use the pref and permissions rather than a boolean flag.  Using permissions gets us proper settings on startup without introducing any new overhead.  Going this way flips our tests around so rather than testing an override to turn off private browsing support, we test overrides to enable private browsing support.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:10:47 +00:00
Shane Caraveo 6b86edb199 Bug 1511636 update ExtensionPermissions to take id instead of extension instance, r=aswan,rpl
Differential Revision: https://phabricator.services.mozilla.com/D14800

--HG--
extra : moz-landing-system : lando
2019-01-28 18:10:16 +00:00
John Dai f2524a5b86 Bug 1513878 - Part 3: Add getActor test for WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16845

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:01:40 +00:00
John Dai 7b1dd6aef8 Bug 1513878 - Part 2: Implement a getter method to WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16844

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:02:02 +00:00
John Dai a58878536c Bug 1513878 - Part 1: Expose window global child to window. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D16844

--HG--
extra : moz-landing-system : lando
2019-01-28 19:01:01 +00:00
Jan de Mooij dedaa0273d Bug 1521491 part 5 - 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 16:46:26 +00:00
Jan Henning 0282d41347 Bug 1518225 - Target Android P. r=nalexander,snorp
All obvious issues that can be deduced from
https://developer.android.com/about/versions/pie/android-9.0-changes-28
have been addressed, so we should be able to give this a try.

This will also make running tests depending on android.test.* (i.e. mainly
Robocop) work again on devices/emulators running P.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:32 +00:00
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