Commit Graph
1498 Commits
Author SHA1 Message Date
Andreea Pavel 77cede8498 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
Boris Zbarsky 6c76a18c4c Bug 1446598 part 2. Get rid of nsIDOMComment. r=mystor
MozReview-Commit-ID: GGXPQnlwuUM
2018-03-19 15:15:39 -04:00
Boris Zbarsky 49560bc47d Bug 1433566 part 2. Remove use of nsIDOMText from JS. r=mystor
MozReview-Commit-ID: LtAhn223y0s
2018-03-19 15:15:37 -04:00
Bogdan Tara 1096f0f569 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Bogdan Tara f6affd371a Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Adrian Wielgosik 03284e63fb Bug 1446515 - Remove nsIDOMFileList. r=bz
MozReview-Commit-ID: 4ab1e6NTcOB
2018-03-16 20:55:32 +01: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
Yura Zenevich c69be566e6 Bug 1445251 - do not instantiate a11y service if it was already turned off when resetting accessible walker actor. r=pbro
MozReview-Commit-ID: 8H9xeRs4nR6
2018-03-16 13:07:42 -04:00
Mark Banner d30cec486b Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.

MozReview-Commit-ID: 6wLY7Oj0am3
2018-03-05 10:34:38 +00:00
Kris Maglione 2167255882 Bug 1445551: Follow-up: Fix typo. r=emk DONTBUILD
MozReview-Commit-ID: BDJD4SvrIX9
2018-03-15 21:57:28 -07:00
shindli 2fe73c2e23 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 12:17:25 +02:00
Kris Maglione 39c12beb57 Bug 1445551: Part 5 - Remove add-on path service. r=aswan,mccr8
The path service was created to allow us to track resources that were part of
legacy add-ons, and to map URIs ponting to those resources to add-on IDs, so
that we could apply special behavior to them.

We have better ways to track resources belonging to WebExtensions, so this
code does not benefit them in any significant way.

The only remaining legacy extensions are system add-ons, which we control, and
do not need the path service in order to track.

MozReview-Commit-ID: BKXkcaM7jJx
2018-03-13 20:21:22 -07:00
Kris Maglione c52d401bb4 Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT
2018-03-14 14:35:05 -07:00
Andreea Pavel 46192c089c Backed out 2 changesets (bug 1435373) for devtools failures at devtools/client/shared/test/browser_telemetry_button_eyedropper.js and devtools/client/inspector/rules/test/browser_rules_eyedropper.js and devtools/client/inspector/test/browser_inspector_highlighter-cssshape_04.js on a CLOSED TREE
Backed out changeset 195379cf14f0 (bug 1435373)
Backed out changeset 14a22276dc53 (bug 1435373)
2018-03-15 01:50:45 +02:00
Andreea Pavel 4fcb7883ae Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +02:00
Mike Ratcliffe d41ae48c05 Bug 1381590 - Make Storage Inspector work with file:// URLs r=pbro
MozReview-Commit-ID: I8QPDaovalG
2018-03-12 17:37:49 +00:00
Razvan Caliman 0eed3a0f87 Bug 1435373 - Map changes from shape highlighter to correct CSS rules. r=pbro
- Emit shape change events from highlighter
- Wrap shape highlighter with in-context shape editor singleton
- Link text properties from Rule view into in-context shapes editor
- Write changes to corresponding rule instead of inline style
- Hide shape highlighter on node change or TextProperty disabled/overwritten
- Remove functionality to restore shape editor on refresh
- Refactor and consolidate shape point hover behaviour (still to do: internalize remaining logic for point hover from rules.js and highlighter-overlay.js)
- Update unit tests

MozReview-Commit-ID: JiMTqODgcjU
2018-02-19 17:45:06 +01:00
Razvan Caliman 34aead6f47 Bug 1435373 - Minor refactor for shape output string guarding against empty this.geometryBox. Round values in getDistance() util function to avoid verbose precision. r=gl
MozReview-Commit-ID: IBB4mkvAu6h
2018-02-19 17:51:10 +01:00
sean-chen 81482253df Bug 1443786 - Fix CanvasDebugger crash due to a TypeError. r=jdescottes 2018-03-13 11:14:46 -07:00
Michael Ratcliffe ec7ed48b6b Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Dorel Luca 3533489bdf Backed out changeset ae1924aff61b (bug 1443457) as requested by developer 2018-03-14 12:35:38 +02:00
Michael Ratcliffe b37dad2dfb Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Michael Ratcliffe 02295c73e7 Bug 1446310 - Remove CPOWs from browser_storage_updates.js r=jryans
MozReview-Commit-ID: DVeLEYIfl9A
2018-03-16 09:55:56 +00:00
Michael Ratcliffe e97ef7ef72 Bug 1446037 - Remove CPOWs from browser_storage_dynamic_windows.js and simplify the test r=jryans
Try to comprehend exactly how the original test worked... I dare you!

MozReview-Commit-ID: 5EYOfhw3hVw
2018-03-15 17:17:53 +00:00
Michael Ratcliffe 3a93eeb7fc Bug 1446320 - Remove uses-unsafe-cpows flag from browser_storage_listings.js r=jryans
browser_storage_listings.js doesn't use CPOWs and runs just fine with the flag removed.

I would r=me this if ReviewBoard would let me but I can't.

MozReview-Commit-ID: IHoY7qLR3k2
2018-03-16 11:13:38 +00:00
Alexandre Poirot 35f6d81d38 Bug 1438121: Change test_memory_allocations_01.html to use async functions instead of Task.jsm.
MozReview-Commit-ID: BCQjc5Q3yqd
2018-03-13 10:02:17 -07:00
Narcis Beleuzu b732ff8724 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Noemi Erli 545af3c536 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Yura Zenevich 0d1d580131 Bug 1443831 - accessible highlighter: when picking accessilbe for a node, walk its ancestry until the first valid accessible object. r=pbro
MozReview-Commit-ID: 1NEaKOoAIhH
2018-03-12 14:21:07 -04:00
J. Ryan Stinnett 0871824cd7 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
2018-03-07 16:52:51 -06:00
Luca Greco f237100d39 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm
2018-02-19 18:00:35 +01:00
Yura Zenevich 41c7179427 Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-09 10:01:55 -05:00
Patrick Brosset 99dc099ae5 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
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
Boris Zbarsky bd4a95f26b Bug 1444919 part 2. Remove nsIDOMClipboardEvent. r=mystor
MozReview-Commit-ID: YmJ04OiqFo
2018-03-13 00:59:24 -04:00
Brindusan Cristian c1e366687d Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Nicolas B. Pierron 4324739aa3 Bug 1443909 - Index documentation of JSMSG_BAD_INSTANCEOF_RHS. r=fscholz 2018-03-08 13:24:26 +00:00
Cosmin Sabou ada3bae617 Merge inbound to mozilla-central. a=merge 2018-03-08 05:59:30 +02: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
Patrick Brosset 2f765ab009 Bug 1435749 - Cut out justify-content areas using the correct flex items in the flexbox highlighter; r=gl
MozReview-Commit-ID: 6v9TrdRARlI
2018-03-07 09:19:30 +01:00
Gabriel Luong 08f641400b Bug 1435749 - Get the correct flex items when rendering in the flexbox highlighter. r=pbro 2018-03-07 15:43:58 -05:00
Gabriel Luong 61848a42b4 Bug 1432036 - Fix eslint error in flexbox.js. r=me 2018-03-07 14:50:33 -05:00
Shuoyi Ma 4f3938c4dd Bug 1432036 - Remove overlapping flex lines with the flex container in flexbox highlighter. r=gl 2018-03-07 14:45:18 -05:00
Nicolas Chevobbe 06ec2e27ad Bug 1441864 - Fix ContentProcessForward data handling; r=bgrins.
In ContentProcessForward, we listen for console-api-log-event in order
to pass data to the Browser console and Browser toolbox.
But the data is modified and properties are cherry-picked from the original
event, missing some properties probably introduced later like `counter`,
`prefix`, `private`, …
The fix consists in cloning the original event data and only overriding what
needs to be overridden.

MozReview-Commit-ID: 6jSfiRxcHQa
2018-03-01 10:23:58 +01:00
J. Ryan Stinnett 58dc721b83 Bug 1248498 - Check document cache status when loading HTML sources. r=jlast
When getting the source for inline scripts in documents, we generally try to use
the cache.  However, the toolbox allows you to disable the HTTP cache while open
if you wish.

If the toolbox has disabled the cache, using `fetchFromCache: true` will give
stale data (from the most recent cache-enabled request).

We can avoid stale data here by checking the document's cache state.

MozReview-Commit-ID: J5SJciSyQNj
2018-02-28 19:48:54 -06:00
Alexandre Poirot 4a94424b5c Bug 1233890 - Remove unnecessary usages of deprecated sync promises in devtools/server. r=jryans
MozReview-Commit-ID: 2K7gxMz9w3y
2018-02-13 05:25:52 -08:00
Nicolas Chevobbe 0493daea28 Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
MozReview-Commit-ID: 3B3slS3EPYn
2018-02-27 09:06:56 +01:00
Dorel Luca a8272b3810 Backed out 2 changesets (bug 1428430) for devtools failure on /builds/worker/workspace/build/src/accessible/base/nsAccessibilityService.cpp:1045 a=backout
Backed out changeset 7d9813d8cb47 (bug 1428430)
Backed out changeset a638660a49fa (bug 1428430)
2018-03-02 01:48:52 +02:00
Gabriel Luong 14a4ba4bd5 Bug 1441622 - Expose the OpenType Font Variations data to the fonts redux store. r=pbro 2018-03-01 15:25:10 -05:00
Yura Zenevich dfdcb5ef45 Bug 1428430 - Fix for ESLint faiure in devtools/server/actors/accessibility.js.
MozReview-Commit-ID: 3PPmOMsQAr0
2018-03-01 10:39:40 -05:00