Commit Graph

125 Commits

Author SHA1 Message Date
Gabor Krizsanits
57873c6622 Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
Mark Banner
0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Kris Maglione
1d5e218562 Bug 1305162: Part 1b - Properly serialize nsIMIMEInputStream in RemoteWebNavigation. r=dragana
MozReview-Commit-ID: 6PePVAEL1Px
2017-01-21 13:28:08 -08:00
Christoph Kerschbaumer
81c125990e Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Gijs Kruitbosch
a5f81387b8 Bug 1284395, r=bz,mconley,baku
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Sebastian Hengst
1be73950af Backed out changeset 6036b8acdab5 (bug 1284395) for asserting in ChromeUtils::IsOriginAttributesEqualIgnoringAddonId at nsDocShell.cpp:8007 for Windows debug builds. r=backout 2016-09-19 17:10:09 +02:00
Gijs Kruitbosch
0ab165096f Bug 1284395, r=bz,mconley
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Mike Conley
98c0a7fdf7 Bug 1294502 - Move AutoCompletePopup implementation for content to browser-content.js so that non-e10s can use it in a later patch. r=MattN
MozReview-Commit-ID: 2fB4M3lqpLK
2016-07-28 14:18:50 -04:00
Drew Willcoxon
336904f640 Bug 1293499 - Fix PageThumbs.captureAndStore for e10s: redirects and channel errors. r=markh
MozReview-Commit-ID: HULg4Ja0NmF
2016-08-09 17:48:34 -07:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Andrea Marchesini
7f7472a4fd Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Phil Ringnalda
732de24a7c Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Andrea Marchesini
c151ac65b4 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Makoto Kato
fb19971efb Bug 1177943 - Part 4. Implement remote nsICommandWithParams. r=smaug
MozReview-Commit-ID: LbokIF1rWZX
2016-04-20 19:12:27 +09:00
Blake Kaplan
157ee72651 Bug 1272172 - Back out bug 1183037 for regressions. r=backout 2016-05-12 15:48:59 -07:00
Carsten "Tomcat" Book
31585b3be9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Blake Kaplan
35810ea1f3 Bug 1183037 - Clicking on the input element doesn't notify the child that the autocomplete popup rolled up. r=felipe 2016-05-02 15:28:00 -04:00
Gijs Kruitbosch
16ea5e8a7a Bug 1241085 - part 1: improve inLoadURI support, r=mconley
MozReview-Commit-ID: 8jTbktXGOA1
2016-04-28 18:31:42 +01: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
22f6a133a0 Bug 1241085 - part 1: improve inLoadURI support, r=mconley
MozReview-Commit-ID: 8jTbktXGOA1
2016-04-28 18:31:42 +01:00
Gijs Kruitbosch
75f9f2fa5c Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions
MozReview-Commit-ID: EVv6M6x9F44
2016-05-05 17:45:58 +01:00
Kris Maglione
6f3240ccb2 Bug 1238310: Part 5 - Implement the browser.tabs.onZoomChange event. r=gabor f=aswan
MozReview-Commit-ID: JlxSM13SeYg
2016-04-01 11:45:01 -07:00
Gijs Kruitbosch
f10989479e Bug 1199934 - page shouldn't be able to trap/revert the location bar by hash/replacestate changes, r=jaws
MozReview-Commit-ID: HsmmHsUtU0h
2016-04-13 19:32:45 +01:00
Mike Conley
76e4ed69e2 Bug 1254865 - Send init for AutoCompletePopup in async message from the parent. r=Felipe
MozReview-Commit-ID: IZ9f8pTTflF
2016-03-23 14:47:00 -04:00
Mike Conley
b6fac411bb Bug 1254865 - Don't send disableglobalhistory state down to browser-child.js in sync message. r=Felipe
MozReview-Commit-ID: 7PRr1ia7VbA
2016-03-23 17:27:34 -04:00
Gijs Kruitbosch
bd9f1005b4 Bug 1254657 - change how we send Content:LoadURIResult to avoid upsetting RemoteWebProgress.jsm, r=mconley
MozReview-Commit-ID: 7GR6H19ZUuN
2016-03-08 20:04:10 +00:00
Gijs Kruitbosch
3c7d01a924 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ
2016-02-16 14:08:14 +00:00
Gijs Kruitbosch
6a2f5c957c Backed out changeset 2331bc8e11a7 (bug 798249) for leaks and intermittent about:home uncaught errors
MozReview-Commit-ID: FWORd2nzGbl
2016-03-08 12:26:54 +00:00
Dão Gottwald
aee25b5c6f Bug 1253584 - Fix and enable browser_NetworkPrioritizer.js for e10s. r=mconley 2016-03-08 12:16:42 +01:00
Gijs Kruitbosch
d80235f625 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ
2016-02-16 14:08:14 +00:00
Gijs Kruitbosch
027b0077c5 Bug 1088710 - part 2: make it work on e10s, r=mconley
MozReview-Commit-ID: FhlfqJ1gmjR
2016-02-24 15:24:20 +00:00
Mike Conley
b62187d342 Bug 1246115 - Make gSafeBrowsing set the phishing menu item correctly. r=Gijs
Unfortunately, when onLocationChange is fired for an attack site for
the about:blocked error page that we display, content.document has not
been updated with the loaded error document, so
content.document.documentURI will appear to be the previous page that
had been loaded. In this patch, we update the parent's cache of
documentURI in onStateChange as well, since this seems to be fired
after the error page has been loaded.

MozReview-Commit-ID: 1yLAw0JTEC6
2016-02-10 15:49:50 -05:00
Mike de Boer
13cea25f52 Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Mike Conley
34e03daf85 Bug 1233803 - Outlaw usage of sessionHistory CPOW in browser code. r=felipe 2016-01-04 15:49:22 -05:00
Jim Mathies
5fc9700de6 Bug 1096804 - Add support to PageThumbs for requesting non-downsampled content screenshots. r=dao 2016-01-12 11:08:33 -06:00
Kris Maglione
8629e53f82 Bug 1193837: Part 1 - Cache the last known inner window ID of remote browsers in parent process. r=billm 2015-11-30 17:56:01 -08:00
Wes Kocher
4e87701a29 Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Kris Maglione
d83ed1830e Bug 1193837: Part 1 - Cache the last known inner window ID of remote browsers in parent process. r=billm 2015-11-30 17:56:01 -08:00
Blake Kaplan
a4c9ffea9d Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
Bill McCloskey
4dee4d6fa4 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Bill McCloskey
8612a67a22 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Bill McCloskey
aa1b6377d3 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Mason Chang
6bc63c25ba Bug 1197361. Optimize page thumbnails based on screen size. r=ttaubert 2015-09-25 11:27:16 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00