Commit Graph
181 Commits
Author SHA1 Message Date
Franziskus Kiefer 1111350822 Bug 1304923 - adding key exchange group and signature scheme details to devtools view, r=keeler, Honza
This patch adds the group used for TLS key exchange and the siganture scheme of the certificate to SSLStatus and displays it in devtools.

MozReview-Commit-ID: 7aTj0U5GIvo
2017-08-28 15:29:19 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Alexandre Poirot 4290449b4f Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf
2017-08-01 16:17:22 +02:00
Wes Kocher 85ba4e7ea1 Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI
2017-08-08 09:17:56 -07:00
Alexandre Poirot 946ab8adea Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART3: Manual fixes
- Go manually fix: http://searchfox.org/mozilla-central/source/devtools/client/dom/dom-panel.js
  which has duplicated import of defer symbol (it already used to import it)
- execute eslint, see all the places where we import of 'promise' is no longer use it
  (there may be leftovers not covered by eslint that will be covered in bug 1387128)
  devtools/server/tests/mochitest/inspector-helpers.js needs to keep importing promise as it is a shared test script.
- fix devtools/client/performance/panel.js and devtools/client/webconsole/console-output.js
  which use loader.lazyRequireGetter(this, "promise") and miss the defer import
- fix devtools/server/worker.js to use 'worker.require(devtools/shared/defer")'

MozReview-Commit-ID: HIOB5Et87Wc
2017-08-08 15:19:56 +02:00
Alexandre Poirot 3d76320218 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
  Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
  http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true&regexp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js

MozReview-Commit-ID: DGN5ae68wtn
2017-08-08 15:24:04 +02:00
Alexandre Poirot 1f1a801a56 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART1: Import devtools/shared/defer
$ sed -i '/require("promise")/a const defer = require("devtools/shared/defer");' $(egrep -lir "promise.defer\(\)" $(egrep -rl "require\(\"promise\"\)" devtools))
But ignore debugger as it still uses sync promises and would better be handled manually
$ git checkout devtools/client/debugger/
MozReview-Commit-ID: 7FvhNxULB2x
2017-08-08 15:33:56 +02:00
Vincent Lequertier d20c142d31 Bug 1382025 - Include the headers size in the netmonitor 'Transferred' column; r=tromey
MozReview-Commit-ID: 4LfbqvxLsqi
2017-07-30 11:42:26 +02:00
Alexandre Poirot dda591f32b Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf
2017-08-01 16:17:22 +02:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Yoshi Huang 55fbfd1425 Bug 1381771 - Part 2: use legacy data: URI behavior to run test. r=bgrins
These two tests just creates a dummy window, however it makes the test
more difficult to write if we just simply use a seperate file for them.

Because these are chrome: tests, and they are opening a content window,
for the chrome side, it won't receive the window.onload because they are
not the same origin.

For the content side, it cannot access 'postMessage' because it looks
there's some protection when trying to read chrome object.
2017-07-24 10:00:31 +08:00
Jan Odvarko 9699a0842f Bug 1378865 - Stop using sdk/core/heritage in DevTools shared webconsole server logger; r=zer0
MozReview-Commit-ID: ADFdvBWWMZL
2017-07-07 15:16:56 +02:00
Patrick McManus f75e6f88c2 Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza
Implements PerformanceTiming, nsITimedChannel, and devtools 'tls setup'

Also captures telemetry on this as we do for all other attributes of timedChannel

Also propogates some null transaction timings onto first real
transaction of a connection

MozReview-Commit-ID: 47TQJYVHnKC
2017-07-10 15:01:35 -04:00
Ricky Chien 35e53d8bc6 Bug 1373594 - Fix broken automatic HAR logs exported r=Honza
MozReview-Commit-ID: LEWZsBYk9vT
2017-06-20 17:58:09 +08:00
Luca Greco 8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Brian Grinstead f732c44d87 Bug 1363871 - Key openRequests / openResponses on channel;r=Honza
This prevents NS_ERROR_NOT_IMPLEMENTED on nsIHttpChannel.channelId when
it is called with an nsINullChannel.

MozReview-Commit-ID: J8bRWSz4TYv
2017-05-10 15:16:31 -07:00
Brian Grinstead 7783c6cfa3 Bug 1361140 - Key openRequests and openResponses by channel instead of id for faster lookups;r=Honza
MozReview-Commit-ID: LKpy7SCYcZj
2017-05-06 13:01:59 -07:00
Dragana Damjanovic 7103eb740f Bug 1334776 - ResponseHeader Visitor will get original header casing. We need to fix it at some places in devtools. 2017-04-27 16:48:43 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Eugen Sawin 1f617c1192 Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
nchevobbe f595ae60f1 Bug 1088900 - Add backend tests for console.group custom styling. r=bgrins
MozReview-Commit-ID: IINPZWea2En
2017-04-12 10:27:30 +02:00
Sebastian Hengst d48806b86c Backed out changeset c844ec70bdb4 (bug 1342178) for frequently timing out in test_network_security.html on Linux. r=backout a=backout
MozReview-Commit-ID: 3NVZcUPRc2c
2017-04-11 11:28:59 +02:00
Sebastian Hengst 1d80aa2d8b Backed out changeset 87912394d7d7 (bug 1342178)
MozReview-Commit-ID: FyZbX7H2TFu
2017-04-11 11:28:15 +02:00
Sebastian Hengst 0d23f3b314 Backed out changeset db96edf786de (bug 1342178)
MozReview-Commit-ID: 2tMaP9n3ug5
2017-04-11 11:28:10 +02:00
Sebastian Hengst 5aafac9a24 Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Jonathan Hao 73b2bcb850 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO
2017-04-11 10:14:10 +08:00
Jonathan Hao e1413ee143 Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP
2017-04-11 10:14:09 +08:00
Jonathan Hao bdc5bb9a8e Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI
2017-04-11 10:14:08 +08:00
Jonathan Hao c5f9f458c1 Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm
2017-04-11 10:14:08 +08:00
Wes Kocher 91aa56ee3f Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)
2017-04-10 12:34:10 -07:00
Jonathan Hao 19711b44eb Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO
2017-04-06 15:43:35 +08:00
Jonathan Hao e2c58a1fc1 Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP
2017-04-06 15:43:32 +08:00
Jonathan Hao 5988b6b957 Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI
2017-04-06 15:43:32 +08:00
Jonathan Hao 8a5a45eeaa Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm
2017-04-06 15:43:31 +08:00
Mark Banner ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Tooru Fujisawa ad063f0c54 Bug 104442 - Part 2: Add a testcase for devtools and note. r=nchevobbe 2017-02-25 12:52:33 +09:00
Sebastian Hengst 9a7f8a8b90 Backed out changeset 92de31554a9f (bug 1261585) for failing browser_dbg_post-page.js on Linux x64 opt with e10s. r=backout 2017-02-20 22:45:13 +01:00
Dragana Damjanovic 1ef7be6567 Bug 1261585 - Necko does content conversions for TracableChannel so devtool does not need to do it separately. r=ochameau 2016-12-20 06:45:00 -05:00
Jonathan Hao ad6b0a5da2 Bug 1336867 - Remove unsafeProcessHeader and isSecureHost in nsISiteSecurityService r=keeler,mgoodwin,past 2017-02-08 11:17:29 +08:00
Tim Nguyen 2c0f72af0e Bug 1326412 - Fix ESLint issues in devtools/shared/webconsole/test/common.js. r=jryans
MozReview-Commit-ID: A07SFMexvSL
2017-02-13 19:16:56 +00:00
Micah Tigley 3007a220c3 Bug 1326412 - Fix eslint issues in devtools/shared/webconsole/test/ r=ntim
MozReview-Commit-ID: HRrPP2p7MVs
2017-01-19 20:26:00 +00:00
Sebastian Hengst ffe7143ee0 Bug 1336715 - Use https://hg.mozilla.org instead of http in devtools comments. r=pbro
MozReview-Commit-ID: iSeSOEv0B
2017-02-04 14:45:36 +01:00
Phil Ringnalda aa86a2ebe8 Backed out 2 changesets (bug 1336867) for (at least) eslint failures
CLOSED TREE

Backed out changeset 0a4f283638cb (bug 1336867)
Backed out changeset 837766805d75 (bug 1336867)
2017-02-09 19:02:32 -08:00