Commit Graph
121 Commits
Author SHA1 Message Date
J. Ryan Stinnett 68a5ab87d8 Bug 1303595 - Add inner browser to browser -> tab map. r=ochameau
Assist tabbrowser.xml with processing some events such as MozLayerTreeReady
which bubble up from the remote content frame by adding the inner browser to the
WeakMap from browser to tab.

Most likely this should have been in place all along, but a change from bug
1279086 made it more apparent that it was missing because an error is now thrown
when no tab is found for a browser.

MozReview-Commit-ID: 9wYAOcySkN
2016-10-04 17:33:14 -05:00
J. Ryan Stinnett 5fbb4b1131 Bug 1303595 - Update browser swap docs. r=ochameau
MozReview-Commit-ID: 5dtlwIakWga
2016-10-04 16:45:03 -05:00
J. Ryan Stinnett 7a6e31c1f4 Bug 1303595 - Support preserveLayers in RDM tunnel. r=ochameau
Bug 1279086 removed setDocShellIsActiveAndForeground and added preserveLayers in
its place.  This updates the RDM tunnel to match.

MozReview-Commit-ID: DarZxxTkHVS
2016-10-04 16:31:13 -05:00
Matteo Ferretti 8288b6fa42 Bug 1303484 - browser_device_modal_submit.js | unexpected number of devices; r=jryans
- Added `addDeviceForTest` that removes automatically the device added at the
  end of the test.
- Improved `switchDevice` with more assertions.

MozReview-Commit-ID: D1BJozD65uj
2016-10-04 09:18:27 +02:00
Carsten "Tomcat" Book 26df397286 Merge mozilla-central to fx-team 2016-09-30 12:09:37 +02:00
Matteo Ferretti 5cb10792c0 Bug 1302879 - Intermittent browser_device_change.js | Test timed out; r=jryans
- Handled racing condition from document's reload in `waitForViewportResizeTo`

MozReview-Commit-ID: 6WR6ETcQsB8
2016-09-30 08:19:22 +02:00
J. Ryan Stinnett f6d8d56e28 Bug 1296498 - Update style editor RDM usage for new RDM. r=ntim
This is done by making the RDM APIs used by the style editor and its test for
this feature the same across old and new RDM, so that the test will work with
either version.

MozReview-Commit-ID: CdM6qeZQqni
2016-09-28 13:49:30 -05:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -07:00
Matteo Ferretti 090a811ef2 Bug 1241582 - Port touch, window_close tests from legacy tool; r=ntim
MozReview-Commit-ID: 8Npzkbfekur
2016-09-09 10:45:07 +02:00
Matteo Ferretti db3385dfe5 Bug 1254388 - Apply touch simulation from selected device. r=ntim
MozReview-Commit-ID: De8lVrct0iZ
2016-09-13 16:28:15 +02:00
Matteo Ferretti 23614cda77 Bug 1254385 - Apply dPR from selected device; r=jryans
- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
2016-08-31 09:58:26 +02:00
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
Wes Kocher b99cb85e83 Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Tim Nguyen 84c74ed8e1 Bug 1297523 - Fix intermittent browser_device_change.js. r=jryans 2016-08-25 20:51:59 -07:00
J. Ryan Stinnett e5dfa0ce7d Bug 1292133 - Add contextmenu tunnelling for inspect element. r=ochameau
MozReview-Commit-ID: Lu08M6xgo3R
2016-08-26 09:54:52 -05:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
J. Ryan Stinnett f97bb0bb97 Bug 1274032 - Show notification when opening RDM on non-remote tabs. r=ntim
MozReview-Commit-ID: DGDuM6jobbG
2016-08-12 17:09:29 -05:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Tim Nguyen a7c8661f29 Bug 1254386 - Test for device list. r=jryans
MozReview-Commit-ID: KhxfaGnuuUd
2016-08-23 01:51:17 -07:00
Tim Nguyen da8d0b13ed Bug 1254386 - Add user agent emulation to new RDM. r=jryans
MozReview-Commit-ID: EBWBJV20KLV
2016-08-23 01:51:17 -07:00
J. Ryan Stinnett eb5d4c8ef8 Bug 1240912 - Add outerWindowID getter for request matching. r=ochameau
MozReview-Commit-ID: DlatvZVE8qu
2016-08-19 10:01:34 -05:00
J. Ryan Stinnett a09a490c7f Bug 1240912 - Support sync messages inner to outer in the tunnel. r=ochameau
MozReview-Commit-ID: JKmTLNBJxke
2016-08-19 10:01:31 -05:00
J. Ryan Stinnett 0ddbfea7f3 Bug 1240912 - Toolbox remains connected across frame swaps. r=ochameau
It is now possible keep the toolbox open while toggling RDM open and closed.
The toolbox will follow the frame as it moves and update the message manager it
uses internally with each move.

MozReview-Commit-ID: DvLzCmOXfnb
2016-08-19 10:01:29 -05:00
J. Ryan Stinnett f157ac75fe Bug 1294841 - Remove selection and focus ring from RDM browser. r=bgrins
MozReview-Commit-ID: KLbyFbHuKVi
2016-08-16 22:15:57 -05:00
Benoit Chabod 0ce3a6cf55 Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: 860epGLFO9
2016-08-16 21:56:14 -05:00
Wes Kocher aecd5f5f0e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
J. Ryan Stinnett 397cd6641e Bug 1276607 - Activate content frame when stopping RDM to restore focus. r=bigben
MozReview-Commit-ID: CgDxa0aaQwi
2016-08-11 18:26:56 -05:00
Benoit Chabod e9e905e72d Bug 1278763 - Part 2: Add tests for permission prompts, r=jryans 2016-08-10 17:11:44 -07:00
Benoit Chabod 8d45313a08 Bug 1278763 - Part 1: Add a PopupNotifications backend on the RDM browser, r=jryans 2016-08-10 17:11:35 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Benoit Chabod d01d8eebcf Bug 1288380 - Add a tooltip for the touch simulation button, r=jryans 2016-07-21 09:15:00 +02:00
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 3c6d6ab8d0 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Tim Nguyen acdf67594e Bug 1268591 - followup: correct fill of some white SVGs, and clean them. r=me DONTBUILD
MozReview-Commit-ID: 3Iw78v9lNW6
2016-07-22 02:17:31 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
J. Ryan Stinnett 3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Helen V. Holmes 512ec2aaa1 Bug 1266414: device modal fades in/out, r=jryans
Device modal can be closed with escape and outside click

MozReview-Commit-ID: eyQRxC6TDv
2016-07-18 10:12:12 -05:00
Jaideep Bhoosreddy 44d5238f03 Bug 1254390 - Flexible sizing for device selector to display full device names; r=gl 2016-06-29 09:29:00 +02:00
Jaideep Bhoosreddy 4dd6c6d1a9 Bug 1282472 - Add camera effects to screenshot; r=jryans 2016-06-29 00:13:00 +02:00
Jaideep Bhoosreddy a3235d4f82 Bug 1278909 - Realigning checkbox and label in RDM Device Modal; r=helenvholmes 2016-06-20 14:18:00 +02:00
Jaideep Bhoosreddy acfad07355 Bug 1259132 - vertically aligning device-list label in rdm which is not aligned on windows; r=helenvholmes 2016-06-28 01:42:00 +02:00
Benoit Chabod 515f31c74d Bug 1275559 - Handle asynchronous loading and errors for device list, r=jryans 2016-06-28 05:33:00 +02:00
Benoit Chabod e45bb9e11a Bug 1269882 - Reload viewport when enabling touch simulation, r=jryans 2016-06-28 05:42:00 +02:00
J. Ryan Stinnett b9dc81662f Bug 1240900 - Connect primary browser UI to the viewport. r=ochameau
The primary browser navigational UI should now behave as if it's connected to
the page content in the viewport, including things like:

* Content page's URL is displayed in location bar
* Content page's title is displayed on the tab
* Back / forward navigates the viewport
* Entering a location navigates the viewport
* Page loading progress is displayed in the status bar as usual

MozReview-Commit-ID: FzxWEwj13sJ
2016-06-25 11:35:02 -05:00
Benoit Chabod 0fb671c694 Bug 1275520 - Improve RDM displayed device list preference. r=jryans 2016-06-22 09:41:00 -04:00
Jaideep Bhoosreddy 5482e83b7d Bug 1266411 - Alphabetically sort devices in each type. r=jryans 2016-06-02 11:41:00 -04:00
Matteo Ferretti c47a1d9a12 Bug 1267278 - remove the usage of some add-on SDK modules, and refactoring the unit tests; r=jryans
- removed responsive.html/events.js
 - added `isActiveForWindow` method to `ResponsiveUIManager`
 - simplified how the check for RDM menu is done
 - re-enabled tests for OS X debug in e10s
 - refactored tests using `BrowserTestUtils`

MozReview-Commit-ID: 1TADh1dRVcU
2016-06-02 18:55:22 +02:00
Jaideep Bhoosreddy 44f63a9157 Bug 1262829 - added a hover state to light/dark themes and change color scheme for device selector; r=jryans 2016-06-01 10:56:00 +02:00
Jaideep Bhoosreddy 3e52271594 Bug 1266411 - Alphabetically sort the user selected devices. r=jryans, ui-r=hholmes 2016-05-24 19:18:00 -04:00
J. Ryan Stinnett 1a246eac48 Bug 1273584 - Stop growing device list forever. r=gl
MozReview-Commit-ID: L6jPEWeFDcr
2016-05-23 15:33:55 -05:00