Nicolas Chevobbe
7076d3a083
Bug 1559717 - Fix displaying getter value for getter returning falsy values. r=davidwalsh.
...
We were displaying result.value.throw if result.value.return
was falsy. But it can happen that a getter does return a
falsy value, and we want to display it.
So now we turn the expression the other way around, we first
check result.value.throw, and then default to result.value.return.
A mochitest is added to ensure we hav expected value for different
getters returning falsy values.
Differential Revision: https://phabricator.services.mozilla.com/D39136
2019-07-25 13:55:14 +00:00
Razvan Maries
3b87408004
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-07-23 00:51:11 +03:00
David Walsh
53545853a9
Bug 1567250 - Move async storage and helper to shared location r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D38534
2019-07-22 14:59:55 +00:00
Brian Hackett
b7561df60c
Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast.
2019-07-21 14:50:09 -10:00
Gurzau Raul
bdae24fa42
Backed out 3 changesets (bug 1556847, bug 1556858, bug 1405402) for eslint failures at /actors/replay/debugger.js on a CLOSED TREE.
...
Backed out changeset 03df8624c36c (bug 1405402)
Backed out changeset 099de68d4716 (bug 1556858)
Backed out changeset 1bf0b6a8dd13 (bug 1556847)
2019-07-22 01:13:40 +03:00
Brian Hackett
4c48d27510
Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast.
2019-07-17 10:10:17 -10:00
yulia
7eba825d59
Bug 1559819 - rename threadClient to threadFront; r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Yury Delendik
c2487861b9
Bug 1560209 - Display original variables in WebAssembly when DWARF is provided. r=jlast
...
* Use XScopes data to display original varaibles (prototype)
* Move DWARF debugger logic to the separate package.
Differential Revision: https://phabricator.services.mozilla.com/D35367
2019-06-21 20:53:57 +00:00
Yury Delendik
ebd70df57a
Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
...
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)
Differential Revision: https://phabricator.services.mozilla.com/D33092
2019-06-13 18:02:14 +00:00
Miriam
60b1818098
Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod
...
Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references.
Differential Revision: https://phabricator.services.mozilla.com/D32881
2019-06-11 19:25:15 +00:00
Brendan Dahl
af302c4b79
Bug 1553188 - Fix renaming browser.xul to browser.xhtml name change in devtools test. CLOSED TREE
2019-05-31 11:44:20 -07:00
Brian Grinstead
5caf04c8f7
Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
...
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree
Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
Yury Delendik
9f6544b7cb
Bug 1554180 - Use devtools-mc-assets version of dwarf_to_json.wasm r=jlast
...
Debugger fails with current version of dwarf_to_json.wasm. Using proper version
fixes it when DWARF is used as source maps.
Differential Revision: https://phabricator.services.mozilla.com/D32392
2019-05-24 14:22:40 +00:00
Jason Laster
6f10601110
Bug 1553258 - Upgrade the launchpad to 154. r=davidwalsh
...
Differential Revision: https://phabricator.services.mozilla.com/D32034
2019-05-21 20:25:27 +00:00
Jason Laster
72a3ff0d38
Bug 1552987 - Jump-to-function-definition buttons are no longer visible in the console. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D32003
2019-05-21 16:54:56 +00:00
Jason Laster
447cc7b1b8
Bug 1552123 - debugger/devtools node test runners fail to detect jest snapshot failures. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D31624
2019-05-20 18:42:36 +00:00
Julian Descottes
edd019f9cc
Bug 1552495 - Bump debugger and reps to use launchpad 0.0.153 r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D31618
2019-05-17 16:55:07 +00:00
Victor Porof
9e5851f8d5
Bug 1551218 - Part 4: Manually reformat the debugger where autofix wasn't possible, r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D30929
2019-05-17 15:51:55 +00:00
Victor Porof
957bf9fc56
Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D30928
2019-05-17 15:51:36 +00:00
Jason Laster
18adaef316
Bug 1551200 - getOriginalLocations should bail if there are no locations. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D31136
2019-05-15 00:01:30 +00:00
Florens Verschelde
5275c3a46c
Bug 1479365 - Invert selection colors in selected rows; r=Honza,yzen,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D30794
2019-05-15 07:36:04 +00:00
David Walsh
6cd33e5d72
Bug 1547205 - Fix regression in tree indentation r=nchevobbe
...
Replacement for D29008
Differential Revision: https://phabricator.services.mozilla.com/D30933
2019-05-15 05:53:16 +00:00
Oriol Brufau
af587a16bb
Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D28214
2019-05-14 06:46:30 +00:00
Nicolas Chevobbe
88a36c7d84
Bug 1493361 - Add a urlCropLimit prop in StringRep. r=Honza.
...
This new prop allow us to define a maximum length for indivual
URLs (as opposed to `cropLimit`, which sets it for the whole text).
The URL regex is also modified to be able to linkify messages
wrapped in curly quotes.
Some tests are added to ensure we handle this prop as expected.
Differential Revision: https://phabricator.services.mozilla.com/D29006
2019-05-13 12:58:24 +00:00
Julian Descottes
c79d1260a7
Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
...
Depends on D29887
Differential Revision: https://phabricator.services.mozilla.com/D28033
2019-05-08 21:37:39 +00:00
Andreea Pavel
368a7a0194
Backed out 5 changesets (bug 1543940) for failing browser_menu_api.js on a CLOSED TREE
...
Backed out changeset aaa0f827616a (bug 1543940)
Backed out changeset 590b72185b69 (bug 1543940)
Backed out changeset 42e2136f684f (bug 1543940)
Backed out changeset a66967f17042 (bug 1543940)
Backed out changeset b1e6e932873c (bug 1543940)
2019-05-08 20:49:43 +03:00
Jason Laster
13258289ab
Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D28552
2019-05-08 17:18:38 +00:00
Julian Descottes
9560911c8e
Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
...
Depends on D29887
Differential Revision: https://phabricator.services.mozilla.com/D28033
2019-05-08 15:42:59 +00:00
Jason Laster
2d03b1495d
Bug 1548438 - Repeatedly refreshing causes the UI to go blank. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D29605
2019-05-06 15:01:02 +00:00
Daniel Varga
cbda4e2a61
Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types
2019-05-06 03:14:57 +03:00
Oriol Brufau
01524204d5
Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D28214
2019-04-26 15:32:50 +00:00
Nicolas Chevobbe
4179a1e8c6
Bug 1540069 - Remove openLink and pass isInContentPage to Rep. r=Honza.
...
This will allow links to be handled by the browser, so we
don't have to have our own logic for that.
The URLs in String rep are modified to have a target="_blank" attribute
to match the current JSONViewer behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D26711
2019-04-23 06:14:50 +00:00
Jason Laster
769c6a1957
Bug 1536116 - Highlights might not be shown when on the debug line. r=davidwalsh
...
Differential Revision: https://phabricator.services.mozilla.com/D28086
2019-04-22 15:52:13 +00:00
Jason Laster
60d650b64f
Bug 1545594 - Memoize md5. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D28147
2019-04-19 16:03:23 +00:00
David Walsh
9fa5256247
Bug 1544530 - [sync 132] - Apply SourceMaps type to redux actions r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D27718
2019-04-16 16:52:38 +00:00
GettyOrawo
c4271ec370
Bug 1544843 - Remove irrelevant Grip test. r=nchevobbe.
...
Porting over from: https://github.com/firefox-devtools/debugger/commit/e2f78a982b21ecaa380d0958b1e9a5213f7904db
Differential Revision: https://phabricator.services.mozilla.com/D27737
2019-04-16 16:31:03 +00:00
David Walsh
d5de1c9ead
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-09 13:16:00 -04:00
Noemi Erli
b90b1b551f
Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js
2019-04-09 19:04:30 +03:00
David Walsh
2113d7d3da
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-09 10:31:11 -04:00
Andreea Pavel
37877174ea
Backed out changeset 21e7aa527584 (bug 1500987) for debugger, clipboard and dt failures on a CLOSED TREE
2019-04-08 23:15:05 +03:00
David Walsh
8d7dc8f078
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-08 15:10:44 -04:00