Commit Graph

38343 Commits

Author SHA1 Message Date
Nikhil Marathe
ebd08ed96e Bug 1194562 - Pass wide strings to ThrowTypeError. r=mccr8 2015-08-18 12:59:44 -07:00
Nikhil Marathe
7e8f8a2320 Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data
2015-08-21 17:38:18 -07:00
Nikhil Marathe
31c44b01f4 Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.

Update web-platform-tests expected data
2015-08-24 14:42:14 -07:00
Mike Hommey
daa695d2f2 Bug 1189967 - Be slightly more explicit about some conversions to std::wstring. r=nfroyd 2015-08-23 22:20:19 +09:00
Cameron McCormack
0f393f27f7 Typo fix in comment generated by gen-usercounters.py; no bug, no review.
DONTBUILD
2015-08-23 16:42:07 +10:00
Chris Lord
18d112b4b6 Bug 1181555 - Add 'experimental-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Sebastian Hengst
edfba8b700 Backed out changeset e9d838084096 (bug 1181555) for Linux x64 opt and B2G Desktop Linux x64 opt Hazard analysis fail. r=backout 2015-08-22 21:53:48 +02:00
Chris Lord
013a3c6c8f Bug 1181555 - Add 'moz-extremely-unstable-and-will-change-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Masayuki Nakano
c621fb4df5 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
4f7f1574f0 Bug 930843 part.1 Add test for checking isTrust attribute value of DOMActivate event r=smaug 2015-08-22 13:02:39 +09:00
Christoph Kerschbaumer
5cc836a140 Bug 1196057 - Use channel->Open2() in dom/base/nsFrameMessageManager.cpp (r=sicking) 2015-08-21 20:33:23 -07:00
Birunthan Mohanathas
12036841a0 Bug 1105827 - Add test for invalid query. r=me 2015-08-21 19:53:29 -07:00
Nikhil Marathe
d5e143c8dd Bug 1193128 - Fix base64 decoding when fetching data URIs. r=baku 2015-08-13 13:08:43 -07:00
Karl Tomlinson
eef432eb65 bug 1197043 use flags to distinguish between external streams and events r=padenot
MediaStreamAudioDestinationNode does not need any main thread events because
mDOMStream provides GetCurrentTime to consumers.

MediaRecoder also does not use main thread current time.
2015-08-13 16:13:34 +12:00
Boris Chiou
af7472fafd Bug 952456 - Part 3: Enable test_copyimage.html on gonk/cocoa. r=fabrice
Enable dom/base/test/test_copyimage.html on b2g emulators and macos
2015-08-13 00:06:00 -04:00
Boris Chiou
90b5b8e944 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
Sebastian Hengst
15700f72e4 Backed out 3 changesets (131251625ee8 for bug 1180556, 5bdcc058e6d6 for bug 1180555, f7e0cd74c082 for bug 1180554) for B"G ICS Emulator opt M8 and debug M19 failures. r=backout
Backed out changeset 131251625ee8 (bug 1180556)
Backed out changeset 5bdcc058e6d6 (bug 1180555)
Backed out changeset f7e0cd74c082 (bug 1180554)
2015-08-21 11:19:41 +02:00
Jocelyn Liu
4b67be84c1 Bug 1181480 - Add and implement GATT server connection related Web APIs. r=btian, r=mrbkap 2015-08-21 17:11:14 +08:00
Karl Tomlinson
e1a0259288 bug 1197043 move AudioNodeStream creation to stream class r=padenot 2015-08-12 11:26:24 +12:00
Karl Tomlinson
929cc89e5c bug 1197043 introduce MediaStreamGraph::AddStream() r=padenot 2015-08-12 11:46:56 +12:00
Karl Tomlinson
6cd5ece601 bug 1197043 rename Add/RemoveStream to Add/RemoveStreamGraphThread r=padenot 2015-08-12 11:29:35 +12:00
Karl Tomlinson
e4c3b24c5c bug 1197043 remove unnecessary aSampleRate parameter for AudioNodeStream creation r=padenot 2015-08-12 11:04:13 +12:00
Karl Tomlinson
90e01e321b bug 1198100 remove mNotificationMainThreadRunnable r=baku
If AddMainThreadListener() were called multiple times after
mFinishedNotificationSent is set then we'd get some extra NotifyRunnables but
NotifyMainThreadListeners() clears mMainThreadListeners anyway so we still get
only one notification per listener.

mNotificationMainThreadRunnable is an unnecessary optimization, so better not
to add storage to every MediaStream.
2015-08-24 11:54:24 +12:00
Benjamin Chen
ef567f9a1f Bug 762774 - Increase the timeout and reduce the testcase loop times. r=jwwang 2015-08-20 18:05:28 +08:00
JW Wang
f47a4c441b Bug 1196112 - Part 2: Remove DecodedStream::mMonitor. r=roc 2015-08-24 21:05:32 +08:00
JW Wang
1c35dd00db Bug 1196112 - Part 1: Ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc 2015-08-24 21:05:22 +08:00
Victor Porof
334b8c8024 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Lee Salzman
96c49832f2 Bug 1190705 - Add crashtest for canvas 2d. r=Bas 2015-08-05 21:17:14 -04:00
Lee Salzman
6237df1a12 Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel 2015-08-05 18:48:25 -04:00
Jose Antonio Olivera Ortega
dc8799ee26 Bug 1182103 - Test EventSource scenarios with fetch interception. r=bkelly 2015-08-24 06:32:00 -04:00
Nikhil Marathe
34e039a751 Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data
2015-08-21 17:38:18 -07:00
Nikhil Marathe
6b5a7a37f1 Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.

Update web-platform-tests expected data
2015-08-21 16:13:54 -07:00
Nikhil Marathe
18a93c20d5 Bug 1193128 - Fix base64 decoding when fetching data URIs. r=baku 2015-08-13 13:08:43 -07:00
Tim Chien
758988db97 Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Birunthan Mohanathas
e1e7f1d119 Bug 1105827 - Part 11: Use nsRefPtr to store PermissionStatus. r=baku 2015-07-31 14:56:59 -07:00
Birunthan Mohanathas
c05106a48e Bug 1105827 - Part 10: Fire change event for PermissionStatus objects. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
834ef2be26 Bug 1105827 - Part 9: Add PermissionObserver to watch for perm-changed notifications. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
b5dbe560e8 Bug 1105827 - Part 8: Move permission checking into PermissionStatus. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
c1fe2fd70c Bug 1105827 - Part 7: Add helpers to convert between PermissionName and permission type. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
29c548466f Bug 1105827 - Part 6: Add PermissionUtils.h for helper functions. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
c3a5504f48 Bug 1168606 - Part 5: Send two records with every ObjectStoreCursorResponse. r=khuey 2015-08-19 14:59:29 -07:00
Birunthan Mohanathas
0e01e06dec Bug 1168606 - Part 4: Allow current key to be provided with PBackgroundIDBCursor::Continue. r=khuey
The key is assumed to be unset for now.
2015-08-19 14:59:28 -07:00
Birunthan Mohanathas
ba3cc38ba2 Bug 1168606 - Part 3: Allow multiple ObjectStoreCursorResponses in a CursorResponse. r=khuey
For now, we assume that the array only ever contains a single response.
2015-08-19 14:59:25 -07:00
Masayuki Nakano
d56a7cc348 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Ehsan Akhgari
f05685cb25 Bug 1197185 - Give NonE10s a virtual destructor; r=jesup
The Parent template class inherits from both NonE10s and PMediaParent,
and the latter has a virtual destructor.  This confuses clang-tidy when
it wants to rewrite ~Parent() which is currently marked as virtual, and
it makes ~Parent() override which breaks the build since ~NonE10s() is
not virtual.  The easiest way to work around this seems to be making
~NonE10s() virtual.  See the discussion in
https://llvm.org/bugs/show_bug.cgi?id=24496 as well.
2015-08-21 17:53:35 -04:00
Ehsan Akhgari
2b5d89ef91 Bug 1185351 - Don't force inline style CSP checks on native anonymous content; r=ckerschb 2015-08-21 17:53:34 -04:00
William Chen
646f86353a Bug 1196290 - Do not update orientation lock when app docshell is activated. r=smaug 2015-08-20 17:25:05 -07:00
Olli Pettay
16c882549c Backout Bug 1166347 (pointer events on nightlies) because of crashes (see Bug 1181564), r=khuey 2015-08-21 20:35:02 +03:00
Wes Kocher
e025ad6409 Merge m-c to inbound, a=merge 2015-08-21 10:06:54 -07:00
dimi
969a382e75 Bug 1189235 - Use originAttribute for ServiceWorkerRegistrar. r=baku 2015-08-20 18:20:19 +08:00
Masayuki Nakano
b314feed3e Bug 1189396 part.6 IMEContentObserver shouldn't notify IME of selection change when the range isn't actually changed r=smaug 2015-08-22 01:43:42 +09:00
Masayuki Nakano
05d5214952 Bug 1189396 part.5 IMEContentObserver should cache selection at gets focus and every selection change r=smaug 2015-08-22 01:43:42 +09:00
Masayuki Nakano
d6611e2a88 Bug 1189396 part.4 IMEContentObserver should cache the selection data at notifying IME of selection change r=smaug 2015-08-22 01:43:41 +09:00
Ehsan Akhgari
89da96e555 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
Tim Chien
382b19be7c Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Tim Chien
1ca39a995a Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug 2015-08-05 01:58:00 -04:00
Masayuki Nakano
6f6a3039f5 Bug 1137557 - Part 0: TextEventDispatcher shouldn't forward keyboard events coming from TextInputProcessor to the parent process. r=smaug 2015-08-04 05:52:00 -04:00
Ryan VanderMeulen
2045a55ac0 Backed out changeset 8d5db16d7f39 (bug 1196834) for e10s browser_bug1163570.js failures.
CLOSED TREE
2015-08-24 15:42:15 -04:00
Jim Mathies
43243e3549 Bug 1196834 - Add a test that confirms plugin windows are hidden after switching from a remote to local tab. r=roc 2015-08-24 10:56:05 -05:00
Kartikaya Gupta
e9f00a8721 Bug 1180267 - Ensure that the desktop-mode viewport for Fennec is based on a 980 CSS pixel width rather than the screen size. r=snorp 2015-08-24 13:45:45 -04:00
Ryan VanderMeulen
2e712f948d Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)

CLOSED TREE
2015-08-24 13:27:01 -04:00
Jean-Yves Avenard
8c3fa84bb5 Bug 1197664: Report the total number of decoded frames. CLOSED TREE r=kentuckyfriedtakahe 2015-08-24 23:46:35 +10:00
Jean-Yves Avenard
ad331ffb64 Bug 1195073: [MSE] P7. Determine a WebM Media Segment end as early as available information permits. r=kinetik
Most cluster contains information about their size. When known, we don't need to wait until the next media segment is received to determine its size.
2015-08-24 23:13:50 +10:00
Jean-Yves Avenard
efa9eb4a99 Bug 1195073: [webm] P6. Calculate cluster's end offset if its size is known in advance. r=kinetik.
This allows to detect the end of a webm media segment without having to wait for the start of a new one.
Also record where an init segment (EBML) starts as this will be required by the WebM ContainerParser.
2015-08-24 23:13:49 +10:00
Jean-Yves Avenard
948ffb0e02 Bug 1195073: [MSE] P5. Detect out of order appends and recreate demuxer. r=gerald
The webm demuxer will only handle data where frames's a monotonically increasing.
2015-08-24 23:13:49 +10:00
Jean-Yves Avenard
aabee8c31a Bug 1195073: [MSE/webm] P4. Limit nestegg reads to the last block's boundaries. r=kinetik
This prevent entering into an unrecoverable error state when parsing incomplete data as often seen with MSE.
2015-08-24 23:13:48 +10:00
Jean-Yves Avenard
f5a3b94e33 Bug 1195073: [webm] P3. Initialize members. r=kinetik 2015-08-24 23:13:48 +10:00
Jean-Yves Avenard
7414edb779 Bug 1195073: [webm] P2. Add WebMBufferedState::GetLastBlockOffset method. r=kinetik
MSE may input partial media segment, which could cause the WebMDemuxer and libnestegg to error upon encountering an incomplete block which can't be recovered from.
this will allow to limit read to known complete blocks.
2015-08-24 23:13:47 +10:00
Jean-Yves Avenard
c225b5af8d Bug 1195073: [MSE/webm] P1. Detect individual webm clusters. r=kinetik
WebMContainerParser was incorrectly reporting webm blocks rather than clusters, causing the webm demuxer to later fail to parse the remaining data.
2015-08-24 23:13:47 +10:00
JW Wang
e9b8009bb0 Bug 1196112. Part 2 - Remove DecodedStream::mMonitor. r=roc. 2015-08-24 21:05:32 +08:00
JW Wang
b97c645e7d Bug 1196112. Part 1 - ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc. 2015-08-24 21:05:22 +08:00
Tim Chien
5cd398bf20 Bug 1197672 - s/_sendPromise/createPromiseWithId/ in mozInputMethod.addInput(). r=kchen 2015-08-23 21:28:00 -04:00
Tim Chien
c6708a3e1b Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien
212967564f Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Tim Chien
e2d5baf64c Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug 2015-08-05 01:58:00 -04:00
Masayuki Nakano
92ec899b18 Bug 1137557 - Part 0: TextEventDispatcher shouldn't forward keyboard events coming from TextInputProcessor to the parent process. r=smaug 2015-08-04 05:52:00 -04:00
JW Wang
c3779d12d4 Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. 2015-08-24 10:38:42 +08:00
JW Wang
d1c97f787d Bug 1194112. Part 5 - remove dead code. r=kinetik. 2015-08-24 10:38:37 +08:00
JW Wang
060b233cbe Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik. 2015-08-24 10:38:33 +08:00
JW Wang
08411d1da9 Bug 1194112. Part 3 - use perfect forwarding in MediaEventProducer::Notify() so MediaEventSource can decide whether to copy or move according to its ListenerMode. r=kinetik. 2015-08-24 10:38:28 +08:00
JW Wang
9b91ec3bcf Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik. 2015-08-24 10:38:24 +08:00
JW Wang
74abae5d0a Bug 1194112. Part 1 - extract event dispatch code from ListenerImpl to its own class. r=kinetik. 2015-08-24 10:38:16 +08:00
JW Wang
8c50add939 Bug 1195632. Part 2 - Have DecodedStream listen to push events of the media queues and call SendData() on its own without the help of MDSM. r=roc. 2015-08-24 10:04:21 +08:00
JW Wang
b42dce46e8 Bug 1195632. Part 1 - Let DecodedStream have a worker thread and asset some funtions on the worker thread. r=roc. 2015-08-24 09:55:30 +08:00
Yoshi Huang
053573a7c0 Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Yoshi Huang
25acbe867f Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
dimi
73a6d400df Bug 1187766 - Test loading plugins scenarios with fetch interception. r=bkelly 2015-08-21 15:09:46 +08:00
Ryan VanderMeulen
21b813298e Merge m-c to inbound. a=merge 2015-08-25 10:45:59 -04:00
Wei-Cheng Pan
e4e4541496 Bug 1050749 - Expose BatteryManager via getBattery() returning a Promise. r=bz, r=baku, r=jgraham 2015-08-21 18:29:25 +08:00
Roman Reiss
553d094e2c Bug 875573 - Add video/x-m4v mime type. r=kentuckyfriedtakahe 2015-08-21 20:52:19 +02:00
Fernando Jimenez
a790033caf Bug 1162281 - Invalid system message handler in an App Manifest can break the entire system. r=fabrice 2015-07-02 11:00:23 +02:00
Kan-Ru Chen
7417616745 Bug 1197689 - Avoid unnecessary sync IPC in AudioChannelManager ctor. r=baku 2015-08-25 11:23:41 +08:00
Ted Clancy
433cf3b718 Bug 1172609 - Part 6: Add nsJSUtils::ResetTimeZone() function. r=ehsan 2015-06-15 00:44:09 -07:00
Alfredo Yang
aa1341c858 Bug 1197151 - Correct TaskQueue asertion. r=jya 2015-08-23 19:36:00 -04:00
Jamin Liu
e1662c77d5 Bug 1180556 - Pack PBAP replies to OBEX response message and reply to remote device. r=btian 2015-08-21 09:52:04 +08:00
Jamin Liu
cdf8d7b17d Bug 1180555 - Handle PBAP replies and pass the results through IPC to PbapManager. r=btian 2015-08-21 09:51:50 +08:00
Jamin Liu
21d468cf8e Bug 1180554 - Dispatch events to PBAP event handlers when the PBAP requests comes. r=btian, r=mrbkap 2015-08-21 09:51:41 +08:00
Wes Kocher
d9b555b397 Merge m-c to b2ginbound, a=merge 2015-08-20 12:52:18 -07:00
Wes Kocher
8a06308208 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Wes Kocher
fa8b1c2c1b Merge fx-team to central, a=merge 2015-08-20 12:28:10 -07:00