RDM was explicitly forcing the remote browser XBL binding via inline style, but
that's actually redunant with what you'd get via CSS. (I am unsure if that's
always been true...)
It appears we can safely remove this to reduce some complexity here.
MozReview-Commit-ID: 2xlS6Dd2VYj
--HG--
extra : rebase_source : 2f9eb8789650e96cf82be60e7fe07d2bb3159a91
Usage was removed from devtools/client/framework/sidebar as well since it emits
events with the parent component.
MozReview-Commit-ID: 24LLmnSZ89I
--HG--
extra : rebase_source : 3ede287d862c80817fe4767e8d029dda26cbb58b
The message is now localized, with the URL as a parameter.
browser_webconsole_persist was modified to explicitely wait for
the Navigation message to be logged.
MozReview-Commit-ID: L0hsrkYsl16
--HG--
extra : rebase_source : d1a1150025f854572b992c34854510652532f39d
extra : source : 43b07b71855e3b7c82276391baeabc7d7250784d
* Renaming the connect file to reflect its purpose
* Require the module using absolute path
MozReview-Commit-ID: H3giPGF9dyJ
--HG--
rename : devtools/client/netmonitor/src/utils/redux-connect.js => devtools/client/shared/redux/visibility-handler-connect.js
extra : rebase_source : 4502e3c602dd4e5c28b69833d2ac04894016c828
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
--HG--
extra : rebase_source : 3a4c61c0eb14ccdf584630c508dc439b7718ee45
extra : source : d266983f9cdeba0381f11e00bb6b271ccda561c1
Pulling global properties from a JSM is a bit strange, so we should avoid it
where possible. This patch moves the properties available via
`wantGlobalProperties` over to that approach instead.
In the case of `XMLHttpRequest`, it is not actually expected to be available for
JSMs. If it were, it would be marked "Exposed=System". However, various
browser JSMs use `importGlobalProperties` to access it. These days, JSMs are
loaded into a shared global, so once one of these modules has called
`importGlobalProperties`, it becomes accessible via any JSMs loaded into that
shared global.
By moving XHR to the `wantGlobalProperties` style, we avoid this fun race.
MozReview-Commit-ID: 1umu94Qvlz9
--HG--
extra : rebase_source : d8f459f8b3219c788f2fa79d616bfda49e338186
Simplify and sort syntax in the DevTools global and modules lists.
MozReview-Commit-ID: IhJ8WTl9lR9
--HG--
extra : rebase_source : 3fffaaf53dcde95c9dc57c73698805326b059626
The old test was focused on log levels so I have converted this to use categories as discussed.
Of course, the test passes just fine with `verify`
MozReview-Commit-ID: 8SktBkz5ysk
--HG--
extra : rebase_source : cb1f7f43ee30c83af48dcafa4c556b8ed3e26f01
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
--HG--
extra : rebase_source : f5fce653f7860b406aa4a580c32e7c15f9cdd0ce
Not a huge amount needed changing in this one... changed paths, removed references to bug numbers, switched to async / await and used the new method to check for messages.
MozReview-Commit-ID: 2pefVnMozXq
--HG--
extra : rebase_source : fe4b0fc52bf8a60d566314920baa75aaf8458d9d
There wasn't anything done for this kind of resources, so the URL looked
like resource://devtools/shared/base-loader.js -> resource://devtools/path/to/file.js
and was causing issue in the onClick handler.
MozReview-Commit-ID: GUJOpjDX1zG
--HG--
extra : rebase_source : 745ab61678772acdc7794719ae1c3d85ee1475c4
Add a defaultURL the debuggee window will navigate too in the config (new
feature of devtools-launchpad).
MozReview-Commit-ID: 2ppGG6paFnP
--HG--
extra : rebase_source : 70b513b11cecd8f1a4238ddf7bbfd2e30ae94867
Rebased due to failing tests on try... built on a failing base.
MozReview-Commit-ID: BiC1pWeml2N
--HG--
extra : rebase_source : 4e57102655d930737950dd571b16632c412e0a3d