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

572 Коммитов

Автор SHA1 Сообщение Дата
Micah Tigley fb733b5704 Bug 1536808 - Add ability to edit devices r=gl
Differential Revision: https://phabricator.services.mozilla.com/D22180

--HG--
extra : moz-landing-system : lando
2019-04-10 17:37:33 +00:00
Micah Tigley 3f3eb7a72f Bug 1542367 - Remove the 'Done' button at the bottom of the device modal. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D26637

--HG--
extra : moz-landing-system : lando
2019-04-09 20:16:07 +00:00
Micah Tigley 480b976719 Bug 1282084 - Don't allow RDM to show triggered hover states while touch is enabled. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26053

--HG--
extra : moz-landing-system : lando
2019-04-09 14:23:32 +00:00
Alexandre Poirot 24425de294 Bug 1540694 - Removed scopedCuImport usages. r=jdescottes
ChromeUtils.import no longer pollute the global scope,
so we can switch to it and remove this ancient helper.

Depends on D26078

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:44:03 +00:00
Brad Werth f244327b14 Bug 1541158 Part 2: Add a test that only RDM content is affected by full zoom changes. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26041

--HG--
extra : moz-landing-system : lando
2019-04-05 07:37:55 +00:00
Brad Werth 78a001a38a Bug 1541158 Part 1: Passthrough zoom to RDM document. r=pbro
This ensures that any changes to zoom level, when RDM is active,
happen on the content document and not on the RDM interface.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 16:52:12 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Jan-Erik Rediger 6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Botond Ballo c1ca1c7e5f Bug 1536755 - Fix eslint trailing-comma failures. r=apavel
Differential Revision: https://phabricator.services.mozilla.com/D24660

--HG--
extra : moz-landing-system : lando
2019-03-25 03:37:00 +00:00
Brad Werth 65d87a00fb Bug 1536755 Part 2: Add a test of meta viewport fixed width and zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24456

--HG--
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing.js => devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width.js
extra : moz-landing-system : lando
2019-03-22 21:01:48 +00:00
Brad Werth 3b13e0d0d2 Bug 1343014 Part 1: Make RDM viewport dimension inputs have input type "number". r=gl
This also changes the styling to prevent "spinners" from appearing.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 20:44:34 +00:00
Micah Tigley ab764ec7dc Bug 1487857 - Part I: Rearranging devices setting view to new design. r=gl,flod
This is part 1 of implementing the redesigned device settings panel. In this patch we are rearranging the existing device settings view to match the new design.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:59:24 +00:00
Andreea Pavel bcc65cb482 Backed out changeset 8d9b4e8dce57 (bug 1343014) for failing dt at rowser_device_width.js on a CLOSED TREE 2019-03-20 00:16:05 +02:00
Brad Werth 7bf4f54008 Bug 1343014 Part 1: Make RDM viewport dimension inputs have input type "number". r=gl
This also changes the styling to prevent "spinners" from appearing.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 20:11:24 +00:00
Brad Werth f0e3a29287 Bug 1501665 Part 13: Add a test of Responsive Design Mode resizing of meta viewports. r=gl
This test uses a Document with a fixed-width meta viewport. This test
simulates resizing the RDM pane from a wide landscape size to a small
square size, and back again. It does this again with meta viewport
support turned on.

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

--HG--
extra : source : 2fa518cb0dfc656c6f0c5d5dfbad38348be6f31f
2019-03-18 15:00:17 +00:00
Brad Werth b5929dd4f2 Bug 1501665 Part 12: Update RDM viewport size reporting to make it consistent with zoomed presshells. r=gl
There are two viewports: the layout (or content) viewport, and the visual
viewport. This change ensures that we are both setting and checking the
visual viewport size, which is the size shown in the RDM control bar.
It is still possible to get the layout viewport with getContentSize().

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

--HG--
extra : source : afaf26d7df4235daef3157d74b3bcd69761c6393
2019-03-18 15:00:57 +00:00
Brad Werth 64131401a1 Bug 1501665 Part 2: Set the inRDMPane property on Documents as they enter/leave RDM. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D19237

--HG--
extra : source : 8e0afe4a041a2fde722ffcbf2dcee10265c87e19
2019-03-18 14:56:09 +00:00
shindli b7de66af4f Backed out 13 changesets (bug 1501665) for failing a11y tests in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset 2fa518cb0dfc (bug 1501665)
Backed out changeset afaf26d7df42 (bug 1501665)
Backed out changeset 5bdf0ad9dc66 (bug 1501665)
Backed out changeset 520dd24a73fc (bug 1501665)
Backed out changeset 3542bf2b89dd (bug 1501665)
Backed out changeset 088dc24eabc7 (bug 1501665)
Backed out changeset 178210eb72ba (bug 1501665)
Backed out changeset 9eebe767ef20 (bug 1501665)
Backed out changeset 6a84e97d0e62 (bug 1501665)
Backed out changeset cf42ea4e8443 (bug 1501665)
Backed out changeset 731d7ee06d86 (bug 1501665)
Backed out changeset 8e0afe4a041a (bug 1501665)
Backed out changeset be1026de486b (bug 1501665)
2019-03-18 18:08:58 +02:00
Brad Werth a9e11d10e3 Bug 1501665 Part 13: Add a test of Responsive Design Mode resizing of meta viewports. r=gl
This test uses a Document with a fixed-width meta viewport. This test
simulates resizing the RDM pane from a wide landscape size to a small
square size, and back again. It does this again with meta viewport
support turned on.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 15:00:17 +00:00
Brad Werth c491305528 Bug 1501665 Part 12: Update RDM viewport size reporting to make it consistent with zoomed presshells. r=gl
There are two viewports: the layout (or content) viewport, and the visual
viewport. This change ensures that we are both setting and checking the
visual viewport size, which is the size shown in the RDM control bar.
It is still possible to get the layout viewport with getContentSize().

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

--HG--
extra : moz-landing-system : lando
2019-03-18 15:00:57 +00:00
Brad Werth e2a3c31e18 Bug 1501665 Part 2: Set the inRDMPane property on Documents as they enter/leave RDM. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D19237

--HG--
extra : moz-landing-system : lando
2019-03-18 14:56:09 +00:00
Daisuke Akatsuka de75b1f93a Bug 1488991: Update remote browser position before showing context menu. r=pbro,smaug
The position of remote browser was not updated by resizing the window and
changing the align of viewport etc, although will be updated when the window
moves, the frame reflows and so on.
Thus, in this patch, update the position of remote browser before showing
context menu so as to locates at proper position.
I investigated though, when reflow and moving happens, the position is updated
by TabParent::UpdateDimensions()[1]. This patch as well is taking an approach
which update the position explicitly by TabParent::UpdateDimensions() before
showing context menu.

[1] https://searchfox.org/mozilla-central/source/dom/ipc/TabParent.cpp#729

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

--HG--
extra : moz-landing-system : lando
2019-03-15 00:09:20 +00:00
Kyle Machulis b1414002ac Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
Mike Conley a303096161 Bug 1529762 - Update browser_page_style.js test to use a normal web page rather than a data URI. r=gl
The PageStyleChild now only attaches to normal web pages.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 20:22:52 +00:00
Patrick Brosset 558e4bd3c4 Bug 1493745 - Make the RDM toolbar responsive; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D20827

--HG--
extra : moz-landing-system : lando
2019-03-04 16:26:18 +00:00
Jonathan Kingston cf14643de4 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261

--HG--
extra : moz-landing-system : lando
2019-02-19 02:34:09 +00:00
Thomas Nguyen 85ce5ab061 Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17922

--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:24 +00:00
Mike Conley e80a104c7a Bug 1525188 - Tunnel the remoteType properly from the outer to inner browser in RDM, and remember to clean up. r=ochameau
Depends on D19220

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

--HG--
extra : moz-landing-system : lando
2019-02-11 15:40:37 +00:00
Mike Conley e9036eb302 Bug 1522546 - Make RDM swap code follow the browser binding on how remoteType shortcuts to the message manager. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18227

--HG--
extra : moz-landing-system : lando
2019-01-31 20:33:08 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02: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
Ehsan Akhgari 08e1954154 Bug 1520879 - Port the onContentBlockingEvent notifications inside WebProgressChild.jsm to C++; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17157

--HG--
extra : moz-landing-system : lando
2019-01-25 14:44:09 +00:00
Brad Werth dd194db5d7 Bug 1521814 Part 1: Make RDM meta viewport override dependent on a new pref, set to false for now. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D17427

--HG--
extra : moz-landing-system : lando
2019-01-24 16:31:55 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Florens Verschelde e54b6b68dd Bug 1521340 - Simplify icon color CSS variables; r=ntim
- Remane --theme-toolbar-icon-color to just --theme-icon-color
- Rename --theme-toolbar-checked-color to --theme-icon-checked-color
- Introduce a --theme-icon-dimmed-color that is less contrasted (e.g. for Rules icon buttons)
- Remove icon color duplication for twisties, console icons
- Avoid partial opacity variants of Photon Grey as global variables in variables.css

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:22:02 +00:00
Jonathan Kingston c3cdc8746c Bug 1520862 - Fixing WebNavigation serialization of principals to always be present. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D16884

--HG--
extra : moz-landing-system : lando
2019-01-17 18:50:40 +00:00
Brad Werth 3acc8c95a9 Bug 1504659 Part 3: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2019-01-16 21:57:09 +00:00
Cosmin Sabou f621d8b160 Backed out 5 changesets (bug 1504659) for android reftest failures. CLOSED TREE
Backed out changeset 793e842be7f6 (bug 1504659)
Backed out changeset 229ed2090371 (bug 1504659)
Backed out changeset 0818e2b1f2c5 (bug 1504659)
Backed out changeset bd806b413342 (bug 1504659)
Backed out changeset 3e12097e2b60 (bug 1504659)
2019-01-16 21:23:39 +02:00
Brad Werth ab9081046e Bug 1504659 Part 3: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2019-01-16 17:12:00 +00:00
Narcis Beleuzu 9d87d4782c Backed out 5 changesets (bug 1504659) for reftest failures on frame-reconstruction-scroll-clamping.html.
Backed out changeset 749c9dcbbd7f (bug 1504659)
Backed out changeset 783f7ccbd797 (bug 1504659)
Backed out changeset 231b16b0091e (bug 1504659)
Backed out changeset a88ccc9308e0 (bug 1504659)
Backed out changeset 738e1ee854eb (bug 1504659)
2019-01-15 07:34:58 +02:00
Brad Werth 5ade16ea5b Bug 1504659 Part 3: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2019-01-14 20:08:13 +00:00
Tim Nguyen 0bbd7c6362 Bug 1517948 - Consolidate icon styles and remove checked icon filter. r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D16179

--HG--
extra : moz-landing-system : lando
2019-01-13 21:28:51 +00:00
Razvan Maries a8ff236833 Backed out changeset 1114f74deed5 (bug 1517948) for failures at devtools/client/inspector/rules/test/browser_rules_shapes-toggle_02.js. CLOSED TREE 2019-01-13 23:10:57 +02:00
Tim Nguyen 7c49279ced Bug 1517948 - Consolidate icon styles and remove checked icon filter. r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D16179

--HG--
extra : moz-landing-system : lando
2019-01-13 20:04:25 +00:00
Florens Verschelde 982413fb5c Bug 1517986 - Remove remaining CSS image variables; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D16183

--HG--
extra : moz-landing-system : lando
2019-01-11 21:33:53 +00:00
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00