Commit Graph

201 Commits

Author SHA1 Message Date
Sami Jaktholm
53a89f1b4a Bug 1270234 - Fix intermittent browser_bug664688_sandbox_update_after_navigation.js. r=bgrins
Page navigation triggers a chain of events that lead to the
console being cleared. If the stars are perfectly aligned,
the clear is triggered after |window.location.href| is executed
but before waitForMessages() looks at the existing messages
in the console. This causes the input line to be lost and
the test times out waiting for it.

These changes make the test to wait for the first clear to happen
before continuing the test.

MozReview-Commit-ID: LWuR8wxc5Lh

--HG--
extra : transplant_source : %9C%AE%A1b%FB%89%23o%CB%C6%3Ah%E1%27F%AD%FA%22%9A%EC
2016-07-30 13:35:36 +03:00
Jarda Snajdr
d603d43aeb Bug 1283901 - Intermittent devtools/client/webconsole/test/browser_console_error_source_click.js. r=bgrins 2016-07-29 08:29:00 -04:00
Julian Descottes
ae7bd89cb6 Bug 1285591 - fix accessibility in devtools autocomplete using suggestion list clone;r=bgrins
Devtools autocomplete popups are hosted in a different document from the input
being autocompleted. To allow accessibility tools such as screen readers to still
make sense of this widget, a clone of the suggestion list is now inserted in the same
document as the input, and the aria-activedescendant attribute is updated on the input
accordingly.

MozReview-Commit-ID: 8rFjF6nvEyU

--HG--
extra : rebase_source : 04a4574aee30206c3ac5dbeadcebaea89f0888c3
2016-07-22 17:35:03 +02:00
Oriol
3e28f15238 Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
J. Ryan Stinnett
76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Julian Descottes
e1bf411118 Bug 1266456 - part10: fix tests for autocomplete-popup HTMLTooltip migration;r=bgrins
Most test modifications deal with listening to the proper events.
As mentioned in the parent commit, the keyboard navigation for the
inspector-search changed a bit with this change, so the related test
case is using a slightly different scenario.

MozReview-Commit-ID: BgSa69bSSFB

--HG--
extra : rebase_source : a1b565f6b54f2c8e3d641794aaa6aa43a2c75134
2016-07-10 19:10:21 +02:00
Jarda Snajdr
24366b36b0 Bug 1281732 - Part 8: Fix webconsole tests that inspect the stack frames r=bgrins 2016-06-27 04:54:00 +02:00
Florian Scholz
d33e806413 Bug 1279195 - Update error doc URLs and add GA parameters; r=bgrins 2016-06-24 03:58:00 +02:00
Brian Grinstead
28a5659e30 Bug 1279195 - Move error message URL onto server. r=linclark
MozReview-Commit-ID: 4paCU4JDDMv

--HG--
extra : transplant_source : %2C%5Dg%B2K%DF%F2%D0%FB%08d%E46%B77%C6MZB-
2016-06-21 15:09:13 -07:00
Jarda Snajdr
1ff6daa7b0 Bug 1191216 - Part 2: Intermittent browser_console_error_source_click.js - rewrite to Task.js. r=bgrins 2016-06-27 04:49:00 +02:00
Jarda Snajdr
faf82effc8 Bug 1191216 - Part 1: Intermittent browser_console_error_source_click.js - fix test. r=bgrins 2016-06-27 04:48:00 +02:00
Nicolas Chevobbe
231c9140fb Bug 1280520 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js. r=bgrins
MozReview-Commit-ID: 5hlcANi1exr

--HG--
extra : transplant_source : %F0%A1t%C1TWjc%862%E6f%00%99p%E1a%D4%3B%12
2016-06-17 17:23:44 +02:00
Nicolas Chevobbe
48bc9fb95f Bug 1271184 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js . r=bgrins
MozReview-Commit-ID: F3OSrcDYEbO

--HG--
extra : rebase_source : 579b33c6a7a034aa45803b52eee0d1e3eda29e4f
2016-06-10 23:11:48 +02:00
Fabien Udriot
ede4c5602a Bug 1256810 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_repeated_messages_accuracy.js. r=linclark 2016-06-09 05:52:00 +02:00
Fabien Udriot
98d71fb40f Bug 1256936 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/test-bug-603750-websocket.js. r=linclark 2016-06-08 09:07:00 +02:00
moby
e8c5fb94d7 Bug 1245337 - Fix content.console.log statements in browser_webconsole_bug_613642_maintain_scroll.js; r=bgrins 2016-06-07 15:29:00 +02:00
Nicolas Chevobbe
de056ba5d3 Bug 1177324 - Fix dead CPOW intermittent in browser_webconsole_live_filtering_of_message_types.js . r=bgrins
MozReview-Commit-ID: 69Nf9VwHoUq

--HG--
extra : transplant_source : %02%3F%21%90%E7%5D%24%8B%B5c%17%29%A3%F87%91%1Bn%22%C3
2016-06-07 22:47:06 +02:00
moby
c4cfe0699b Bug 1278306 - Remove all uses of 'content.location = ' in the webconsole tests; r=bgrins 2016-06-06 13:35:00 +02:00
Masatoshi Kimura
dfb8d11072 Bug 1268728 - Remove ability to enable RC4. r=keeler 2016-06-07 22:17:43 +09:00
Carsten "Tomcat" Book
4aea0165dc merge mozilla-inbound to mozilla-central a=merge 2016-06-06 11:55:56 +02:00
Sami Jaktholm
85c7fb9737 Bug 1264434 - Use String.prototype.includes in browser_webconsole_bug_597136_network_requests_from_chrome.js. r=bgrins
String.prototype.contains was removed from Firefox 48 completely after
it was renamed to String.prototype.includes. The test includes a
call to .contains() which is triggered whenever random JavaScript
error occurs during the test (hence the intermittency).

MozReview-Commit-ID: 7nbRm94JM7O

--HG--
extra : rebase_source : e969bc1ad46120509deec31066ea63ebbb7de9c9
2016-06-05 05:49:12 +00:00
Stephanie Ouillon
e4fbe1d9ac Bug 1247459 - Meta and header CSP are merged without a semicolon. r=ckerschb 2016-05-17 15:34:53 +02:00
Nicolas Chevobbe
8bef064637 Bug 1243259 - Fix dead CPOW intermittent. r=bgrins
MozReview-Commit-ID: Bp4HzR929VJ

--HG--
extra : transplant_source : O%92%C7a%BFB%F5w%A8%19%A8%3F%88x%2C%40%B1%D8%E8a
2016-05-28 22:06:03 +02:00
Nicolas Chevobbe
9b184700df Bug 1235964 - Fix dead CPOW intermittent. r=bgrins
MozReview-Commit-ID: 7KGew84XUHs

--HG--
extra : transplant_source : %9E%B9%08%EC%CE%5D%A1%1EF0%17%93%28%D9%BB%C0%88%B7%5D%F9
2016-05-30 13:54:53 +02:00
Alexandre Poirot
f673d8c325 Bug 1268447 - Convert webconsole to use new key shortcut module. r=bgrins 2016-05-31 14:17:03 -07:00
moby
4c2cce623c Bug 1256830 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js. r=bgrins 2016-05-26 15:02:00 -04:00
Brian Grinstead
1cea52bad1 Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. r=me
MozReview-Commit-ID: 3Aa7SEq0tj7
2016-05-26 14:57:29 -07:00
moby
2da88e3f9d Bug 1256812 - Fix ESLint issues in devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js. r=bgrins 2016-05-25 14:42:00 -04:00
moby
cf61a0ce2e Bug 1256916 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js. r=bgrins 2016-05-25 11:36:00 -04:00
moby
fb4018764c Bug 1256819 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js. r=bgrins 2016-05-24 16:18:00 -04:00
Nicolas Chevobbe
5c07ed3c81 Bug 1273323 - Add integration tests for namespaced elements. r=jdescottes
Add tests for :
- markup display
- add rule
- breadcrumb
- highlighter info bar
- markup search
- webconsole element output

Move webconsole dom output test to head.js as similar things are done
in several tests.


MozReview-Commit-ID: 6gclZhzd7sD

--HG--
extra : transplant_source : %8F%9C%B5%E5%04S%BC%5B%C9%E8QV%8F%E8i%C7%E8%9A%08%A6
2016-05-22 00:03:42 +02:00
Joel Maher
a6fcbcf0a3 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj

--HG--
extra : source : a50249d48b1e86a3749bccc51ece4d1a827a621c
2016-05-25 15:28:24 -04:00
Brian Grinstead
34bc1cd7d4 Bug 1256869 - Fix eslint issues in browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js;r=me
MozReview-Commit-ID: G054kUVXbcr
2016-05-24 09:24:21 -07:00
Lin Clark
4066f6ab49 Bug 1243964 - Enable browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js in e10s. r=bgrins
MozReview-Commit-ID: EGQVoeFr4VA
2016-05-24 09:20:37 -07:00
moby
5196c457dd Bug 1256843 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js; r=bgrins
MozReview-Commit-ID: AivhQ31wr1G
2016-05-23 16:45:00 +02:00
Jaideep Bhoosreddy
ae4a15dd5c Bug 1256780 - Fix ESLint issues in devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js; r=bgrins
MozReview-Commit-ID: BqcfZi9Y26c
2016-05-23 16:28:00 +02:00
Michael Kohler
6b51fb3dce Bug 1256794 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_private_browsing.js r=bgrins
MozReview-Commit-ID: IFqqaYMACke
2016-05-07 11:35:00 +02:00
Michael Kohler
d8099c7451 Bug 1256818 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js r=jlast
MozReview-Commit-ID: ImlCGHuBb7s
2016-05-14 13:48:00 +02:00
Michael Kohler
8237bfb4cd Bug 1256798 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_variables_view_filter.js r=jlast
MozReview-Commit-ID: ISSOCbU2xX6
2016-05-07 02:17:00 +02:00
Michael Kohler
03fa1a72b0 Bug 1256790 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_keyboard_accessibility.js r=jlast
MozReview-Commit-ID: J11LwUypu2J
2016-05-07 11:36:00 +02:00
Michael Kohler
47c4ff03cb Bug 1256942 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/testscript.js r=jlast
MozReview-Commit-ID: DKyjxZbmPR9
2016-05-07 13:01:00 +02:00
Michael Kohler
5308b4c46b Bug 1256939 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/test-console-count-external-file.js r=jlast
MozReview-Commit-ID: 6icowm29klP
2016-05-07 13:04:00 +02:00
Michael Kohler
f56962f83e Bug 1256791 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_navigation_marker.js r=jlast
MozReview-Commit-ID: BnVLQMdxXhd
2016-05-07 11:35:00 +02:00
Michael Kohler
42f41de689 Bug 1256785 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_dead_objects.js r=jlast
MozReview-Commit-ID: ByGw79VSbbl
2016-05-07 11:36:00 +02:00
Nicolas Chevobbe
62400e0cd7 Bug 1270215 - Ensure we display properly cased node names all across the devtools. r=jdescottes
Add a displayName property on the NodeActor, which compute from Element.prefix + Element.localName.
The computation is made by a getNodeDisplayName function which can be imported wherever needed.
Edit some tests to ensure we correctly display node names.

MozReview-Commit-ID: 6z0G3ynbMoU

--HG--
extra : transplant_source : %E0%AFM%88D%BC%AD%08%1D%A4%FB%F2%5D%9E%D3%90%DE%94%EC%CD
2016-05-12 07:18:58 +02:00
J. Ryan Stinnett
30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot
a7aa8a2a51 Bug 1269977 - Increate timeout of browser_webconsole_netlogging.js as it runs slowly on linux32-debug. r=jryans 2016-05-18 10:32:01 -07:00
Brian Grinstead
f16b4aabf2 Bug 1253510 - Don't use CPOW inside the checkOutputForInputs webconsole helper function;r=pbro
MozReview-Commit-ID: Lcyq6uLEdfk
2016-05-13 09:19:36 -07:00
Brian Grinstead
704b78b06e Bug 1256892 - Fix eslint issues in browser_webconsole_hpkp_invalid-headers.js;r=pbro
MozReview-Commit-ID: HCr0MFoMTiQ
2016-05-13 07:37:59 -07:00
Brian Grinstead
7a866e1d6e Bug 1256833 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js;r=pbro
MozReview-Commit-ID: LRbG1muyjqr
2016-05-13 07:37:35 -07:00