Commit graph

88 commits

Author SHA1 Message Date
Mark Banner
733f0b7c97 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

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Michael Layzell
59bf5ae02d Bug 1334586 - Propagate reload flags when reloading pages with Large-Allocation headers, r=smaug
MozReview-Commit-ID: ESfCqSc0BJK
2017-01-31 14:08:20 -05:00
Christoph Kerschbaumer
be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Jared Wein
43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c 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
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Michael Layzell
0fa642800b Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU

--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Carsten "Tomcat" Book
51614d31e4 Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell
b5fd619e72 Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Bob Owen
f5830d5e44 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-24 15:08:31 +00:00
Sebastian Hengst
3e560293d1 Backed out changeset f8ff074e9145 (bug 1147911) 2016-11-23 18:32:50 +01:00
Bob Owen
3f62d10e4d Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-23 13:36:58 +00:00
Sebastian Hengst
f02ffed0dd Backed out changeset f768dac3f7a9 (bug 1147911) 2016-11-18 00:58:51 +01:00
Bob Owen
ce1bc7d820 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Dave Townsend
0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Phil Ringnalda
8f3fc80e6a Merge m-c to autoland 2016-10-31 18:46:45 -07:00
Michael Layzell
209fba3a7f Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Mark Banner
09ab00a94f Bug 1313998 - Turn on no-unused-vars for local variable scopes in browser/base/content. r=mossop
MozReview-Commit-ID: IyFGBotfd11

--HG--
extra : rebase_source : aa43e5aea9e7fd7223fc59e941ecdc067abdb48f
2016-10-31 10:33:38 +00:00
Tomislav Jovanovic
0c231aa27e bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
MozReview-Commit-ID: 4p8A1y2FALX

--HG--
extra : rebase_source : 5be607adae5c5eb8de8061a76461d1c056786161
2016-09-23 23:40:24 +02:00
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