Commit Graph

364 Commits

Author SHA1 Message Date
Brian Grinstead
4902b5d260 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH

--HG--
extra : rebase_source : 33f1a2183ee717c79f360a7dda688832a5c33566
2017-08-11 09:16:59 -07:00
Brian Grinstead
0262e6e6ac Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7

--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Alexandre Poirot
a8c68f2955 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

--HG--
extra : rebase_source : 57602d89b0bcc1c905bee7723e30f87fa434c6d9
2017-08-08 15:24:04 +02:00
Masatoshi Kimura
49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Brian Grinstead
b86762c77a Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o

--HG--
extra : rebase_source : 36f1434de4e252b254d0159137f33aa87908bf89
2017-07-26 15:14:07 -07:00
Brian Grinstead
9c23cdfee2 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q

--HG--
extra : rebase_source : 16229930e92c2ab69f6dc46a634551e3a962f57d
2017-07-26 11:22:59 -07:00
Jan Odvarko
ec58c3b9cc Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag

--HG--
extra : rebase_source : e7123e7ccee0ed940afa1ece98200ca389f0572e
2017-06-09 09:42:34 -07:00
Johann Hofmann
3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Sebastian Hengst
87783a64ad Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Brian Grinstead
2e4a0585f7 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4

--HG--
extra : rebase_source : c8c4e43f8ea13caac773e07b76670b0e0e18e497
2017-06-09 09:42:34 -07:00
Junior Hsu
3202301d69 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Yoshi Huang
e198bf2729 Bug 1377523 - Part 6: fix in webconsole/. r=pbro
Use srcdoc for iframe.
2017-07-13 12:28:04 +08:00
Paolo Amadini
06de7cf6bf Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-06-29 00:13:06 +01:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Ehsan Akhgari
3615b687a6 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-08 09:49:49 -04:00
Carsten "Tomcat" Book
383edc0429 Backed out changeset 575e351a12af (bug 1361461) for causing frequent reftest assertion failures like Assertion failure: false (Ran out of memory while building cycle collector graph), at z:/build/build/src/xpcom/base/nsCycleCollector.cpp:929
--HG--
extra : rebase_source : d4b0d05b42656579e35efde2d676c2f8f0115299
2017-06-08 11:27:43 +02:00
Ehsan Akhgari
8e38408bd7 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-07 21:49:03 -04:00
Ehsan Akhgari
3cc0bd4b17 Backout bug 1361461 due to potentially introducing some intermittent reftest failures 2017-06-07 13:01:24 -04:00
Ehsan Akhgari
db983a3ae9 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-07 10:57:09 -04:00
Ehsan Akhgari
30d7c12e39 Bug 1370102 - Make browser_console_dead_objects.js correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-06-04 19:33:53 -04:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Paolo Amadini
30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01:00
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Oriol
652cfe6316 Bug 1297466 - Do not attempt to open Function.prototype in Debugger. r=bgrins
--HG--
extra : rebase_source : fed13d5c980f853c313d6b62a7812af538bd79cb
2017-05-15 16:47:00 -04:00
Brian Grinstead
4897fac06f Bug 1364047 - Pull WebConsoleUtils.l10n into its own module;r=Honza
MozReview-Commit-ID: LI5Hrs33CVS

--HG--
extra : rebase_source : 5da9d9ac8acf90f2446d1068589f1a4d314c0695
2017-05-17 14:07:03 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Scholz
85eaf172b0 Bug 1353706 – Update errordocs mapping for added and updated MDN docs. r=Honza 2017-05-04 00:49:00 -04:00
Ricky Chien
da1823f076 Bug 1344160 - Fix mochitest failures r=Honza
MozReview-Commit-ID: JkF1WCdLmt8

--HG--
extra : rebase_source : d6c1e0bf147023c177ac098ecbfce7bb86738a5f
2017-04-29 23:20:49 +08:00
Dragana Damjanovic
ac4b67b516 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
Julian Descottes
7f9cac248f Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 7b7f29e68b5c73246de73ee73bdfbcce7de4e594
extra : source : 26825d7a225d98a9b29def0e0871ed7d8d3cb62f
2017-04-20 14:49:44 +02:00
Andrea Marchesini
26843e3f98 Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
Andrea Marchesini
9a89dabb3e Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Tom Tromey
d9a58b20b7 Bug 1346326 - implement new console.count semantics; r=baku
Bug 1346326 points out that the console.count spec has changed to

  void count(optional DOMString label = "default");

This patch implements the same behavior, but does not change the webidl,
on the theory that perhaps something relies on the current "any..."
type.

MozReview-Commit-ID: 9RQKAZ4AVtT
2017-04-07 10:04:10 -06:00
Carsten "Tomcat" Book
0ede18d72a Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Wes Kocher
cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Julian Descottes
ef9a9e80c9 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 76cd533614d04771319f484cf8eb642d5f966e75
2017-04-18 10:25:19 +02:00
Jim Porter
3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Ricky Chien
5caf480904 Bug 1356786 - Add waitUntil in browser_webconsole_shows_reqs_in_netmonitor.js r=ntim
MozReview-Commit-ID: 1cLwVeaortC

--HG--
extra : rebase_source : beb312634f4956be6588b7b537911082a2bb0942
2017-04-15 19:38:00 +08:00
Ricky Chien
4a003809b3 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : d50dd14c0532df7b0cb30c432af3de1dd55953a1
2017-04-01 23:01:06 +08:00
Carsten "Tomcat" Book
5010bfe1c5 Backed out changeset afbfe3a5cdb6 (bug 1352699) 2017-04-07 10:48:08 +02:00
Ricky Chien
02dbca99f3 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : de8167f771793f2da2092470d261a2a56afa3683
2017-04-01 23:01:06 +08:00
Sebastian Hengst
8eaa228f2c Backed out changeset a3ef74b43978 (bug 1352699) 2017-04-06 20:15:15 +02:00
Ricky Chien
d52f99b739 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : f9fc2e4c0b342409a6a1c9e6acd992506585e8e4
2017-04-01 23:01:06 +08:00
Ricky Chien
06707cbe52 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn

--HG--
extra : rebase_source : 5ab54e4d138c22b1626bc32610f62389fe0786df
2017-03-27 00:01:35 +08:00
Wes Kocher
f4d0026eb3 Backed out 7 changesets (bug 1350215) for OSX failures in browser_all_files_referenced.js a=backout
Backed out changeset 435557f30204 (bug 1350215)
Backed out changeset b8358b21928c (bug 1350215)
Backed out changeset 59d2a3f98f6d (bug 1350215)
Backed out changeset e219f3f6e8e7 (bug 1350215)
Backed out changeset f812f7a98a9c (bug 1350215)
Backed out changeset e676e004d08e (bug 1350215)
Backed out changeset e6d27888cb6f (bug 1350215)

--HG--
rename : devtools/client/netmonitor/src/actions/batching.js => devtools/client/netmonitor/actions/batching.js
rename : devtools/client/netmonitor/src/actions/filters.js => devtools/client/netmonitor/actions/filters.js
rename : devtools/client/netmonitor/src/actions/index.js => devtools/client/netmonitor/actions/index.js
rename : devtools/client/netmonitor/src/actions/moz.build => devtools/client/netmonitor/actions/moz.build
rename : devtools/client/netmonitor/src/actions/requests.js => devtools/client/netmonitor/actions/requests.js
rename : devtools/client/netmonitor/src/actions/selection.js => devtools/client/netmonitor/actions/selection.js
rename : devtools/client/netmonitor/src/actions/sort.js => devtools/client/netmonitor/actions/sort.js
rename : devtools/client/netmonitor/src/actions/timing-markers.js => devtools/client/netmonitor/actions/timing-markers.js
rename : devtools/client/netmonitor/src/actions/ui.js => devtools/client/netmonitor/actions/ui.js
rename : devtools/client/netmonitor/src/components/moz.build => devtools/client/netmonitor/components/moz.build
rename : devtools/client/netmonitor/src/components/request-list-empty-notice.js => devtools/client/netmonitor/components/request-list-empty.js
rename : devtools/client/netmonitor/src/components/toolbar.js => devtools/client/netmonitor/components/toolbar.js
rename : devtools/client/netmonitor/src/constants.js => devtools/client/netmonitor/constants.js
rename : devtools/client/netmonitor/src/har/har-automation.js => devtools/client/netmonitor/har/har-automation.js
rename : devtools/client/netmonitor/src/har/har-collector.js => devtools/client/netmonitor/har/har-collector.js
rename : devtools/client/netmonitor/src/har/har-exporter.js => devtools/client/netmonitor/har/har-exporter.js
rename : devtools/client/netmonitor/src/har/har-utils.js => devtools/client/netmonitor/har/har-utils.js
rename : devtools/client/netmonitor/src/har/moz.build => devtools/client/netmonitor/har/moz.build
rename : devtools/client/netmonitor/src/har/test/.eslintrc.js => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/src/har/test/browser.ini => devtools/client/netmonitor/har/test/browser.ini
rename : devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js => devtools/client/netmonitor/har/test/browser_net_har_copy_all_as_har.js
rename : devtools/client/netmonitor/src/har/test/browser_net_har_post_data.js => devtools/client/netmonitor/har/test/browser_net_har_post_data.js
rename : devtools/client/netmonitor/src/har/test/browser_net_har_throttle_upload.js => devtools/client/netmonitor/har/test/browser_net_har_throttle_upload.js
rename : devtools/client/netmonitor/src/har/test/head.js => devtools/client/netmonitor/har/test/head.js
rename : devtools/client/netmonitor/src/har/test/html_har_post-data-test-page.html => devtools/client/netmonitor/har/test/html_har_post-data-test-page.html
rename : devtools/client/netmonitor/src/har/toolbox-overlay.js => devtools/client/netmonitor/har/toolbox-overlay.js
rename : devtools/client/netmonitor/src/middleware/batching.js => devtools/client/netmonitor/middleware/batching.js
rename : devtools/client/netmonitor/src/middleware/moz.build => devtools/client/netmonitor/middleware/moz.build
rename : devtools/client/netmonitor/src/middleware/prefs.js => devtools/client/netmonitor/middleware/prefs.js
rename : devtools/client/netmonitor/src/netmonitor-controller.js => devtools/client/netmonitor/netmonitor-controller.js
rename : devtools/client/netmonitor/src/reducers/batching.js => devtools/client/netmonitor/reducers/batching.js
rename : devtools/client/netmonitor/src/reducers/filters.js => devtools/client/netmonitor/reducers/filters.js
rename : devtools/client/netmonitor/src/reducers/index.js => devtools/client/netmonitor/reducers/index.js
rename : devtools/client/netmonitor/src/reducers/moz.build => devtools/client/netmonitor/reducers/moz.build
rename : devtools/client/netmonitor/src/reducers/requests.js => devtools/client/netmonitor/reducers/requests.js
rename : devtools/client/netmonitor/src/reducers/sort.js => devtools/client/netmonitor/reducers/sort.js
rename : devtools/client/netmonitor/src/reducers/timing-markers.js => devtools/client/netmonitor/reducers/timing-markers.js
rename : devtools/client/netmonitor/src/reducers/ui.js => devtools/client/netmonitor/reducers/ui.js
rename : devtools/client/netmonitor/src/request-list-context-menu.js => devtools/client/netmonitor/request-list-context-menu.js
rename : devtools/client/netmonitor/src/request-list-tooltip.js => devtools/client/netmonitor/request-list-tooltip.js
rename : devtools/client/netmonitor/src/selectors/filters.js => devtools/client/netmonitor/selectors/filters.js
rename : devtools/client/netmonitor/src/selectors/index.js => devtools/client/netmonitor/selectors/index.js
rename : devtools/client/netmonitor/src/selectors/moz.build => devtools/client/netmonitor/selectors/moz.build
rename : devtools/client/netmonitor/src/selectors/requests.js => devtools/client/netmonitor/selectors/requests.js
rename : devtools/client/netmonitor/src/selectors/ui.js => devtools/client/netmonitor/selectors/ui.js
rename : devtools/client/netmonitor/src/utils/client.js => devtools/client/netmonitor/utils/client.js
rename : devtools/client/netmonitor/src/utils/filter-predicates.js => devtools/client/netmonitor/utils/filter-predicates.js
rename : devtools/client/netmonitor/src/utils/format-utils.js => devtools/client/netmonitor/utils/format-utils.js
rename : devtools/client/netmonitor/src/utils/l10n.js => devtools/client/netmonitor/utils/l10n.js
rename : devtools/client/netmonitor/src/utils/mdn-utils.js => devtools/client/netmonitor/utils/mdn-utils.js
rename : devtools/client/netmonitor/src/utils/moz.build => devtools/client/netmonitor/utils/moz.build
rename : devtools/client/netmonitor/src/utils/prefs.js => devtools/client/netmonitor/utils/prefs.js
rename : devtools/client/netmonitor/src/utils/request-utils.js => devtools/client/netmonitor/utils/request-utils.js
rename : devtools/client/netmonitor/src/utils/sort-predicates.js => devtools/client/netmonitor/utils/sort-predicates.js
rename : devtools/client/netmonitor/src/waterfall-background.js => devtools/client/netmonitor/waterfall-background.js
rename : devtools/client/netmonitor/src/assets/styles/netmonitor.css => devtools/client/themes/netmonitor.css
2017-03-28 23:25:01 -07:00
Ricky Chien
4708faa113 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn

--HG--
extra : rebase_source : bcf8a1ee8db6e3a3b74e95e3e108aabe9d0b6e67
2017-03-27 00:01:35 +08:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00