Commit Graph

806 Commits

Author SHA1 Message Date
Gabor Krizsanits
9ed9975ffc Bug 1301340 - Force single process in some tests. r=mrbkap 2016-09-22 09:24:31 +02:00
Steven Englehardt
c254fbe37d Bug 1294866 - Part 3: Tests to verify contentPrincipal persists during session restore. r=mikedeboer 2016-09-13 21:18:38 +08:00
Blake Kaplan
d7170c0e84 Bug 1294378 - Force a single process in this test because it's only designed to work with one process r=krizsa.
MozReview-Commit-ID: LNIjLX6926e
2016-08-30 17:29:04 -07:00
Jared Wein
3cefaa6899 Bug 1218937 - Introduce a new option for switchToTabHavingURI's ignoreFragment to not overwrite the fragment portion. Use this new argument to switch to the preferences without changing the currently opened pane. r=mattn
MozReview-Commit-ID: JZmAsf8k5Qp
2016-08-31 12:53:23 -04:00
Rob Wood
a9fb260049 Bug 1259329 - Split test up to fix intermittent timeout; r=jmaher
MozReview-Commit-ID: 5uDU6ScsDea
2016-08-15 15:05:24 -04:00
Mike Conley
177e558ea2 Bug 1290280 - Make bug_423132.js more resilient to the initial browser being remote by default. r=mikedeboer
The problem with this test was that it was actually relying on the old
broken behaviour where the initial browser of the new window it opens
would be flipped from remote back to non-remote before loading its
contents and flipping remote again. Because it now starts remote
(and stays there instead of doing all of the extra work), the
test was more likely to fall into the trap that I described in
https://groups.google.com/forum/#!searchin/mozilla.dev.platform/1261842%7Csort:relevance/mozilla.dev.platform/gthFqog3J-M/Ypx-SNhEQgAJ
where the promiseBrowserLoaded was firing for the wrong page
load, which meant that the cookie hadn't had a chance to be
set yet.

I've converted the test to use the properly instrumented
BrowserTestUtils functions which wait for the window to be
properly ready, and it appears to pass on try with multiple
retriggers.

MozReview-Commit-ID: BtQRx7og52A
2016-08-13 18:46:38 -04:00
Mike Conley
df087471c1 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Sebastian Hengst
a40c80fa67 Backed out changeset 2b50b05f8929 (bug 1290280) 2016-08-13 15:26:39 +02:00
Mike Conley
7a418b14fc Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Wes Kocher
f687037ad0 Backed out changeset 1c7f1b07be44 (bug 1290280) for failures in browser_remoteness_flip_on_restore.js a=backout 2016-08-11 14:43:09 -07:00
Mike Conley
2df2f54c83 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Gabor Krizsanits
55fa36c683 Bug 1285941 - browser_crashedTabs.js should always use single content process. r=mrbkap 2016-08-01 12:27:08 +02:00
Mike Conley
d0be67566d Bug 1261842 - Tests in browser_windowStateContainer.js should wait for new browser windows to completely load. r=baku
MozReview-Commit-ID: 8SyED1dQbM5
2016-06-08 10:48:15 -04:00
Mike Conley
f425dd4caa Bug 1261842 - Update browser_394759_behavior.js to account for initial browser being remote. r=mikedeboer
MozReview-Commit-ID: H1A4bzARkyf
2016-06-01 17:15:25 -04:00
Mike Conley
0df0cea13c Bug 1261842 - browser_async_window_flushing.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: E74rDTQ2FjX
2016-06-08 16:22:13 -04:00
Mike Conley
2ce07ac2ff Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: 4QniZC8w7pA
2016-06-08 16:45:37 -04:00
Mike Conley
af03d2d67f Bug 1261842 - browser_394759_behavior.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: C9aIKuRSDa3
2016-06-08 16:42:39 -04:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00
Mike de Boer
ad57d62f59 No Bug - add test coverage for more types of form fields to ignore in session form field restore. r=MattN
MozReview-Commit-ID: KdN5kETA9go
2016-07-07 15:10:26 +02:00
Jonathan Hao
724cca57f5 Bug 1283709 - Test if cookies are restored correctly to container tabs. r=mikedeboer
MozReview-Commit-ID: 2NJlJ5tFsS4
2016-07-06 01:39:00 +08:00
Yoshi Huang
a5cc6b2b69 Bug 1278149 - split browser_sessionStoreContainer.js. r=mikedeboer 2016-06-07 11:02:38 +08:00
Yoshi Huang
5eed697a1c Bug 1274461 - Part 3: another test for restoring. r=mikedeboer
This test will verify the following case:
When restore tab doesn't have userContextId, however open tab does have.
2016-06-03 15:01:03 +08:00
Yoshi Huang
b690c760e7 Bug 1274461 - Part 2: restore tabs should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Yoshi Huang
40afbc460a Bug 1274461 - Part 1: undoCloseTab should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Mike Conley
efe55711ba Bug 1276966 - Fix tests that were accidentally resetting browser.startup.page. r=mikedeboer
MozReview-Commit-ID: 3E4xVfdGDIi
2016-05-29 12:01:18 -04:00
Tim Huang
1f60311061 Bug 1267910 - Part 4: Add a test case for the session store regression test. r=mikedeboer 2016-05-25 11:54:23 +08:00
Gijs Kruitbosch
966fb83509 Bug 1271821 - fix intermittent timeouts in browser_newtab_userTypedValue.js, rs=timeout-increase,me
MozReview-Commit-ID: BTKkOh8LAgG
2016-05-24 11:35:09 +01:00
Gijs Kruitbosch
28b580ac4e Bug 1272317 - fix URL bar state when switching to a non-remote browser, r=mconley
MozReview-Commit-ID: 4dmgz6iHfdK
2016-05-16 22:36:35 +01:00
Yoshi Huang
a4205c0771 Bug 1250063 - Part 1: Pass userContextId in duplicateTab. r=ttaubert 2016-05-17 19:49:09 +08:00
Blake Kaplan
d7fae9ca24 Bug 1251760 - Remove CPOWs from browser_bug339445.js. r=felipe 2016-05-12 10:45:00 -04:00
Carsten "Tomcat" Book
31585b3be9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Carsten "Tomcat" Book
4f104b2da1 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Timothy Guan-tin Chien
648c7f27c3 Bug 1153393 - Make session restore restores the scroll position of an about:reader page, r=gijs
MozReview-Commit-ID: 6smuca3vx5O
2016-05-07 12:31:21 +08:00
Gijs Kruitbosch
83d5307a65 Bug 1241085 - fix issues with about:newtab and other initial pages whose URIs now persist after session restore, r=mconley
MozReview-Commit-ID: BbzOSwFucf6
2016-05-06 09:11:33 +01:00
Ryan VanderMeulen
89924435a4 No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Ryan VanderMeulen
54d6661e5f Bug 1269951 - Request a longer timeout for browser_819510_perwindowpb.js. 2016-05-09 17:01:16 -04:00
Gijs Kruitbosch
bb3cc1f15c Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7
2016-04-28 19:51:36 +01:00
Marco Bonardo
7d93b644b6 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ
2016-05-05 00:14:51 +02:00
Gijs Kruitbosch
a4845b609f Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions, a=backout-with-approval-from-ryanvm
MozReview-Commit-ID: EVv6M6x9F44
2016-05-05 17:45:58 +01:00
Gijs Kruitbosch
3e97b45a10 Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7
2016-04-28 19:51:36 +01:00
Gijs Kruitbosch
1b60c5a6f8 Bug 1270067 - fix browser_bug522545.js to actually test what it intends to test, r=mconley
MozReview-Commit-ID: IySO69Ic1yT
2016-05-04 14:22:01 +01:00
Ryan VanderMeulen
b19fba3cab Bug 1234404 - Skip browser_579879.js on ASAN as well. 2016-04-28 16:58:19 -04:00
Gijs Kruitbosch
a69d7ddad6 Bug 1253673, r=jaws
MozReview-Commit-ID: GKFG4s1bx5c
2016-04-13 11:58:25 +01:00
Jonathan Watt
a2a4a40996 Bug 1264159 - Use the new JS octal notation instead of parseInt when specifying octal numbers in browser code. r=standard8 2016-04-08 12:50:23 +01:00
Chris Peterson
146c8315e6 Bug 1103588 - Part 1: Replace deprecated String#contains with String#includes in browser tests and extensions. r=dolske 2016-04-09 16:05:17 -07:00
Felipe Gomes
04edf5ba11 Bug 1234404 - follow-up, limit test disabling to linux debug. r=me DONTBUILD
MozReview-Commit-ID: 5NyB3Ilv0RV
2016-03-29 21:44:02 -03:00
Felipe Gomes
e10372df02 Bug 1234404 - Disable intermittent browser_579879.js on linux e10s. r=me DONTBUILD
MozReview-Commit-ID: DFp3AFjvE9s
2016-03-29 21:39:33 -03:00
Felipe Gomes
5e7409a0cd Bug 1234404 - Wait for the tabs to be removed before finishing the test. r=me
Hopefully this gets rid of the orange in this bug

MozReview-Commit-ID: FgOxiCUDeJj
2016-03-23 15:50:07 -03:00
Tooru Fujisawa
412ae0e2a1 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Mike de Boer
a5c8a12fbb Bug 1241930: Part 2 - convert all assertion methods used inside content tasks to the Assert.* family in browser tests. r=mconley 2016-03-04 14:32:24 +01:00