Commit Graph

53 Commits

Author SHA1 Message Date
Timothy Guan-tin Chien
0bab46ef0a Bug 1266372 - De-dup code to ReaderMode.leaveReaderMode, r=gijs
Additionally, implements ReaderMode.enterReaderMode.

MozReview-Commit-ID: 8MPvFhX4ws7
2016-04-26 12:52:50 +08:00
Xidorn Quan
763b8752c2 Bug 1264091 - Ensure we unblack the screen for a right after-paint event. r=dao
MozReview-Commit-ID: H2hCmQX8OLX
2016-04-25 10:48:48 +08:00
Timothy Guan-tin Chien
5b4d4682c7 Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret, r=gijs
MozReview-Commit-ID: G9wn4OyUL5q
2016-04-19 05:46:58 +08:00
Carsten "Tomcat" Book
1f8ecc7182 Backed out changeset 3c369626af41 (bug 1184950) for bc7 test failures 2016-04-15 10:43:28 +02:00
Timothy Guan-tin Chien
a177f6d757 Bug 1184950 - Use goBack to leave the reader view when possible, r=margaret
MozReview-Commit-ID: G9wn4OyUL5q
2016-04-14 15:54:53 -07:00
Andrea Marchesini
5f9ebc831e 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
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
Xidorn Quan
1e1390afbf Bug 1260102 - Pass isHandlingUserInput through process boundary for content menu command. r=mrbkap
MozReview-Commit-ID: FMQOFpeO6yn
2016-03-29 14:58:43 +11:00
Dão Gottwald
4820d9e7f7 Bug 1099156 - Fix and enable browser_bug435325.js for e10s. r=mconley 2016-03-03 17:07:33 +01:00
Mike Conley
911bcc2542 Bug 1246291 - Only send RefreshBlocked message to the parent once onLocationChange and onRefreshAttempted have both fired. r=mossop
MozReview-Commit-ID: BxJA0L0j78E
2016-02-17 15:35:33 -05:00
Mike Conley
21371736b1 Bug 1246291 - Only initialize RefreshBlocker if enabled. r=mossop
MozReview-Commit-ID: B9dn4vX9VV7
2016-02-17 15:27:31 -05:00
Xidorn Quan
2487611b41 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug 2016-02-17 08:47:11 +08:00
Mike Conley
4fc5f69774 Bug 1055464 - Add RefreshBlocker to tab-content, and a listener in tabbrowser.xml. r=Mossop 2016-02-05 13:57:48 -05:00
Paolo Amadini
57c7f02714 Bug 1236231 - Make sure the Tracking Protection tour doorhanger is not shown when the tour starts from about:privatebrowsing. r=past 2016-01-11 14:40:31 +00:00
Xidorn Quan
5882556afb Bug 1238844 - Do not call window utils if content has been null. r=dao 2016-01-13 10:29:09 +11:00
Dão Gottwald
5627e022d3 Bug 1207422 - Remove Apps link from about:home. r=gijs 2016-01-06 12:22:49 +01:00
Jared Wein
e0b2e69e0a Bug 1230087 - Null-check content in updateReaderButton. r=gijs 2015-12-14 10:21:00 +01:00
Mike Conley
abee076eb3 Bug 1228801 - Handle malformed URIs in href for style tags in tab-content.js. r=Gijs 2015-11-30 10:20:33 -05:00
Gijs Kruitbosch
4604bce29d Bug 1217517 - nullcheck consumers for gKeywordURIFixup, r=jaws 2015-10-23 11:03:27 +01:00
Mike Conley
5deeb0e5b5 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.
2015-10-02 10:03:51 -04: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
Florian Quèze
2367c257df 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
f8334e59ea Bug 1186346 - Add a null-check for content to avoid a JS error in tab-content.js when pages disappear quickly, r=gijs 2015-08-09 20:20:00 +01:00
Paolo Amadini
4e4488d113 Bug 1190427 - Update the design of about:privatebrowsing. r=ttaubert 2015-08-06 15:51:41 +01:00
Xidorn Quan
22a9edd1f0 Bug 1186890 - Ensure parent always know when the child exit fullscreen. r=Dolske 2015-08-07 13:38:10 +10:00
Bill McCloskey
1ba4b05dd9 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
5b881a75d9 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
d7318b2bd9 Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00
Mark Finkle
abfb83d7a8 Bug 1188609 - Remove mirroring support from RokuApp (Desktop) r=jaws 2015-07-29 16:09:32 -04:00
Xidorn Quan
2240cc6065 Bug 1160017 part 2 - Remove fullscreen permission code from the browser part. r=dao 2015-07-21 20:50:20 +10:00
Nihanth Subramanya
5eb9f64f71 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw 2015-06-29 13:52:20 -07:00
Paolo Amadini
51d678582f Bug 1177156 - Provide a button to re-enable Tracking Protection in about:privatebrowsing. r=ttaubert 2015-07-20 12:44:08 +01:00
Ryan VanderMeulen
08581626f9 Backed out changesets 7f2ddcfe4537 and e88770aa2160 (bug 1171344) for intermittent OSX browser_tabopen_reflows.js failures. 2015-07-16 21:42:22 -04:00
Nihanth Subramanya
0882080e27 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw 2015-06-29 13:52:20 -07:00
Xidorn Quan
4d7e632089 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.
2015-07-13 20:44:36 +10:00
Nigel Babu
fd84e932c3 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
7705aa3262 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.
2015-07-11 10:08:59 +10:00
Gijs Kruitbosch
4e6b339476 Bug 1172270 - don't cause extra flushes for reader mode, r=margaret,smaug 2015-06-08 16:56:34 +01:00
Xidorn Quan
705f38acef Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao 2015-06-12 13:24:45 +12:00
Wes Kocher
6277cda150 Backed out changeset d73a15153b3b (bug 1168028) for browser_domFullscreen_fullscreenMode.js failures CLOSED TREE 2015-06-10 16:03:44 -07:00
Xidorn Quan
181ade2d17 Bug 1168028 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao 2015-06-11 09:45:06 +12:00
Xidorn Quan
bcb81d180c Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao 2015-06-10 23:13:12 +12:00
Bobby Holley
bbe701fdda Bug 1167372 - Use originNoSuffix for full-screen prompt. v2 r=smaug,r=dao,r=fabrice 2015-05-27 15:32:47 -07:00
Wes Kocher
8d383f4780 Merge m-c to inbound, a=merge 2015-05-20 18:30:33 -07:00
Xidorn Quan
04452900f3 Bug 1053413 part 4 - Rely on single MozDOMFullscreen:Exited event instead of ask-* notifications on Firefox. r=dao 2015-05-21 09:52:26 +12:00
Xidorn Quan
62c32d4600 Bug 1053413 part 2 - Separate a MozDOMFullscreen:NewOrigin event from MozDOMFullscreen:Entered. r=dao,smaug
Change of fullscreen origin is now notified by the new specific event,
MozDOMFullscreen:NewOrigin. The event MozDOMFullscreen:Entered is only
triggered when the window first enter fullscreen by DOM fullscreen. It
is now only used to notify the parent to hide its chrome.
2015-05-21 09:52:26 +12:00
Xidorn Quan
7f7a3b2b44 Bug 1053413 part 1.1 - Rename Moz{Entered,Exited}DomFullscreen to MozDOMFullscreen:{Entered,Exited}. r=smaug 2015-05-21 09:52:26 +12:00
Xidorn Quan
6581a18f89 Bug 1053413 part 1 - Some code style conversion on affected code. r=dao 2015-05-21 09:52:26 +12:00
Gijs Kruitbosch
5f74b03258 Bug 1166771 - force isArticle to false on pushstate on non-article pages, r=margaret 2015-05-20 16:38:21 +01:00
Xidorn Quan
a821accd86 Bug 947854 part 2 - Avoid exiting fullscreen mode when exit from DOM fullscreen. r=smaug,dao 2015-05-06 10:04:31 +12:00