Commit Graph

3589 Commits

Author SHA1 Message Date
Ryan VanderMeulen
d50afc71ca Merge inbound to m-c. a=merge 2016-05-19 12:46:54 -04:00
Gijs Kruitbosch
dbee2a63e2 Bug 1273094 - only trigger TabsInTitlebar.init() after the tabbrowser has updated the visibility of the tabs toolbar, r=mikedeboer
MozReview-Commit-ID: 2NOPYqbq4Zp
2016-05-17 17:18:55 +01:00
Andrea Marchesini
f6de188c7f Bug 1267923 - Move the CSS rules to ContextualIdentityService, r=mconley 2016-05-17 15:03:43 +02:00
Gijs Kruitbosch
65555ee326 Bug 1272294 - only collect non-default search engine names if the user opted into telemetry, r=florian
MozReview-Commit-ID: 2mHHKBJyI6P
2016-05-12 17:26:46 +01:00
Andrea Marchesini
9943149ec1 Bug 1270471 - We should not expose Containers in privateBrowsing, r=gijs 2016-05-18 18:20:27 +02:00
Carsten "Tomcat" Book
e6bf5134e3 Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley
940c9b8afd Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=felipe
MozReview-Commit-ID: 9KVzuOkJFpW
2016-06-08 17:03:42 -04:00
Jonathan Kingston
f80381dabe Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
MozReview-Commit-ID: BJQ0cYlrS6O
2016-05-04 17:10:45 +01:00
Carsten "Tomcat" Book
31585b3be9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02: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
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
bf8d48bd33 Bug 1249362 - initialize remote browser's contentPrincipal to a null principal, r=mconley
MozReview-Commit-ID: 4cglQaTLf7l
2016-05-06 12:19:09 +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
Matt Brubeck
d9d992c252 Bug 943888 - Always keep the bookmark star button enabled [r=mak]
MozReview-Commit-ID: 27ee1dbLSM1
2016-04-25 13:59:00 -07:00
Henry Chang
98bd45999f Bug 1178337 - Part 1: Supports all referrer policies for element atrributes. r=sicking, r=Gijs, r=mcmanus 2016-04-27 10:26:57 +08:00
Panos Astithas
c45849d52b Bug 1139472 - Extend the attention state of the Downloads Indicator to indicate success or failure. r=paolo
With this change two new attention states are introduced, "severe" and "warning",
along with the previous "success" and "no attention" states. "No attention" is
still a falsy value in order to mitigate any add-on compatibility issues.
"severe" and "warning states" now display an icon badge to the downloads button
(or the hamburger button if the downloads button is tucked away).

MozReview-Commit-ID: 3gc9Ji7zCXY
2016-04-22 23:09:07 +03:00
Jonathan Kingston
ce4bc962b2 Bug 1207619 - Make control center hostname wrap on long cert names rather than truncating. r=gijs
MozReview-Commit-ID: LZnx91zv6pE
2016-04-20 16:54:58 +01:00
Haik Aftandilian
7e0dbd2332 Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.
2016-04-14 14:03:00 -04:00
Gijs Kruitbosch
fa5a439720 Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
MozReview-Commit-ID: 68LvgKvVXmX
2016-04-12 21:47:25 +01:00
Carsten "Tomcat" Book
1fe9345757 merge mozilla-inbound to mozilla-central a=merge 2016-04-15 11:41:41 +02:00
Gijs Kruitbosch
49d80466ac Bug 1255570, r=mak
MozReview-Commit-ID: btlkefMFry
2016-03-16 17:36:49 +00:00
Wes Kocher
d872431cc5 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Ca64bkPvrYU
2016-04-13 15:02:31 -07:00
Wes Kocher
2934c28d3e Merge inbound to central, a=merge
MozReview-Commit-ID: 4hSCKRdSJmM
2016-04-13 14:18:44 -07:00
Neil Deakin
0a31df2229 Bug 1243011, skip popup open check for back button context menu so that it doesn't sometimes contain the wrong items, r=felipe 2016-04-13 13:15:57 -04:00
Florian Quèze
d7c77d10c0 Bug 1238286 - Searchbar placed in Australis Menu doesn't detect search plugins if Menu wasn't opened in the window, r=adw. 2016-04-11 15:07:27 +02:00
Ray Lin
35488ee3c3 Bug 995758 - Focus new tab URLBar in Customization mode. r=gijs
MozReview-Commit-ID: C9qJE5U7sPk
2016-04-05 20:46:00 +02:00
Brian Grinstead
849ea8f0dd Bug 1262009 - Refactor isURILoadedFromFile into a setURI function that sets all relevant properties in one place;r=MattN
MozReview-Commit-ID: rIr2CNBv0E
2016-04-13 10:43:09 -07:00
Brian Grinstead
b090e1da22 Bug 1262009 - Treat all file connections (including chrome uris) as non secure connections;r=tanvi
If a <browser> is included within a chrome document, then this._state
will refer to the security state for the <browser> and not the top level
document. In this case, don't upgrade the security state in the UI
with the secure state of the embedded <browser>.
2016-04-13 10:42:37 -07:00
Wes Kocher
92c5d41bcd Backed out changeset 1d5b01d01df6 (bug 1238286) for m(oth) failures in test_focus_autocomplete.xul
MozReview-Commit-ID: HVzqjvciYqB
2016-04-11 09:46:26 -07:00
Florian Quèze
78a5ab08a9 Bug 1238286 - Searchbar placed in Australis Menu doesn't detect search plugins if Menu wasn't opened in the window, r=adw. 2016-04-11 15:07:27 +02:00
Wes Kocher
d34e61e3ec Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9YZdlIARozU
2016-04-08 16:47:03 -07:00
Dave Townsend
17d8a23b3f Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Mike Conley
e736e31146 Bug 1262946 - Don't focus the initial browser of a new window until it has painted. r=Gijs
This is in order to optimize the critical path (the presenting of content to the user).
If we don't wait until the content has been presented for the tab switch, then we run
the risk of causing the content to send sync IPC messages for IME up to the parent,
which slows down the rendering of the content.

MozReview-Commit-ID: B0anKV8YVUz
2016-04-07 11:42:17 -04:00
Peter Van der Beken
9d2658a9b0 Bug 1262110 - Null out nsIMacDockSupport.dockMenu on shutdown. r=smaug. 2016-04-05 16:46:43 +02:00
Carsten "Tomcat" Book
19038498f4 Merge mozilla-central to mozilla-inbound 2016-04-14 11:43:48 +02:00
Johann Hofmann
64d2e0914e Bug 1242886 - Change learn more link for unknown issuers on about:certerror. r=gijs 2016-04-08 16:01:51 +02:00
Nihanth Subramanya
c50ccc5ba3 Bug 1240594 - Deduplicate certerror and neterror message passing code. r=Gijs
MozReview-Commit-ID: 3M8caW1Zqsv
2016-03-15 02:36:21 -07:00
Wes Kocher
681e2059a4 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Q56H3tR0mI
2016-04-05 16:39:24 -07:00
Alexandre Poirot
1dd77421e8 Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Carsten "Tomcat" Book
56a1050407 Backed out changeset 864320b75e76 (bug 1259466) for suspicion this caused bc 7 test failures on m-c 2016-04-05 08:54:01 +02:00
Jeff Muizelaar
d0aa19d58f Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-04 17:15:00 -04:00
Blake Kaplan
fec8c7026e Bug 1186139 - Don't use a sync message where we don't have to. r=felipe 2016-03-25 15:38:10 -07:00
Jeff Muizelaar
29cc1ffe97 Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-05 10:55:17 -04:00
Jonathan Kingston
2ef08d8677 Bug 1244022 - Change the tooltip of the "i" icon to "Show site information". r=paolo
MozReview-Commit-ID: oBtO1tuqOS
2016-03-23 11:26:04 +00:00
Gijs Kruitbosch
edeaa2122a Bug 621158 - make appcache use messaging for quota management, r=mayhemer,jaws
MozReview-Commit-ID: GfHbERuzuW8
2016-03-21 10:22:16 +00:00
Mike Conley
5d92dc31ab Bug 1255511 - Skip beforeunload prompts once nsIAppStartup shuttingDown returns true. r=Gijs
When the application is asked to quit, all windows are checked to see if
they can close (which will spawn the permit unload dialogs). Once the
user grants the quit via the permit unload dialogs, nsIAppStartup
returns true for the shuttingDown attribute, and we know that all
windows allowed the shutdown to occur. This means that we don't
have to show the permitUnload dialogs again when SessionStore
attempts to close the windows when it does its final async window
flush during the quit-application-granted observer topic.

MozReview-Commit-ID: DOy8ljngnTd
2016-03-15 14:45:38 -04:00
Sebastian Hengst
92341d0c9c Backed out changeset 98f7e296affd (bug 1186139) for failing mochitest-bc7. r=backout 2016-03-14 21:01:24 +01:00
Blake Kaplan
b4c261f9a5 Bug 1186139 - Don't use a sync message where we don't have to. r=felipe 2016-03-14 11:13:47 -07:00
Kris Maglione
c19b091a55 Bug 1250784: Part 3 - [webext] Add suport for runtime.openOptionsPage. r=Mossop
MozReview-Commit-ID: 9izx4uX0Szd
2016-03-09 17:10:29 -08:00