Commit Graph

158 Commits

Author SHA1 Message Date
Sebastian Hengst
9e4b410498 Backed out changeset 5d81dab28e18 (bug 1261785) 2016-04-17 12:27:33 +02:00
Jarda Snajdr
58ce1a1893 Bug 1261785 - Part 2: Use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-13 04:01:00 -04:00
Brian Grinstead
c66c7f23d1 Bug 1239566 - Get rid of CPOW in browser_webconsole_view_source.js. r=linclark
MozReview-Commit-ID: EQNXg7M9dZr

--HG--
extra : transplant_source : X%FE%E5%CCB%A2%C2%89%BBF%A4p%B1H%BB%B0-%A6%97%09
2016-04-13 07:04:26 -07:00
Julian Descottes
094aad9e14 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

--HG--
extra : rebase_source : 3bb9f99fa4ac8ed6772e325dba978ce3e6a0f202
extra : source : 671011b82100a598dd8368205bd625227bfdc060
2016-04-12 08:09:41 +02:00
Carsten "Tomcat" Book
8efbb16dcd Backed out changeset 671011b82100 (bug 659625) 2016-04-13 12:30:24 +02:00
Julian Descottes
d52abc58ab 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

--HG--
extra : rebase_source : b26481845b5deb4213c6d25581d37e8eda3e17a7
2016-04-12 08:09:41 +02:00
Carsten "Tomcat" Book
bf1832d88a Merge mozilla-central to fx-team 2016-04-12 13:55:15 +02:00
Phil
348c4c37ff Bug 1256773 - eslint issues fix for devtools/client/webconsole/panel.js. r=lclark 2016-04-06 15:35:00 +02:00
Chris Manchester
f7a1b3fb60 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
9050862722 Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins
--HG--
extra : rebase_source : 2c285070e648d42ccdd523c2415c6c6c6ed1a871
extra : amend_source : c6dd5cd109d6a767523dab6d35f8f3509995d9cd
2016-04-01 23:17:49 -07:00
Carsten "Tomcat" Book
174dee8f80 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js
--HG--
extra : rebase_source : ecb08214d01f5743a84316ae03529a9c73b4e40f
2016-04-01 15:53:12 +02:00
Jarda Snajdr
cc61dccc0d Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
--HG--
extra : rebase_source : 9fa5cccee28309f9da368275f6cb80f684aaa39f
2016-04-01 05:11:00 +02:00
Brian Grinstead
b883f769ec Bug 1258154 - Minor test cleanups for function inspection in console; r=jlongster
MozReview-Commit-ID: KkmC0uxHmPk

--HG--
extra : transplant_source : %07H%20%C2%20%2AC%00%29%85%22%3A%807%F35%A3%FD%99J
2016-03-30 18:30:06 -07:00
Brian Grinstead
20fac4d752 Bug 1258154 - Open functions in variables view if they were returned from console evaluation. r=jlongster
MozReview-Commit-ID: Cv9srKvAWdg

--HG--
extra : transplant_source : Q%8E%A1%D6%80%80%9E%20%0AA%C09T%E5V%27%23%7C%EE%FD
2016-03-30 18:30:05 -07:00
Ricky Chien
f4e9875565 Bug 1251863 - Browser Console focuses wrong window. r=lclark 2016-03-27 00:19:00 +01:00
Sami Jaktholm
89043461bf 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

--HG--
extra : rebase_source : 3f0af6dd9e359fd440deb0c929ed6d8e04b05638
2016-03-31 08:49:38 +03:00
Carsten "Tomcat" Book
d614afde81 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
462e493707 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
51ea0cd87e 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
bd2c925bdf 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
50d8f54f5c 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
f95f7183b6 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
6c70b2b847 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
9afc5381bb 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
2b44ecc757 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
79380d4135 Bug 1259563 - Display links to error message documentation alongside relevant errors (2/2); r=bgrins
--HG--
extra : rebase_source : 237344b5de2f0cc79dabca73d768ca7fb99ae91a
2016-04-11 10:27:50 -07:00
Morgan Phillips
13b99f98e6 Bug 1255133 - Surface the most common JavaScript errors; r=bgrins
--HG--
extra : rebase_source : 19d2c4016ad9a91fbb5d987fe82ae0bf06f29c4e
2016-04-08 01:06:32 -07:00
Ryan VanderMeulen
a362b7747f Bug 1242234 - Disable browser_webconsole_netlogging.js on e10s for frequent failures across all platforms.
--HG--
extra : rebase_source : 61d8ece46e059d832df333ce2cf193b0efbe01a5
2016-03-24 15:02:54 -04:00
Brian Grinstead
1450c8d113 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
44a9c4e544 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
aa74c2af2b 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
595bf767f2 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
1160733ba6 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
023c3d96a4 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
001bdcabde 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
ed69b56ca5 Merge mozilla-central to mozilla-inbound 2016-03-18 16:10:42 +01:00
Brian Grinstead
e595e1d0af Bug 1243961 - Enable browser_bug664688_sandbox_update_after_navigation.js in e10s. r=linclark
MozReview-Commit-ID: G4NJPkzewpc

--HG--
extra : rebase_source : cafa6620387d3124a654ee6d9c58cebe020b8c72
2016-03-15 13:32:22 -04:00
Michael Kohler
82bcd2e2ad Bug 1256163 - Fix all other code styles in webconsole.js. r=lclark 2016-03-17 03:02:59 +01:00
Alexandre Poirot
8cd3f29a49 Bug 1252247 - Load devtools/clients resources lazily when used from devtools/server. r=jryans 2016-03-16 06:42:18 -07:00
Jarda Snajdr
65e076156d Bug 1255734 - DevTools: Inspecting a primitive value in console throws a TypeError. r=vporof
--HG--
extra : rebase_source : c10241573f3ca5f5ecbbb040a24f551d0a848f0d
2016-03-11 01:33:00 -05:00
Jordan Santell
8aab5a4b33 Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-11 08:33:44 -08:00
Ryan VanderMeulen
94788c4c2b Backed out changeset b2e8a5b5b256 (bug 1251033) for browser_scratchpad_wrong_window_focus.js permafail.
CLOSED TREE

--HG--
extra : rebase_source : 606764793be850d2a975cdf01daa741801848eba
extra : amend_source : 6655d546e52d6661a3c8079a1f74233c9ef70a70
2016-03-10 20:22:44 -05:00
Jordan Santell
f636eb87f1 Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-10 15:43:56 -08:00
Brian Grinstead
4fbcf8548f Bug 1243958 - e10s fixes for browser_webconsole_bug_588342_document_focus.js;r=linclark
MozReview-Commit-ID: 6UPTfFWAFE9
2016-03-07 16:54:18 -08:00
Alexandre Poirot
fc8a7748f7 Bug 1247203 - Stop exporting useless symbols of of devtools/client/main. r=jryans 2016-03-04 07:51:11 -08:00
Lin Clark
fde0887c81 Bug 1243974 - [e10s] Enable browser_webconsole_output_01.js in e10s. r=bgrins
--HG--
extra : rebase_source : 1a1caa166d44ca87de913005ca082cc9f0440121
2016-02-16 15:21:00 -05:00
Carsten "Tomcat" Book
de8d151c26 merge mozilla-inbound to mozilla-central a=merge 2016-03-02 15:54:19 +01:00
Jordan Santell
677cbcffcd Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Ryan VanderMeulen
e19e37b543 Bug 1194533 - Skip various webconsole tests on OSX e10 debug e10s. 2016-02-29 18:45:28 -05:00
Alexandre Poirot
fa65737630 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00