Commit graph

258 commits

Author SHA1 Message Date
Joel Maher
3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -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
Panos Astithas
c3b26a6305 Bug 1254557 - Convert test_428653.xul to an HTML-based chrome mochitest. r=bholley
MozReview-Commit-ID: 7qO5VzoOcK8
2016-03-18 10:40:13 +02:00
Mike de Boer
cf23a40c78 Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley 2016-03-04 14:32:34 +01:00
Neil Deakin
1a6943eed5 Bug 1246669 - Enable browser_viewsourceprefs.js for e10s. r=mconley 2016-03-04 09:01:00 +01: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
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Dave Townsend
6fcdc1e67d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -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
00ecc8cd66 Bug 1210381 - Remove view-source: when copying links. r=mconley
--HG--
extra : transplant_source : %8Df%9Es%8B%EC%5B%DC%17%D0%3F%3A7%AB%26.%C0wGz
2015-10-01 17:21:29 -05: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
J. Ryan Stinnett
4ab05a1789 Bug 1201535 - Test view source of srcdoc frames. r=mconley 2015-09-24 12:39:09 -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
63c9280b04 Bug 1025146 - Update ViewSource tests to account for refactor. r=jryans.
--HG--
extra : rebase_source : 662ed93f8de910afa7e85d47680b1ec49550e9c9
2015-04-24 16:47:08 -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
Sebastian Hengst
394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -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
Bobby Holley
32aeec5df6 Bug 1092388 - Clamp the entry and incumbent global to the current global if their principals don't match. r=bz 2014-11-13 11:13:36 -08: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
Bill McCloskey
757ebcfbe3 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00