Prathiksha
86d7bac5f6
Bug 1363051 - Update about:blocked page visuals and copy. r=francois,johannh
...
MozReview-Commit-ID: CK2cO5Ikivt
--HG--
extra : rebase_source : 01da86303c4aa20961be609c7f45db39bf7e9f7b
2017-09-04 19:25:05 +05:30
Masatoshi Kimura
3231cb3535
Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
...
MozReview-Commit-ID: GliLHLsUWjt
--HG--
extra : rebase_source : 50d3f4680a498125ddf600b0d64f6740b0229f80
2017-06-17 19:30:09 +09:00
Andrew McCreight
e3a114f978
Bug 1363215 - Replace calls to __define{Getter,Setter}__ on top-level this with Object.defineProperty. r=Gijs
...
__define{Getter,Setter}__ are deprecated, and are not defined on
NonSyntacticVariablesObjects, so these calls get in the way of sharing
globals between different .jsms. Probably only the DownloadUtils.jsm
change is really needed for that.
configurable and enumerable are both set to true to match the existing
behavior. If enumerable is set to false, then tests fail, because some
of the getters overwrite the getter with a regular property.
MozReview-Commit-ID: 1OZF45fIAQ
--HG--
extra : source : 96dd2e2d8d1677fb04c98bb3a063df32478fbc00
2017-05-08 14:07:34 -07:00
Florian Queze
b6597dcb0c
Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws.
2017-04-25 09:21:49 +02:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Eugen Sawin
0b1bae9e19
Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe
2017-04-13 23:20:17 +02:00
Christoph Kerschbaumer
c94340ffe9
Bug 1341589 - Set triggeringPrincipal on history entry for view-source loads. r=gijs
2017-03-02 17:32:02 +01:00
Mark Banner
a656cedb11
Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
...
MozReview-Commit-ID: Ed9FfkskDos
--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
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
J. Ryan Stinnett
32d643c588
Bug 1335281 - Use frame loader for same process browsers. r=mrbkap
...
This changes the `relatedBrowser` property which held a <xul:browser> to the
more explicit `sameProcessAsFrameLoader` which takes an nsIFrameLoader.
This clarifies the purpose of the property and also (by switching to the frame
loader) makes it easier to set in some contexts.
MozReview-Commit-ID: LnEvSP8zkto
--HG--
extra : rebase_source : f9f4c07995ef39f1ccd5042e9ae3df37879423b6
2017-02-14 14:12:35 -06: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
34e970eb9b
Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws.
2017-01-09 20:27:25 +01:00
Jared Wein
b33bfba51a
Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
...
MozReview-Commit-ID: 2MhpvzUDgtK
--HG--
extra : rebase_source : 1df2b81badfe556928f6424c8990e4b3fde7056f
2017-01-06 12:09:28 -05:00
Thomas Nguyen
0aaea58b69
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
Mark Banner
39df62d9dc
Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 78dXLYVW1gC
--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Jared Wein
9141469edf
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05: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
Gijs Kruitbosch
cb6c0c81ac
Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
...
MozReview-Commit-ID: 2yb0WGFYBsH
--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Bob Owen
4f48f9317d
Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer
2016-11-24 15:08:30 +00:00
Sebastian Hengst
4240700f13
Backed out changeset 5b26ae9afaea (bug 1147911)
2016-11-23 18:33:10 +01:00
Bob Owen
67d3ea6af8
Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer
2016-11-23 13:36:57 +00:00
Marco Bonardo
e35099c12e
Bug 1319009 - View Source shows a blank New Tab with a forced charset. r=mconley,mossop
...
MozReview-Commit-ID: 7P7gdH8Ltmm
--HG--
extra : rebase_source : de7ba0eaa280d6e539489d01c62ef5831fa88282
2016-11-21 18:32:27 +01:00
Sebastian Hengst
5fca81c6e4
Backed out changeset 5cffb4645bc0 (bug 1147911)
2016-11-18 00:58:52 +01:00
Kris Maglione
36250d10ef
Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm
...
MozReview-Commit-ID: 83sNFdLM4W7
--HG--
extra : rebase_source : 7383c57f6ee52f0c0dfc8401ae3c6f35eee7eb1b
extra : source : 07321664430ab3416a0aa3a29055012b5eb149c5
2016-11-15 15:11:27 -08:00
Bob Owen
8c7b20c42d
Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer
2016-11-17 15:48:52 +00:00
Wes Kocher
4e5f6472fd
Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
...
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Kris Maglione
2fff8d9e6c
Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm
...
MozReview-Commit-ID: 83sNFdLM4W7
--HG--
extra : rebase_source : 5ec958a9b762ea85b0e77fc5c42beeb74cad260c
2016-11-15 15:11:27 -08:00
Dave Townsend
c5bb304fd9
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Mark Banner
7d81bfea9f
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
stefanh@inbox.com
541bf95e7c
Bug 637311 - Update charset menu before it's visible so the checkmark for current encoding is displayed on Mac the first time the menu is opened. r=Gijs.
2016-10-22 20:16:21 +02:00
Boris Zbarsky
bae20efd7f
Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs
2016-10-10 21:07:47 -04:00
Bill McCloskey
50c44c717c
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-09-16 20:35:11 -07:00
Ryan VanderMeulen
82663d8710
Merge inbound to m-c. a=merge
2016-08-23 10:05:18 -04:00
Wes Kocher
b38dbd1378
Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
...
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Blake Kaplan
974d3410e3
Bug 1296785 - Make view-source in a new window work correctly. r=mconley
...
This patch also makes sure that we correctly grab a weak reference to the
related window instead of just setting a "relatedBrowser" property directly on
the JS object (which shadows the XBL property getter).
MozReview-Commit-ID: 97VQyCoY1Cj
2016-08-22 14:49:20 -07:00
Bill McCloskey
3a7ee5574b
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 14:41:26 -07:00
Wes Kocher
3a31be9c17
Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
...
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
3799faa926
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 09:59:40 -07:00
Jared Wein
ea0b3d77bc
Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c66c2fee3a
Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout
2016-08-17 01:24:58 +02:00
Jared Wein
b82aa6f6de
Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Jared Wein
d3e296107e
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
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
Wes Kocher
dfc7e5253f
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 9YZdlIARozU
2016-04-08 16:47:03 -07:00
Dave Townsend
6e44ebad84
Bug 1257246: Update toolkit for eslint 2. r=Gijs
...
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.
MozReview-Commit-ID: KHYdAkRvhVr
--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Philip Chee
f9af648597
Bug 1263262 - Do not hide the menubar in the View Partial Source window r=mconley
...
--HG--
extra : transplant_source : %04%20%C2%F2%D5%B3%21V%9C%E7%B5%D3%AFe%3D%CF%E0%1DB%91
2016-04-09 03:40:10 +08:00
Dave Townsend
541b00204a
Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
...
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Carsten "Tomcat" Book
08997000eb
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
e7ef778c9d
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
J. Ryan Stinnett
8e5cf914c9
Bug 1203395 - Repair view selection source in window mode. r=mconley
...
--HG--
extra : transplant_source : %3A%F7%0E%DA%E4y%9FX%AF%FB%CC%F8%BE%8B%02%C1%2CR%A9%B4
2015-09-29 14:12:54 -05:00
Mike Conley
bf5662d318
Bug 1207629 - Don't assume that viewSourceUtils.js has Services in scope. r=jryans
...
--HG--
extra : commitid : FQrbZD44XMx
extra : rebase_source : 435a9d52aecd4623301ce9aeb67df126a735e312
extra : amend_source : d32f92d860ce1e45c4a129786b999433c5447b21
2015-09-23 11:32:52 -04:00
J. Ryan Stinnett
8556917eae
Bug 1204365 - Repair external view source file name and extension. r=mconley
2015-09-22 14:23:47 -05:00
Wes Kocher
3eef2f434b
Merge m-c to inbound, a=merge
2015-09-15 17:20:16 -07:00
J. Ryan Stinnett
4ac507e6e7
Bug 1203624 - Measure view source usage. r=mconley p=ally
2015-09-15 15:56:25 -05:00
Shu-yu Guo
64db2267cf
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
J. Ryan Stinnett
78852db01c
Bug 1165599 - Restore basic external view source. r=jsantell
...
CLOSED TREE
This restores external view source after changes in bug 1025146. It does
function in e10s, however the page descriptor is not used, so viewing a POST
result will GET the page instead. This is the same as it was before bug
1025146.
Follow ups will add usage tracking and improve e10s behavior if there is enough
usage.
--HG--
extra : amend_source : 41f2607f62a0c472effc0f2433352230014dbc9d
extra : transplant_source : %9F%3E%9D%D5w%11%B0t%94%C3%91W_%82G%8Ei%D5%CB%9A
2015-09-09 15:41:20 -05:00
Neil Deakin
4e5e016c5d
Bug 1134585, remove cpow usage from view selection source, r=mconley
2015-08-10 09:42:51 -04:00
Mike Conley
03b699b5f3
Bug 1146454 - Stop using CPOWs for printing. r=billm
...
We were passing around content window CPOWs before to indicate
which content to send to the printer. This was, naturally, causing
unsafe CPOW usage warnings - especially when attempting to get at
the content window of an iframe with the context menu printing
command.
This patch changes the printing mechanism to use outer window IDs
instead of CPOWs.
--HG--
extra : commitid : 7bG2asTYoDR
extra : rebase_source : 3d8d10dbd0d7ce4b2891d81b5f15d71341b79f84
2015-07-03 16:06:04 -04:00
Mike Conley
2f5564d292
Bug 1181160 - Make print preview work in view source window when viewing source from a remote browser. r=jryans
...
We weren't making the print preview browser remote for the view source
window if the view source browser was remote, causing us to fail to
show the preview.
--HG--
extra : commitid : Im9lcqBfT1f
extra : rebase_source : ed98f41d50085cabd4b966aff959c852972823c1
extra : amend_source : d042e90a701ee0e51a9eb5b267f483ec2f556145
2015-07-03 18:20:07 -04:00
J. Ryan Stinnett
4c6ec60312
Bug 1169723 - Load view source frame script lazily. r=mconley
2015-06-04 18:17:53 -05:00
J. Ryan Stinnett
c68b656887
Bug 1168084 - Persist view source tab options. r=mconley
...
--HG--
extra : transplant_source : %B3%A3%F8O%CC%C4%7F%B2%21%BEAy%05-%E1%B7s%B2e%1F
2015-06-01 16:26:33 -05:00
J. Ryan Stinnett
3dd794cac9
Bug 1168081 - Go to Line accesskey for view source tabs. r=Gijs
2015-05-29 11:51:27 -05:00
J. Ryan Stinnett
0e9eecec5c
Bug 1067325 - Context menu actions for view source tabs. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
a9e07e1d86
Bug 1067325 - MathML source in tab. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
23ee447382
Bug 1067325 - Selection source in tab via frame scripts. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
302d886e6a
Bug 1067325 - Update charset when history is disabled. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
3e6b1576a1
Bug 1067325 - Extract view source core to support tabs. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
2566a56af4
Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley
2015-05-23 18:17:50 -05:00
Birunthan Mohanathas
3ffa8d565d
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Mike Conley
a514c6581d
Bug 1163693 - Fix View Source external editor fallback. r=jryans.
...
--HG--
extra : rebase_source : 22a27f83926d33d7f0683a2209e78b56fbdd3f14
2015-05-15 12:07:19 -04:00
Mike Conley
1b74ef628f
Bug 1165050 - Make deprecation warnings in viewSource.js point to the right URL for documentation. r=jryans.
...
--HG--
extra : rebase_source : 309d68cd40fb8417d0c70b07c994c2cbb44f6ec9
2015-05-15 11:40:49 -04:00
Mike Conley
86866bc179
Bug 1158377 - Make link drag-and-drop work with view source windows opened on remote browsers. r=jryans.
...
--HG--
extra : rebase_source : 17dbc052173ef509f7351969180d7e080b1f7139
2015-05-07 16:25:54 -04:00
Mike Conley
7f28885d4a
Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans.
...
--HG--
extra : rebase_source : f065220c34ca9e752ffbdfd379c546c162a908a3
2015-04-24 17:32:57 -04:00
Mike Conley
11b6d3c0d0
Bug 1025146 - Modernize ViewSourceUtils to be able to use outerWindowIDs to load document sources. r=jryans.
...
--HG--
extra : rebase_source : 596f18b77b228c9553a9c4b4d582766d5468d8b2
2015-04-01 14:59:37 -04:00
Francois Marier
17b87281f2
Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
...
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Alex Verstak
d0c9d91dc1
Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz
2015-01-05 09:42:31 -08:00
Abhinav Koppula
75f61d9f2d
Bug 951695 - Rename 'Character Encoding' to 'Text Encoding'. r=jaws
2015-02-27 18:10:30 -05:00
Ehsan Akhgari
65df2a63dd
Bug 1116880 - Pass in the referrer policy to the savePrivacyAwareURI() call in openInExternalEditor(); r=geekboy
2015-01-02 17:53:11 -05:00
Mike Conley
912b2e94df
Bug 1089815 - View source print preview browser does not have a message manager. r=Mossop.
...
<xul:browser>'s do not get messageManager's constructed for them unless they
have their type attribute set to "content", "content-targetable", or
"content-primary". This patch updates the view source print preview browser
with that type attribute, and also updates the PrintUtils documentation to
mention this requirement.
--HG--
extra : amend_source : 12638e8fd0c0da9b3036d7892d02a360b7513ec5
2014-11-04 12:10:15 -05:00
Jonathan Kew
243ef920e1
bug 1057841 - use noncharacters as selection delimiters in viewPartialSource.js. r=gavin
2014-08-28 16:00:01 +01:00
Harshit Harchani
5bce767329
Bug 1051221 - Changed way to remove 'view-souce:' in URL using regex-replace instead of substring, used while saving the MathML source page. r=MattN
2014-08-20 04:30:17 +05:30
Jim Blandy
7e20285e70
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Mike de Boer
b3953af07a
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-28 16:07:37 +01:00
Neil Rashbrook
599e862904
Bug 956657 Followup tweak r=Unfocused
2014-02-25 00:19:36 +00:00
Neil Rashbrook
b15efc9c98
Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
...
--HG--
extra : rebase_source : 7fd31cfc4b8eefee38fa06e63351cc207a9208db
2014-02-23 18:28:04 +00:00
Ryan VanderMeulen
0291c5929b
Backed out 3 changesets (bug 956657, bug 974824, bug 974258) for mochitest-other failures on a CLOSED TREE.
...
Backed out changeset 792ce962cad6 (bug 956657)
Backed out changeset a1574a6b0544 (bug 974824)
Backed out changeset ad851c771c04 (bug 974258)
2014-02-21 15:28:43 -05:00
Neil Rashbrook
2ccf75f0bd
Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
...
--HG--
extra : rebase_source : 6fd5f6565b6dd0c07db0d530ffa01311d6e6d643
2014-02-21 00:17:13 +00:00
James Kitchener
cfadc2a043
Bug 464222 - Get relative links to resolve in parser view selection. r=dolske
2014-02-20 08:43:54 -05:00
Phil Ringnalda
2ff6e6f32a
Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js
2014-02-14 23:58:49 -08:00
Mike de Boer
8f0475a831
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-14 14:04:25 +01:00
Mike de Boer
f4e68f74e8
Backed out 5 changesets (bug 326743)
...
Backed out changeset 55fba7bccaaf (bug 326743)
Backed out changeset f4ab79254dfb (bug 326743)
Backed out changeset c8151192e447 (bug 326743)
Backed out changeset 57ceb72568c6 (bug 326743)
Backed out changeset 3081b9770c33 (bug 326743)
2014-02-14 12:55:13 +01:00
Mike de Boer
02d40ece5b
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-14 11:38:26 +01:00
Henri Sivonen
cf6bacb02c
Bug 959061 - Have only one "Chinese, Simplified" item in the Character Encoding menu. r=Unfocused.
2014-01-30 14:39:25 +02:00
Gijs Kruitbosch
9fd4ab18f7
Bug 936442 - part 1: refactor CharsetMenu to allow Australis code to use it, r=Unfocused
2014-01-27 11:56:04 +00:00
Neil Rashbrook
fbaa743e6a
Bug 940907 Re-introduce the Character Encoding menu to the View Source window r=Unfocused
...
--HG--
rename : browser/locales/en-US/chrome/browser/charsetMenu.dtd => toolkit/locales/en-US/chrome/global/charsetMenu.dtd
rename : browser/locales/en-US/chrome/browser/charsetMenu.properties => toolkit/locales/en-US/chrome/global/charsetMenu.properties
rename : browser/modules/CharsetMenu.jsm => toolkit/modules/CharsetMenu.jsm
2014-01-06 08:44:19 +00:00