Commit Graph

9145 Commits

Author SHA1 Message Date
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
J. Ryan Stinnett
257437c8fe Bug 1443081 - Use Mozilla rules for function spacing in DevTools. r=jdescottes
MozReview-Commit-ID: 5qn0T8UgzVw
2018-03-12 13:41:53 -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
Cosmin Sabou
4a083dee60 Backed out 3 changesets (bug 1223726) for mochitest devtools failures on devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js
Backed out changeset 1a09e6c3c0a3 (bug 1223726)
Backed out changeset 41da2897f549 (bug 1223726)
Backed out changeset fa0a1e88a238 (bug 1223726)
2018-03-12 14:51:37 +02:00
Jan Odvarko
cf3fc487d3 Bug 1223726 - Update tests; r=jdescottes
MozReview-Commit-ID: 6FR7W58WRg0

--HG--
extra : rebase_source : db75d8db16aa4358d515f885cf0f54aff5ec28fe
2018-03-12 10:59:21 +01:00
Jan Odvarko
0a7ee87545 Bug 1223726 - Update tests; r=ochameau
MozReview-Commit-ID: 3iokswH0ybw

--HG--
extra : rebase_source : b12ca75d51a36b7554eed114bec39d30e9295a48
2018-03-12 08:10:40 +01:00
Jan Odvarko
ae32006cef Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 7DrAU1did1a

--HG--
extra : rebase_source : c6328f3ce8552b49caaca09489cf10c0685af58b
2018-03-12 08:10:39 +01:00
Nicolas Chevobbe
62b397f04c Bug 1441817 - Fix Error when console.count packet is incomplete; r=miker.
This currently happens in the browser console. The packet we receive
for console.count calls does not have the counter property which we
usually consume to display the counter label and data.
Here we prevent adding such messages, before a follow-up fix which should
be about adding those information in the packet.
For the record, it was not working either in the old frontend.

MozReview-Commit-ID: 1SiFgAHIziI

--HG--
extra : rebase_source : 46eb71dc69acf56df6577ebbb396365d395ae62a
2018-02-28 15:51:04 +01:00
Bogdan Tara
eaec7bede8 Backed out 2 changesets (bug 1223726) for failing devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js a=backout on a CLOSED TREE
Backed out changeset a95b0b28ca16 (bug 1223726)
Backed out changeset 6adb35cc708e (bug 1223726)
2018-03-10 02:44:19 +02:00
J. Ryan Stinnett
e1e870db9e Bug 1442312 - Wait for addon reload to finish in tests. r=jdescottes
In about:debugging's browser_addon_reload.js test, we would request a reload
without waiting for it to reply.  This led to the RDP connection closing before
the reply could be sent, triggering later errors.

For better test correctness, we now emit an event on reply and the test waits to
receive it before proceeding.

MozReview-Commit-ID: Jfps7MJ6Pzo

--HG--
extra : rebase_source : 2287c729062e3ed9a1f4527b192a672cff8c18c6
2018-03-08 19:05:32 -06:00
J. Ryan Stinnett
36cd8d6903 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

--HG--
extra : rebase_source : 7056bbf9fcd76ffe00015119d811db0bd788aa59
2018-03-08 18:14:52 -06:00
J. Ryan Stinnett
ea98feda06 Bug 1442312 - Finish DevTools server conversion to DOM Promises. r=ochameau
Remove the last sync promises from the server.

This causes server replies to be sent later than before, potentially later
enough that the connection has since been closed.  We now throw errors in such
cases.

MozReview-Commit-ID: 2x213g7poH5

--HG--
extra : rebase_source : 2b83c32aa79e2365159ee20f4839a5ac645559b4
2018-03-07 16:52:51 -06:00
Luca Greco
a7b7f06441 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm

--HG--
extra : rebase_source : d45591793484ad916c2e3312818700e9db628abe
2018-02-19 18:00:35 +01:00
Jan Odvarko
8648396082 Bug 1223726 - Update tests; r=ochameau
MozReview-Commit-ID: HCbXYWaiCCZ

--HG--
extra : rebase_source : 1b56e31cb06fab2ee69bcaa7c7b1241e4d502059
2018-03-09 17:21:48 +01:00
Jan Odvarko
6d33da940c Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 4DV6QUzCTyP

--HG--
extra : rebase_source : 2b2d76b946214f90c035dcc29092712de199592b
2018-03-09 17:09:42 +01:00
Andreea Pavel
e843cc64e7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-09 21:35:33 +02:00
Andreea Pavel
a3a0c1c649 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00
Yura Zenevich
6c64f2f9fd Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-09 10:01:55 -05:00
Tim Xie
91856e91aa Bug 1415211 - Realigned XHR label, set property margin-inline-start of XHR to 0; r=nchevobbe
MozReview-Commit-ID: 3K2jqmr5OCJ

--HG--
extra : rebase_source : 898370c2dce16320c941b8a844b3d08881ae91fe
2018-03-09 02:59:19 -05:00
Nicolas Chevobbe
fafbf19092 Bug 1307928 - Add mocha tests for NewConsoleOutputWrapper queues; r=bgrins.
This required to add a couple new cases for require-hacker.

MozReview-Commit-ID: 9Qon1PNjdF7

--HG--
extra : rebase_source : 53808af32a325c1985443b9a26953b4065f7c835
2018-03-06 16:53:05 +01:00
Dorel Luca
30edeead7c Merge mozilla-central to mozilla-inbound. a=merge 2018-03-09 12:01:54 +02:00
Patrick Brosset
d5b6e21206 Bug 1444032 - Avoid clearing canvas when drawing justify-content areas; r=gl
So far, we are drawing the entire line area, and then cutting out the various
margin boxes from each item, in order to show where justify-content applies.
This is dangerous because that means clearing pixels in a canvas where we're
drawing tons of other stuff, and it's easy to accidentally clear unwanted
things.
Instead, now we just draw the justify-content where needed only.

MozReview-Commit-ID: LJN6Fl1by4l
2018-03-08 14:04:58 +01:00
Kris Maglione
c14f2c138f Bug 1443964: Follow-up: Fix missed CPOW usage in devtools tests. r=bustage
MozReview-Commit-ID: 1Hv3VR5yIO5

--HG--
extra : rebase_source : 72fe13e8ac68a2926a89fa01b075b21073bea052
2018-03-08 16:57:18 -08:00
Csoregi Natalia
d61cdcf041 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-09 02:20:43 +02:00
Narcis Beleuzu
67adc3007a Merge mozilla-central to autoland. CLOSED TREE 2018-03-08 20:03:58 +02:00
Brindusan Cristian
eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Nicolas B. Pierron
5cd93573c4 Bug 1443909 - Index documentation of JSMSG_BAD_INSTANCEOF_RHS. r=fscholz 2018-03-08 13:24:26 +00:00
Brindusan Cristian
a6b9d1aa67 Backed out changeset 661f27f91e1e (bug 1434885) for ESlint failure on MonitorPanel.js. CLOSED TREE 2018-03-08 15:03:20 +02:00
Cosmin Sabou
aba9ad6f65 Merge inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationListenerTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationDelegateTest.kt
2018-03-08 05:59:30 +02:00
shindli
8e9217d36a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-08 02:27:35 +02:00
Daisuke Akatsuka
2b27b36dfe Bug 1439846: Add requestLongerTimeout to browser_animation_animation-detail_visibility. r=gl
MozReview-Commit-ID: EnbiA2LbkZL

--HG--
extra : rebase_source : bf5d03e0ceca1299b9421591a04a877f9f352e9c
2018-03-05 10:54:35 +09:00
Nicolas Chevobbe
91ccba1538 Bug 1307928 - Add mocha tests for private messages; r=bgrins.
Those ensures that we do handle them properly and that the state
is cleaned up as expected when they are removed.

MozReview-Commit-ID: 9PNuaHcFxSv

--HG--
extra : rebase_source : f6f7555e26dc6174c18732685ec161920bc4d51a
2018-02-28 12:15:41 +01:00
Nicolas Chevobbe
e00c770a17 Bug 1307928 - Remove private messages on lastPrivateContextExited event; r=bgrins.
Add a redux action to handle the event and clear private messages from the store.
A new `cleanState` function was extracted from `limitTopLevelMessage` so we can
use it in this case.

MozReview-Commit-ID: Hp6o9iZAbZ7

--HG--
extra : rebase_source : 1427c9f47bd078353fdaa61d94a394155d31ab61
2018-02-28 12:14:26 +01:00
yulia
b9ea4d1569 Bug 1441531 - Make waitForMultipleChildrenUpdates an async function r=pbro
MozReview-Commit-ID: 9qK1FwV0Dgy

--HG--
extra : rebase_source : 28983255c37f96e33f8fc9c5c9308a98ab74415f
2018-02-28 12:14:06 +01:00
Nicolas Chevobbe
375fb00013 Bug 1307928 - Add a "private" property to the ConsoleMessage type; r=bgrins.
Populate this from the different packet types and update stubs.

MozReview-Commit-ID: 4rrZBRdtOa4

--HG--
extra : rebase_source : 55458ef7f104803089391ebb8143342111c92ba3
2018-02-28 12:11:01 +01:00
Nicolas Chevobbe
a6a900df3a Bug 1441885 - Remove warnings from autocomplete-popup.js; r=jdescottes.
This was caused by an innerHTML assignment. Switching to replaceWith + cloneNode
does the trick.

MozReview-Commit-ID: 4pnIijKoJHU

--HG--
extra : rebase_source : 9a960a74c38b51c8ad549187549b383b916aa45e
2018-03-08 16:20:59 +01:00
J. Ryan Stinnett
e28260b08a Bug 1436187 - Fix linting errors in shared-head.js. r=bgrins
After moving shared-head.js, linting is activated because the new path is not
ignored.

MozReview-Commit-ID: GCLDfgJ7WCb

--HG--
extra : rebase_source : 598b89a4216e3876831afcfd885464f2b4e75244
2018-03-06 15:28:55 -06:00
J. Ryan Stinnett
d56f6a7b1f Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : 8c4d77c37cacdae36d17102b4dbf1222ec1fbd8a
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett
c6cf60a39f Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM

--HG--
extra : rebase_source : e70b29153ef8d96d7026bc3abd0fb0d2306849bc
2018-03-05 16:31:49 -06: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
Alexandre Poirot
8e1fd95a3a Bug 1443470 - Fix race when hovering status column in browser_net_filter-flags.js. r=Honza
MozReview-Commit-ID: NlcqpQLjLN

--HG--
extra : rebase_source : df9d6cbf72a17f565ea31ac1349e3d6bf752646e
2018-02-25 11:22:01 -08:00
Alexandre Poirot
dcab0f7cf8 Bug 1443470 - Fix wrong assertion in browser_net_simple-request-data.js. r=Honza
MozReview-Commit-ID: ATQc7o1kN9

--HG--
extra : rebase_source : ea2731b51cb3dcfbe50555c0346a86195c546730
2018-03-06 01:41:30 -08:00
Alexandre Poirot
df1782cf06 Bug 1443470 - Convert Task.jsm to async/await in devtools/client/netmonitor. r=Honza
$ ./obj-firefox-artifact/dist/bin/run-mozilla.sh ./obj-firefox-artifact/dist/bin/xpcshell xpc devtools/client/netmonitor

MozReview-Commit-ID: 7fUjyobgiPD

--HG--
extra : rebase_source : c105a8573f4d0e06d368b595524f06f37c56c393
2018-03-06 02:03:34 -08:00
glowka
8a03829a53 Bug 1434885 - Netmonitor list of requests width and height synced with details panel using dedicated action r=Honza
MozReview-Commit-ID: KNaTyJE0nbR

--HG--
extra : rebase_source : 11e380c024eeb5b90c73d20221606ecf0bae36ee
2018-02-22 22:06:36 +01:00
Patrick Brosset
64f6d4eefa Bug 1435749 - Cut out justify-content areas using the correct flex items in the flexbox highlighter; r=gl
MozReview-Commit-ID: 6v9TrdRARlI

--HG--
extra : rebase_source : 67e1b6b331756a7beb7ee4db39678552a66ab38a
2018-03-07 09:19:30 +01:00
Jan Odvarko
fae7d4473f Bug 1434855 - Improve performance of HAR export; r=ochameau
MozReview-Commit-ID: 6H6P6wYmdQL

--HG--
extra : rebase_source : ab9e8e9ea68ae91e8fe4f28c344c41e2324e223f
2018-03-08 12:45:36 +01:00
Jan Odvarko
da22fde827 Bug 1434855 - Refactor HAR builder options; r=ochameau
MozReview-Commit-ID: FRcxp4XPFdf

--HG--
extra : rebase_source : 4b88ddf3b5c14b0d9f1cb8f71018cd556ebbe353
2018-03-08 10:07:45 +01:00
Emilio Cobos Álvarez
70a3b5a0c6 Bug 1444036: Remove trivial uses of getPropertyCSSValue. rs=johannh
getPropertyCSSValue("foo").cssText is the same as getPropertyValue("foo").

MozReview-Commit-ID: HxdSr4749hi
2018-03-08 12:39:36 +01:00