Commit Graph
42 Commits
Author SHA1 Message Date
Sami Jaktholm bb13aed6f5 Bug 1237492 - Hold a strong reference to the Worker used in webconsole tests. r=ejpbruel
If a reference is not kept, the Worker might be GCd before the test
compteles. If that happens, the test times out as it tries to detach
a worker that has already been destroyed.

The state object is kept around for the duration of the tests so
keeping a reference in the state object ensures the worker
lifetime matches that of the test.

MozReview-Commit-ID: 31F54vHlm3z
2016-07-17 10:10:08 +03:00
Alexandre Poirot 3507349618 Bug 1237492 - Fix test_jsterm_autocomplete.html intermittents by connecting to the expected worker actor. r=ejpbruel 2016-05-30 03:06:21 -07:00
Wes Kocher 2acc77027c Merge fx-team to central, a=merge 2016-05-20 14:14:00 -07: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
Ryan VanderMeulen 04ebea4e8c Merge m-c to inbound. a=merge CLOSED TREE 2016-05-19 12:49:49 -04:00
Martin Thomson 6551249aee Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler
MozReview-Commit-ID: 4mLdtsdFoKN
2016-04-04 16:21:19 -03:00
James Long a36e0623c1 Bug 1265775 - replace Cu.reportError with console.error in devtools/shared r=tromey 2016-05-10 21:55:00 -04:00
Morgan Phillips a465fe828c Bug 1264780 - Handle destructuring cases when forcing binding initialization; r=bgrins 2016-04-15 19:01:09 -07:00
Morgan Phillips 7aff4aae8d Bug 1264095 - Replace ** with e for generating large numbers; r=ryanvm 2016-04-13 03:18:41 -07:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Morgan Phillips b210844a9f Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins 2016-04-01 23:17:49 -07:00
Tooru Fujisawa f0d74e5997 Bug 1253859 - Properly stringify thrown symbol in console. r=fitzgen 2016-03-09 01:32:34 +09:00
Ehsan Akhgari 1f13876feb Bug 1232029 - Set some prefs that some tests rely on explicitly; r=bkelly 2016-03-01 10:09:06 -05: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
Morgan Phillips efeaff9e9c Bug 1246215 - Console prevents let re-declaration even when first was an error; r=jryans,shu 2016-02-24 12:16:16 -06:00
Alexandre Poirot 2403bcf8e5 Bug 1239276 - Convert DebuggerClient.connect to promise. r=jryans 2016-01-28 10:11:31 -08:00
Brian Grinstead cced1ac3fa Bug 1239506 - Make console formatter return NaN instead of nan with %f;r=baku 2016-01-27 14:22:45 -08:00
Lin Clark 0a4383101d Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins 2016-01-25 11:19:39 -08:00
Lin Clark b63d95436e Bug 1064458 - Remove 'Log request and response bodies' preference. r=bgrins 2016-01-11 19:08:00 +01:00
Patrick Brosset a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Brian Grinstead 026f3b0504 Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past 2015-12-03 11:35:33 -08:00
Brian Grinstead 2e5b12676f Bug 1218455 - Special case 'this' to include in console autocompletion;r=fitzgen 2015-12-02 09:24:16 -08:00
Brian Grinstead b0f2ee2ef0 Bug 1222617 - Filter out service worker messages that happened before a page load;r=bkelly 2015-11-20 06:52:32 -08:00
Brian Grinstead fab05dec79 Bug 1225828 - Avoid 'Object in compartment marked as invisible to Debugger' exceptions in the Browser Console / Browser Toolbox;r=fitzgen 2015-11-19 07:11:56 -08:00
Ben Kelly 8db9a3d710 Bug 1223116 P3 Extend the test to check console messages for more service worker conditions. r=bgrins 2015-11-16 08:04:12 -08:00
Brian Grinstead 0609127daa Bug 1213932 - Restrict ServiceWorker logging to windows that match navigator.serviceWorker.controller.scriptURL;r=baku,r=past 2015-11-05 12:03:31 -08:00
Brian Grinstead 0aafceedb4 Bug 1217591 - Run autocomplete tests in worker console;r=fitzgen 2015-10-26 11:55:41 -07:00
Brian Grinstead c7d30d98d0 Bug 1217591 - Make JS autocompletion in the console work inside of a worker toolbox;r=fitzgen 2015-10-26 11:55:40 -07:00
Brian Grinstead bcbc317a74 Bug 1025778 - Save value as global variable in console;r=jlongster 2015-10-23 14:04:29 -07:00
J. Ryan Stinnett 54fc9e8b77 Bug 1203159 - Clean up various tests after DevTools resource move. r=me 2015-10-21 14:18:29 -05:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Brian Grinstead 206556b496 Bug 1216668 - Implement console autocomplete for inline arrays and multiline strings;r=fitzgen 2015-10-21 07:10:38 -07:00
Alexandre Poirot f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst 190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00