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

828 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano bd4bf17fbd Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano 9895f90eca Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano 28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Andrea Marchesini 813316efe8 Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
CLOSED TREE
2015-08-26 09:21:00 -04:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Mike Taylor 87f93dfa80 Bug 976616 - Part 1: Call ProcessViewportInfo when meta viewport is changed. r=bholley 2015-08-24 15:34:00 -04:00
Masayuki Nakano 24352f9317 Bug 930843 part.2 NS_UI_ACTIVATE event should be trusted event even if it's caused by an untrusted event r=smaug 2015-08-22 13:02:39 +09:00
Masayuki Nakano 66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Ehsan Akhgari e5b36bb128 Bug 1188754 - Do not notify the audio channel agent on Firefox OS when the document activity change callback detects that the element is muted by the audio channel; r=baku 2015-08-21 12:29:24 -04:00
Xidorn Quan fb176b3009 Bug 1180574 - Retry once if we open a window in fullscreen mode in fullscree-api-race test. r=smaug
--HG--
extra : source : 7f6997fe1c98bb2e24ba2d1c037b55ac8234b089
2015-08-21 09:17:18 +10:00
Xidorn Quan 24406b034a Bug 1189655 - Define MOZ_HAVE_CXX11_CONSTEXPR on VS2015 or later. r=Waldo
--HG--
extra : source : c3fa493499954504073d8abeb7104f46c4f3f953
2015-08-21 09:17:18 +10:00
Wes Kocher fa57aa7153 Merge m-c to inbound, a=merge 2015-08-20 12:51:40 -07:00
Wes Kocher d8fffe1765 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07: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
Blake Kaplan 8e41b83bca Bug 1196815 - Mark passing tests as passing. r=jst 2015-08-20 10:30:10 -07:00
Blake Kaplan 3ee8feffb3 Bug 1194886 - Don't create files in tests. r=jld 2015-08-20 10:30:10 -07:00
Alastor Wu f66ecbff3f Bug 1191207 - cancel chrome checking 2015-08-06 14:54:01 +08:00
Markus Stange 183a73b7d1 Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats
--HG--
extra : rebase_source : a71e00f5a888e62a4d3e879ffff0e9c38a9424fa
2015-07-14 16:59:12 -04:00
Nathan Froyd 797182f90f Bug 968923 - part 5b - add nsIDOMWindowUtils::forceUseCounterFlush; r=bz
Use counter submission normally happens at document destruction.  For
testing use counters, however, we need to have use counters updated in
telemetry at deterministic points.  Therefore, we provide a method on
nsIDOMWindowUtils that forces use counters out to telemetry so we can
examine them.
2015-03-17 15:25:35 -04:00
Karl Tomlinson 6de7f1f2d4 bug 962719 update NextFrameStatus() on finished notification r=roc
This provides HAVE_CURRENT_DATA readyState.

--HG--
extra : rebase_source : d18abe878bc97b6165474f58ef550d1936fe2494
2015-08-04 17:43:46 +12:00
William Chen 148ff86273 Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz 2015-08-14 10:52:38 -07:00
Francois Marier 34de332db0 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor 5aeef0231d Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Jeff Walden 1b62a9d07b Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
--HG--
extra : rebase_source : 803fe39f338b6b32cb0fe2be6cf4056bab57283a
2015-05-01 19:12:52 -07:00
Ehsan Akhgari 4db099dbd2 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ryan VanderMeulen 568c3a360e Merge b2g-inbound to m-c. a=merge 2015-08-06 15:37:49 -04:00
Ehsan Akhgari f22dea9a72 Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot 2015-08-06 10:26:27 -04:00
Ehsan Akhgari 41ec611711 Bug 1190040 - Part 1: Do not dispatch media-playback notifications for media elements that do not have an audio track; r=cpearce 2015-08-06 10:25:38 -04:00
Daosheng Mu c611da3596 Bug 1178725 - Fix create videoFrameContainer crash on B2G desktop. r=roc 2015-08-05 20:02:00 +02:00
Ehsan Akhgari 94250b165e Backout bug 1190040 for test failures 2015-08-05 01:12:05 -04:00
Ehsan Akhgari 672483ef08 Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce 2015-08-04 20:07:41 -04:00
Ehsan Akhgari 9e8a849881 Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku 2015-08-04 19:38:51 -04:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
JW Wang d1c5eb9e63 Bug 1189204 - activate autoplay when playing a media source. r=jya. 2015-08-04 11:17:03 +08:00
Robert O'Callahan efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan d5d49432af Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
We will pass the preparsed value into AttributeWillChange.

--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Robert O'Callahan 1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Tanvi Vyas dca6e7eb28 Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert 2015-08-03 15:25:24 -07:00
Jan-Ivar Bruaroey f01e4a40fe Bug 1175523 - Add HTMLMediaElement.srcObject alias to .mozSrcObject. r=roc, r=smaug
--HG--
extra : rebase_source : 3fa835114a9157f872bd52e585f5c7c9c84e7e2f
2015-07-14 00:04:14 -04:00
Arnaud Bienner 52ee71547c Bug 1186603 - Add a "Contains" method for string classes and use it in HTMLInputElement. r=nfroyd 2015-07-30 19:45:25 +02: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
Boris Zbarsky 57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Kartikaya Gupta 223bdc4578 Bug 1187056 - Dispatch the meta tag mutation events sooner so that any meta-viewport changes can be processed before scripts continue running. r=smaug 2015-07-31 13:08:40 -04:00
Hiroyuki Ikezoe 5a1cc68844 Bug 1189162 - Clamp gamepad.timestamp and VideoPlaybackQuality.creationTime. r=bz 2015-07-30 01:41:00 -04:00
Kaku Kuo 976d0f9acf Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug
--HG--
extra : rebase_source : e53ca97680dd12e0f1be217b4396a443b04bbeee
2015-07-30 20:49:00 +02:00
Kaku Kuo 9c3f995e43 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug
--HG--
extra : rebase_source : c26f327064125a6d5690b03571f25ea0e25347eb
2015-07-30 20:47:00 +02:00
Boris Zbarsky 78a7f7fb69 Bug 1183491. Null-check the document we get from our contentWindow in the contentDocument getter, because apparently it can end up null. r=bkelly 2015-07-30 13:55:16 -04:00
Xidorn Quan aecaf4e294 Bug 1181446 - Retry requesting fullscreen one more time if it fails initially on fullscreen-api-race test. r=smaug
--HG--
extra : source : 56df9ae079433f53e3c22cba6140b4e2ec80539b
2015-07-29 08:59:59 +10:00
Ehsan Akhgari 03f8195321 Bug 1188095 - Don't pause media elements on 'graphene'; r=baku
Note that MOZ_GRAPHENE currently only exists on the larch project branch,
but this is so simple that it seems worth taking.
2015-07-28 08:53:23 -04:00
Randall Barker 40f480f76d Bug 1178858 - Video would not playback after seek seekbar first if media.autoplay.enabled = false. r=cpearce
When autoplay is disabled, the media element was not detecting user
initiated seeking so when a script attempted to play after seeking,
playing would be blocked.
2015-07-24 15:56:00 +02:00
Birunthan Mohanathas 108e139c8d Bug 1186806 - Part 4: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLPropertiesCollection. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas 1813cfd1dd Bug 1186806 - Part 3: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLMediaElement. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas 04fd401f87 Bug 1186806 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_TRAVERSE instead of manual traversal in HTMLFormElement. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas a55459b97f Bug 1186806 - Part 1: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLFormControlsCollection. r=khuey 2015-07-27 18:45:12 -07:00
Jeff Gilbert c047687d8f Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Paul Adenot f7bb3fd5bd Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot 2ab300ac7b Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot 6187533e7d Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Chris Pearce e220da3249 Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin 2015-07-27 11:52:19 +12:00
Christoph Kerschbaumer 9d66aa4b3b Bug 1182540 - Use channel->ascynOpen2 in dom/html/HTMLTrackElement.cpp (r=sicking) 2015-07-25 10:29:22 -07:00
Wes Kocher 83b4188234 Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot 62ea7fce4b Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot b195db60a7 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot 7c02310414 Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book 2b73aa4f63 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot 27a91916bf Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot c1a9ba0ab9 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot bae1e652bf Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Benjamin Chen 3dc8ab47ea Bug 1183394 - Remove the assertion message when shutdown. r=jwwang 2015-07-21 18:01:00 +08:00
Franziskus Kiefer cafd09a21a Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz 2015-07-17 10:46:19 -07:00
Boris Zbarsky 68976f61f9 Bug 1184647. Cloning an image should ensure that the clone tries to load the src, if any. r=smaug 2015-07-22 13:21:25 -04:00
Andrea Marchesini 367d4612a6 Bug 1185381 - Make FileList clonable - patch 1 - move code into FileList.h/.cpp, r=smaug 2015-07-22 17:03:07 +01:00
Arnaud Bienner 5bf0f0bca6 Bug 1155154 - Part 3 - Ignore file extension filters with characters that can be interpreted by the file picker. r=smaug
--HG--
extra : rebase_source : 3dfeafb7628689931ac54f00792c683670524d1f
2015-07-17 01:20:01 +02:00
Arnaud Bienner 95d74228ec Bug 1155154 - Part 2 - Rename extension filter. r=smaug
--HG--
extra : rebase_source : df826837ee595a5dc24c052630d203cba855567d
2015-07-17 00:43:10 +02:00
Arnaud Bienner 5c2e081b9c Bug 1155154 - Part 1 - Fix the check for duplicate filters when one filter is a subtring of another one. r=smaug
--HG--
extra : rebase_source : 76af94ccf36e23ccfbd6cb561da3019248591cba
2015-07-20 23:07:59 +02:00
Andrea Marchesini 5509be2d98 Bug 1185303 - HTMLMediaElement should not be paused when visibility changed and when muted by the AudioChannel policy, r=ehsan 2015-07-22 00:04:57 +01:00
Jonathan Watt 43ab228990 Bug 1164310, part 5 - Implement new anonymous content and layout pieces for directory picking via input elements. r=tnikkel 2015-07-10 18:56:36 +01:00
Jonathan Watt b7bcad9074 Bug 1164310, part 4 - Implement the new HTMLInputElement API including the new Promise returning GetFilesAndDirectories. r=baku 2015-07-10 18:55:52 +01:00
Xidorn Quan 460ed18474 Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
--HG--
extra : source : 790e3e8a52cac1ddabebf59bc98a2da0c52ba624
2015-07-21 20:50:20 +10:00
Franziskus Kiefer b4e4b6d771 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Franziskus Kiefer e97220a88e Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Christoph Kerschbaumer d794b42650 Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - media element changes (r=sicking,tanvi) 2015-07-19 19:13:28 -07:00
Ehsan Akhgari 3d45149452 Bug 1148030 - Correctly reflect object and embed RequestContext values; r=smaug
Note that these elements cannot be intercepted for now.  See bug
1168676 for the background.
2015-07-18 16:44:28 -04:00
Wes Kocher 1c69110f51 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-17 18:08:24 -07:00
Wes Kocher c9619ef520 Merge b2ginbound to central, a=merge 2015-07-17 18:07:14 -07:00
Olli Pettay b56b103240 Bug 1183901, properly support WrapperCache on DistributedContentList, r=wchen
--HG--
extra : rebase_source : 1807da23dd4346e2b45c0ff84ee7618ad1bcca11
2015-07-18 01:15:44 +03:00
Andrea Marchesini 1c6488ef45 Bug 1177399 - Remove an unnecessary part of the AudioChannel test. r=ehsan
CLOSED TREE
2015-07-17 08:05:00 -04:00
Alastor Wu 2e0c92c43d Bug 1183301 - GetAllowedAudioChannels should not throw an exception if nsIFrameElement is not ready. r=baku 2015-07-16 10:19:55 +08:00
Kan-Ru Chen 2b5296d9cb Bug 1184821 - Use CheckAllPermissions in BrowserElement.webidl r=bz 2015-07-17 13:46:54 +08:00
Bobby Holley 04eaf4c167 Bug 1184634 - Move various includes into the mozilla namespace. r=gerald
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Kyle Huey 74f03750da Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Jean-Yves Avenard 79cb7273cb Bug 1182444: Show audio as enabled when an audio track is present in stream. r=jesup 2015-07-17 14:50:51 +10:00
Kan-Ru Chen abd5560402 Bug 1179718 - Convert BrowserElement.webidl to use CheckAllPermissions. r=bz 2015-07-17 11:06:30 +08:00
Paul Rouget dfe7fcd341 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Ehsan Akhgari 698096b26d Bug 1182976 follow-up: Address njn's drive-by comment 2015-07-16 14:56:47 -04:00
Ehsan Akhgari 86e260f37c Bug 1182976 - Part 1: Get rid of IdentifierMapEntryAddNames; r=baku 2015-07-16 14:47:54 -04:00
Andrea Marchesini 4d18f7a4df Bug 1183700 - Don't prevent playback of media elements in a muted tab on desktop, r=ehsan
--HG--
rename : toolkit/content/tests/browser/browser_mediaPlayback.js => toolkit/content/tests/browser/browser_mediaPlayback_mute.js
rename : toolkit/content/tests/browser/browser_mute.js => toolkit/content/tests/browser/browser_mute2.js
rename : toolkit/content/tests/browser/file_mediaPlayback.html => toolkit/content/tests/browser/file_mediaPlayback2.html
rename : toolkit/content/tests/browser/file_mediaPlaybackFrame.html => toolkit/content/tests/browser/file_mediaPlaybackFrame2.html
2015-07-16 19:34:30 +01:00
Chris Pearce 5a141756bd Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald 2015-07-14 12:17:10 +12: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
Xidorn Quan de00198603 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Ehsan Akhgari 59e89cba9d Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Andrea Marchesini 24739b108d Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini 24422a4be6 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book c17af9311e Backed out changeset 200c185e4d71 (bug 1113086) 2015-07-11 14:13:41 +02:00
Carsten "Tomcat" Book b8617ced73 Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Carsten "Tomcat" Book 131967cfc8 Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini 1ccca98929 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Nigel Babu 64f3815bd7 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Ehsan Akhgari 6834ce768e Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
John Schoenick ffa5e40696 Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions 2015-07-05 18:03:00 -07:00
Andrea Marchesini 2668d9c803 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 21:08:53 -04:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 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)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Xidorn Quan 291696aa87 Backed out 7 changesets (Bug 1113086) for build bustage 2015-07-11 10:45:21 +10:00
Xidorn Quan 09d4d46e81 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00
Andrea Marchesini b5cb67aaf7 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Wes Kocher 19bb4e20b3 Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Christoph Kerschbaumer 768d4bfd43 Bug 1139297 - Implement CSP upgrade-insecure-requests directive - form changes (r=baku)
--HG--
extra : rebase_source : ef6b08959c42091fcf7da10a73b3671bb898b3df
2015-07-10 09:15:46 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari 608f045e48 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Chris Pearce 985163cd1a Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik 2015-07-09 11:10:16 +12:00
Xidorn Quan 49222ce9db Bug 1170369 - Enable tests of Fullscreen API and PointerLock API on Windows XP and OS X 10.6+. r=RyanVM
--HG--
extra : source : 01f249688bdeaccc54efc986ca7fd027751153f1
2015-07-09 08:00:33 +10:00
Markus Stange 58390fd516 Bug 599328 - Clicking a label shouldn't draw a focus ring if clicking the control wouldn't have. r=enndeakin 2015-07-08 00:46:48 -04:00
Wes Kocher bdf0f17d12 Backed out changeset aa4ba2c25de7 (bug 599328) for test_bug426082.html failures on OSX 2015-07-07 16:33:30 -07:00
Xidorn Quan cef843d35a Bug 1180574 - Disable fullscreen-api-race subtest 'openNewWindow, navigate' on Linux 32bit. r=philor
--HG--
extra : source : 4da317d99508fee4175f6fc22f074b7433250ed2
2015-07-08 08:49:56 +10:00
Markus Stange 1cd1524b7d Bug 599328 - Clicking a label shouldn't draw a focus ring if clicking the control wouldn't have. r=enndeakin
--HG--
extra : rebase_source : 6126db042e918a329739c142330e4ac870bff0f5
2015-06-23 08:20:04 -07:00
Michael Layzell a4bef7f27a Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan 2015-07-07 06:38:00 -04:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Robert O'Callahan 56313ecbfb Bug 1143575. Don't report negative frame delays. r=cpearce
--HG--
extra : commitid : 33nYdtZ1epY
extra : rebase_source : 477367be90253417486530bac97f03c76c7c8c9a
2015-05-25 15:42:24 +12:00
Jeff Walden 97c040275e Bug 1165533 - Test that the DOM reflection of signed-integer properties never exposes such values as -0, only as +0. r=Ms2ger
--HG--
extra : rebase_source : 9e4303c00c8259923255528ff4100b583209db82
2015-07-02 21:19:05 -07:00
Ehsan Akhgari c6f415d397 Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Xidorn Quan 1bff6caf2d Bug 1179123 followup - Skip fullscreen-api-race test on OS X. 2015-07-04 18:53:34 +10:00
Xidorn Quan 593467d5da Bug 1179123 - Add mochitest for some race condition test for fullscreen api. rs=smaug
--HG--
extra : source : 172e341ce677b9112938950a09b0f983197c24d7
2015-07-04 15:12:13 +10:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Carsten "Tomcat" Book 2c4351e538 merge mozilla-inbound to mozilla-central a=merge 2015-07-03 12:06:57 +02:00
Wes Kocher a61f207782 Merge m-c to b2ginbound, a=merge 2015-07-02 17:30:21 -07:00
Ryan VanderMeulen d38eb7c329 Bug 1178513 - Fix non-unified bustage. r=wchen
--HG--
extra : amend_source : df4f98cb75017a459fc74476542a3fbbc9ddd9c7
2015-07-02 19:39:03 -04:00
William Chen e2a8b6bfa3 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey
--HG--
extra : rebase_source : 988379e48f84c04bcac181a6fc4c71325e3f0b02
2015-06-30 11:27:57 -07:00
Daniel Holbert 737bf23f72 Bug 1166910 followup: Add missing 'override' keyword to HTMLImageElement method GetImageReferrerPolicy. rs=ehsan 2015-07-02 16:31:48 -07:00
Jonathan Watt ceeaf8d937 Bug 1176849 - Make the file picker fatally assert if any of the objects returned by the file picker are not nsIDOMBlob objects. r=baku 2015-06-11 10:58:19 +01:00
Hamzata Diallo 3f61ec7708 Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07:00
Franziskus Kiefer 2ae91f6891 Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
--HG--
extra : rebase_source : ceb3a3d18acf7deb9d13cfae499b7e112db8ffce
2015-06-05 15:25:24 -07:00
Carsten "Tomcat" Book 8bc87efb1e Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00
Franziskus Kiefer 91b0523177 Bug 1166910 - referrer attribute for img tag. r=hsivonen 2015-06-05 15:25:24 -07:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Patrick McManus cc04db5e46 bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Randall Barker d87d65937e Bug 1173844 - Video would not playback after seek seekbar if media.autoplay.enabled = false. r=cpearce
--HG--
extra : rebase_source : b2c99d37c266357d4b3eb093c7b167f199bea7b0
2015-06-19 17:12:00 +02:00
Andrea Marchesini 46ed66e379 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Ryan VanderMeulen c848d2ee9b Backed out 7 changesets (bug 1113086) for various Gaia test failures.
Backed out changeset eb7e79a2c9e9 (bug 1113086)
Backed out changeset 3562a09b2bf3 (bug 1113086)
Backed out changeset 127cde112795 (bug 1113086)
Backed out changeset 84dc903151c1 (bug 1113086)
Backed out changeset 42dc5dbabdcd (bug 1113086)
Backed out changeset e1ad68356a74 (bug 1113086)
Backed out changeset 86b32f5442f2 (bug 1113086)
2015-06-18 13:00:25 -04:00
Andrea Marchesini 39b2fb9a00 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-06-18 15:56:58 +01:00
Masayuki Nakano ecdd7a7f0f Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug 2015-06-18 23:56:20 +09:00
Jonathan Watt a62bfe14df Bug 1175860 - Add some documentation to UploadLastDir to make its workings clearer. r=baku 2015-06-08 14:01:01 +01:00
Daosheng Mu 72e5400a5f Bug 987498 - Part 2 - HTMLMediaElement supports playback OverlayImage. r=roc 2015-06-09 23:22:00 +02:00
Andrea Marchesini c627d235d3 Bug 1170274 - patch 2 - A better string parser for nsGenericHTMLElement::GetURIListAttr, r=ehsan CLOSED TREE 2015-06-17 17:00:37 +01:00
Carsten "Tomcat" Book 325cd7219a Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
--HG--
extra : rebase_source : aabdc3669df5b252c4373b9fb6049565e6560a0c
2015-06-17 16:58:57 +02:00
Andrea Marchesini 4e81d0cdf5 Bug 1170274 - A better string parser for nsGenericHTMLElement::GetURIListAttr, r=ehsan 2015-06-17 15:02:18 +01:00
Carsten "Tomcat" Book 83a5ac66d0 Backed out changeset 689ce5819b24 (bug 1170274) for w2 test failures 2015-06-17 15:59:45 +02:00
Patrick McManus 78c4fb4975 bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Andrea Marchesini e408c5990a Bug 1170274 - A better string parser for nsGenericHTMLElement::GetURIListAttr, r=ehsan 2015-06-17 12:43:53 +01:00
Ehsan Akhgari 2a127a2d67 Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-16 21:18:08 -04:00
Brian Birtles c569ddfd86 Bug 1165203 - Make calls to load() upgrade preload=none to preload=metadata; r=cpearce
--HG--
extra : commitid : H2xIreNh4Pq
extra : histedit_source : 8ff5e2d2e12b21b8e3f04dc5ab81584b6fc929fc
2015-06-17 09:02:51 +09:00
Wes Kocher 3ae1cac20c Backed out changeset f46a712edf7e (bug 1147668) for assertion failures in test_access_control.html CLOSED TREE 2015-06-16 14:48:15 -07:00
Ehsan Akhgari 103e06656c Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-16 14:49:58 -04:00
Ryan VanderMeulen 887437e1c0 Backed out changeset e44f689c3756 (bug 1170274) for reflection-embedded.html w-p-t failures.
CLOSED TREE
2015-06-16 11:31:59 -04:00
Andrea Marchesini f512499e19 Bug 1170274 - Better tokenizer function for nsGenericHTMLElement::GetURIListAttr. r=ehsan
--HG--
extra : rebase_source : 02266cf6f57afd6a1a61daecb22d2576247b5f57
2015-06-16 08:52:12 -04:00
Jonathan Watt 04e51d3039 Bug 1173390 - Remove the majority of the old directory picker implementation to prepare for the new implementation under bug 1164310. r=baku 2015-06-06 12:41:47 +01:00
Ehsan Akhgari aeecf7b38d Backed out changeset 7210dfe7ad78 (Bug 1147668) for test failure 2015-06-15 23:20:02 -04:00
Ehsan Akhgari 0096b1db1f Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-15 22:08:06 -04:00
Cameron McCormack af75a2ac88 Bug 1171342 - Store contenteditable.css and designmode.css in the style sheet cache. r=jwatt 2015-06-16 11:34:48 +10:00
Olli Pettay 46ce50f742 Bug 1173215, don't set mChromeXHRDocURI when dealing with non-XHR documents, r=bz 2015-06-13 02:34:52 +03:00
Xidorn Quan 68859cacc4 Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
--HG--
extra : source : bbf582da8bd4b7ee58c597b5aeb9f64199059f38
2015-06-12 13:24:45 +12:00
Paul Rouget 53184296fe Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00
Karl Tomlinson 1dc7bae7b5 bug 1171785 use nsContentUtils::RunInStableState() r=bholley
--HG--
extra : rebase_source : a26fc43686810f65631b37539c5622631e2fc001
2015-06-11 14:36:12 +12:00
Steven Michaud 72d6cb19dc Bug 1153145 - Ensure trusted focus events from web content focus plugins. r=smaug 2015-06-10 15:30:25 -05:00
Bobby Holley aa6c9ce796 Bug 1160695 - Drop Support for Content-Duration. r=cpearce 2015-06-08 09:22:46 -07:00
Bobby Holley 1893956886 Bug 1160695 - Track "network duration" separately and mirror it to the MDSM. r=jww 2015-06-08 09:21:20 -07:00
Michael Layzell 293a84e371 Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-06-02 09:07:00 -04:00
Randall Barker 5cecde5f49 Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. r=cpearce 2015-06-05 09:03:00 -04:00
Xidorn Quan ba301e6ce2 Bug 1170911 - Add pref for switching off execCommand("cut"/"copy"). r=ehsan
--HG--
extra : source : c774d06eeee6767553760498d53ebee1c7a093ad
2015-06-08 10:21:58 +12:00
Josh Matthews 94641da537 Bug 1163911 - Make responsive images block the document load event while the load task is queued. r=jst 2015-06-06 09:21:56 -04:00
Wes Kocher 026b52efce Merge fx-team to central, a=merge 2015-06-05 15:26:37 -07:00
Matthew Noorenberghe e4fd8ae196 Bug 1132211 - Dispatch an event when <input type=password> is added to a document (including outside of a form). r=smaug
--HG--
rename : browser/base/content/test/general/browser_bug771331.js => toolkit/components/passwordmgr/test/browser/browser_DOMFormHasPassword.js
rename : browser/base/content/test/general/browser_bug771331.js => toolkit/components/passwordmgr/test/browser/browser_DOMInputPasswordAdded.js
extra : commitid : BJD9IIOYbp0
2015-06-04 21:50:37 -07:00
David Keeler c1a179c37b bug 1169640 - use nsIPrompt instead of nsIPromptService for insecure form submission r=mrbkap
Otherwise it doesn't work on B2G.
2015-06-03 13:47:56 -07:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm cc58068318 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Ms2ger b7bc0d5b7c Bug 1171509 - Stop using for each in test_checked.html; r=janv
--HG--
extra : commitid : GyDiaQDb3Qx
2015-06-05 11:23:08 +02:00
Carsten "Tomcat" Book 3d9b9475f3 Backed out changeset 32aea59e702f (bug 659285) for bustage on a CLOSED TREE 2015-06-05 10:47:09 +02:00
Randall Barker 046a61300c Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. r=cpearce
--HG--
extra : rebase_source : 8c94ff20100c2b2587aed2c5a88c2f91e55cee82
2015-05-26 10:32:00 +02:00
Karl Tomlinson d195016f96 bug 1116382 no need to check IsMediaSourceURI(mLoadingSrc) once mMediaSource has been set r=bholley
--HG--
extra : rebase_source : 77a538826ebbb6b3fe3a130820869c54b13e8bd9
2015-05-28 14:49:23 +12:00
Karl Tomlinson e35b92c4c7 bug 1116382 use MediaSource from resolution of MediaSource urls when set r=bholley
--HG--
extra : rebase_source : 024fbcf2a4236761f3a80f284957f8500fc9d24c
2015-05-28 14:38:34 +12:00
Karl Tomlinson ae604e7f87 bug 1116382 always ShutdownDecoder() so that MediaSourceDecoder alone can manage MediaSource::Detach() r=bholley
--HG--
extra : rebase_source : 8176399d4a17f3018c686bfc55daa27a0aff8dda
2015-05-28 14:23:27 +12:00
Karl Tomlinson 15b0a07fc3 bug 1116382 resolve MediaSource urls on media element src attributes when set r=bholley
--HG--
extra : rebase_source : 3c26e47dd554edc7db03b37b6a3c572e9bf54260
2015-05-26 22:36:04 +12:00
Karl Tomlinson c4f7974c43 bug 1116382 resolve MediaSource urls on Source element src attributes when set r=bholley
--HG--
extra : rebase_source : 2b3a338cbe444461267af04d2907bbc3a042cc0b
2015-05-26 23:01:14 +12:00
Karl Tomlinson 75c800d128 bug 1116382 accept abstract strings in NewURIFromString() r=bholley
--HG--
extra : rebase_source : d859eb7a484b4d558c7d6c9017d350fee77a5c58
2015-05-22 17:12:13 +12:00
Karl Tomlinson c4cb17e0b1 bug 1116382 reuse some UTF8toUTF16 code r=bholley
--HG--
extra : rebase_source : 7d8ee725dcfb1b40ee6d975c0746a8bdff1b5683
2015-05-26 17:41:43 +12:00
Edwin Flores d0bfa9bf80 Bug 1160445 - Add detailed logging for EME promise failures - r=cpearce,bholley 2015-06-03 13:42:50 +12:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm 28978ade8c Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm 0a502beb23 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Jorg K 1f63317347 Bug 1169996 - Don't lose eEditorMailMask; r=ehsan 2015-06-01 17:42:49 +02:00
Tooru Fujisawa c3a2c2708e Bug 1167816 - Do not treat anchor element without href attribute an interactive content. r=smaug 2015-05-29 18:23:08 +09:00
Birunthan Mohanathas 180b572edb Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Michael Layzell 58f7625db1 Bug 1012662 - Part 1 - Allow document.execCommand('copy'/'cut') in user-generated event handlers. r=ehsan
--HG--
extra : rebase_source : fc3525f8a9494cc1f9b01abb00f4d042e8062160
2015-05-25 13:43:00 +02:00
JW Wang c387e1df1f Bug 1163467. Part 3 - move AddOutputStream code below MediaDecoder::Load(). r=roc. 2015-05-28 14:16:29 +08:00
Geoff Brown 9eea703b0c Bug 885140 - Request longer timeout for test_iframe_sandbox_navigation.html; r=bobowen 2015-05-26 11:33:27 -06:00
Geoff Brown 0e44a1c940 Bug 919246 - Request longer timeout for test_iframe_sandbox_navigation2.html; r=bobowen 2015-05-26 11:33:25 -06:00
Carsten "Tomcat" Book 8320d21555 Backed out changeset 265d0878ecd4 (bug 1012662) for B2G ICS Emulator debug m16 test failures 2015-05-26 13:41:37 +02:00
Carsten "Tomcat" Book a71e0153ee Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell c0bb6f08c3 Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-05-14 06:46:00 +02:00
Michael Layzell 10795f0f96 Bug 1012662 - Allow document.execCommand('copy'/'cut') in user-generated event handlers. r=ehsan
--HG--
extra : rebase_source : 1206efa7c7e26036423c68334c8122afa9d7814c
2015-05-25 13:43:00 +02:00
Michael Layzell c13b8f3ee6 Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan 2015-05-25 10:09:00 +02:00
Andrea Marchesini 3f67e0bfd8 Bug 1167423 - patch 8 - Handle return values of FallibleTArray functions in HTMLInputElement, r=smaug 2015-05-25 12:50:15 +01:00
Ehsan Akhgari 4ed74e49ed Bug 1166932 - Part 2: Make sure that nsTextInputListener doesn't try to perform edit actions if it has been disconnected from the editor object; r=roc 2015-05-23 09:59:50 -04:00
David Major db2b1e973b Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst
--HG--
extra : rebase_source : 880d1f717ad3d6789ffe3c422cc35fdf3965f55c
2015-05-22 14:16:20 -04:00
Patrick McManus 57ade7a8a4 bug 1150136 - rel=preconnect from html parser r=hsivonen 2015-05-05 20:55:18 -04:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Michael Layzell c748c62a51 Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan 2015-05-21 06:37:00 -04:00
Xidorn Quan 4857b902c1 Bug 1053413 part 0 - Fix of some fullscreen tests. r=smaug
--HG--
extra : source : b9d2a4e1d0fc2ff1d5aa760c5f00aef48f352aef
2015-05-21 09:52:26 +12:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Josh Matthews 82d2ed7c6e Bug 1163911 - Disable test_viewport_resize.html pending further investigation. CLOSED TREE 2015-05-19 13:33:54 -04:00
Terrence Cole 161a4c26ba Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Andrea Marchesini 61b9bd0496 Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01:00
Andrea Marchesini 3aa189b5ff Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Andrea Marchesini 338c67e420 Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan 2015-05-18 14:51:54 +01:00
Jean-Yves Avenard 54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Andreas Pehrson a0fcf04b67 Bug 1032848 - Part 2: Implement HTMLCanvasElement::CaptureStream. r=mt, r=jesup, r=jgilbert, r=gwright
--HG--
extra : transplant_source : o%13%2CuRJ2%21%B0%AE%5D%F0%B3%11%B30Y%5B%A3N
2015-05-13 14:04:41 +08:00
Andreas Pehrson bbda919298 Bug 1032848 - Part 1: Implement WebIDL for HTMLCanvasElement::CaptureStream. r=smaug, r=mt
--HG--
extra : transplant_source : %A5o%A1%80w%7F%F7%B9%7B%FD%C7%94Rv%F6Q%F0%FF%A4/
2015-05-13 14:04:30 +08:00
Mark Capella b470913851 Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan 2015-05-14 22:06:12 -04:00
Eric Rahm 34f99e4b4c Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Ehsan Akhgari 1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrea Marchesini f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini 368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher 5ebaa0d07a Backed out changeset 5eec0168c916 (bug 1159401) because I backed out the thing this was following up 2015-05-11 15:21:41 -07:00
Josh Matthews d8f37388bd Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Wes Kocher 983fcabeef Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Daniel Holbert 6b2f0bf79d Bug 1159401 followup: Annotate nsFSURLEncoded methods SupportsIsindexSubmission() & AddIsindex() as 'override'. rs=ehsan 2015-05-11 14:01:24 -07:00
Wes Kocher 6b003ab737 Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00