Commit Graph

6811 Commits

Author SHA1 Message Date
Wes Kocher
7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Wes Kocher
96d2fa009d Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Carsten "Tomcat" Book
635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Alexandre Poirot
9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
Alexandre Poirot
8ca339dcee Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 7e5c976c6a9690ae730fd8c32a8909e24a277ace
2017-08-07 18:47:20 +02:00
Alexandre Poirot
253b1895e6 Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf

--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 3222c8ca77a6c38dc2f0ee01adc27264e028a514
2017-08-01 16:17:22 +02:00
Jason Laster
425ec06f61 Bug 1383576 - Extend timeout browser_dbg-breakpoints-reloading. r=jmaher 2017-08-08 13:01:00 -04:00
Jason Laster
1514a7e029 Bug 1388128 - Debugger does not remove some breakpoints. r=jdescottes
MozReview-Commit-ID: Hp7wYXGRSYs
2017-08-08 15:51:38 +02:00
Gabor Krizsanits
d624f6b97e Bug 1378207 - Handle sandboxes with XOW protos in WebExtensionChildActor. r=rpl
Sandbox can throw on property access if it does not have permission
to access its own proto, even if the caller compartment had.
2017-08-08 13:43:20 +02:00
Julian Descottes
ea99dbe04c Bug 1387497 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I

--HG--
extra : rebase_source : a279cbe3818ebb70c987dc580e52ce6ab8fc4267
extra : source : b617a361a12ce6b20820ccf915bd815eb73c6bd3
2017-06-19 11:12:46 +02:00
Julian Descottes
7c91ef2812 Bug 1387462 - Fix devtools shim test if devtools are not installed;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : 59f672548e0352ee60774ea87d4426618f050d2e
extra : source : 7cf0689936eb9cb843cb9e94f326e9b4903e843d
2017-07-25 19:52:34 +02:00
Wes Kocher
6211964f2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Hossain Al Ikram
b91c660165 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
b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Alexandre Poirot
9bf42dcb14 Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD

--HG--
extra : rebase_source : 59de740a09959caca3eae41ee88983aac8edeb59
2017-08-03 12:26:44 +02:00
Masatoshi Kimura
8b713b2b0f 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

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack
3c2086d486 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3

--HG--
extra : rebase_source : 2dbabd5e0e9426d1e5c943904d313e6e30dc62b6
2017-08-01 23:01:57 +08:00
Sebastian Hengst
39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Tom Tromey
6d4c7b0e3e Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp

--HG--
extra : rebase_source : d1b85ad6c11da44762a86248a51932b80562b9c3
2017-08-04 09:52:25 -06:00
Tom Tromey
8e8ac4d10b Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv

--HG--
extra : rebase_source : 8cfe3e3ec53beeeed8f1707d6d1e80e34f53e30f
2017-08-03 09:00:19 -06:00
Tom Tromey
dd8e682c0f Bug 1345533 - display newlines in some console messages; r=nchevobbe
MozReview-Commit-ID: JPz5XUJFQek

--HG--
extra : rebase_source : be05494ce2857acebb8372ab40879a82598ab54f
2017-08-03 08:59:37 -06: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
fbf0accf5f Bug 1383022 - Update helper loadDocument function to use the selectedBrowser as a default;r=nchevobbe
MozReview-Commit-ID: GfWsYn8yqUA

--HG--
extra : rebase_source : 9bb28b1cadfe2be6410ad996b7332a11fb5805c9
2017-08-04 08:32:46 -07:00
Brian Grinstead
229861b1c2 Bug 1383022 - Log a message in the new console frontend when the Console API has been replaced;r=nchevobbe
MozReview-Commit-ID: 56xyY04YM4S

--HG--
rename : devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_warn_about_replaced_api.js
extra : rebase_source : 32d28e3dbe97a64bfe489af9ad1c366120b39f53
2017-08-04 08:32:27 -07:00
Julian Descottes
1738a4ac42 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

--HG--
extra : rebase_source : d282e39c0588fca29813305292e53e71f93814bd
2017-08-04 11:09:56 +02:00
Sebastian Hengst
d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Sebastian Zartner
c91335caa5 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
2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Geoff Brown
42b9915f1a 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
fbf5d4e31c 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
1ff7bef352 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
639b3c6efc 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

--HG--
extra : rebase_source : 6c6338ca183518baec6ccfcb9ae17e24cf644c97
2017-07-14 13:29:52 -06:00
Tim Nguyen
355a783bae Bug 1385702 - Update and clean up close icon styling for photon. r=dao
MozReview-Commit-ID: IpM0Ampi9fE

--HG--
extra : rebase_source : cd7cda3cb86a86cb66113034ac6cb6f2a07b6882
2017-08-03 17:01:36 +00:00
Alexandre Poirot
dbebe3ebb7 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : e34b781a628a8085bdeb8eba090d5d8102d50c76
2017-07-25 18:30:59 +02:00
J. Ryan Stinnett
e1b749febc 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

--HG--
extra : rebase_source : 32c6425036196675322c6a5422a6edf8a8aa4498
2017-08-02 16:34:40 -05:00
Julian Descottes
2df26d3e9f Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb

--HG--
extra : rebase_source : 09e6fd7b50b7319b18cd51ddcbc919de23c5ce49
2017-08-03 14:54:09 +02:00
Julian Descottes
def4adbffc Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW

--HG--
extra : rebase_source : 0c2636114a2a44017b0f8af749025d7465cfb906
2017-08-02 12:53:20 +02:00
Julian Descottes
17a7e39941 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

--HG--
extra : rebase_source : 375ad339788354a9787cbba648155319edf8b9be
extra : source : 7827d2406fc608386e13fbb0296b2136f4a0d355
2017-07-12 19:26:33 +02:00
Julian Descottes
9679ff0b5a Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9

--HG--
extra : rebase_source : 00cb0d2d0732b55ca39d22adc819d9aabb547a5a
2017-08-02 13:24:14 +02:00
Nicolas Chevobbe
c80141a452 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

--HG--
extra : rebase_source : da956c54d130cd01553451da1d895b606bb4499f
2017-08-02 11:03:40 +02:00
Wes Kocher
5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher
baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Gabriel Luong
c0b1c9a99e Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 15:39:48 -04:00
Wes Kocher
ae470990cc 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
1c25de30f8 Bug 1386275 - Update the grid overlay color palette. r=jdescottes 2017-08-02 11:12:06 -04:00
Micah Tigley
59d1881000 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
82e3b22f18 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
97fa6ef57e Backed out changeset 306169f86028 (bug 1380709) 2017-08-02 18:05:21 +02:00
Sebastian Hengst
3f796be69d Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00