Commit Graph

103 Commits

Author SHA1 Message Date
Masatoshi Kimura
a9e30eaec8 Bug 1322874 - Get rid of nsIURI.originCharset. r=valentin.gosu
nsIURI.originCharset had two use cases:
 1) Dealing with the spec-incompliant feature of escapes in the hash
    (reference) part of the URL.
 2) For UI display of non-UTF-8 URLs.

For hash part handling, we use the document charset instead. For pretty
display of query strings on legacy-encoded pages, we no longer care to them
(see bug 817374 comment 18).

Also, the URL Standard has no concept of "origin charset". This patch
removes nsIURI.originCharset for reducing complexity and spec compliance.

MozReview-Commit-ID: 3tHd0VCWSqF
2017-08-02 20:43:30 +09:00
Bill McCloskey
59c11f59f4 Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-28 13:11:59 -07:00
Carsten "Tomcat" Book
6108f96293 Backed out changeset e3e924da5d5f (bug 1383328) 2017-07-28 09:20:05 +02:00
Bill McCloskey
5975cfac88 Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-25 19:52:36 -07:00
Christoph Kerschbaumer
dafda3db17 Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
gasolin
159f88a860 Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3
2017-05-24 16:56:00 +08:00
Sebastian Hengst
7b7ea06c4f Backed out changeset 2612892f2785 (bug 1361286) for typos in its strings. r=backout 2017-05-27 10:27:02 +02:00
gasolin
35b39a589e Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3
2017-05-24 16:56:00 +08:00
Florian Queze
c9a0637249 Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Kris Maglione
bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Bob Owen
44724fa445 Bug 1351702: Correct shouldLoadURI in tab-content.js to add aHasPostData argument. r=mystor 2017-03-29 17:19:36 +01:00
Timothy Guan-tin Chien
41bd380984 Bug 1344431 - Tell parent the non-reader-able reader page is not readable, r=Gijs
Although regression window testing pin this to bug 1260276, I believe
this is a regression from bug 1126967. Bug 1260276 just make it more
visible because we stop automatically redirect users to the original
page.

This patch fix the bug by checking if the current page is in readerable
state (i.e. not error state), and send the message accordingly.

MozReview-Commit-ID: B5UJcPvVlAc
2017-03-06 16:31:47 +08: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
Michael Layzell
945ad71379 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
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
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, 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
Michael Layzell
c6453a3b88 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
Carsten "Tomcat" Book
d417824862 Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test 2016-12-19 15:59:14 +01:00
Michael Layzell
f898aa0d8b 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
6188a22f73 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
db8dae19c1 Backed out changeset f8ff074e9145 (bug 1147911) 2016-11-23 18:32:50 +01:00
Bob Owen
14d0cada23 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
de03679ac8 Backed out changeset f768dac3f7a9 (bug 1147911) 2016-11-18 00:58:51 +01:00
Bob Owen
51629544a0 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
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Phil Ringnalda
b7ced170df Merge m-c to autoland 2016-10-31 18:46:45 -07:00
Michael Layzell
cb46a4fd67 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
6b3a6a4cda Bug 1313998 - Turn on no-unused-vars for local variable scopes in browser/base/content. r=mossop
MozReview-Commit-ID: IyFGBotfd11
2016-10-31 10:33:38 +00:00
Tomislav Jovanovic
d2118d8126 bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
MozReview-Commit-ID: 4p8A1y2FALX
2016-09-23 23:40:24 +02:00
Gijs Kruitbosch
04c7494230 Bug 1289231 - show 'undo' notification bar, r=dolske
MozReview-Commit-ID: 1qy7GUSaowb
2016-08-20 12:15:02 +01: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
Gijs Kruitbosch
8cb2fa2d9c Bug 1254036 - skip irrelevant paints when looking for layout having happened, r=sebastian,smaug
MozReview-Commit-ID: DDuHa5Sl2lg
2016-03-21 16:24:31 +00:00
Dale Harvey
03907e80af Bug 1273351 - Remove pointerlock permission requirement. r=dao 2016-07-08 13:58:31 +01:00
Xidorn Quan
0a783f668f Bug 1282334 followup - Remove pointless DOMFullscreenHandler._fullscreenDoc. r=dao
MozReview-Commit-ID: HHoDOeVJNu2
2016-06-30 14:57:30 +10:00
Xidorn Quan
3f6383c0d3 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
2016-06-30 14:57:30 +10: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
Andrea Marchesini
ce4ed7e8af Bug 1274567 - patch 2 - Better event names and comment updated, r=smaug 2016-05-23 09:25:11 +02:00
Andrea Marchesini
fe7eb3204f 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
8266bb3cbe 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
b216dfa372 Bug 1271049 - fix showing alternative styles from <style> elements and make the test actually test things, r=mconley
MozReview-Commit-ID: BD7eQl5iNaJ
2016-05-09 14:35:54 +01:00