Commit Graph
140 Commits
Author SHA1 Message Date
Ting-Yu Lin d9259e03e5 Bug 1234118 - Delete code for supporting 'do-command' and 'copypaste-docommand'. r=mtseng, r=smaug
These two events are the leftovers for support copy/paste/cut/selectall
operations from old text_selection_dialog.js in Gaia. The code for
handling them can be removed since text_selection_dialog.js was removed
in bug 1221462.
2016-01-04 21:45:01 +08:00
Ting-Yu Lin e88fe68dc4 Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng, r=smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

DONTBUILD
2015-12-22 14:14:12 +08:00
Nigel Babu 45cfc46ab3 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin 4ef82bbc8c Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng,smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154
2015-12-22 14:14:12 +08:00
Sam Foster e19eb1f5c0 Bug 1229838 - rel=apple-touch-icon-precomposed should fire mozbrowsericonchange. r=fabrice 2015-12-14 10:03:08 -08:00
Carsten "Tomcat" Book 0d35bb5bc1 Backed out changeset 50441cd0d6a1 (bug 1212321) for causing regressions 2015-11-25 12:37:24 +01:00
Francois Marier b9f646ed8b Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Vivien Nicolas 9fe1c61f9e Bug 1212321 - Stop painting on app launch. r=fabrice 2015-11-06 02:13:00 +01:00
Marcos Caceres b6a611229f Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Fabrice Desré 84d78702b6 Backout b0359c684793 (Bug 926452) for causing bug 1213051 r=me 2015-10-28 13:33:52 -07:00
Tim Chien 2593f8cd59 Bug 1196654 - navigator.mozBrowserElementProxy for access Browser API methods from the embedded, r=kanru, sr=sicking 2015-10-25 20:06:00 +01:00
Vivien Nicolas b49335ae70 Bug 926452 - The call to getComputedStyle in the onStateChange progress listener of BrowserElementChildPreload.js is expensive (~30ms). r=fabrice 2015-10-15 06:40:00 +02:00
Ting-Yu Chou 5f6924fad9 Bug 1214133 - Preload ExtensionContent.jsm to get rid of the overhead. r=fabrice 2015-10-13 17:39:52 +08:00
Kevin Grandon f177572af3 Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice 2015-10-05 08:36:00 +02:00
Boris Chiou f8a2d82f5f 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
Wes Kocher 4a33987c77 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Boris Chiou f95b9940d9 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.
2015-09-18 05:35:00 +02:00
Ted Clancy 599b38aa69 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -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
Carsten "Tomcat" Book 7a6f446570 Backed out 1 changesets (bug 1198522) for gij20 test failures
Backed out changeset b0c1649e39d2 (bug 1198522)
2015-09-11 14:14:11 +02:00
Boris Chiou 8c9e7e765a 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
Wes Kocher 366d478a74 Backed out changeset dca7021e514a (bug 1169633) for test_browserElement_inproc_getWebManifest.html failures CLOSED TREE 2015-09-17 13:08:32 -07:00
Marcos Caceres 73ce6ab79e Bug 1169633 - [Browser API] getWebManifest(). r=kanru,bholley 2015-09-16 06:55:00 +02:00
Carsten "Tomcat" Book a5b2bfd229 Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE
Backed out changeset 47ccf6689101 (bug 1169633)
Backed out changeset 503eab197a2d (bug 1163254)
2015-09-17 16:01:25 +02:00
Marcos Caceres f6b049d6e8 Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-09-16 06:55:00 +02:00
Boris Chiou e4e7dbf6ab 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 26031b1a83 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
Cervantes Yu 0d4bba27ca Bug 1166207 - Load preload.js in the Nuwa process. r=khuey 2015-08-28 17:57:44 +08:00
Boris Chiou 96808839db 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
Fabrice Desré bc561611cc Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré c50552b3e4 Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré edcc328e33 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Brian R. Bondy bb231a2070 Bug 1189494 - Pass tracking information to BrowserElement's mozbrowsersecuritychange event. r=fabrice 2015-08-10 16:59:59 -04:00
Ehsan Akhgari 2b05d61b9f 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 aea3d6d164 Bug 1190083 - Rename mozbrowsermediaplaybackchange to mozbrowseraudioplaybackchange; r=fabrice 2015-08-04 18:31:14 -04:00
Brian R. Bondy 5925605c17 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 a7ce1db6ba Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru 2015-07-15 18:13:16 +08:00
Paul Rouget 9a5587fdb1 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Andrea Marchesini db97457570 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book 4d84eb2be5 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Andrea Marchesini 567d09c01f Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan a5cfa673a9 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Brian R. Bondy ac350aebaa Bug 1181176 - Pass along x and y position for context menus on Graphene. r=fabrice 2015-07-10 20:30:05 -04:00
Brian R. Bondy a9a3e1780b Bug 1180824 - Implement media playback events for browser-element / Graphene. r=fabrice 2015-07-10 20:30:01 -04:00
Andrea Marchesini 0294bacd27 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Chris Lord ee4a8249d8 Bug 1170644 - Fix forced reflow in BrowserElementChildPreload. r=bz 2015-07-08 15:38:43 +01:00
Fabrice Desré ea11572ade Bug 1168658 - Enable tracking protection in b2g r=francois 2015-06-09 21:26:37 -07:00
Etienne Segonzac 088448878f Bug 1164123 - Add support for a theme-group meta to make theme-color"themable". r=fabrice 2015-06-17 10:02:00 -04:00
Xidorn Quan 705f38acef Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao 2015-06-12 13:24:45 +12:00
Paul Rouget 96d8781a2d Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00