Commit Graph
1928 Commits
Author SHA1 Message Date
Alexandre Poirot e1d0ca7c1b Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +00:00
Timothy Guan-tin Chien fb30ec3de3 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2a63ce2955 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-15 06:51:07 +00:00
Andreea Pavel f667cd7449 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien 3e86e5f53e Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien 0644cf5b9d Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-14 19:34:52 +00:00
Jason Laster de8267a913 Bug 1506688 - Update Debugger Frontend v101. r=dwalsh 2018-11-12 13:07:00 +02:00
Nicolas Chevobbe 0fd30cd41f Bug 1390768 - Create a new React component to render stacktraces; r=Honza.
The component is wrapping the `Frames` component from the debugger
in order to have access to frames grouping.
It also handles sourcemaps, since the debugger component
does not by itself.
Tests are added to ensure the component behaves as expected.

Depends on D11602

Differential Revision: https://phabricator.services.mozilla.com/D11603
2018-11-12 15:42:06 +00:00
Brad Werth 36a8845bc5 Bug 1503871 Change all of the debugger.css SVG mask URLs to use resource scheme. r=bradwerth
Bug #: 1503871

Differential Revision: https://phabricator.services.mozilla.com/D11101
2018-11-09 12:07:33 -05:00
Razvan Caliman a1e045c2a4 Bug 1503896 - (Part 6) Add test for tracking changes to rule selectors; r=pbro
Depends on D11116

Differential Revision: https://phabricator.services.mozilla.com/D11117
2018-11-07 10:33:32 +00:00
Andreea Pavel d592d58c36 Merge mozilla-central to autoland. on a CLOSED TREE 2018-11-06 19:11:54 +02:00
Alexandre Poirot d6ccdc8e76 Bug 1504706 - Call toolbox.destroy instead of going throught gDevTools.closeToolbox. r=yulia
MozReview-Commit-ID: FcAItxuKWIk

Differential Revision: https://phabricator.services.mozilla.com/D10904
2018-11-06 11:01:02 +00:00
Gurzau Raul 60abdc64f2 Merge inbound to mozilla-central. a=merge 2018-11-06 11:57:49 +02:00
Vincent R 0cd8d00cd1 Bug 1185808 - Improve devtool notification box layout when overflowing. r=pbro
- Make notificationbox buttons and closing affordance visible when overflowing,
- Apply ellipsis to message when overflowing (using the width=0 to not break flex layout),
- Add title to show potentially truncated message on hover,
- Simplify layout (remove the unnecessary nested flexbox layout).

TESTED=Locally using some mocked notification buttons. Run styleeditor and shared/component tests.
2018-11-01 01:22:18 +01:00
Narcis Beleuzu 5fafaa633d Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
vinoth 57318f89de Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

Differential Revision: https://phabricator.services.mozilla.com/D10850
2018-11-05 16:41:45 +02:00
Kris Maglione 2fe938bed2 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
arthur.iakab 60aefe8252 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione 937d3bc224 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
arthur.iakab 0b02a4f71d Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione 31d1c1a1da Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
Kris Maglione e6bd736d83 Bug 1356412: Follow-up: Fix devtools test bustage. r=bustage 2018-11-05 12:25:42 -08:00
Kris Maglione bd9569ef4c Bug 1356412: Part 1 - Remove subscript loader path mangling. r=mccr8
This was only ever useful before we had compartment-based security isolation.
Now it is just a pervasive nuisance.

Differential Revision: https://phabricator.services.mozilla.com/D10795
2018-11-02 14:45:12 -07:00
Cosmin Sabou 8c625f78c1 Backed out changeset 16f9bded4e5b (bug 1185808) for mochitest failures on test_notification_box_03. 2018-11-05 12:37:39 +02:00
Vincent R e749be3ea3 Bug 1185808 - Improve devtool notification box layout when overflowing. r=pbro
- Make notificationbox buttons and closing affordance visible when overflowing,
- Apply ellipsis to message when overflowing (using the width=0 to not break flex layout),
- Add title to show potentially truncated message on hover,
- Simplify layout (remove the unnecessary nested flexbox layout).

TESTED=Locally using some mocked notification buttons. Run styleeditor and shared/component tests.
2018-11-01 01:22:18 +01:00
Ting-Yu Lin 5482102065 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

Differential Revision: https://phabricator.services.mozilla.com/D10804
2018-11-05 15:27:36 +00:00
Jan-Erik Rediger 9e43e58527 Bug 1468761 - Migrate external Telemetry tests to handle packed histograms r=chutten
Depends on D9236

Differential Revision: https://phabricator.services.mozilla.com/D9237
2018-11-01 13:46:59 +00:00
Ciure Andrei 265e9c99c7 Merge inbound to mozilla-central. a=merge 2018-10-31 00:06:53 +02:00
Razvan Caliman 36ff17fad3 Bug 1503192 - Revert "Bug 1491281 - Use tab id and title as fallbacks for panel props in Inspector sidebar tabs; r=gl
This reverts the patch introduced for Bug 1491281 because it
accidentally breaks the Tabbar.js (used in Inspector and Netmonitor)
when in working with React in dev mode.

Differential Revision: https://phabricator.services.mozilla.com/D10223
2018-10-30 14:54:36 +00:00
Alexandre Poirot 4de8dbcb83 Bug 1502910 - Remove TimelineActor. r=Honza
MozReview-Commit-ID: DtmS18EYw12

Depends on D10186

Differential Revision: https://phabricator.services.mozilla.com/D10187
2018-10-30 10:49:19 +00:00
Alexandre Poirot 66eea26edd Bug 1485661 - Adapt addonListChanged to new front. r=yulia
MozReview-Commit-ID: 7BJ9qZYP2YO

Depends on D8820

Differential Revision: https://phabricator.services.mozilla.com/D8821
2018-10-30 08:08:27 +00:00
David Walsh 0808e46a33 Bug 1502494 - Update Debugger Frontend to v97 r=jdescottes 2018-10-26 14:56:21 -05:00
Gurzau Raul 33e5e3dd73 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-30 00:10:27 +02:00
Razvan Caliman 5fd89583fb Bug 1491281 - Use tab id and title as fallbacks for panel props in Inspector sidebar tabs; r=gl
Avoid needless duplication if tab id and title as props when creating Inspector sidebar tab components.

Differential Revision: https://phabricator.services.mozilla.com/D9909
2018-10-26 17:15:58 +00:00
Nicolas Chevobbe 77fa030884 Bug 1501632 - Return an unsubscribe function from SourceMapURLService.prototype.subscribe; r=loganfsmyth.
The SourceMapURLService has a subscribe and an unsubscribe
functions to respectively listen and stop listening for
source map changes on a given location (url + line + column).
The unsubscribe function need to be called with the same
parameters as the subscribe function, which means the consumer
need to keep a reference to the callback.
By making the subscribe function return the unsubscribe function,
this makes things a bit easier.

Differential Revision: https://phabricator.services.mozilla.com/D9784
2018-10-25 17:15:45 +00:00
David Walsh 458804a802 Bug 1500986 - Migrate addon test from old debugger to shared r=jdescottes 2018-10-24 15:13:17 -05:00
David Walsh d0efebc64a Bug 1500986 - Migrate old event-listener and worker debugger tests r=jdescottes 2018-10-23 20:39:19 -05:00
Julian Descottes 7674d57438 Bug 1501918 - Restore tooltip size when updating Variable and BrokenImage content;r=pbro
Another regression linked to removing setContent API on HTMLTooltip.
The initial feedback to remove the method was from me, because we started seeing
two ways to set the content of the tooltip (DOM APIs or setContent) and I prefered
keeping only one. However the DOM approach still almost forces you to call setContentSize
in case your tooltip instance is shared for different content.

This is the case for the preview tooltip, which is used for CSS variables, fonts and image
previews. Maybe we should revisit the decision to remove this setContent API

Differential Revision: https://phabricator.services.mozilla.com/D9752
2018-10-25 09:44:18 +00:00
Julian Descottes c3f529eba0 Bug 1501622 - For consistency, clear innerHTML in SwatchTooltips;r=pbro
Depends on D9648

Note that this is not strictly necessary since the set* methods are only called when
the Swatch tooltips are built, so they always operate on "new" HTML Tooltips. But
since this is not very self explanatory I think it will be less surprising to be
on the safe side and clear innerHTML in the methods directly.

Differential Revision: https://phabricator.services.mozilla.com/D9649
2018-10-24 13:37:17 +00:00
Julian Descottes 7ea59e1beb Bug 1501622 - Cleanup CSS variable preview tooltip content when hovering new variable;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9648
2018-10-24 12:50:42 +00:00
Kristin Taylor 2d3ab6342d Bug 1494789 - Part 3: Use --error-color for --string-color. r=nchevobbe 2018-10-22 21:31:59 -05:00
David Walsh f0b4d68107 Bug 1502224 - Update debugger frontend v96 r=jdescottes
Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&revision=59f88434009d15d88731f658a1f0b177dbf2d008

Tags: #secure-revision

Bug #: 1502224

Differential Revision: https://phabricator.services.mozilla.com/D9936
2018-10-26 13:55:04 -05:00
Julian Descottes b7065ab426 Bug 1499369 - Remove unreferenced event variable in browser_dbg_navigation.js (beta 64 permafail);r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9373
2018-10-22 13:37:27 +00:00
Daniel Varga 19b44c7933 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Gabriel Luong 1d4d455f90 Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley 2018-10-19 17:40:31 -04:00
Mark Banner 6462447652 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (manual fixes). r=mossop
Depends on D8389

Differential Revision: https://phabricator.services.mozilla.com/D8391
2018-10-19 08:33:17 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Alexandre Poirot bfcc24e9f1 Bug 1500070 - Avoid using about:debugging in generic about: page tests. r=jdescottes
Opening about:debugging may lead to pending listAddons requests.
Tests that open about:debugging should be careful to wait for the end
of these requests, which this test doesn't do.

MozReview-Commit-ID: 6YyfdW78kOS

Depends on D8828

Differential Revision: https://phabricator.services.mozilla.com/D8867
2018-10-18 13:40:48 +00:00
Alexandre Poirot cc0948cd92 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

Differential Revision: https://phabricator.services.mozilla.com/D9006
2018-10-18 07:21:02 +00:00
Margareta Eliza Balazs 0f4440e668 Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00