Commit Graph

779 Commits

Author SHA1 Message Date
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
Michael Layzell
59400e5d1c Bug 1234021 - Catch exceptions raised by storage.length in SessionStorage.jsm, r=mconley 2016-02-26 13:37:44 -05:00
ISHIKAWA, Chiaki
9ee69e3ce0 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Mike Conley
61f894ecc1 Bug 1236414 - Re-enable browser_crashedTabs.js with longer timeout. r=me
MozReview-Commit-ID: FlXemvsEMCM
2016-02-11 15:29:53 -05:00
Phil Ringnalda
1a9322738e Bug 1236414 - Disable browser_crashedTabs.js for an insanely high intermittent failure rate 2016-02-05 23:02:58 -08:00
Mike Conley
8067cfa63c Bug 1233497 - Stop using TabState.flushAsync in session store tests. r=billm 2016-01-05 19:19:51 -05:00
Kate McKinley
13125178e4 Bug 1195881 - working test for session store using containers under e10s. r=baku,r=tanvi 2016-01-20 00:29:00 +01:00
AJ Kerrigan
9981c05a18 Bug 1132556 - Replace runInContent() with ContentTask.spawn(). r=smacleod 2016-01-07 03:26:31 -05:00
Andrea Marchesini
aa687047b3 Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug 2016-01-06 15:39:58 +00:00
Andrea Marchesini
2e98858627 Bug 1193854 - Restoring userContextIds with the browser session - part 3 - tests, r=ttaubert 2016-01-05 21:01:46 +00:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ehsan Akhgari
d051dbe086 Bug 1175659 - Increase the timeout of browser_sessionHistory.js 2015-12-31 17:42:28 -05:00
Ehsan Akhgari
13ee681879 Bug 1170881 - Increase the timeout of browser_586068-apptabs.js 2015-12-31 17:41:25 -05:00
Ehsan Akhgari
a3d69bc4cc Bug 1203732 - Increase the timeout of browser_522545.js 2015-12-31 17:29:26 -05:00
Ehsan Akhgari
0a76aa81c3 Bug 1224066 - Increase the timeout of browser_formdata_cc.js 2015-12-31 17:28:22 -05:00
Ehsan Akhgari
a6c0c8d90a Bug 1164242 - Increase the timeout of browser_600545.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
8a7a0c3d21 Bug 1221013 - Increase the timeout of browser_crashedTabs.js 2015-12-30 22:27:40 -05:00
Andrew McCreight
720e278561 Backed out changeset 18eec0849a1f (Bug 1195295) for leaking.
This changeset is causing shutdown leaks (bug 1234697 and bug 1220517).
2015-12-23 15:59:15 -05:00
Markus Stange
b7d7c15fe9 Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.

Patch by Markus Stange, test fixes by Kartikaya Gupta
2015-12-17 17:19:30 -05:00
Luis Miguel [:quicksaver]
300052720b Bug 1228980 - Display favicons of tab entries in aboutSessionRestore-based pages. r=ttaubert 2015-12-08 12:35:28 +00:00
Mike Conley
415e22c19d Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert 2015-12-01 14:34:25 -05:00
Mike Conley
03268c846d Bug 1225921 - Regression tests. r=billm 2015-12-02 13:48:05 -05:00
Mike Conley
0305c3c776 Bug 1226333 - Add tests for async window flushing. r=billm. 2015-12-02 09:46:06 -05:00
Mike Conley
c8bbf9627b Bug 1177310 - Don't flush windows synchronously on application shutdown. r=billm,feedback=ttaubert
Instead of synchronously flushing the windows, we use AsyncShutdown to
wait for all window flushes to finish.
2015-11-13 14:46:37 -05:00
Mike Conley
bd1629f0e1 Bug 1177310 - TabStateFlusher Promises should always resolve. r=Yoric
They'll always resolve, but might receive a negative success state
and a message. We're doing this so that we can maintain a Set of
in-flight flushes that we can call Promise.all on (which will
fast-fail if any Promise rejects, or will just never resolve if
one or more of the Promises never resolve).
2015-11-24 18:41:32 -05:00
Gijs Kruitbosch
33920aa4b1 Bug 1222490 - part 3: update all the tests for tabview's removal, r=ttaubert 2015-12-01 10:48:11 +00:00
Mike Conley
78b584308f Bug 1228518 - Regression test. r=ttaubert 2015-11-27 15:48:43 -05:00
Mike Conley
a4f437808b Backout patch for bug 1175267 (again) for causing bugs 1213650 and 1228179. 2015-11-26 10:07:27 -05:00