Commit Graph
130 Commits
Author SHA1 Message Date
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
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
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
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
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 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
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
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
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
Brian Grinstead b4a691a83f 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 b888afddc4 Bug 1247203 - Stop exporting useless symbols of of devtools/client/main. r=jryans 2016-03-04 07:51:11 -08:00
Lin Clark 04fa71ec93 Bug 1243974 - [e10s] Enable browser_webconsole_output_01.js in e10s. r=bgrins 2016-02-16 15:21:00 -05:00
Carsten "Tomcat" Book 40bf8903b1 merge mozilla-inbound to mozilla-central a=merge 2016-03-02 15:54:19 +01:00
Jordan Santell 8215bc31f3 Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Ryan VanderMeulen bd183e757e Bug 1194533 - Skip various webconsole tests on OSX e10 debug e10s. 2016-02-29 18:45:28 -05:00
Alexandre Poirot dd101c6942 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00
Brian Grinstead 24d0266e69 Bug 1243984 - e10s fixes for browser_webconsole_bug_593003_iframe_wrong_hud.js; r=linclark
MozReview-Commit-ID: Hhk5n3DShG1
2016-02-24 08:29:18 -08:00
Lin Clark 6257657116 Bug 1242943 - Enable browser_webconsole_clickable_urls.js for e10s. r=bgrins 2016-02-24 19:00:00 +01:00
AJ Kerrigan 03989ecdc3 Bug 1099071 - Display error message in console for thrown empty string;r=bgrins
MozReview-Commit-ID: IhOFhDnyMpF
2016-02-19 00:32:57 -05:00
Alexandre Poirot bf0f5c4be3 Bug 1240675 - Verify that webconsole prints stacks for DOM Exceptions. r=vporof 2016-02-24 02:06:42 -08:00
Brian Grinstead fae4068804 Bug 1249714 - Use jsterm.focus instead of inputNode.focus;r=linclark
MozReview-Commit-ID: 7LOW7S5rX5Y
2016-02-19 14:49:42 -08:00