Commit Graph
202 Commits
Author SHA1 Message Date
Julian Descottes 8a7e3540a2 Bug 1487284 - Update message manager in actors spawned in parent after browserSwap;r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D5028
2018-09-06 16:06:34 +00:00
Gabriel Luong 3c1e459365 Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Narcis Beleuzu 2d68169fc3 Backed out changeset 7ffb06278c4c (bug 1488114) for xpcshell failures on test_change_pixel_ratio.js. CLOSED TREE 2018-09-04 19:24:12 +03:00
Gabriel Luong c04f5aee7d Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Gabriel Luong 245789eca7 Bug 1485125 - Lazy load the Device Modal in RDM. r=miker 2018-08-21 22:03:09 -04:00
yulia 5e4d38002f Bug 1447494 - remove all instances of commandline/helpers; r=ochameau
Removed remaining imports of commandline helpers, as they are no longer used anywhere

Differential Revision: https://phabricator.services.mozilla.com/D3412
2018-08-16 14:06:07 +00:00
Gabriel Luong 2644493479 Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Gabriel Luong c3a5ba7b77 Bug 1467572 - Part 15: Fix unit tests for RDM to work with the new RDM design. r=Honza
- Various element IDs and strings were renamed in the preceeding patches before this. This fixes
the strings and element ID reference in the RDM unit tests.
- Fixed RDM unit tests to work with new native context menu which used to be <select> elements.
2018-08-15 17:27:51 -04:00
Gabriel Luong 9c1fa758af Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman 2018-08-15 17:27:34 -04:00
Csoregi Natalia df9db8ee3d Backed out 19 changesets (bug 1467572) for devtools failures on browser_net_telemetry_throttle_changed.js. CLOSED TREE
Backed out changeset 39123899178c (bug 1467572)
Backed out changeset 62fcbe25665c (bug 1467572)
Backed out changeset 5ef6c1c42747 (bug 1467572)
Backed out changeset e295be61276e (bug 1467572)
Backed out changeset 41d85a6f8a2a (bug 1467572)
Backed out changeset 4e6b95a6c506 (bug 1467572)
Backed out changeset 36d459a24020 (bug 1467572)
Backed out changeset abb52c2c68ab (bug 1467572)
Backed out changeset 470b9ce4ba0f (bug 1467572)
Backed out changeset 37609995dc8f (bug 1467572)
Backed out changeset 636bf5ce96f7 (bug 1467572)
Backed out changeset 5880a55d2ee8 (bug 1467572)
Backed out changeset 0f19f84bb2ed (bug 1467572)
Backed out changeset e83526778ccd (bug 1467572)
Backed out changeset c42448ca6e4a (bug 1467572)
Backed out changeset 934fb24dad26 (bug 1467572)
Backed out changeset 6102b9ef805b (bug 1467572)
Backed out changeset 7aaea1245d27 (bug 1467572)
Backed out changeset 7793f8a2b14f (bug 1467572)
2018-08-16 03:43:41 +03:00
Gabriel Luong 3bdc9d891d Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Gabriel Luong a4f56f2563 Bug 1467572 - Part 15: Fix unit tests for RDM to work with the new RDM design. r=Honza
- Various element IDs and strings were renamed in the preceeding patches before this. This fixes
the strings and element ID reference in the RDM unit tests.
- Fixed RDM unit tests to work with new native context menu which used to be <select> elements.
2018-08-15 17:27:51 -04:00
Gabriel Luong d4aed43757 Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman 2018-08-15 17:27:34 -04:00
Dave Townsend 62ca50874a Bug 1479316: Pass through link related messages when in responsive design mode. r=jryans
Prior to bug 1453751 responsive design mode relied on the parent process seeing
that no favicon had been loaded and so defaulting to the root favicon for a
site. This would have meant that on some occasions responsive design mode didn't
show the correct favicon for pages that specified their own. This change passes
all the link related messages to the parent so favicons, feeds and searches
should work correctly.

Differential Revision: https://phabricator.services.mozilla.com/D3032
2018-08-09 18:27:05 +00:00
Boris Zbarsky c3b43a0bda Bug 1446940 part 3. Stop getting docshells from windows via getInterface in devtools. r=bgrins 2018-08-01 13:07:10 -04:00
Michael Ratcliffe 4cdcaa9765 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-29 16:36:24 +01:00
Gijs Kruitbosch 8f5de7b966 Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG
2018-06-20 22:53:40 +01:00
J. Ryan Stinnett e0cb2332d2 Bug 1470497 - Fix navigation after opening container in RDM. r=gl
This fixes the case of navigating a container tab from about:newtab to a remote
site.  This case triggers the process flip machinery where parent process is
told to manage the load.  We needed to allow certain session store messages for
this to complete successfully.
2018-06-22 17:28:01 -05:00
J. Ryan Stinnett b51df0a45f Bug 1306975 - Support containers in RDM. r=gl
This adds support for container tabs / contextual identity in Responsive Design
Mode.  Tabs in non-default contexts can now be opened in RDM just like regular
tabs.

MozReview-Commit-ID: BofTgrowjGV
2018-02-23 17:33:55 -06:00
Julian Descottes 9456167901 Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks
2018-06-01 12:19:35 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Alexandre Poirot 0fd2801467 Bug 1461970 - Drop all tests using helpers.addTabWithToolbar. r=jryans
MozReview-Commit-ID: 4orKFtOOraG
2018-03-21 08:56:32 -07:00
Michael Ratcliffe a4ac391ae6 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61
2018-05-01 18:06:14 +01:00
Jan Odvarko 3d7ed908f8 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: Ad0ABzf0YuY
2018-05-01 11:07:18 +02:00
Ciure Andrei 6ad6be1da6 Backed out changeset daac5f4217b6 (bug 1349559) for failing devtools/client/responsive.html/test/unit/test_change_network_throttling.js CLOSED TREE 2018-05-01 09:58:59 +03:00
Jan Odvarko 65dcf95fd2 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: 8CvBHckNSpZ
2018-05-01 07:42:52 +02:00
Michael Ratcliffe 240dfd4925 Bug 1456103 - Create tests for devtools.main.deactivate telemetry event r=yulia
MozReview-Commit-ID: 5x6XHS11x1C
2018-04-26 10:16:11 +01:00
Michael Ratcliffe 51f6cfe431 Bug 1456098 - Create tests for devtools.main.activate telemetry event r=yulia
MozReview-Commit-ID: III7oI427vr
2018-04-25 18:04:35 +01:00
Alexandre Poirot d10cea6483 Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h
2018-04-12 09:22:42 -07:00
Dão Gottwald 81e69d1b32 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai
2018-04-05 16:30:48 +02:00
Nicolas Chevobbe 4ba01056aa Bug 1449170 - Remove old-event-emitter usage from responsive.html; r=jryans.
MozReview-Commit-ID: KREEQYpIVh6
2018-03-27 15:46:41 +02:00
Tim Nguyen d49de43825 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Margareta Eliza Balazs 8ad3204b44 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen 76bd43b52d Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Kris Maglione 9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
J. Ryan Stinnett 946bb8f169 Bug 1444497 - Track UI entry point for RDM. r=jdescottes
MozReview-Commit-ID: Jc8uXAXlGVf
2018-03-13 14:52:34 -05:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
J. Ryan Stinnett a7231a768e Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB
2018-03-08 18:14:52 -06:00
J. Ryan Stinnett e475a46d02 Bug 1440678 - Disable RDM reload notification for tests. r=ochameau
MozReview-Commit-ID: 5dXxE6u1ZSI
2018-03-07 17:15:41 -06:00
J. Ryan Stinnett aa067adb85 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
Cosmin Sabou 111a73f847 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett 039b00fd39 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
J. Ryan Stinnett 827f994b52 Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify
2018-02-08 15:20:17 -06:00
J. Ryan Stinnett 50e16228d9 Bug 1428816 - Rename deviceListState to loadableState. r=ochameau
MozReview-Commit-ID: AWIP5njHV3M
2018-02-08 15:22:59 -06:00
arthur.iakab 0aee7a567a Backed out 3 changesets (bug 1428816) for Browser Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js on a CLOSED TREE
Backed out changeset 31e12673218b (bug 1428816)
Backed out changeset a6e7a7b21cf3 (bug 1428816)
Backed out changeset 0d00eabc8b83 (bug 1428816)
2018-02-22 19:26:58 +02:00
J. Ryan Stinnett f272cc495d Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify
2018-02-08 15:20:17 -06:00
J. Ryan Stinnett 5c56536243 Bug 1428816 - Rename deviceListState to loadableState. r=ochameau
MozReview-Commit-ID: AWIP5njHV3M
2018-02-08 15:22:59 -06:00
J. Ryan Stinnett f97643f03f Bug 1438696 - Stop Inspector from rebooting on RDM toggle. r=ochameau
Currently, if you open the Inspector on some page, then enter RDM, the Inspector
will "reboot" (reload all panels) because it believes the document has reloaded.

However, it's not really true in this case.  Instead, it's an artifact of the
pagehide / pageshow events that are triggered when swapping frames like RDM
does.  Bug 1438697 adds a chrome-only property that we then use here to
distinguish this case.

MozReview-Commit-ID: Ks42QayVnij
2018-02-16 15:02:24 -06:00
Masayuki Nakano efaea0aaa7 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T
2018-02-15 04:15:39 +09:00
Masayuki Nakano 53a40055b6 Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK
2018-02-09 19:17:26 +09:00