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

205 Коммитов

Автор SHA1 Сообщение Дата
Michael Ratcliffe 9e7ad490a0 Bug 1448484 - Disable browser_storage_cookies_samesite.js due to intermittent failures r=miker
MozReview-Commit-ID: A4ocgx0JoX5

--HG--
extra : rebase_source : 3f65d8b7d215512ca5be7977de339a1165de65b7
2018-07-27 11:15:16 +01:00
Julian Descottes d31555e033 Bug 1434579 - Fix infinite scrolling for indexedDB in storage inspector;r=miker
MozReview-Commit-ID: 7ZyxqDPxHTK

--HG--
extra : rebase_source : e6c4fd13ad514b52b7aa38c0f507cc1438a1e893
2018-07-24 19:48:27 +02:00
Cosmin Sabou 729239616e Backed out changeset f2f7dc725274 (bug 1434579) for devtools failures on browser_storage_overflow. 2018-07-25 22:56:51 +03:00
Julian Descottes 46d4906e19 Bug 1434579 - Fix infinite scrolling for indexedDB in storage inspector;r=miker
MozReview-Commit-ID: 7ZyxqDPxHTK

--HG--
extra : rebase_source : 87a548270b329e20db45441bbcfccd6be1b2b43a
2018-07-24 19:48:27 +02:00
Tim Nguyen d100a75344 Bug 1477290 - Disable flashing with storage inspector endless scrolling. r=miker
MozReview-Commit-ID: GfRaId6B50I

--HG--
extra : rebase_source : 1198866fc88203251dc2914aaab945f1430c4cdd
2018-07-20 16:36:59 +01:00
Julian Descottes 9ac50afe02 Bug 1476647 - Fix TableWidget scroll position calculation;r=miker
MozReview-Commit-ID: Kn9PQMXG8bC

--HG--
extra : rebase_source : faeb2d7e4a207f8380082e0070599a130b32098f
2018-07-18 18:01:29 +02:00
Margareta Eliza Balazs 92460b7c21 Backed out changeset 627f2adec73b (bug 1476647) for causing failures in devtools/client/storage/test/browser_storage_overflow.js 2018-07-19 09:05:35 +03:00
Julian Descottes 21e5470305 Bug 1476647 - Fix TableWidget scroll position calculation;r=miker
MozReview-Commit-ID: Kn9PQMXG8bC

--HG--
extra : rebase_source : 54909fafa6df368cb48951aec59f006630504951
2018-07-18 18:01:29 +02:00
Alexandre Poirot f7e331b36e Bug 1470244 - Rename all panel documents to index.{xul|html}. r=jdescottes
MozReview-Commit-ID: 5C3ehYKBt3m

--HG--
rename : devtools/client/accessibility/accessibility.html => devtools/client/accessibility/index.html
rename : devtools/client/canvasdebugger/canvasdebugger.xul => devtools/client/canvasdebugger/index.xul
rename : devtools/client/debugger/debugger.xul => devtools/client/debugger/index.xul
rename : devtools/client/dom/dom.html => devtools/client/dom/index.html
rename : devtools/client/inspector/inspector.xhtml => devtools/client/inspector/index.xhtml
rename : devtools/client/memory/memory.xhtml => devtools/client/memory/index.xhtml
rename : devtools/client/performance-new/perf.xhtml => devtools/client/performance-new/index.xhtml
rename : devtools/client/performance/performance.xul => devtools/client/performance/index.xul
rename : devtools/client/scratchpad/scratchpad.xul => devtools/client/scratchpad/index.xul
rename : devtools/client/storage/storage.xul => devtools/client/storage/index.xul
rename : devtools/client/styleeditor/styleeditor.xul => devtools/client/styleeditor/index.xul
rename : devtools/client/webaudioeditor/webaudioeditor.xul => devtools/client/webaudioeditor/index.xul
rename : devtools/client/webconsole/webconsole.html => devtools/client/webconsole/index.html
extra : rebase_source : 30d4a2b96c7caf9c2543866e11519559d73f75dc
2018-06-21 11:08:25 -07:00
Sebastian Hengst 82bbb42c90 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP

--HG--
extra : rebase_source : 4e554f8e710aea1fb372a0f21d7539cf568baa17
2018-06-20 21:34:40 +03:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Eliza Balazs 449c0ea9a4 Bug 1448484 - disable browser_storage_cookies_samesite.js for frequent failures on win 10 !debug. r=jmaher 2018-06-05 01:46:00 +03:00
Julian Descottes 7fdc2c153f Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks

--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +02:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Michael Ratcliffe 764c4c8578 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

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
Michael Ratcliffe 0bba572a12 Bug 1433844 - Storage inspector throws when add item, reload and arrow keys r=pbro
As far as I am aware, we can't create tests to detect whether an error has been thrown... especially if the error has no side affects.

If we really need a test for these simple four fixes you can always insist but I don't think we do.

MozReview-Commit-ID: 7j9N1X4jTHY

--HG--
extra : rebase_source : 95ce1cb4322fad250757db36a57272ccb328897d
2018-04-26 15:56:20 +01:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Johann Hofmann 29d2c4832d Bug 1451486 - Part 1 - Ignore the storage attribute on indexedDB.open() by default. r=asuth,baku
MozReview-Commit-ID: 844FRkx3rKZ

--HG--
extra : rebase_source : 962cd1ade83b34561ebd6cd70365b44b85a3aa95
2018-04-10 23:00:30 +02:00
Mike Ratcliffe 38773abdb6 Bug 1451991 - Devtools: Localstorage didn't list item whose key names "key" r=nchevobbe
MozReview-Commit-ID: 3AQC47GKud0

--HG--
extra : rebase_source : 0bbcebab0aeb97b51f078673d151eab263080c62
2018-04-14 00:33:42 +01:00
Kris Maglione 0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Zhang Junzhi d2a2865c92 Bug 1448553 - Part 4: Decodeds Punycode-encoded international domain names in the Storage Inspector so that they are displayed as human-readable Unicode text. r=miker
The Punycode-encoded international domain names are human-unreadable, so they
should be displayed as human-readable Unicode text. This commit decodes this
kind of names in the Storage Inspector.

MozReview-Commit-ID: Agc03rliZ8q

--HG--
extra : rebase_source : 816fbd8170b2cf14dd7a84db791b530e595a68db
2018-04-02 16:59:32 +08:00
Michael Ratcliffe 7a99d34d6b Bug 1445160 - Enable inspect indexedDBs inside JSMs via Storage Inspector in browser toolbox r=nchevobbe
Fixed added file: and moz-extension: to prefix regex.

MozReview-Commit-ID: JtCgzquybA4

--HG--
extra : rebase_source : 28ca717f96f71a8eb540fa21fe38c7567ddbf675
2018-03-21 16:09:57 +00:00
Nicolas Chevobbe 5f2293a835 Bug 1447672 - Remove old-event-emitter usage from storage panel; r=miker.
MozReview-Commit-ID: 2d3HOdXxjxf

--HG--
extra : rebase_source : e69151a97d8f71d035f8863e710ed8f9587ea457
2018-03-21 15:46:00 +01:00
Mike Ratcliffe cbae55792f Bug 1381590 - Make Storage Inspector work with file:// URLs r=pbro
MozReview-Commit-ID: I8QPDaovalG

--HG--
extra : rebase_source : f8b9578a9de89282dc0f14685e24b1f84ba008c8
2018-03-12 17:37:49 +00:00
Mike Ratcliffe d96b04997b Bug 1444959 - Fix reporting of available ids in storage inspector tests r=pbro
MozReview-Commit-ID: BaycV26cfEh

--HG--
extra : rebase_source : 1f722334819058aa4e75c660949d1f7a80703f98
2018-03-12 17:40:53 +00:00
Boris Zbarsky 4d6354d826 Fix lint failures (one from the merge in rev a97e078dcacb, one apparently preexisting. r=bzbarsky, No bug 2018-03-13 00:38:57 -04:00
Boris Zbarsky a51f109149 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 00:15:42 -04:00
Noemi Erli 1f1a550071 Backed out changeset 1b13b329ba29 (bug 1444414) for devtools failures on browser_storage_localstorage_rapid_add_remove.js timeouts a=backout CLOSED TREE 2018-03-13 03:59:03 +02:00
Noemi Erli 2f1fb39eee Backed out 2 changesets (bug 1444414, bug 1444357) for merge conflicts a=backout
Backed out changeset 6f0c06b06b6e (bug 1444414)
Backed out changeset ef01364e8730 (bug 1444357)
2018-03-13 01:56:34 +02:00
Alexandre Poirot bcf6facc3c Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
Sebastian Hengst 38e337b2ec merge mozilla-central to autoland. CLOSED TREE 2018-03-13 02:09:59 +02:00
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Michael Ratcliffe 6b7caea761 Bug 1444414 - Remove all CPOWs from storage inspector tests r=nchevobbe
MozReview-Commit-ID: JGuYffnzXDb

--HG--
extra : rebase_source : 8ad2094589934cef063f4a2d346ff0433f174158
2018-03-09 17:21:03 +00:00
Mike Ratcliffe 61992349be Bug 1444106 - Add test for rapid addition and removal of items in the storage inspector r=ochameau
MozReview-Commit-ID: 5sM12SBiBSF

--HG--
extra : rebase_source : 31140fa6c45471942131c9cf8bb8a78cdf226118
2018-03-09 13:55:22 +00:00
Mike Ratcliffe e4b9aee529 Bug 1444357 - Fix race conditions caused by duplicate store-objects-updated events r=ochameau
This is in preparation for adding the rapid add/remove test from bug 1295761.

Changes:
- Added `tree.exists(item)` to fix an issue where `selectTreeItem()` was caled for an item that did not exist and then waited for an `store-objects-updated` event. It only ever received this event due to errors when writing tests.
- Renamed `StorageUI.onUpdate()` to `StorageUI.onEdit()` and changed it's event name to `store-objects-edit`.
- Changed tests to use `store-objects-edit` where appropriate.

MozReview-Commit-ID: IAem8Penrf9

--HG--
extra : rebase_source : b818f8647958ad0688954fe5028f8d57aa119c33
2018-03-09 13:51:37 +00:00
Michael Ratcliffe 2a879cf128 Bug 1443461 - Change devtools/client/storage/ui.js to ES6 classes r=ochameau
Small changes due to conflicts on rebase... async test runs fine but I will do another try run just in case.

MozReview-Commit-ID: I9TwRArZl2f

--HG--
extra : rebase_source : 8897a4b6a8553ec44e817b1648a976d0b31cd842
2018-03-06 16:06:04 +00:00
J. Ryan Stinnett 724f46419e 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

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : c6f6cd75a9c1a5349f8406f337c9c39f2f755dab
2018-03-02 19:14:05 -06:00
Cosmin Sabou 0bc675f657 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)

--HG--
rename : devtools/client/shared/test/shared-head.js => devtools/client/framework/test/shared-head.js
rename : devtools/client/shared/test/shared-redux-head.js => devtools/client/framework/test/shared-redux-head.js
rename : devtools/client/shared/test/frame-script-utils.js => devtools/client/shared/frame-script-utils.js
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett 5ff93bf9fd 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

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : 58e35632f0a82b0d7e880b0297306500097676e3
2018-03-02 19:14:05 -06:00
yulia 14627be8a8 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79

--HG--
extra : rebase_source : 242b560f9e675bcda84ff0f566a67ecde54e9475
2018-03-07 10:17:03 +01:00
Alexandre Poirot 6afc5d44f8 Bug 1442160 - Remove unnecessary usages of generators in storage test. r=miker
MozReview-Commit-ID: 3x06Clvqtyq

--HG--
extra : rebase_source : ca5425a4bc34f992bf9c7f7d29531bd92479eb5b
2018-03-01 00:47:22 -08:00
Florian Quèze 6df7549a3e Bug 1433175 - semi-automated indent fix, r=Mossop. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brendan Dahl f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Masayuki Nakano cf83ee7bb4 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

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Andrea Marchesini 51cbe0791e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +01:00
Narcis Beleuzu 0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini 174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
SagarB 8b9b4b8fd7 Bug 1402485 - Remove Delete all Session cookies option for non cookie staorage r=miker
Borrowed code from onTreePopupShowing into onTablePopupShowing

MozReview-Commit-ID: 1IotAfqwlpg

--HG--
extra : rebase_source : bd1bc0256ccfbcaf508b319167cab9c21be7dbf2
2017-12-10 18:56:12 +05:30