Commit graph

66 commits

Author SHA1 Message Date
Gijs Kruitbosch
8b7f8ba630 Bug 1289231 - show 'undo' notification bar, r=dolske
MozReview-Commit-ID: 1qy7GUSaowb

--HG--
extra : rebase_source : b9b302a0cd99fbf665958b6d4844af831e296287
2016-08-20 12:15:02 +01:00
Jared Wein
fd84c776c7 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

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Gijs Kruitbosch
8a136be192 Bug 1254036 - skip irrelevant paints when looking for layout having happened, r=sebastian,smaug
MozReview-Commit-ID: DDuHa5Sl2lg

--HG--
extra : rebase_source : 149ffb2307f63c63648d2fcc24f67609721b7050
2016-03-21 16:24:31 +00:00
Dale Harvey
45e036dff5 Bug 1273351 - Remove pointerlock permission requirement. r=dao
--HG--
rename : browser/base/content/browser-fullScreen.js => browser/base/content/browser-fullScreenAndPointerLock.js
2016-07-08 13:58:31 +01:00
Xidorn Quan
4b271deafa Bug 1282334 followup - Remove pointless DOMFullscreenHandler._fullscreenDoc. r=dao
MozReview-Commit-ID: HHoDOeVJNu2

--HG--
extra : source : e51d628bfe236d221e1b9a53d67f2f47b1a7aecb
2016-06-30 14:57:30 +10:00
Xidorn Quan
6415838678 Bug 1282334 part 1 - Not check transaction id for non-e10s. r=dao
Before this patch, there are two issues for non-e10s window:

* The initial entering fullscreen would hit timeout because we do not
  record lastTransitionId for entering for non-e10s, and a number is
  never larger than undefined, so MozAfterPaint never triggers the
  message it should trigger.

* Every exiting fullscreen may hit timeout because when we record the
  transition id in DOMFullscreen:CleanUp, the last paint for fullscreen
  change may have completed, and consequently we won't receive any new
  MozAfterPaint with a larger transition if the page is static.

MozReview-Commit-ID: IWCC6QHA3AL

--HG--
extra : source : 3be19433697e710d33e25f30baf78342ae25d956
2016-06-30 14:57:30 +10:00
Andrea Marchesini
dd6cbdac21 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Phil Ringnalda
035f8773be Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Andrea Marchesini
943c6e667c Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Andrea Marchesini
62ad75d8e1 Bug 1274567 - patch 2 - Better event names and comment updated, r=smaug 2016-05-23 09:25:11 +02:00
Andrea Marchesini
8114924ff8 Bug 1274567 - Use DOMWindowCreated instead DOMContentLoaded to propagate the userContextId from content to parent process, r=smaug 2016-05-22 16:27:27 +02:00
danhuang1202
adae785e3d Bug 1126967 - keep icon showing when leaving reader mode and add transition to reader toolbar. r=jaws
MozReview-Commit-ID: 3757eBbOb7Q
2016-05-15 21:29:00 +02:00
Gijs Kruitbosch
4cef5f7452 Bug 1271049 - fix showing alternative styles from <style> elements and make the test actually test things, r=mconley
MozReview-Commit-ID: BD7eQl5iNaJ

--HG--
extra : rebase_source : 1e41f2eaccb87897f52200f4c323ab361f89ab64
2016-05-09 14:35:54 +01:00
Timothy Guan-tin Chien
e3df65a0b0 Bug 1266372 - De-dup code to ReaderMode.leaveReaderMode, r=gijs
Additionally, implements ReaderMode.enterReaderMode.

MozReview-Commit-ID: 8MPvFhX4ws7

--HG--
extra : transplant_source : %91%0D%CEZkOO%90%1C3%A24%3E%9Bq%D5%BB%13F%0A
2016-04-26 12:52:50 +08:00
Xidorn Quan
94605329a3 Bug 1264091 - Ensure we unblack the screen for a right after-paint event. r=dao
MozReview-Commit-ID: H2hCmQX8OLX

--HG--
extra : source : 913eeab64f48688afc3cc0e54204b121703a2df2
2016-04-25 10:48:48 +08:00
Timothy Guan-tin Chien
66f6b8a43b Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret, r=gijs
MozReview-Commit-ID: G9wn4OyUL5q

--HG--
extra : transplant_source : %5Cw%B1%F5X%9A%95N%93i%91%9B%BA%CC%BBr%F2%E1%A0%99
2016-04-19 05:46:58 +08:00
Carsten "Tomcat" Book
7036c2b542 Backed out changeset 3c369626af41 (bug 1184950) for bc7 test failures 2016-04-15 10:43:28 +02:00
Timothy Guan-tin Chien
bc7a52a981 Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret
MozReview-Commit-ID: G9wn4OyUL5q

--HG--
extra : transplant_source : %A6Edr%F4r%DC%05%A9%D1%CC%3D%16%ED%FD%D9%95%D8%B4%9A
2016-04-14 15:54:53 -07:00
Andrea Marchesini
8c8d080c16 Bug 1260535 - Update the UI of the tab when window.open() is executed from a container tab, r=mconley 2016-04-13 05:15:36 -04:00
Mike Conley
6e0b12955c 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

--HG--
extra : rebase_source : 3de0ebe8dd26a1576f0fd560eac7ba1cb4e4bca1
2016-04-07 11:42:17 -04:00
Xidorn Quan
dd78b29d7e Bug 1260102 - Pass isHandlingUserInput through process boundary for content menu command. r=mrbkap
MozReview-Commit-ID: FMQOFpeO6yn

--HG--
extra : rebase_source : 3b687e45d1f732b9e076f7a1d596562a56d332a2
2016-03-29 14:58:43 +11:00
Dão Gottwald
5315df62f9 Bug 1099156 - Fix and enable browser_bug435325.js for e10s. r=mconley 2016-03-03 17:07:33 +01:00
Mike Conley
d8f69789a6 Bug 1246291 - Only send RefreshBlocked message to the parent once onLocationChange and onRefreshAttempted have both fired. r=mossop
MozReview-Commit-ID: BxJA0L0j78E

--HG--
extra : rebase_source : 8557585e90a7f63118a6d58a4b3a64e31e711a0f
extra : source : ab90d5e9f54aa8965dfd7ded7ef0162c169052d8
2016-02-17 15:35:33 -05:00
Mike Conley
1ef49a7ed2 Bug 1246291 - Only initialize RefreshBlocker if enabled. r=mossop
MozReview-Commit-ID: B9dn4vX9VV7

--HG--
extra : rebase_source : 89d57261d92a3b2d49c0ff81dd5ae3c517df820d
2016-02-17 15:27:31 -05:00
Xidorn Quan
0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Mike Conley
5cb4464af6 Bug 1055464 - Add RefreshBlocker to tab-content, and a listener in tabbrowser.xml. r=Mossop
--HG--
extra : commitid : A2DWArd8dy6
extra : rebase_source : 209045482dab1455821892a7b5301487ccbbc963
extra : amend_source : 6c5fa1da07f7690a030db6d15033435a7b7e375d
2016-02-05 13:57:48 -05:00
Paolo Amadini
80cafb07ab Bug 1236231 - Make sure the Tracking Protection tour doorhanger is not shown when the tour starts from about:privatebrowsing. r=past
--HG--
extra : commitid : fwfrZp33lp
extra : rebase_source : 5637764c31d2c0285501877b9302300ce8e7f8ed
2016-01-11 14:40:31 +00:00
Xidorn Quan
2c7e94aec2 Bug 1238844 - Do not call window utils if content has been null. r=dao
--HG--
extra : rebase_source : d7baddad5692d063906b3e8ba7a7950603d32b72
extra : source : 4e6f4995a77e208fe41c255015a3648702601cfd
2016-01-13 10:29:09 +11:00
Dão Gottwald
d80074cf04 Bug 1207422 - Remove Apps link from about:home. r=gijs 2016-01-06 12:22:49 +01:00
Jared Wein
f775ee2ef3 Bug 1230087 - Null-check content in updateReaderButton. r=gijs 2015-12-14 10:21:00 +01:00
Mike Conley
b462113d76 Bug 1228801 - Handle malformed URIs in href for style tags in tab-content.js. r=Gijs
--HG--
extra : commitid : V0JP8gfRog
extra : rebase_source : 7db911610566cbb3360df5b2b5cb0e57c10cb7f7
extra : amend_source : ee48fc00e6727f3b0b4e47d9ecb22eac097ccb47
2015-11-30 10:20:33 -05:00
Gijs Kruitbosch
179539dc65 Bug 1217517 - nullcheck consumers for gKeywordURIFixup, r=jaws
--HG--
extra : commitid : 9WVzN8TvOfx
extra : rebase_source : 038bd66de672abf31da952369f30c2f81d1b2637
2015-10-23 11:03:27 +01:00
Mike Conley
218c8bb1c0 Bug 1141041 - Stop using CPOWs for the Page Style menu. r=Gijs
Instead of using a CPOW to synchronously grab the stylesheet information
from the currently loaded tab, each tab now sends up the stylesheet
information once they've finished loading for the parent to cache.

Unfortunately, the cache will not be invalidated if the stylesheets on
a page are dynamically altered with script.

--HG--
extra : commitid : 2hUmENX2xHY
extra : rebase_source : c6464f56ebcc2444bd8974b1d81f3fe96660f3ea
2015-10-02 10:03:51 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Florian Quèze
4bd509440b Bug 1119250 - remove old searchbar UI - part 1 - remove the browser.search.showOneOffButtons pref, r=Mossop. 2015-09-04 22:54:27 +02:00
Giovanny Andres Gongora Granada
2ce333ee98 Bug 1186346 - Add a null-check for content to avoid a JS error in tab-content.js when pages disappear quickly, r=gijs
--HG--
extra : commitid : 79qm1enAfha
extra : histedit_source : 47a78356a72b932f300765393bc025e4aa1e2d8d
2015-08-09 20:20:00 +01:00
Paolo Amadini
41593c22f6 Bug 1190427 - Update the design of about:privatebrowsing. r=ttaubert
--HG--
extra : commitid : 5yCOpUu71tw
extra : rebase_source : 5370a3aedd6ba82588163dbd3dd07211ed84cb5e
2015-08-06 15:51:41 +01:00
Xidorn Quan
0b0e879cbb Bug 1186890 - Ensure parent always know when the child exit fullscreen. r=Dolske
--HG--
extra : source : b2dc98b8e5f055fb529b4821966028e558c18450
2015-08-07 13:38:10 +10:00
Bill McCloskey
b1a00d7c72 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00
Mark Finkle
b576c37bde Bug 1188609 - Remove mirroring support from RokuApp (Desktop) r=jaws 2015-07-29 16:09:32 -04:00
Xidorn Quan
bd680dae70 Bug 1160017 part 2 - Remove fullscreen permission code from the browser part. r=dao
--HG--
extra : source : e725a40fe72a7326d66a49d8015e41665e3717c2
2015-07-21 20:50:20 +10:00
Nihanth Subramanya
351d64b267 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw
--HG--
rename : browser/base/content/searchSuggestionUI.css => browser/base/content/contentSearchUI.css
rename : browser/base/content/searchSuggestionUI.js => browser/base/content/contentSearchUI.js
2015-06-29 13:52:20 -07:00
Paolo Amadini
ab8d0827e1 Bug 1177156 - Provide a button to re-enable Tracking Protection in about:privatebrowsing. r=ttaubert
--HG--
extra : commitid : 2DlZhdIrUsv
extra : rebase_source : fff6f8ffe7b25877c0ed0a440a2008d17e0ca18c
2015-07-20 12:44:08 +01:00
Ryan VanderMeulen
d7e5192373 Backed out changesets 7f2ddcfe4537 and e88770aa2160 (bug 1171344) for intermittent OSX browser_tabopen_reflows.js failures.
--HG--
rename : browser/base/content/contentSearchUI.css => browser/base/content/searchSuggestionUI.css
rename : browser/base/content/contentSearchUI.js => browser/base/content/searchSuggestionUI.js
rename : browser/base/content/test/general/browser_contentSearchUI.js => browser/base/content/test/general/browser_searchSuggestionUI.js
rename : browser/base/content/test/general/contentSearchUI.html => browser/base/content/test/general/searchSuggestionUI.html
rename : browser/base/content/test/general/contentSearchUI.js => browser/base/content/test/general/searchSuggestionUI.js
2015-07-16 21:42:22 -04:00
Nihanth Subramanya
6e888d2fe5 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw
--HG--
rename : browser/base/content/searchSuggestionUI.css => browser/base/content/contentSearchUI.css
rename : browser/base/content/searchSuggestionUI.js => browser/base/content/contentSearchUI.js
extra : rebase_source : 430736ce8dab32c7aad917ee87586ba2416d4dd3
2015-06-29 13:52:20 -07:00
Xidorn Quan
de00198603 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Nigel Babu
64f3815bd7 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Xidorn Quan
09d4d46e81 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00