Commit Graph
165 Commits
Author SHA1 Message Date
gasolin ca7d4e05b1 Bug 1256772 - Fix ESLint issues in devtools/client/webconsole/jsterm.js; r=linclark
MozReview-Commit-ID: 4fS6PsBGORI
2016-04-07 14:43:39 +08:00
Jan Odvarko 1c10da8595 Bug 1266021 - Remove bottom border for HTTP details tab. r=helenvholmes 2016-04-20 12:22:11 +02:00
Jarda Snajdr 23486fae96 Bug 1261785 - Part 2: use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-19 01:44:00 +02:00
Brian Grinstead 9338e4e881 Bug 1264804 - Clean up tabs between tests in browser_webconsole_netlogging.js;r=pbro
Also adds a new closeTabAndToolbox helper function to shared-head.js

MozReview-Commit-ID: IIVOczLD3zS
2016-03-30 18:24:06 -07:00
Julian Descottes 36006cf0f1 Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B
2016-04-15 12:36:17 +02:00
Carsten "Tomcat" Book 673188d00d Backed out changeset 4d5b0cdb72fe (bug 1258114) for m-oth test failures 2016-04-18 10:24:06 +02:00
Julian Descottes 567873489a Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B
2016-04-15 12:36:17 +02:00
Sebastian Hengst d8628f4821 Backed out changeset 5d81dab28e18 (bug 1261785) 2016-04-17 12:27:33 +02:00
Jarda Snajdr 7e52af5ae5 Bug 1261785 - Part 2: Use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-13 04:01:00 -04:00
Brian Grinstead ebfd950e63 Bug 1239566 - Get rid of CPOW in browser_webconsole_view_source.js. r=linclark
MozReview-Commit-ID: EQNXg7M9dZr
2016-04-13 07:04:26 -07: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
Carsten "Tomcat" Book fa77e6f99b Merge mozilla-central to fx-team 2016-04-12 13:55:15 +02:00
Phil b33084885f Bug 1256773 - eslint issues fix for devtools/client/webconsole/panel.js. r=lclark 2016-04-06 15:35:00 +02: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
Carsten "Tomcat" Book 666db7fba1 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 15:53:12 +02:00
Jarda Snajdr 692e11ad40 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe 2016-04-01 05:11:00 +02:00
Brian Grinstead 7a7b3db3f1 Bug 1258154 - Minor test cleanups for function inspection in console; r=jlongster
MozReview-Commit-ID: KkmC0uxHmPk
2016-03-30 18:30:06 -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
Ricky Chien 6b927a4d85 Bug 1251863 - Browser Console focuses wrong window. r=lclark 2016-03-27 00:19:00 +01:00
Sami Jaktholm e9bb83c593 Bug 1242234 - Wait for page load to finish before continuing in browser_webconsole_netlogging.js. r=linclark
The problem with this test is that loadPageAndGetHud() resolves once the console
message about the request is rendered. However, the message is logged immediately
when enough info has been received instead of waiting for all updates, such as
headers, body and timings, to be received.

By the time the test calls waitForFinishedRequest(PAGE_REQUEST_PREDICATE), the
initial request is still pending and the resulting promise resolves once
the initial GET request finishes instead of the POST request triggered by
the form submission causing the test failures.

MozReview-Commit-ID: HkDdKTmzJfM
2016-03-31 08:49:38 +03:00
Carsten "Tomcat" Book b325937094 Backed out changeset 66f61a656571 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 09:27:58 +02:00
Jarda Snajdr 6067b5f8a2 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe a=kwierso
MozReview-Commit-ID: ETmjp8jjQ6z
2016-03-31 16:14:15 -07:00
Jan Odvarko b45550fc24 Bug 1211525 - HTTP log inspection in the Console panel; r=jlongster,helenvholmes,bgrins,linclark a=kwierso
MozReview-Commit-ID: AA1xxjJtCPQ
2016-02-12 18:25:09 +01:00
Brian Grinstead 9ff323a478 Bug 1239992 - Focus input field if text is not selected in webconsole output;r=linclark
MozReview-Commit-ID: 2MsIap7Rj4P
2016-03-30 10:10:22 -07:00
Brian Grinstead a75245db39 Bug 1260071 - Call resize() when searching happens on frontend to reset width;r=vporof
MozReview-Commit-ID: 3Sbuh5NEN6p
2016-03-30 07:49:42 -07:00
Brian Grinstead 9ff82ed876 Bug 1239920 - Re-enable browser_webconsole_netlogging.js in e10s;r=me
MozReview-Commit-ID: 9EGRiw2shWQ
2016-03-25 16:20:22 -07:00
Sami Jaktholm 21382e40a1 Bug 1239920 - Fix other usages of waitForFinishedRequest() to ignore unexpected requests in webconsole tests;r=bgrins
If test timings shift in the future, the unexpected requests could occur
during any test. Since there are many tests that use waitForFinishedRequest(),
any of them could start to fail intermittently at any point.

These changes fix other usages of wwaitForFinishedRequest() to include a
predicate that ignores the requests that are unexpected during the test.

MozReview-Commit-ID: Er0xyt3YBj6
2016-03-25 08:09:25 +02:00
Sami Jaktholm 80473eaf9d Bug 1239920 - Ignore unexpected requests in browser_console_netlogging.js;r=bgrins
The problem here is that the test expects to receive a request for the
|test-network-request.html| but the waitForFinishedRequest() accepts any
request that happens to occur at the same time. In this particular bug,
a GMP update is triggered during the test and the waitForFinishedRequest()
promise resolves with that particular request which obviously isn't the
one the test was expecting.

These changes add an optional predicate function parameter to
waitForFinishedRequest() which will be called for each completed request
and the returned promise only resolves when the predicate returns true for
a request.

Also, browser_console_netlogging.js begins to use the aforementioned
functionality by passing a predicate that only accepts the request for
|test-network-request.html| effectively fixing the intermittent failure.


MozReview-Commit-ID: AWhMRjrqP8i
2016-03-25 08:11:06 +02:00
Jarda Snajdr b6c74118ca Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins
MozReview-Commit-ID: 5xIjd2TkvP6
2016-03-25 10:01:12 -07: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
Morgan Phillips fa1977d377 Bug 1255133 - Surface the most common JavaScript errors; r=bgrins 2016-04-08 01:06:32 -07:00
Ryan VanderMeulen 58813a11cb Bug 1242234 - Disable browser_webconsole_netlogging.js on e10s for frequent failures across all platforms. 2016-03-24 15:02:54 -04:00
Brian Grinstead 66e1857114 Bug 1243988 - Enable browser_webconsole_autocomplete_popup_close_on_tab_switch.js in e10s;r=linclark
MozReview-Commit-ID: 6woBzDyh3Jm
2016-03-23 08:48:46 -07:00
Brian Grinstead 6eb8edc980 Bug 1243993 - Enable browser_webconsole_split_persist.js in e10s;r=me
MozReview-Commit-ID: DiBlUGhicSe
2016-03-22 14:21:29 -07:00
Brian Grinstead 26e5ff522d Bug 1237124 - Remove CPOW usage in browser_webconsole_bug_658368_time_methods.js;r=linclark
MozReview-Commit-ID: GW74p2Hb8iC
2016-03-22 14:18:52 -07:00
Brian Grinstead 9eed0584fa Bug 1243991 - Enable browser_eval_in_debugger_stackframe.js in e10s;r=linclark
MozReview-Commit-ID: 30i7TnP4gda
2016-03-22 14:02:07 -07:00
Brian Grinstead c37d8f88fe Bug 1243982 - Enable browser_webconsole_closure_inspection.js in e10s;r=linclark
MozReview-Commit-ID: BoABzrQsHJd
2016-03-22 14:01:10 -07:00
Brian Grinstead 6c8512a312 Bug 1243975 - Enable browser_webconsole_bug_632817.js in e10s;r=linclark
MozReview-Commit-ID: C2UgQf2SoOm
2016-03-21 17:29:02 -07:00
Brian Grinstead 7d2fc485f2 Bug 1243955 - Enable browser_bug_871156_ctrlw_close_tab.js in e10s;r=me
MozReview-Commit-ID: 88Lbne1uRSk
2016-03-21 11:05:50 -07:00
Carsten "Tomcat" Book 2071598a2f Merge mozilla-central to mozilla-inbound 2016-03-18 16:10:42 +01:00
Brian Grinstead 8289688d83 Bug 1243961 - Enable browser_bug664688_sandbox_update_after_navigation.js in e10s. r=linclark
MozReview-Commit-ID: G4NJPkzewpc
2016-03-15 13:32:22 -04:00
Michael Kohler 7fafc598b1 Bug 1256163 - Fix all other code styles in webconsole.js. r=lclark 2016-03-17 03:02:59 +01:00
Alexandre Poirot 04ddf1ca05 Bug 1252247 - Load devtools/clients resources lazily when used from devtools/server. r=jryans 2016-03-16 06:42:18 -07:00
Jarda Snajdr 82f3482483 Bug 1255734 - DevTools: Inspecting a primitive value in console throws a TypeError. r=vporof 2016-03-11 01:33:00 -05: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