Commit Graph

54 Commits

Author SHA1 Message Date
J. Ryan Stinnett
47d40079e2 Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al
2017-03-20 16:22:55 -05:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Tom Tromey
1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Jarda Snajdr
7a2aa514b1 Bug 1298225 - Format clipboard text of console stack traces into multiple lines r=bgrins
MozReview-Commit-ID: HkCFEwjhCwx
2016-08-30 12:34:22 +02:00
Wes Kocher
c0a0dae991 Backed out changeset 2c986272197f (bug 1298225) for mochitest-c1 failures a=backout 2016-08-31 13:07:21 -07:00
Jarda Snajdr
2adde33880 Bug 1298225 - Format clipboard text of console stack traces into multiple lines r=bgrins
MozReview-Commit-ID: HkCFEwjhCwx
2016-08-30 12:34:22 +02:00
Julian Descottes
2283f05cf3 Bug 1265887 - migrate devtools/ from PluralForm.jsm to plural-form.js;r=tromey
MozReview-Commit-ID: 7I7djgqcrnr
2016-08-27 18:42:33 +02:00
Julian Descottes
3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes
9bd9cb2ea3 Bug 1295609 - Migrate devtools/client/webconsole to use l10n.js instead of Services.string;r=bgrins
MozReview-Commit-ID: 65AyxZ68GHt
2016-08-19 20:31:50 +02:00
Julian Descottes
156ceb6e2f Bug 1294220 - part1: Move ellipsis character to a localized string in properties file;r=bgrins
The ellipsis character displayed by devtools is now relying on a localized string
in devtools/client/shared.properties instead of a complex preference.

The lazy loading of the ellipsis string has been removed, the ellipsis is retrieved
once when the client/shared/l10n.js file is loaded.

The ellipsis property on the LocalizationHelper instances has been removed in favor
of an ELLIPSIS export on the l10n.js module.

All the previous callers using either LocalizationHelper::ellipsis or retrieving the
intl.ellipsis preference have been migrated to rely on the ELLIPSIS export of l10n.js

MozReview-Commit-ID: 4JG0qbJGCw9
2016-08-20 22:09:03 +02:00
Jarda Snajdr
189a63b8bb Bug 1294355 - Pass correct arguments to openLocationInDebugger in console stack trace r=bgrins
MozReview-Commit-ID: KvSZ3fi5Kne
2016-08-18 09:36:45 +02:00
Brian Grinstead
4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Jennifer Fong
dc28b6dd00 Bug 1113825 - Nowrap content in console.table(). r=bgrins 2016-07-20 15:19:11 -04:00
Tom Tromey
8f71ef973c Bug 1276349 - Fix DAMP regression by speeding up _isURL. r=bgrins
MozReview-Commit-ID: C7khVe46Vjk
2016-07-05 11:33:01 -06:00
Jarda Snajdr
a0307dca19 Bug 1281732 - Part 7: Clean up and simplify markup of webconsole messages r=bgrins 2016-06-24 09:28:00 +02:00
Jarda Snajdr
4fca977051 Bug 1281732 - Part 6: Use StackTrace React component in webconsole, cleanup message-location r=linclark 2016-06-29 04:06:00 +02:00
James Long
d86f63cef0 Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Tom Tromey
c7b9386344 Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
MozReview-Commit-ID: GyoP6ApQXVc
2016-05-13 14:27:28 -06:00
J. Ryan Stinnett
12f23985ca Bug 1193747 - Remove link to inspector error in Browser Console. r=pbro
MozReview-Commit-ID: 1ek1pIFeKg2
2016-05-23 15:32:32 -05:00
J. Ryan Stinnett
bb4fcbaa89 Bug 1274333 - Fix indentation of Heritage.extend. r=tromey
ESLint's auto-fix got confused by cases that passed an object literal to
Heritage.extend() but placed the opening brace on the next line.

MozReview-Commit-ID: 60NIZHYpwv3
2016-05-19 20:48:43 -05:00
Tom Tromey
86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Brian Grinstead
4666047c2a Bug 1271841 - Make DOM Node preview in console match syntax highlighting colors used in the markup view. r=jryans
MozReview-Commit-ID: FduYtfVMp8Q
2016-05-10 17:30:02 -07:00
Greg Tatum
f6e1e9aaf7 Bug 1214754 - Clear hovered element's highlight when console is cleared. r=bgrins 2016-05-11 06:16:00 +02:00
James Long
ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
"Helen V. Holmes"
50fb25c89e Bug 1246313 - Change the devtools syntax highlighting colors to be higher contrast;r=bgrins
MozReview-Commit-ID: FEYhP6Oq5Sn
2016-03-17 08:58:32 -04:00
Julian Descottes
580e3f5d66 Bug 659625 - part2: implement console.clear in devtools webconsole;r=bgrins
When receiving a console clear message, the webconsole should clear
the UI: remove all messages until the clear() message and close
the variables view sidebar if opened.

Add one integration tests to test console.clear calls from the content page.

MozReview-Commit-ID: GnBCBSmN1rk
2016-04-12 08:09:41 +02:00
Carsten "Tomcat" Book
63b8764de7 Backed out changeset 671011b82100 (bug 659625) 2016-04-13 12:30:24 +02:00
Julian Descottes
76732b44f4 Bug 659625 - part2: implement console.clear in devtools webconsole;r=bgrins
When receiving a console clear message, the webconsole should clear
the UI: remove all messages until the clear() message and close
the variables view sidebar if opened.

Add one integration tests to test console.clear calls from the content page.

MozReview-Commit-ID: GnBCBSmN1rk
2016-04-12 08:09:41 +02:00
Morgan Phillips
4329bce57f Bug 1259563 - Display links to error message documentation alongside relevant errors (2/2); r=bgrins 2016-04-11 10:27:50 -07:00
Brian Grinstead
f85635c394 Bug 1258154 - Open functions in variables view if they were returned from console evaluation. r=jlongster
MozReview-Commit-ID: Cv9srKvAWdg
2016-03-30 18:30:05 -07:00
Jordan Santell
c51cb55adc Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-11 08:33:44 -08:00
Ryan VanderMeulen
9dee204d4e Backed out changeset b2e8a5b5b256 (bug 1251033) for browser_scratchpad_wrong_window_focus.js permafail.
CLOSED TREE
2016-03-10 20:22:44 -05:00
Jordan Santell
eb400146a6 Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-10 15:43:56 -08:00
Jordan Santell
8215bc31f3 Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Alexandre Poirot
bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
AJ Kerrigan
03989ecdc3 Bug 1099071 - Display error message in console for thrown empty string;r=bgrins
MozReview-Commit-ID: IhOFhDnyMpF
2016-02-19 00:32:57 -05:00
AJ Kerrigan
8917ed42db Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Alexandre Poirot
c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Nicolas Chevobbe
667afd8031 Bug 1218089 - Don't set different falsy values as repeated messages in console.log();r=bgrins 2016-01-31 17:02:37 +01:00
Lin Clark
486652076f Bug 1241956 - Use standard license boilerplate in webconsole js files. r=bgrins 2016-01-25 11:19:58 -08:00
Ori Avtalion
c5ae4592cc Bug 1208772 - Always use a full URL for links in the console even when the text is shortened. r=bgrins 2016-01-15 19:13:32 +02:00
Brian Grinstead
a93d4a73f4 Bug 1044365 - Do not force webconsole evaluation result to show up immediately after the input;r=vporof,r=past 2015-12-22 11:00:04 -08:00
Tom Tromey
e5375b5665 Bug 1035545 - show wrapped primitives specially in console and variable view; r=vporof,fitzgen 2015-12-03 13:09:48 -07:00
Tom Tromey
f80a26c683 Bug 1165807 - display WeakSet and WeakMap contents in console; r=bz,fitzgen 2015-11-16 06:50:00 -08:00
J. Ryan Stinnett
1aca2c542b Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
Brian Grinstead
bcbc317a74 Bug 1025778 - Save value as global variable in console;r=jlongster 2015-10-23 14:04:29 -07:00