Commit Graph
7430 Commits
Author SHA1 Message Date
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
Julian Descottes 7512ade9dd Bug 1386550 - remove usage of sdk/system/events in DevTools test;r=sole
MozReview-Commit-ID: FM1AjShYmkj
2017-08-02 12:01:24 +02:00
Julian Descottes 1d3861b9f1 Bug 1386821 - add a separate flag to check if devtools entry point was recorded;r=ochameau
MozReview-Commit-ID: Ae1k097opw5
2017-08-03 12:55:26 +02:00
Julian Descottes 577daf92a3 Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS
2017-08-03 08:57:38 +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 ece07052c8 Bug 1387122 - Remove all useless Promise = require("promise"). r=tromey
Promise with a capital 'P' is already available in all DevTools sandboxes.

Still a couple of letfovers:
* Modules still using `Promise.defer()` (will be handled in bug 1387123)
* devtools/shared/defer, which introduces changes in Promise unhandled exception and stacks (bug 1388054)

MozReview-Commit-ID: PBaliHFa7u
2017-08-07 17:53:29 +02:00
Stone Shih 263fd4d632 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Wes Kocher 3bb88bf442 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Hossain Al Ikram ccde32317f Bug 1386545 - Edit comment to stop false-positiveing for sdk/ usages in debounce.js file. r=sole 2017-08-05 07:50:00 -04:00
Masatoshi Kimura 3a683891af Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko
2017-08-04 17:12:58 +09:00
Alexandre Poirot 686b43191d Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD
2017-08-03 12:26:44 +02:00
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Cameron McCormack 76e0e9c772 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3
2017-08-01 23:01:57 +08:00
Sebastian Hengst 8c96c22f75 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Tom Tromey 58b1ba9c5a Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp
2017-08-04 09:52:25 -06:00
Tom Tromey 0f65d40c76 Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv
2017-08-03 09:00:19 -06:00
Tom Tromey 871b742e32 Bug 1345533 - display newlines in some console messages; r=nchevobbe
MozReview-Commit-ID: JPz5XUJFQek
2017-08-03 08:59:37 -06:00
Masatoshi Kimura acfaf6cffe Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y
2017-08-03 15:50:07 +09:00
Brian Grinstead 231a9887bb Bug 1383022 - Update helper loadDocument function to use the selectedBrowser as a default;r=nchevobbe
MozReview-Commit-ID: GfWsYn8yqUA
2017-08-04 08:32:46 -07:00
Brian Grinstead e9f8b638a0 Bug 1383022 - Log a message in the new console frontend when the Console API has been replaced;r=nchevobbe
MozReview-Commit-ID: 56xyY04YM4S
2017-08-04 08:32:27 -07:00
Julian Descottes a06fa404cc Bug 1387359 - add developer toggle to CustomizableUI even if devtools already loaded;r=nchevobbe
After Bug 1359855, the developer toggle is added to CustomizableUI via devtools-startup.
It is added after browser-delayed-startup-finished is received. However when starting
devtools with --jsconsole, devtools will be initialized before we receive the event and
the toggle will never be added to the UI.

Introducing a new flag here dedicated to the developer toggle and adding a few comments
to the devtools-startup:hookWindow() method which becomes a bit complex now.

MozReview-Commit-ID: IhPFznt0O83
2017-08-04 11:09:56 +02:00
Sebastian Hengst e5a6ff5037 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Sebastian Zartner a96e0107fb Bug 1360868 - Properly formatted data URLs in source links. r=gl
MozReview-Commit-ID: 7loVwUynHhw
2017-07-29 11:31:13 +02:00
Wes Kocher 8382b157bc Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Geoff Brown 561f8166a9 Bug 1307846 - Skip test browser_computed_style-editor-link.js for frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown 422d130893 Bug 1309759 - Skip test browser_rules_style-editor-link.js for frequent intermittent falures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown 02d08f5f7c Bug 1368569 - Skip test browser_dbg_worker-console-01.js for very frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Tom Tromey fc2955e8ee Bug 1370648 - use final token as end location of statement list; r=jimb
This changes the parser to use the final token of a statement list as
it's end location.  This works around some confusing behavior, such as a
breakpoint firing on the marked line:

    <script>
      if (1 !== 1) {
        console.log("dead code!?"); // set breakpoint here
      }
    </script>

MozReview-Commit-ID: 3Sk1ERw5Q6z
2017-07-14 13:29:52 -06:00
Tim Nguyen c786feab48 Bug 1385702 - Update and clean up close icon styling for photon. r=dao
MozReview-Commit-ID: IpM0Ampi9fE
2017-08-03 17:01:36 +00:00
Alexandre Poirot b27a50032f Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj
2017-07-25 18:30:59 +02:00
J. Ryan Stinnett 13aa5364d7 Bug 1386830 - Test profile dirs in Browser Toolbox. r=jdescottes
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different.  This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.

MozReview-Commit-ID: FUAb2G21nbV
2017-08-02 16:34:40 -05:00
Julian Descottes c6b39656eb Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb
2017-08-03 14:54:09 +02:00
Julian Descottes 524de90951 Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW
2017-08-02 12:53:20 +02:00
Julian Descottes 539b9c3a03 Bug 1387495 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3
2017-07-12 19:26:33 +02:00
Julian Descottes 4cfe0011de Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9
2017-08-02 13:24:14 +02:00
Nicolas Chevobbe 642dcd5ad9 Bug 1386551 - Import component-frame.css in new frontend; r=bgrins.
This file takes care of the layout for stack traces, which can be displayed
in the console (for errors, console.trace, …).
The file was declared in webconsole.xul but not ported in webconsole.xhtml.

MozReview-Commit-ID: FFXAB14XZ6J
2017-08-02 11:03:40 +02:00
Wes Kocher 8f335f47a5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher 8ad489263c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Gabriel Luong 10a1a41bc3 Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 15:39:48 -04:00
Wes Kocher 290f1658bd Backed out changeset 7cdd08ad685c (bug 1386275) for failures in browser_grids_grid-list-color-picker-on-ESC.js a=backout
MozReview-Commit-ID: HcNhUTPVveT
2017-08-02 10:30:27 -07:00
Gabriel Luong b41de78e07 Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 11:12:06 -04:00
Micah Tigley 4e86316aa2 Bug 1385144 - Overlapping negative line numbers do not display as a stack. r=zer0
MozReview-Commit-ID: xlkj6OjL4n
2017-07-31 21:55:00 -06:00
Sebastian Hengst 3253010f70 Backed out changeset f85fbccf2c1f (bug 1380709) for failing devtools' browser_dynamic_tool_enabling.js on Windows 8 x64 debug with e10s. r=backout 2017-08-02 18:06:31 +02:00
Sebastian Hengst cbb8f10459 Backed out changeset 306169f86028 (bug 1380709) 2017-08-02 18:05:21 +02:00
Sebastian Hengst 35840907da Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00
Masatoshi Kimura c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Julian Descottes 5444f8d505 Bug 1386412 - fix race conditions in browser_service_workers_multi_content_process.js;r=ochameau
MozReview-Commit-ID: JnvTkmDrbDo
2017-08-02 08:35:10 +02:00
Phil Ringnalda 88f2bffd1e Backed out changeset bd270d4fe4bc (bug 1385144) for eslint failures
CLOSED TREE

MozReview-Commit-ID: HnONZdDsG3v
2017-08-01 23:07:57 -07:00
Micah Tigley 99a4708398 Bug 1385144 - Overlapping negative line numbers do not display as a stack. r=zer0
MozReview-Commit-ID: xlkj6OjL4n
2017-07-31 21:55:00 -06:00