Commit Graph

134 Commits

Author SHA1 Message Date
Tooru Fujisawa
fb24556ece Backed out changeset 1eff507bf0f4 (bug 1416153) 2017-11-24 09:17:11 +09:00
Tooru Fujisawa
dfa2598b77 Bug 1416153 - Part 1: Wait for the next event tick before resolving promise in BrowserTestUtils.waitForNewTab. r=Gijs 2017-11-24 07:50:12 +09:00
Gabriele Svelto
5ff191810d Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : f05c929911d27dc1598bc040df54022cd90aa06a
2017-11-14 14:49:33 +01:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
014408d0f5 Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : 37aacdebc4307a21ff4f2ae27d1b031adc25737c
2017-11-14 14:49:33 +01:00
Tooru Fujisawa
50f5bf47cd Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug 2017-11-21 03:41:56 +09:00
Mark Banner
a008ea82c3 Bug 1402707 - Change BrowserTestUtils.waitForNewTab to allow waiting for tabs to open a new URL when the tab might not be the next one opened. r=mak
MozReview-Commit-ID: HNFEC6BuBit

--HG--
extra : rebase_source : 62bd418aef297a16a78f82b1c159947dd8ecdbd8
2017-09-24 19:34:34 +01:00
Gabriele Svelto
84b68b502d Bug 1393800 - Have mochitests expecting crashes wait for the crashes to be recorded before clean up; r=mconley
This patch includes a bunch of somewhat related fixes, these are:

- Ensuring that when a mochitest calls SimpleTest.expectChildProcessCrash()
  the harness will wait for the crashes to be recorded before deleting the
  dump files. This involves a message round-trip between the content and
  parent process so to minimize its performance impact on all the non-crashing
  tests it is done only when required.
- As an additional optimization, the SimpleTest harness will not send a
  message to the content process anymore whenever it receives an
  ipc:content-shutdown event, instead it does it only for abnormal shutdowns.
- Manually fixing remaining mochitests causing crashes to wait for crashes to
  be recorded before finishing and deleting the dump files.
- Modifying BrowserTestUtils.crashBrowser() so that it optionally does not
  delete the dump files, this is useful for tests that submit their dumps and
  thus delete them on their own.


MozReview-Commit-ID: 4SLJ8BjJ18n

--HG--
extra : source : b5452a41bb962c6929292c5c538e19ac28d84fe7
2017-08-25 12:47:09 +02:00
Marco Bonardo
65ca393243 Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0

--HG--
extra : rebase_source : 7f93059ce057a8bf98996e31932a47523c555fd1
2017-10-10 01:18:23 +02:00
Sebastian Hengst
d4cf5c3f6e Backed out changeset 1ac7fce0b369 (bug 1406860) for failing xpcshell tests, e.g. toolkit/components/places/tests/unit/test_000_frecency.js. r=backout
--HG--
extra : amend_source : d56cb30d1aa7bb64597e273eef64e9d35056914e
2017-10-11 18:25:57 +02:00
Marco Bonardo
ac4197582b Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0

--HG--
extra : rebase_source : f919a0f84ff46fcfa56ddbfb2ba8b060b34cb12a
2017-10-10 01:18:23 +02:00
Gijs Kruitbosch
6b70b349d9 Bug 1379447 - fix intermittent failure in browser_alltabslistener caused by tab hitting about:blank when waiting for page stops, r=dao
MozReview-Commit-ID: Sn4uj4jMDc

--HG--
extra : rebase_source : c2ef1651e84ba54ca1e7584ed0dc533c2cbe1cbd
2017-07-19 23:17:01 +01:00
Florian Quèze
afec05d535 Bug 1378171 - add a test preventing us from loading scripts unintentionally during content process startup, r=mconley. 2017-07-04 22:48:15 +02:00
Marco Bonardo
a60ccaff04 Bug 1263378 - Intermittent leaks from browser_bug461710.js. r=standard8
MozReview-Commit-ID: FQQkGaiE0xZ

--HG--
extra : rebase_source : 5cdb8a0de4cdc5afd923ab596f9c01ebf344bc9f
2017-06-21 13:30:13 +02:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Edgar Chen
7b429345fd Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Carsten "Tomcat" Book
7a237f7900 Backed out changeset f9147bef9fc6 (bug 1236512) 2017-06-20 14:30:34 +02:00
Edgar Chen
2ae9d877a0 Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Bob Owen
ab8c1ce4b1 Bug 1351358 Part 6 prologue: Allow BrowserTestUtils.waitForNewTab to optionally wait for the page in the new tab to load. r=Gijs 2017-05-18 12:08:57 +01:00
Blake Kaplan
9ba3914988 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : a42662d67f7eeca8bc5870d3c70c086abf582164
2017-04-26 17:52:20 -07:00
Blake Kaplan
0799207b81 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : dad9de683517b71a23cfdfd57222734f90588f1d
2017-04-26 17:08:32 -07:00
Christoph Kerschbaumer
48324979f7 Bug 1362993 - Add BrowserTestUtils.addTab() which provides triggeringPrincipal for params object. r=florian 2017-05-10 09:31:59 +02:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Honza Bambas
a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Kevin Jones
a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mike Conley
a792e520a7 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -04:00
Carsten "Tomcat" Book
c35121e343 Backed out changeset b3abd0e89699 (bug 1340842) 2017-03-22 16:40:02 +01:00
Mike Conley
eba3f6a314 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : cd9e7834f2f507b91cac8e9bb8e1dd58e2ba33d5
2017-03-17 09:59:38 -04:00
Blake Kaplan
c57a486e18 Bug 1335801 - Make these tests wait correctly. r=Felipe,krizsa
--HG--
extra : rebase_source : 11506348c56a6763ae59311e3e827410de1dcac2
2017-03-01 17:11:23 -08:00
Kris Maglione
88c2557115 Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy
MozReview-Commit-ID: 57yhjZxVl90

--HG--
extra : rebase_source : 273a5a0d5410656425b1e7d8570b5d32869a413e
2017-03-06 13:09:40 -08:00
Kevin Jones
4c4d2e43e2 Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao 2017-02-23 17:19:28 +01:00
Shane Caraveo
6359cf10d6 Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR

--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Gijs Kruitbosch
db01372697 Bug 1335272 - prep: factor out registering about: pages into BTU, r=jaws
MozReview-Commit-ID: 2B2j5xcbSWt

--HG--
extra : rebase_source : 0edc732e50ea3482d0cba0fd150ac4d0a07aaa82
2017-02-02 14:34:40 +00:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Blake Kaplan
cfbf6868be Bug 1330822 - Remove CPOWs from browser_context_menu_iframe.js. r=Gijs
This was tricky because synthesizeMouse would compute the incorrect
coordinates if the requested event target was in a sub-frame. With this patch,
we deal correctly with sub-frames.

MozReview-Commit-ID: KpUKxFXKMrl

--HG--
extra : rebase_source : 08dbbd1abe04886ac4fe14fad11312ba0f63873b
2016-11-11 15:07:18 -08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Gabriele Svelto
1b8ffd2807 Bug 1293656 - Send crash pings for content crashes complete with stack traces r=bsmedberg
* * *
Bug 1293656 - Fix the test_process_error.xul test
2016-10-19 12:51:29 +02:00
Nihanth Subramanya
2275539222 Bug 989194 - Show captive portal notification bar when detected. r=MattN
MozReview-Commit-ID: KFvtTCBpMeS

--HG--
extra : rebase_source : b52a42f1ecd3202165da13afedc38a4835ebff42
2016-06-27 19:12:12 -07:00
Neil Deakin
7f547cba15 Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber 2016-10-12 09:18:05 -04:00
Mike Conley
88654a4021 Bug 1241459 - Add regression tests for background tab crashing behaviour. r=Felipe
MozReview-Commit-ID: KkOCdtJqDPQ

--HG--
extra : rebase_source : 3507e848a433a9ff70b08baad0abaee2d3460a35
2016-10-03 18:01:51 -04:00
Gijs Kruitbosch
3ed3aaaf19 Bug 1000458 - stop races in location bar <return> handling code, r=mak
MozReview-Commit-ID: IcQCNj0FcCu

--HG--
extra : rebase_source : 863f6f214772252be7d310cacdc49d82be215216
2016-09-28 19:54:25 +01:00
Kirk Steuber
2b313fc731 Bug 1206133 - Fix browser chrome mochitests broken by the popuppositioned patch. r=enndeakin
MozReview-Commit-ID: F3F9L2rXcys

--HG--
extra : rebase_source : 1546780dc817f4a56e590729db3603ba65206047
2016-08-19 14:31:43 -07:00
Tooru Fujisawa
b7cc988f18 Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button. r=enndeakin 2015-08-15 07:30:03 +09:00
Mike Conley
cb599d4f08 Bug 1292239 - Add utility to BrowserTestUtils to wait for load of selected browser in a brand new window. r=Felipe
MozReview-Commit-ID: IOChbNs8b3y

--HG--
extra : rebase_source : a778efe8b38aded85a6856a4c37c3b01ebd19894
2016-08-04 15:48:31 -04:00