Граф коммитов

187 Коммитов

Автор SHA1 Сообщение Дата
Michael Layzell 420156f40f Bug 1271819 - Rewrite browser_focus_steal_from_chrome to avoid race condition, r=enndeakin 2016-08-03 13:25:06 -04:00
Blake Kaplan b43a6820bf Bug 1267479 - Use ContentTask to avoid using intermittent CPOWs in browser_bug396843.js. r=wchen 2016-07-22 16:45:47 -07:00
Mike Conley 0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley 0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Michael Layzell 1a795be9f7 Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s. r=bz 2016-05-19 09:38:03 -04:00
Michael Layzell 3c3f655608 Bug 1271067 - Make test_bug1004814 more reliable on non-e10s, r=baku 2016-05-19 09:37:51 -04:00
Michael Layzell a0e9525087 Bug 1270299 - Modify browser_ConsoleAPITests.js to run in e10s, r=baku 2016-05-16 13:54:55 -04:00
Michael Layzell 5d45419a2c Backout Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s for bustage 2016-05-06 15:33:19 -04:00
Michael Layzell 295b6efb5a Bug 1270509 - Enable browser_ConsoleStoragePBTest_perwindowpb.js on e10s, r=enndeakin 2016-05-06 13:52:48 -04:00
Michael Layzell 2696694ada Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s. r=bz 2016-05-06 13:52:47 -04:00
Michael Layzell 1a54e3cc12 Bug 1270121 - Rewrite test_bug1004814 to work in e10s, r=baku 2016-05-06 13:52:45 -04:00
Michael Layzell 78593ea848 Bug 1270509 - Enable browser_xhr_sandbox.js on e10s, r=enndeakin 2016-05-06 13:52:43 -04:00
Michael Layzell 3082b353b8 Bug 1270117 - Modify browser_focus_steal_from_chrome_during_mousedown to run on e10s, r=enndeakin 2016-05-06 13:52:42 -04:00
Michael Layzell 7ed351b002 Bug 1270118 - Modify browser_focus_steal_from_chrome to run on e10s, r=enndeakin 2016-05-06 13:52:40 -04:00
Michael Layzell fe89e56dfa Bug 1270119 - Rewrite browser_localStorage_privatestoragevent.js to run on e10s, r=jdm 2016-05-06 13:52:38 -04:00
Tracy Walker c660026541 Bug 1265436 - modernize dom/tests/browser/browser_bug396843.js to work in e10s, also re-enable dom/tests/browser/browser_bug1238427.js as it works as is. r=jimm 2016-04-21 16:12:40 -05:00
Luca Greco 7cf178484c Bug 1264106 - Fix browser_ConsoleAPI_originAttributes.js permafail on DevEdition. r=baku
- the test case was failing because of an additional error message which is logged only on DevEdition.
- this patch makes the assertions on the cached messages more resilient to this kind of changes in the logged messages, by filtering the cached messages and then making assertions on the length of the messages found.

MozReview-Commit-ID: GIPOkWzM9Bo

--HG--
extra : rebase_source : ba0b92859105afcc6f2101a95e74b99b5a3f9aae
2016-04-13 00:48:01 +02:00
Gijs Kruitbosch 30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Tracy Walker 52c3feb502 Bug 1262831 - Enable browser_frame_elements.js, browser_test_content.js and browser_test_new_window_from_content.js in dom/tests/browser/browser.ini. r=jimm
--HG--
extra : rebase_source : a4a457014e2b4024537328d50f1ba8bc69878d43
2016-04-11 15:41:50 -05: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
Luca Greco 2a28dabb62 Bug 1211665 - Save originAttributes in the console event messages. r=baku
Save the originAttributes of the current principal into the console events,
so that we can filter the console messages by originAttributes (e.g.
WebExtensions console events can be filtered using the addonId that the
ExtensionPages' originAttributes contain.

MozReview-Commit-ID: 5v9BWLbgskd

--HG--
extra : transplant_source : %2C%A1%D4%8AEp%E6G%8A%2C%DA%A8%EE%B3%EA%0E%84xk%FF
2016-04-01 13:55:40 +02:00
Ehsan Akhgari 3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Sebastian Hengst 9526b58457 Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE 2016-03-14 23:03:37 +01:00
Ehsan Akhgari ce1ef38b75 Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Neil Deakin 7e8e97329b Bug 1246654, enable browser_bug1008941_dismissGeolocationHanger.js in e10s, r=mconley 2016-03-09 09:11:46 -05:00
Neil Deakin 01667b7d93 Bug 1246635, enable browser_autofocus_preference.js in e10s, r=mrbkap 2016-03-09 09:11:35 -05:00
Neil Deakin 3c1f661ece Bug 1246635, enable browser_autofocus_background.js in e10s, r=mrbkap 2016-03-09 09:11:12 -05:00
Mike de Boer c326e059de Bug 1241930: Part 5 - convert all assertion methods used inside content tasks to the Assert.* family in dom tests. r=mconley 2016-03-04 14:32:32 +01:00
Blake Kaplan 8b6148f70d Bug 1245723 - Fix browser_frame_elements and re-enable now-passing tests. r=felipe 2016-02-09 14:40:36 -08:00
Andrew McCreight 9f632b6e53 Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm
The timeout timer of a geolocation request holds a strong reference to
the request. This can cause the window to leak if the request is not
completed before the tab containing the window is closed.

To fix this, I made the timer instead hold a strong reference to a
wrapper class that has only a weak reference to the request. The
request destructor must now cancel the timeout timer.

I also outlined a call to StopTimeoutTimer() in
nsGeolocationRequest::Shutdown().
2016-01-21 09:57:30 -08:00
Phil Ringnalda 8b079b3e4c Back out 0014798942e0 (bug 1238427) for its bad implicit conversion constructor for 'TimerCallbackHolder'
CLOSED TREE
2016-01-20 21:17:44 -08:00
Andrew McCreight c2fbfc9add Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm
The timeout timer of a geolocation request holds a strong reference to
the request. This can cause the window to leak if the request is not
completed before the tab containing the window is closed.

To fix this, I made the timer instead hold a strong reference to a
wrapper class that has only a weak reference to the request. The
request destructor must now cancel the timeout timer.

I also outlined a call to StopTimeoutTimer() in
nsGeolocationRequest::Shutdown().
2016-01-19 14:09:00 -05:00
Mike Conley 5433e47dd6 Bug 1218594 - Regression test. r=felipe
--HG--
extra : commitid : GFWHfGonWSr
extra : rebase_source : a5cf935ce2f1cb1ead5a70b162e3a93be03e8269
extra : histedit_source : f75bab77d2743c8b549d10da5654b3b57294f90f
2016-01-04 13:46:58 -05:00
Mike Conley f9c6c36436 Bug 1218594 - Fix some bad test assertion strings. r=felipe
--HG--
extra : commitid : 3FIPSOKEnYS
extra : rebase_source : 4bf04136cba0c19bf444db94b127fcd36d335e7c
extra : histedit_source : 7336bc9c3b80c30fe2ac1a71b5913f88b9c932cb
2016-01-04 13:46:40 -05:00
Phil Ringnalda 1d8e579544 Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js 2015-11-14 15:00:33 -08:00
Antonio de Luna e7cdfb81f4 Bug 1210482 - regression tests for 1194897 in which window.[location|menu|personal|status|tool]bar.visible broke for e10s, we're testing these behave appropiately both in content and chrome. r=mconley
--HG--
extra : rebase_source : 72470770cf6ae64e24e3b6216f26673fc1978a8e
2015-11-09 15:53:00 +01:00
Mike Conley c569672024 Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
Relanding CLOSED TREE

--HG--
extra : source : 11cb6379251ae9efd70bf3bc1f8fab9b66b3d964
extra : amend_source : 6a585ebc1cb80896b598a76cb4275b4ee9f1cee8
2015-10-02 19:08:20 -04:00
Mike Conley d8c70c1560 Bug 1095236 - Simplify browser_test_new_window_from_content.js to use BrowserTestUtils. r=mrbkap
--HG--
extra : source : a179310161fb9240245995f86a31ef45cace38f6
2015-10-02 19:44:48 -04:00
Wes Kocher 73e113381f Backed out 3 changesets (bug 1095236) for possibly spiking the frequency of VP(b-m) failures CLOSED TREE
Backed out changeset 11cb6379251a (bug 1095236)
Backed out changeset 856b7b90184f (bug 1095236)
Backed out changeset a179310161fb (bug 1095236)
2015-10-13 10:08:11 -07:00
Mike Conley 00646ae181 Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
--HG--
extra : commitid : K0O9jLpNT8J
extra : rebase_source : c2451a8d140b99435af9c754a5656648d6ab946f
extra : histedit_source : 93dab434745a51088d77e5b33dbef0a9161ea51c
2015-10-02 19:08:20 -04:00
Mike Conley b98d93ada9 Bug 1095236 - Simplify browser_test_new_window_from_content.js to use BrowserTestUtils. r=mrbkap
--HG--
extra : commitid : Ia8rS8t1WAn
extra : rebase_source : e5a9f99eb8c900dacb363658973050f78320be29
extra : histedit_source : 28435fa0ad3292ca096f79b53c91ef9ea6305ffd
2015-10-02 19:44:48 -04:00
Tooru Fujisawa af8ef74cc6 Bug 1207494 - Part 12: Remove use of expression closure from dom/tests/. r=jst
--HG--
extra : commitid : JmNDjAIaG9G
extra : rebase_source : e5829f84f053b3840b8c4568d8d26352e0119b29
2015-09-23 18:39:15 +09:00
Gijs Kruitbosch 5dd3837ea4 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Brian Grinstead d230ce6194 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past
--HG--
extra : commitid : Jus6Z5MrRBt
2015-07-08 12:10:29 -07:00
Gijs Kruitbosch 186ddd89f1 Bug 995697 - remove obsolete geolocation private browsing test, r=jdm
--HG--
extra : commitid : 2OEugmfgclg
extra : rebase_source : 0bdc19ed8ababfda0b4ee8639266e45509dc2b1a
2015-06-01 13:35:18 +01:00
Jordan Santell 7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Ehsan Akhgari 1b1c836446 Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js 2015-04-26 11:50:35 -04:00