Commit Graph

257 Commits

Author SHA1 Message Date
Wes Kocher
d34e61e3ec Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9YZdlIARozU
2016-04-08 16:47:03 -07:00
Dave Townsend
769fc8f245 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
2016-04-05 11:33:48 -07:00
Philip Chee
9afe96349f Bug 1263262 - Do not hide the menubar in the View Partial Source window r=mconley 2016-04-09 03:40:10 +08:00
Panos Astithas
14f6a505bc 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
c4df8b7188 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
e47a0a0319 Bug 1246669 - Enable browser_viewsourceprefs.js for e10s. r=mconley 2016-03-04 09:01:00 +01:00
Dave Townsend
2e4b5d2078 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Dave Townsend
dd9da1fea1 Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN 2015-12-03 10:02:45 -08: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
J. Ryan Stinnett
64ab28d1b9 Bug 1210381 - Remove view-source: when copying links. r=mconley 2015-10-01 17:21:29 -05:00
J. Ryan Stinnett
2347dd475a Bug 1203395 - Repair view selection source in window mode. r=mconley 2015-09-29 14:12:54 -05:00
J. Ryan Stinnett
ddba327380 Bug 1201535 - Test view source of srcdoc frames. r=mconley 2015-09-24 12:39:09 -05:00
Mike Conley
98a2da3332 Bug 1207629 - Don't assume that viewSourceUtils.js has Services in scope. r=jryans 2015-09-23 11:32:52 -04:00
J. Ryan Stinnett
45691a1d88 Bug 1204365 - Repair external view source file name and extension. r=mconley 2015-09-22 14:23:47 -05:00
Wes Kocher
4037741ef5 Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
J. Ryan Stinnett
736ccdec2b Bug 1203624 - Measure view source usage. r=mconley p=ally 2015-09-15 15:56:25 -05: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
J. Ryan Stinnett
022a50634a 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.
2015-09-09 15:41:20 -05:00
Neil Deakin
d49e7b6617 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Mike Conley
ee684e0a3c 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.
2015-07-03 16:06:04 -04:00
Mike Conley
5f278ad607 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.
2015-07-03 18:20:07 -04:00
J. Ryan Stinnett
50e6689efa Bug 1169723 - Load view source frame script lazily. r=mconley 2015-06-04 18:17:53 -05: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
J. Ryan Stinnett
c9a03e15c9 Bug 1067325 - Update charset when history is disabled. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
90c30dc157 Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
3319e1fe68 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Birunthan Mohanathas
fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Mike Conley
d98e438815 Bug 1163693 - Fix View Source external editor fallback. r=jryans. 2015-05-15 12:07:19 -04:00
Mike Conley
e9998ed74f Bug 1165050 - Make deprecation warnings in viewSource.js point to the right URL for documentation. r=jryans. 2015-05-15 11:40:49 -04:00
Mike Conley
cdd3819a6e Bug 1158377 - Make link drag-and-drop work with view source windows opened on remote browsers. r=jryans. 2015-05-07 16:25:54 -04:00
Mike Conley
590c9f2a18 Bug 1025146 - Update ViewSource tests to account for refactor. r=jryans. 2015-04-24 16:47:08 -04:00
Mike Conley
72d0f86227 Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans. 2015-04-24 17:32:57 -04:00
Mike Conley
261f419eb5 Bug 1025146 - Modernize ViewSourceUtils to be able to use outerWindowIDs to load document sources. r=jryans. 2015-04-01 14:59:37 -04:00
Francois Marier
37e736087c Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Alex Verstak
4e554d8cf6 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
e35e29ccdb 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
c4f9588ed3 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Abhinav Koppula
dfffe2d46c Bug 951695 - Rename 'Character Encoding' to 'Text Encoding'. r=jaws 2015-02-27 18:10:30 -05:00
Ehsan Akhgari
d4d4007fd7 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
5712b20e46 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
94a2f1b5a8 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.
2014-11-04 12:10:15 -05:00
Bill McCloskey
3fc52acc1d Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Jonathan Kew
af798073e7 bug 1057841 - use noncharacters as selection delimiters in viewPartialSource.js. r=gavin 2014-08-28 16:00:01 +01:00