Граф коммитов

737 Коммитов

Автор SHA1 Сообщение Дата
Kevin Grandon c44fd52108 Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice 2015-10-05 08:36:00 +02:00
Carsten "Tomcat" Book f11b039d32 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Boris Chiou 50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Yoshi Huang d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher 0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Boris Chiou f7042de103 Bug 1198522 - Add a flag to make sure customized menu is added. r=timdream, r=kanru
We use the same array to maintain some system items and customized menu
items, so I add a new flag to make sure we add customized ones.

--HG--
extra : rebase_source : 74c5c2d5294ca949481aee31240535a003e13478
2015-09-18 05:35:00 +02:00
Andrea Marchesini 5bd948cce6 Bug 1167465 - Exposing Allowed Audio Channels in System App's Window, r=alwu, r=fabrice 2015-09-23 08:12:52 +01:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Ted Clancy 4b2d44ae11 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -07:00
Ted Clancy 4ec52ed181 Bug 1195801 - part 2: Tests for getStructuredData. r=kanru 2015-09-17 20:55:19 -07:00
Kan-Ru Chen 352ceeac46 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00
Ting-Yu Lin 63aeeea1b1 Bug 1199161 - Add selectedTextContent to CaretStateChangedEvent. r=kanru, sr=smaug
The old SelectionStateChangedEvent dispatched by SelectionChanged had
this field, but it has not being ported to CaretStateChangedEvent. We
should include selected text in the event so that Gaia could have a
chance to enhance user experience.

--HG--
extra : rebase_source : 7304b71e251e2ee081192340b8f86f22bf6e03a6
2015-09-16 17:58:14 +08: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
Carsten "Tomcat" Book 84f822726d Backed out 1 changesets (bug 1198522) for gij20 test failures
Backed out changeset b0c1649e39d2 (bug 1198522)

--HG--
extra : rebase_source : 2625120b6ec2e36648e64ca39d701c0340d2047b
2015-09-11 14:14:11 +02:00
Boris Chiou a637c0b974 Bug 1198522 - Separate customized and sys cmd menu items. r=kanru
Use a different array to store 'copy-image' and 'copy-link' menu items.
2015-09-04 00:52:00 +02:00
Tooru Fujisawa 0edf2b7404 Bug 1207494 - Part 3: Remove use of expression closure from dom/browser-element/. r=smaug
--HG--
extra : commitid : IX6Ep2xpsM2
extra : rebase_source : fb3dcb439af7dc4a729f776c72ac0cbaa944cb9f
2015-09-23 18:39:13 +09:00
Kan-Ru Chen 42ed9cb8a7 Bug 1200498 - Clean up dom/browser-element mochitest.ini that has skip-if toolkit != gtk2 now that gtk3 is the default 2015-09-04 14:18:50 +08:00
Kan-Ru Chen 57f614afaf Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-03 13:21:21 +08:00
Boris Chiou b5773495c8 Bug 1121463 - Support copy link on context menu. r=kanru
Add a special menuitem, copy-link, to pass the url and do command.
2015-08-31 20:37:00 -04:00
Ted Clancy 11ac435465 Bug 1178484 - Part 5: Test for metachange event when Open Graph property is loaded. r=kanru 2015-08-28 03:31:36 -07:00
Ted Clancy 069dfd2ca0 Bug 1178484 - Part 4: Fire metachange event when a <meta> tag has Open Graph data. r=kanru 2015-08-28 03:31:29 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Cervantes Yu 3c09a9761d Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08:00
Tim Chien 594973b3d3 Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap
--HG--
extra : histedit_source : a47dc2f917d2cc53dfcf500df00e02052a2e4aff
2015-08-26 20:18:00 -04:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Boris Chiou d0b96e41a1 Bug 952456 - Part 2: Support copy image in BrowserElement. r=kchen
Add a new context menu option, copy image.
2015-08-12 03:09:00 -04:00
Ehsan Akhgari f9752f535c Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Fabrice Desré d0a42c5e92 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré 4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Myk Melez 5f5a298ac6 Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-08-13 19:00:02 -07:00
Aryeh Gregor 5aeef0231d Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Brian R. Bondy 7bf8055bf0 Bug 1189494 - Pass tracking information to BrowserElement's mozbrowsersecuritychange event. r=fabrice 2015-08-10 16:59:59 -04:00
Jeremy Chen b253b6b253 Bug 1181418 - Send selectionEditable info to app_text_selection_dialog. r=tlin, r=kanru, sr=smaug
--HG--
extra : commitid : DO8T9n6MMXa
extra : amend_source : d359d938905e00a8a4d6c5cebf0bee14b7527b6e
2015-07-31 04:34:00 +08:00
Ehsan Akhgari 778c91d13d Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Ehsan Akhgari f674124112 Bug 1190083 follow-up: Restore the alphabetical order, DONTBUILD 2015-08-04 18:33:29 -04:00
Ehsan Akhgari d18fe288a5 Bug 1190083 - Rename mozbrowsermediaplaybackchange to mozbrowseraudioplaybackchange; r=fabrice
--HG--
rename : dom/browser-element/mochitest/browserElement_MediaPlayback.js => dom/browser-element/mochitest/browserElement_AudioPlayback.js
rename : dom/browser-element/mochitest/test_browserElement_oop_MediaPlayback.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioPlayback.html
rename : dom/browser-element/mochitest/test_browserElement_inproc_MediaPlayback.html => dom/browser-element/mochitest/test_browserElement_oop_AudioPlayback.html
2015-08-04 18:31:14 -04:00
Kan-Ru Chen 37be5dc5be Bug 1188639 - Fix typo in BrowserElement.webidl and add tests for it. r=yoshi,bz 2015-08-03 10:56:03 +08:00
Brian R. Bondy 8b7c257d54 Bug 1188487 - Tests for BrowserElement mute / set volume. r=fabrice 2015-07-31 13:21:25 -04:00
Brian R. Bondy b96697e95d Bug 1188487 - Add API to BrowserElement to mute and set volume. r=fabrice
It's already possible to get mute/volume at the audio channel level, but
this adds it at the iframe level so that audio channels can be created
and destroyed and the setting will be preserved.
2015-07-31 13:21:18 -04:00
Junior Hsu 546348a34c Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru
--HG--
extra : rebase_source : 40a7dc00c2c1121ec6444fefaf1aca927ea17b27
2015-07-15 18:13:16 +08:00
Jeremy Chen 76c380be23 Bug 1147329 - Handle in-process case for Cut/Copy/Paste feature. r=kanru
--HG--
extra : commitid : H2bSIbLfEXs
2015-07-27 11:56:04 +08:00
Carsten "Tomcat" Book 6a7e108e0a Backed out changeset 35c6e7e9c205 (bug 1135261) for test failures in gij in bookmark_edit_test.js on a CLOSED TREE 2015-07-22 08:13:08 +02:00
Myk Melez 9d936dfa4a Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-07-21 19:15:38 -07:00
Xidorn Quan eb61df85f2 Bug 1183848 - Register fullscreenchange event handler only once per window. r=smaug,khuey
--HG--
extra : source : c4ddc31b4f179cf1399e28b4dd95661ef8a8bfcd
2015-07-20 14:22:20 +10:00
Paul Rouget dfe7fcd341 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Boris Zbarsky f9793d505e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00