Boris Zbarsky
63fdd7cf04
Bug 1446940 part 1. Stop getting docshells from windows via getInterface in toolkit. r=gijs
...
The change to test_hiddenPrivateWindow.xul is to make sure we pass windows, not
docshells, to an API that expects windows.
2018-08-01 13:07:09 -04:00
Boris Zbarsky
1b419c917c
Bug 1476145 part 6. Stop using getInterface(nsIDOMWindowUtils) in toolkit. r=mossop
...
This is not quite a mechanical change, because some places have a .top or
whatnot snuck in there, so please review carefully!
2018-07-24 19:47:42 -04:00
Kyle Machulis
712963e80a
Bug 1472087 - Remove nsDocShellLoadInfo::LoadTypes; r=nika
...
We have 2 different LoadType enums with two different values, which
have to be converted between depending on whether we're going to/from
LoadInfo/nsISHEntry/etc. We should be able to just use the same enum
everywhere and not have to deal with conversion, especially since we
don't have any type safety around the enum.
MozReview-Commit-ID: 2t9vVGLpOte
2018-07-11 20:19:18 -07:00
Kyle Machulis
a8efea862f
Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika
...
Change all references from nsIDocShellLoadInfo to nsDocShellLoadInfo
MozReview-Commit-ID: AyKlZUtSEDD
2018-07-11 20:19:14 -07:00
J. Ryan Stinnett
0dcd6d60ba
Bug 1365626 - Remove View MathML Source feature. r=mconley
...
The in-tree version of View MathML Source appears to have low usage, so it seems
reasonable to remove. A similar feature is available as an add-on.
In recent months, the in-tree version has actually been broken, which wasn't
noticed for quite a while. This adds further evidence for removal given the
lack of maintenance and interest in this feature.
Differential Revision: https://phabricator.services.mozilla.com/D1830
2018-06-28 20:45:31 +00:00
Kris Maglione
0847e8227e
Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
...
MozReview-Commit-ID: 9APGewiDDYB
2018-05-25 17:02:29 -07:00
Boris Zbarsky
1b26a86816
Bug 1387143 part 5. Remove JS use of nsISelectionPrivate. r=mats
2018-05-08 13:52:36 -04:00
Nika Layzell
3d4a532d9d
Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz
2018-04-10 17:49:45 -04:00
J. Ryan Stinnett
779ef16ae3
Bug 1443371 - Remove unused View Source message listeners. r=bdahl
...
After bug 1418403, there are some left over message listeners in View Source
that are unused.
MozReview-Commit-ID: v5WACzJEA6
2018-03-06 08:06:25 -06:00
Gurzau Raul
fd98e21567
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-07 02:29:42 +02: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
Boris Zbarsky
326c2db9e2
Bug 1435764 part 4. Use NodeFilter in various system-JS places instead of hardcoding constant values. r=kmag
...
MozReview-Commit-ID: HuwuVXWcWQE
2018-02-06 13:03:44 -05:00
Boris Zbarsky
94b07b26ec
Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
...
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05: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
Brian Grinstead
bebf9bacc1
Bug 1416372 - Remove remaining references to the view source statusbar;r=jryans
...
MozReview-Commit-ID: HQcRAo5eTKk
2017-11-21 08:40:55 -08:00
Mark Banner
e47ccbfec3
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +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
Sebastian Hengst
0914297c48
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-19 11:15:12 +02:00
Ehsan Akhgari
5005049ff2
Bug 1401028 - Remove the content-contextmenu observer notification; r=kmag
...
This was used by the add-on SDK.
2017-09-19 00:35:08 -04:00
Prathiksha
576a3dfdb1
Bug 1363051 - Update about:blocked page visuals and copy. r=francois,johannh
...
MozReview-Commit-ID: CK2cO5Ikivt
2017-09-04 19:25:05 +05:30
Florian Queze
c9a0637249
Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws.
2017-04-25 09:21:49 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Christoph Kerschbaumer
67a8817a0a
Bug 1341589 - Set triggeringPrincipal on history entry for view-source loads. r=gijs
2017-03-02 17:32:02 +01: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
Florian Quèze
13cfe1d3f3
Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws.
2017-01-09 20:27:25 +01:00
Thomas Nguyen
82e1caab63
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05: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
Marco Bonardo
a4fb86a4a0
Bug 1319009 - View Source shows a blank New Tab with a forced charset. r=mconley,mossop
...
MozReview-Commit-ID: 7P7gdH8Ltmm
2016-11-21 18:32:27 +01:00
Mark Banner
8ddd9bb511
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Jared Wein
99638e1465
Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
...
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04: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
Carsten "Tomcat" Book
036e6d2fa3
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07: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
Neil Deakin
d49e7b6617
Bug 1134585, remove cpow usage from view selection source, r=mconley
2015-08-10 09:42:51 -04:00
J. Ryan Stinnett
d96ba9c294
Bug 1168084 - Persist view source tab options. r=mconley
2015-06-01 16:26:33 -05:00
J. Ryan Stinnett
0a627b9c88
Bug 1168081 - Go to Line accesskey for view source tabs. r=Gijs
2015-05-29 11:51:27 -05:00
J. Ryan Stinnett
8713aac2b6
Bug 1067325 - Context menu actions for view source tabs. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
375b366378
Bug 1067325 - MathML source in tab. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
cc8fe48b34
Bug 1067325 - Selection source in tab via frame scripts. r=mconley
2015-05-23 18:17:50 -05:00