Commit Graph

1407 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
ac441ed762 Merge m-c to mozilla-inbound 2015-10-26 11:29:00 +01:00
Tom Tromey
e590cb324f Bug 863089 - replace Debugger.Script.getOffsetLine with getOffsetLocation; r=fitzgen 2015-10-22 09:35:00 +02:00
Jonas Sicking
2552a4d194 Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Wes Kocher
db715b4430 Merge m-c to inbound, a=merge 2015-10-08 14:35:43 -07:00
Daniel Holbert
23b073432d Bug 1212680: Simplify gradient in browser_ruleview_authored.js, & avoid depending on supportedness of -moz & -webkit prefixed gradients. r=tromey 2015-10-08 11:58:26 -07:00
Carsten "Tomcat" Book
1955db09bc Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
404e79482a merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Helen V. Holmes
a406bdecf0 Bug 1205046 - Replace devtools panel icons with new ones;r=bgrins 2015-10-01 17:16:15 -07:00
Brian Grinstead
e68674012d Bug 1210430 - Use Promise.jsm to make beta doorhanger work again;r=jsantell 2015-10-01 13:26:53 -07:00
Brian Grinstead
ec1fc5d5f1 Bug 1210375 - Use correct GRAB_DELAY in the markup view;r=pbrosset 2015-10-01 13:26:11 -07:00
Jordan Santell
21c0fdf67f Bug 1210287 - Align twisties in the web console when a stack is displayed. r=ochameau 2015-09-30 21:12:08 -07:00
Carsten "Tomcat" Book
c95ed339d7 Merge m-c to fx-team 2015-10-01 14:16:12 +02:00
Carsten "Tomcat" Book
cbff0f93a2 merge mozilla-inbound to mozilla-central a=merge 2015-10-01 12:39:25 +02:00
Nick Fitzgerald
2207125d20 Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb
This changeset replaces all of the

    // char16_t[]
    optional bytes someProperty = 1;

one- and two-byte string properties in the CoreDump.proto protobuf definition
file with:

    oneof {
        // char16_t[]
        bytes  someProperty    = 1;
        uint64 somePropertyRef = 2;
    }

The first time the N^th unique string is serialized, then someProperty is used
and the full string is serialized in the protobuf message. All following times
that string is serialized, somePropertyRef is used and its value is N.

Among the other things, this also changes JS::ubi::Edge::name from a raw pointer
with commented rules about who does or doesn't own and should and shouldn't free
the raw pointer to a UniquePtr that enforces those rules rather than relying on
developers reading and obeying the rules in the comments.
2015-09-30 16:03:31 -07:00
Brian Grinstead
a706418461 Bug 1208544 - Listen to nativeAnonymousChildList changes from devtools;r=pbrosset 2015-09-24 08:23:34 -07:00
Wes Kocher
5562cb27c2 Merge m-c to inbound a=merge 2015-09-30 14:10:21 -07:00
Tooru Fujisawa
a434b1c741 Bug 1207499 - Part 14: Remove use of expression closure from devtools/. r=pbrosset 2015-09-24 21:31:45 +09:00
Tooru Fujisawa
323e11ad7c Bug 1207490 - Part 6: Remove use of expression closure from browser/devtools/. r=vporof 2015-09-21 02:25:07 +09:00
Bill McCloskey
afe1d260d8 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Michael Ratcliffe
49de3d4930 Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
Raphaël Lustin
bb1aabfc68 Bug 1198331 - Titles in sidebar aren't cropped and cross borders between tabs (titles are to long in some locales). r=pbrosset 2015-09-28 15:25:00 +02:00
Patrick Brosset
9f17dd8e5f Bug 1174437 - Run the gcli media emulation command run on the server; r=jwalker 2015-09-29 11:01:48 +02:00
Tom Tromey
3f8530ff53 Bug 1209077 - handle cached empty string in StyleSheetActor._getText; r=bgrins,pbrosset 2015-09-28 07:28:00 +02:00
Tom Tromey
3f78a5390f Bug 1197967 - preserve spelling of urls in output-parser.js; r=pbrosset 2015-09-28 07:10:00 +02:00
Jan Keromnes
edda04cc19 Bug 1196785 - Drive-by fix DevTools ESLint config. r=pbrosset 2015-09-28 05:49:00 +02:00
Jan Keromnes
f047066f5f Bug 1196785 - Add rootActor.listWorkers() to list all registered workers. r=past p=ally 2015-09-28 03:58:00 +02:00
Jan Keromnes
5f6eb9f5c8 Bug 1196785 - Add worker type to WorkerActor form. r=past 2015-09-28 03:56:00 +02:00
Jordan Santell
0e15a46b83 Bug 1209702 - Remove references to vestigial/unimplemented forceCompletion in ThreadActor r=fitzgen 2015-09-29 17:11:36 -07:00
Wes Kocher
b4c59b468d Backed out changeset 04d495a253a9 (bug 1209702) for linux 64 static build failures 2015-09-29 15:52:36 -07:00
Jordan Santell
dd5e5596f4 Bug 1209702 - Remove references to vestigial/unimplemented forceCompletion in ThreadActor r=fitzgen 2015-09-29 13:42:03 -07:00
Wes Kocher
3cae218608 Backed out 5 changesets (bug 1132203) for devtools bustage
Backed out changeset ed8ce0300161 (bug 1132203)
Backed out changeset f6fa722a8636 (bug 1132203)
Backed out changeset ce3ca3b43597 (bug 1132203)
Backed out changeset f8edd4fa4d00 (bug 1132203)
Backed out changeset d618bbcee986 (bug 1132203)
2015-09-29 10:07:24 -07:00
Brian Grinstead
2ecc7d7d83 Bug 1209342 - Ignore attribute changes from Mutation Observer with null newValue;r=pbrosset 2015-09-29 08:45:24 -07:00
Carsten "Tomcat" Book
b2d49ad0f0 Merge mozilla-central to fx-team 2015-09-29 12:41:12 +02:00
Alexandre Poirot
144597b325 Bug 1188413 - Introduce key shortcut to reload tools r=past 2015-09-29 03:06:25 -07:00
Carsten "Tomcat" Book
5249c06cb0 merge mozilla-inbound to mozilla-central a=merge 2015-09-29 12:00:25 +02:00
Gabriel Luong
f741f62884 Bug 1132557 - Part 2: Apply fixes for CodeMirror 5.7.0 upgrade r=bgrins
* * *
Bug 1132557 - Part 3: Apply CodeMirror customization for search.js r=bgrins
* * *
Bug 1132557 - Part 8: Editor config option should be updated r=bgrins
* * *
Bug 1132557 - Part 9: Editor should emit a cursorActivity on setCursor r=bgrins
* * *
Bug 1132557 - Part 10: Make Debugger breadrumbs keyboard access test by refocusing the stack frame r=bgrins
* * *
Bug 1132557 - Part 11: Scratchpad should use capture on the paste event r=bgrins
* * *
Bug 1132557 - Part 12: Stylesheet Editor should always batch up updates r=bgrins
2015-09-28 14:55:51 -07:00
Gabriel Luong
00cb8466fb Bug 1132557 - Part 1: Upgrade to CodeMirror 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 1: Update CodeMirror License r=bgrins
* * *
Bug 1132557 - Part 2: Upgrade existing addons to CodeMirror 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 4: Upgrade existing CodeMirror keymap to 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 5: Upgrade existing CodeMirror mode to 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 6: Upgrade to CodeMirror 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 7: Upgrade existing CodeMirror tests to 5.7.0 r=bgrins
* * *
Bug 1132557 - Part 13: Update CodeMirror README for version 5.7.0 r=bgrins
2015-09-28 14:55:48 -07:00
Jan Odvarko
2d039b4c6d Bug 1132203 - Load JSON viewer only for top level documents; r=bz 2015-09-28 13:48:33 +02:00
Jan Odvarko
f59b7d3769 Bug 1132203 - Load JSON viewer dynamically on demand; r=jryans 2015-09-28 13:34:03 +02:00
Jan Odvarko
cd2f3053fe Bug 1132203 - Tests for JSON Viewer; r=jryans 2015-09-28 13:33:45 +02:00
Jan Odvarko
eee71207ec Bug 1132203 - JSON Viewer for application/json documents. r=jlong 2015-09-28 13:33:20 +02:00
Jan Odvarko
28e0f9eb62 Bug 1132203 - Libs for JSON Viewer. r=jlong 2015-09-28 13:32:37 +02:00
Matteo Ferretti
374eb5d5f1 Bug 1089240 - Add a measurement tool. r=pbrosset 2015-09-28 15:14:00 +02:00
Cameron McCormack
e8e4bdfdc8 Bug 1198708 - Part 3: Serialize computed {transition,animation}-timing-function using their specified values. r=birtles
The CSS Transitions and Animations specs define the computed value of
a {transition,animation}-timing-function property as being the same as
the specified value, so we should expose the specific value we recorded
on nsTimingFunction in Part 1 through nsComputedDOMStyle.
2015-09-29 12:20:14 +10:00
Gijs Kruitbosch
b820b10ca9 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws 2015-09-26 15:01:51 +01:00
Jordan Santell
72dea1ba99 Bug 1201949 - Initial redux-style controllers for front end memory tool heap snapshot. r=jlongster 2015-09-25 20:09:58 -07:00
Victor Porof
62b9c39bbd Bug 1207937 - Increase timeout for browser_timeline-waterfall-generic.js, r=me 2015-09-26 14:44:50 +02:00
Victor Porof
94946f8488 Bug 1196947 - Performance tools should display a message in private browsing, r=jsantell 2015-09-26 06:21:09 +02:00
Nick Fitzgerald
a25587da47 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-25 15:35:02 -07:00
Gabriel Luong
8e63c81b48 Bug 1206425 - Reorganize CodeMirror file structure for easier upgrades r=bgrins 2015-09-25 11:34:06 -07:00
Carsten "Tomcat" Book
62f9c7974d Backed out 1 changesets (bug 1207645) for Mulet Gaia JS Integration Test Gij 21 and 4 perma test failures
Backed out changeset a23053342d5b (bug 1207645)
2015-09-25 16:54:34 +02:00
Carsten "Tomcat" Book
6cc43d7835 merge mozilla-inbound to mozilla-central a=merge 2015-09-25 14:39:34 +02:00
Nick Fitzgerald
c6a2721d28 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-24 17:19:03 -07:00
Daniel Holbert
9c9c11a708 Bug 1169974 part 2: Tell clang to ignore inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=njn 2015-09-24 16:16:14 -07:00
Nick Fitzgerald
8557cc8194 Bug 1206290 - Part 0: Move js/UbiNodeTraverse.h to js/UbiNodeBreadthFirst.h; r=sfink 2015-09-24 14:01:22 -07:00
Nathan Froyd
490e851ea9 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Carsten "Tomcat" Book
50bcddb6df merge mozilla-inbound to mozilla-central a=merge 2015-09-24 12:03:40 +02:00
Wes Kocher
c58c3b9fe8 Merge m-c to fx-team, a=merge CLOSED TREE 2015-09-23 13:26:00 -07:00
Wes Kocher
c8a6c11b3b Merge fx-team to central, a=merge CLOSED TREE 2015-09-23 13:22:10 -07:00
Xidorn Quan
422657918c Bug 1207443 - Change browser_parsable_css.js to load stylesheets with chrome privilege. r=Gijs 2015-09-23 22:15:04 +10:00
Carsten "Tomcat" Book
9e87fd6659 merge mozilla-inbound to mozilla-central a=merge 2015-09-23 12:28:10 +02:00
Wes Kocher
3779cfbb05 Merge m-c to inbound, a=merge CLOSED TREE 2015-09-23 13:23:42 -07:00
Wes Kocher
1c269b0ef9 Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Andrea Marchesini
1020a98af9 Bug 1207635 - get rid of dom.workers.sharedWorkers.enabled pref, r=khuey 2015-09-23 19:33:40 +01:00
Patrick Brosset
322c5f6e65 Bug 1207627 - Remove the markup-view preview feature; r=bgrins 2015-09-23 08:24:43 -07:00
Jon Droniak
09c8dbc0ee Bug 1203147 - Add a keyboard shortcut for scrolling elements into view in the inspector. r=pbro 2015-09-18 20:22:00 -07:00
Sami Jaktholm
4b34927fa7 Bug 1146935 - StyleEditor: Respect the transition preference when a linked CSS file has changed on disk. r=bgrins
This should fix intermittent browser_styleeditor_sourcemap_watching.js
which was disabling transitions to avoid races between the transition
finishing and the 'style-applied' event to be sent from the server.
2015-09-19 11:47:54 +03:00
Wes Kocher
4b62bd50d4 Merge m-c to fx-team, a=merge 2015-09-22 16:48:10 -07:00
Michael Layzell
26469c55d9 Bug 918742 - Correct handling of author-supplied charsets in XMLHttpRequest, r=bz 2015-09-22 12:26:15 -04:00
J. Ryan Stinnett
1fa6971f20 Bug 1196155 - Update renamed ESLint rules. r=pbrosset 2015-09-21 17:19:19 -05:00
Carsten "Tomcat" Book
f8abba90f1 merge mozilla-inbound to mozilla-central a=merge 2015-09-22 12:35:13 +02:00
J. Ryan Stinnett
e936cefbaf Bug 912121 - Misc. DevTools test fixes after migration. rs=devtools 2015-09-20 03:12:51 -05:00
J. Ryan Stinnett
4d445b1a37 Bug 912121 - Create shims for popular DevTools themes in add-ons. rs=devtools
For popular themes used by many DevTools add-ons, add shim files which wrap the
themes and make them available at their previous location.
2015-09-10 23:34:42 -05:00
J. Ryan Stinnett
a22f0c942b Bug 912121 - Create shims for popular DevTools modules in add-ons. rs=devtools
For popular modules used by many DevTools add-ons, add shim files which wrap the
modules and make them available at their previous location.

Each shim includes a deprecation warning to make devs and users aware of the
issue.
2015-09-17 16:28:42 -05:00
J. Ryan Stinnett
79ff031964 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett
cc407ff048 Bug 912121 - Package DevTools client themes in devtools.jar. rs=devtools
Break DevTools theme files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/skin/devtools/<X>

to

chrome://devtools/skin/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:04:31 -05:00
J. Ryan Stinnett
d3e83e53a2 Bug 912121 - Migrate DevTools themes. rs=devtools
Move DevTools themes to a new directory using the following step:

hg mv browser/themes/shared/devtools devtools/client/themes

No other changes are made.
2015-09-21 12:04:27 -05:00
J. Ryan Stinnett
1fcbd86174 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
ddcd042ea7 Bug 912121 - Package DevTools client content in devtools.jar. rs=devtools
Break DevTools content files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/content/devtools/<X>

to

chrome://devtools/content/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:02:37 -05:00
J. Ryan Stinnett
ed50f9cd5c Bug 912121 - Adjust build configs and test manifests. r=glandium
This step resumes shipping client and server DevTools components to the correct
products, and is enough for "mach build" to complete successfully.
2015-09-17 14:35:36 -05:00
J. Ryan Stinnett
0634882253 Bug 912121 - Adjust ESLint files. r=pbrosset
Move ESList files up to /devtools to represent the entire DevTools tree.

Various relative paths and ignore files are also updated.
2015-09-21 12:02:32 -05:00
J. Ryan Stinnett
4b3635c0bb 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
Carsten "Tomcat" Book
a9d2afdde6 Merge mozilla-central to mozilla-inbound 2015-09-23 12:47:04 +02:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote
4bf9264cf1 Bug 1169974 - Tolerate inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=fitzgen. 2015-09-22 17:33:02 -07:00
Nick Fitzgerald
dc80274310 Bug 1201597 - Part 2: Add an IPDL subprotocol for opening core dump files to
save heap snapsots into; r=mrbkap
2015-09-22 12:09:42 -07:00
Nick Fitzgerald
91d6c88f33 Bug 1201597 - Part 1: Implement an nsIOutputStream for ipc::FileDescriptor; r=mrbkap 2015-09-22 12:09:42 -07:00
Nick Fitzgerald
d574985840 Bug 1206288 - Remove JS::ubi::SimpleEdge and make JS::ubi::Edge a concrete class; r=shu 2015-09-22 11:34:30 -07:00
Jason Orendorff
00bf86b02b Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
Jason Orendorff
5d3792d31b Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
Nick Fitzgerald
825f248866 Bug 1182653 - Use JSRuntime* instead of JSContext* in ubi::Node infrastructure; r=sfink
This enables the use of ubi::Node in situations where a JSContext* is not
available, and paves the way for debugging utilities to dump shortest paths from
GC roots to a given ubi::Node that can be used while paused in a debugger.
2015-09-23 09:39:56 -07:00
Nick Fitzgerald
9dc6e6e3c6 Bug 1223512 - Validate that every edge referent is in the heap snapshot; r=shu 2015-11-13 11:11:09 -08:00
Tom Tromey
0ed99f560f Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz 2015-11-11 12:55:00 +01:00
Brian Grinstead
9f03bed23d Bug 1240196 - Replace instances of console jsterm inputNode.value with a getInputValue function;r=linclark 2016-01-20 14:42:36 -08:00
Alexandre Poirot
4df948d80c Bug 1232931 - Allow running browser_service_workers_timeout.js more than once. r=janx 2016-01-20 14:09:26 -08:00
Alexandre Poirot
649b0de4a3 Bug 1003860 - Various tweaks to the storage inspector. r=mratcliffe 2016-01-20 14:09:25 -08:00
Alexandre Poirot
b76236f8c7 Bug 1003860 - Service worker cache for storage actor. r=mratcliffe 2016-01-20 14:09:25 -08:00
Alexandre Poirot
83520979d5 Bug 1003860 - Simplify storage setup tasks in storage inspector tests. r=mratcliffe 2016-01-20 14:09:25 -08:00
Alexandre Poirot
86e5e69416 Bug 1240762 - Fix ServiceWorker request coming from Cache/Fetch. r=vporof 2016-01-20 14:09:25 -08:00
Gabriel Luong
6cea224ad9 Bug 1240670 - Hide the filter property search for an unmatched rule r=pbro 2016-01-20 15:48:43 -05:00
Tom Tromey
29f90a4e84 Bug 1239438 - fix most eslint warnings in styles.js; r=pbro 2016-01-20 13:39:06 -07:00
Tom Tromey
09a298df5d Bug 1241155 - correctly use indexOf in browser_rules_user-agent-styles.js; r=bgrins 2016-01-20 13:35:18 -07:00
Tom Tromey
f1e92215a3 Bug 1239336 - set parsing mode on about:PreferenceStyleSheet; r=heycam,bgrins 2016-01-20 13:35:13 -07:00
Brian Grinstead
2efb2cae91 Bug 1030318 - Enable devtools/framework tests with e10s - part 4;r=me 2016-01-20 11:52:02 -08:00
Ryan VanderMeulen
f225e3ebd7 Bug 1135315 - Re-enable the WebIDE mochitest-chrome tests on OSX debug. r=test-only 2016-01-23 20:14:21 -05:00
Carsten "Tomcat" Book
627f0d4914 Merge m-c to mozilla-inbound 2015-10-01 14:15:17 +02:00
Kevin Grandon
79f0fe7233 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00