Kris Maglione
582a21b473
Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
...
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.
MozReview-Commit-ID: 8OzglraowZt
2018-04-23 12:58:34 -07:00
Kris Maglione
4d631d9048
Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley
...
MozReview-Commit-ID: AHwNsBB7OAQ
2018-03-07 18:10:24 -08:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Valentin Gosu
b9160f5ce8
Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
...
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.
MozReview-Commit-ID: 3cK5HeyzjFE
2018-02-26 20:43:46 +01:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Eugen Sawin
badf52df48
Bug 1423229 - [1.3] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley
2018-02-05 22:10:34 +01:00
Andreea Pavel
f9f17dd6ff
Backed out 6 changesets (bug 1423229) for failing browser chrome at browser/base/content/test/siteIdentity/browser_bug1045809.js and firefox functional at testing/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page and mochitest devtools at devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js on a CLOSED TREE
...
Backed out changeset 2ee49f44e617 (bug 1423229 )
Backed out changeset 30d1575f5b16 (bug 1423229 )
Backed out changeset 39d76cb8c73e (bug 1423229 )
Backed out changeset 8ff1f049ac96 (bug 1423229 )
Backed out changeset c86887b7f327 (bug 1423229 )
Backed out changeset 5417194f3778 (bug 1423229 )
2018-02-03 01:12:45 +02:00
Eugen Sawin
2fa64498c9
Bug 1423229 - [1.1] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley
2018-02-02 22:36:08 +01:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Bill McCloskey
65964675c9
Bug 1412456 - Send document CPOW as well as window CPOW (r=mconley)
...
Currently, if you try to use contentDocumentAsCPOW, you'll get an
exception saying that browser code is not allowed to use CPOWs. That's
because we cleverly tried to get the CPOW via
contentWindowAsCPOW.document. However, this property access happens
inside remote-browser.xul, where CPOWs are forbidden. So it doesn't
work.
MozReview-Commit-ID: ANWad4tvGpU
2017-12-07 12:55:19 -08:00
Andreea Pavel
26ac595cba
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
f179983e05
Bug 1412456 - Send document CPOW as well as window CPOW (r=mconley)
...
Currently, if you try to use contentDocumentAsCPOW, you'll get an
exception saying that browser code is not allowed to use CPOWs. That's
because we cleverly tried to get the CPOW via
contentWindowAsCPOW.document. However, this property access happens
inside remote-browser.xul, where CPOWs are forbidden. So it doesn't
work.
MozReview-Commit-ID: ANWad4tvGpU
2017-12-06 21:16:57 -08:00
Dorel Luca
81b4b85d01
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
fce93057f6
Bug 1412456 - Send document CPOW as well as window CPOW (r=mconley)
...
Currently, if you try to use contentDocumentAsCPOW, you'll get an
exception saying that browser code is not allowed to use CPOWs. That's
because we cleverly tried to get the CPOW via
contentWindowAsCPOW.document. However, this property access happens
inside remote-browser.xul, where CPOWs are forbidden. So it doesn't
work.
MozReview-Commit-ID: ANWad4tvGpU
2017-12-06 20:46:58 -08:00
Kevin Jones
dea86f69f6
Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz
...
MozReview-Commit-ID: 5KQcrOQTSpK
2017-11-24 15:14:46 +01:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Gabor Krizsanits
4a1dd11be4
Bug 1336389 - Talos test for content process startup time. r=mconley
2017-09-27 18:31:53 +02:00
Kershaw Chang
01ecffb3a1
Bug 1247843 - Part 1: Add new property - contentRequestContextID. r=mconley, r=hurley
2017-09-20 20:08:00 -04:00
Sebastian Hengst
a4aea9f99c
Backed out changeset 5cd2ba3bc6c4 (bug 1336389) for failing new talos test cpstartup. r=backout
2017-09-19 16:12:41 +02:00
Gabor Krizsanits
ffbab60ca5
Bug 1336389 - Talos test for content process startup time. r=mconley
2017-09-19 12:56:42 +02:00
Kirk Steuber
2041d7474c
Bug 1376511 - Handle Browser:Thumbnail:CheckState during idle period r=mconley
...
MozReview-Commit-ID: 6n4nzCqTt0O
2017-08-08 14:59:49 -07:00
Sebastian Hengst
6ad0561291
Backed out changeset 1a3018f82800 (bug 1376511) for failing browser-chrome's browser_thumbnails_bug726727.js and browser_thumbnails_bug818225.js. r=backout
2017-08-09 19:43:23 +02:00
Kirk Steuber
9b00def52e
Bug 1376511 - Handle Browser:Thumbnail:CheckState during idle period r=mconley
...
MozReview-Commit-ID: 6n4nzCqTt0O
2017-08-08 14:59:49 -07: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
45036acc75
Merge mozilla-central to autoland
2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book
6108f96293
Backed out changeset e3e924da5d5f (bug 1383328)
2017-07-28 09:20:05 +02:00
Dão Gottwald
0d8f1a1e6e
Bug 1384565 - Clean up DOMTitleChanged listener. r=billm
...
MozReview-Commit-ID: GFioUI3P6Hk
2017-07-26 15:18: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
Ehsan Akhgari
d6c10457c0
Bug 1375573 - Part 2: Avoid creating an about:blank document in setupJSON() by creating a Window binding through exposing a getter for the inner window ID on nsIWebProgress; r=billm
2017-06-28 09:15:53 -04:00
Ehsan Akhgari
7e0287e273
Bug 1375573 - Part 1: Avoid creating an about:blank document in setupJSON() by accessing content.document before STATE_STOP; r=billm
2017-06-28 09:15:53 -04:00
Bill McCloskey
51085dc0bd
Bug 1363877 - Label nsBrowserStatusFilter::TimeoutHandler as SystemGroup (r=felipe)
...
MozReview-Commit-ID: 5qD7vnU5GZC
2017-05-17 11:47:40 -07:00
Kershaw Chang
62bbf7e471
Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
...
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Gabor Krizsanits
57873c6622
Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
...
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.
There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.
In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02: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
Kris Maglione
1d5e218562
Bug 1305162: Part 1b - Properly serialize nsIMIMEInputStream in RemoteWebNavigation. r=dragana
...
MozReview-Commit-ID: 6PePVAEL1Px
2017-01-21 13:28:08 -08: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
13cfe1d3f3
Bug 1329182 - remove trailing newURI null parameters in toolkit/, 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
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Gijs Kruitbosch
a5f81387b8
Bug 1284395, r=bz,mconley,baku
...
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Sebastian Hengst
1be73950af
Backed out changeset 6036b8acdab5 (bug 1284395) for asserting in ChromeUtils::IsOriginAttributesEqualIgnoringAddonId at nsDocShell.cpp:8007 for Windows debug builds. r=backout
2016-09-19 17:10:09 +02:00
Gijs Kruitbosch
0ab165096f
Bug 1284395, r=bz,mconley
...
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Mike Conley
98c0a7fdf7
Bug 1294502 - Move AutoCompletePopup implementation for content to browser-content.js so that non-e10s can use it in a later patch. r=MattN
...
MozReview-Commit-ID: 2fB4M3lqpLK
2016-07-28 14:18:50 -04:00