Ben Hsu
f5887552f0
Bug 1095362 - Part 4: Internal architecture changes (TelephonyService.js). r=aknow
2015-01-11 03:25:00 -05:00
Ben Hsu
5acd685c74
Bug 1095362 - Part 3: Internal interface changes (IDL). r=aknow
2015-01-08 20:57:00 -05:00
Ben Hsu
863e0221ba
Bug 1095362 - Part 2: Modify related dom implementaion (DOM). r=aknow
2015-01-09 02:52:00 -05:00
Nikhil Marathe
2b1d550dca
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
--HG--
extra : rebase_source : 3a70d53965def8fe02deec307367b9fda3458935
2015-01-07 16:24:40 -08:00
Andrew McCreight
dc802a4bdc
Bug 1091766 - Don't exit(0) when a message is dropped in the child process. r=bent
2015-01-13 12:32:34 -08:00
Andrea Marchesini
4fbc443f4e
Bug 1111971
- A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
...
CLOSED TREE
2015-01-13 14:03:56 -05:00
Ryan VanderMeulen
b606c36f31
Backed out 4 changesets (bug 1113238) for mochitest-dt failures.
...
Backed out changeset 8439a009837d (bug 1113238)
Backed out changeset 34b89a4f9dea (bug 1113238)
Backed out changeset ce0ed9dc4d6d (bug 1113238)
Backed out changeset 9dd632bab2aa (bug 1113238)
CLOSED TREE
2015-01-13 13:50:12 -05:00
Ryan VanderMeulen
e0fc18abb8
Backed out changesets 6295dbaa06de, 66e037e5ff7d, and 4a1171cc4dac (bug 567058) for being the likely cause of the spike in e10s test_pluginstream_err.html crashes.
...
CLOSED TREE
2015-01-13 13:28:36 -05:00
Ryan VanderMeulen
ea9aaf976e
Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage.
2015-01-13 13:26:52 -05:00
Nikhil Marathe
7fd4527a9a
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
--HG--
extra : rebase_source : 0b621e13dc5cdbf740fb7d380f96f1380cd5a3eb
extra : amend_source : 7ced6d36ed7212271163c6aa1baacc7d5ca39647
2015-01-07 16:24:40 -08:00
Ehsan Akhgari
56a443b1c1
Bug 1097452 - Use fallible allocation when setting the value of an <input> or <textarea> element; r=jst,froydnj
...
This patch handles most of the call sites for these allocations except
for a few where I added TODO comments with some information. Handling
those places may require reworking lots of code, so I prefer to not do
that here.
2015-01-14 17:31:41 -05:00
JW Wang
a9391d3408
Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz
2015-01-15 11:25:47 +13:00
Nikhil Marathe
fe2215618d
Bug 1119021 - Implement fetch() redirects correctly. r=bkelly
...
--HG--
extra : rebase_source : 763d1052fae35a101a6859548b9cb137066dd1c6
2015-01-07 13:47:18 -08:00
Ben Hsu
bb0646afba
Bug 1095362 - Part 1: Change the return types to promises (WebIDL). r=hsinyi
2015-01-07 02:45:00 -05:00
Dimi Lee
ad99ef915c
Bug 916428 - [NFC] APIs for ISO 14443-4 tags (IsoDep Support). r=smaug, r=yoshi
2015-01-13 14:50:24 +08:00
Carsten "Tomcat" Book
f3a2dc46bd
merge mozilla-inbound to mozilla-central a=merge
2015-01-13 14:24:21 +01:00
Makoto Kato
99d55a9966
Bug 1120747 - dom.ipc.plugins.flash.disable-protected-mode might not work when launching Flash is immediately. r=aklotz
2015-01-13 18:00:30 +09:00
Jamin Liu
df265548a3
Bug 1120774 - Include a header file for nsITelephonyCallInfo in bluetooth2/BluetoothRilListener.h. r=btian
2015-01-13 15:05:32 +08:00
Fabrice Desré
2440b76622
Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking
2015-01-10 15:00:27 -08:00
Yoshi Huang
ee2dc4143d
Backed out changeset c9a4574f58b5
2015-01-13 11:57:49 +08:00
Dimi Lee
4e40521609
Bug 916428 - [NFC] APIs for ISO 14443-4 tags (IsoDep Support). r=smaug, yoshi
2015-01-13 11:43:49 +08:00
Ryan VanderMeulen
aed51d5e54
Merge inbound to m-c. a=merge
2015-01-12 15:26:50 -05:00
Ryan VanderMeulen
786f6e25a8
Merge fx-team to m-c. a=merge
2015-01-12 15:14:56 -05:00
Ted Mielczarek
a55a2f41cb
bug 852257 fixup, add missing skip-if in manifest (CLOSED TREE)
...
--HG--
extra : amend_source : a06b60a8bd378e359d12c54babcf0ac29bb71417
2015-01-12 13:25:58 -05:00
Boris Zbarsky
586b8be017
Bug 1113827 part 2. Remove some now-unnecessary [Throws] annotations in our IDL. r=peterv
2015-01-12 11:52:25 -05:00
Boris Zbarsky
dc9744dbac
Bug 1113827 part 1. Automatically mark Web IDL [NewObject] methods that return a JS type as fallible. r=peterv
2015-01-12 11:52:21 -05:00
Boris Zbarsky
9856695998
Bug 971732. Hide the DeviceStorage interface object in cases when the corresponding navigator APIs are hidden. r=sicking
2015-01-12 11:52:20 -05:00
Ryan VanderMeulen
b4ff41d68e
Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me
2015-01-12 10:44:18 -05:00
Carsten "Tomcat" Book
4f4c25ed70
Merge mozilla-central to fx-team
2015-01-12 15:15:24 +01:00
Carsten "Tomcat" Book
830e9e7d40
merge b2g-inbound to mozilla-central a=merge
2015-01-12 14:59:45 +01:00
Christoph Kerschbaumer
54b8e4e5e4
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Eden Chuang
08f5bc29a0
Bug 1091544 - Set volume as STATE_MOUNT_FAIL while mounting the volume failed, r=dhylands.
2015-01-12 12:01:07 +08:00
Carsten "Tomcat" Book
248d09bf46
Backed out changeset df960e299bcd (bug 1108096) for m1 test failures
2015-01-12 09:02:13 +01:00
Matt Woodrow
545192354b
Bug 1119033 - Don't try to evict when we don't have any initialized decoders. r=ajones
2015-01-12 15:35:35 +13:00
Anthony Jones
4f0a2ee888
Bug 1105066 - Seek after switching reader; r=mattwoodrow
2015-01-12 15:10:15 +13:00
Matt Woodrow
8cd51d9f13
Bug 1105066 - Chain seeks in MediaSourceReader so that we seek audio to the same time as video; r=kentuckyfriedtakahe
2015-01-12 11:05:08 +13:00
Matt Woodrow
972dde5588
Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe
2015-01-12 10:57:14 +13:00
L. David Baron
e4339e4c20
Bug 1115691 patch 2 - Expose counts of frames constructed and reflowed on DOMWindowUtils. r=roc
...
This counts are intended to be useful for:
* tests
* perhaps developer tools
that need to determine whether frame construction or reflow has happened
in a particular interval.
2015-01-11 15:43:10 -08:00
Andrea Marchesini
0f50edd862
Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv
2015-01-11 21:35:24 +00:00
Andrea Marchesini
972e5e33ac
Bug 1113062 - patch 2 - ArchiveReaderZipFile non-CCed, r=smaug
2015-01-11 21:34:57 +00:00
Andrea Marchesini
3b2aab48cb
Bug 1113062 - patch 1 - PIFileImpl and FileImpl merged, r=smaug
2015-01-11 21:34:31 +00:00
Bobby Holley
5a7f8b32cf
Bug 1119456 - Work around the fact that media cache does not quite guarantee the property we want. r=roc
2015-01-11 13:24:26 -08:00
Bobby Holley
85966c53ed
Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e
2015-01-11 13:24:26 -08:00
Matt Woodrow
d3e5c76ca9
Bug 1118528 - Increase fuzz threshold for mp4. r=ajones
2015-01-12 09:48:23 +13:00
Matt Woodrow
fb0f72ffdb
Bug 1118528 - Use fuzzy comparisons in MediaSourceReader::HaveData. r=cajbir
2015-01-12 09:47:56 +13:00
Matt Woodrow
fe5df5dec4
Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce
2015-01-12 09:43:11 +13:00
Matt Woodrow
e7a4379e53
Bug 1116626 - Null check mDecoder in AutoNotifyDecoded since it might have been shutdown already. r=karlt
2015-01-12 09:41:50 +13:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Robert Longson
5f570eddfa
Bug 1117514 - lines with zero length dashes are not rendered. r=jwatt
2015-01-10 22:17:57 +00:00
Jim Chen
95447e5837
Bug 1103036 - Don't send shutdown message to Nuwa processes; r=billm
2015-01-10 13:46:46 -05:00
Jim Chen
360963ab4a
Bug 1103036 - Use kill timer when shutting down ContentParent in shutdown observer; r=billm
2015-01-10 13:45:58 -05:00
Jim Chen
05e4bbe50d
Bug 1103036 - Wait for ContentChild shutdown during profile-before-change; r=billm
2015-01-10 13:42:10 -05:00
Benjamin Smedberg
b3c2777fc5
Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
...
--HG--
extra : rebase_source : f13d62f2cdbd5e90bf759222449ee0f73ebc7110
2015-01-08 12:23:27 -05:00
Snigdha Agarwal
eb67e9d016
Bug 852257 - implement Gamepad.timestamp property; r=ted, r=smaug
...
--HG--
extra : rebase_source : 39bb03690dd1b455c73604eca3eb0f2811449a54
extra : amend_source : 34220433ef534585057c0a7f0fca370b8cb0bc86
2015-01-07 14:17:04 -05:00
Kaustabh Datta Choudhury
dc2b11edc2
Bug 1116778
- test_app_permissions.html yields 404, I suspect the test isn't doing what we expect it to. r=jmaher
2015-01-12 09:31:38 -05:00
Kaustabh Datta Choudhury
c8671d7f27
Bug 1116776 - test_bug990812.xul leaves a window open during the test run. r=jmaher
2015-01-12 09:31:36 -05:00
Carsten "Tomcat" Book
56977f0315
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2015-01-12 15:09:33 +01:00
Carsten "Tomcat" Book
b8dd41d84c
Backed out 12 changesets (bug 1096328) for M11 and M5 Test failures on a CLOSED TREE
...
Backed out changeset 12dd1ad43923 (bug 1096328)
Backed out changeset 4a067de94f22 (bug 1096328)
Backed out changeset 676112a4f092 (bug 1096328)
Backed out changeset e2e64e751ece (bug 1096328)
Backed out changeset 9ed945e9a8a5 (bug 1096328)
Backed out changeset 47be69b84be5 (bug 1096328)
Backed out changeset d6e68ba4846d (bug 1096328)
Backed out changeset 899d8cd8c4e8 (bug 1096328)
Backed out changeset 55c831086864 (bug 1096328)
Backed out changeset 6005fd357342 (bug 1096328)
Backed out changeset 0f330a5dd346 (bug 1096328)
Backed out changeset c37e10cff765 (bug 1096328)
2015-01-12 14:48:15 +01:00
Olli Pettay
6420704d50
Bug 1108721, HTMLMediaElement.textTracks needs to be nullable in Gecko for now, r=peterv
...
--HG--
extra : rebase_source : 8c4b0b13e50a200907f1b4ba923fee4165318ca9
2015-01-12 13:07:38 +02:00
Bill McCloskey
92aaff8d7f
Bug 1103036 - Use nsITimer for ContentParent shutdown timer (r=bent)
2015-01-06 21:42:23 -08:00
Bill McCloskey
331965edcd
Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent)
2015-01-06 21:42:00 -08:00
Bill McCloskey
e447f7ea13
Bug 1103036 - Follow-up to initial patch; r=jchen
2015-01-10 13:39:33 -05:00
Jim Chen
bd1fc5f714
Bug 1103036 - Allow ContentChild to perform tasks during shutdown; r=billm
2015-01-10 13:18:59 -05:00
Jim Chen
3817965035
bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki
2015-01-10 12:41:57 -05:00
Jim Chen
93af861dec
Bug 1112212 - Add may-have flags for key event and input event listeners; r=smaug
2015-01-10 12:41:57 -05:00
Olli Pettay
05d8cc1271
Bug 1119652, create mozilla::dom::Event::As*Event automatically for all the codegen'ed Events and annotate As*Event with MOZ_OVERRIDE in the codegen, r=bz
...
--HG--
extra : rebase_source : 8dc5e2f29d4ae7702e4f41c01e971016c357c85a
2015-01-10 13:46:41 +02:00
Bobby Holley
b173f356fb
Bug 1120023 - Switch SourceBufferResource::Read{,At} back to blocking. r=cpearce
...
This only affects WebM MSE, which, as it turns out, doesn't deal well with
non-blocking read (MP4Reader now only operates on cached reads). We should
fix up WebM at some point, but I'm reverting the behavior change for now
because it's pretty much just a distraction.
2015-01-10 02:05:28 -08:00
Bobby Holley
844591ad77
Bug 1120023 - Fix some bugs in MockMediaResource. r=cpearce
...
If we don't do this, the subsequent changes to DataSourceAdapter will cause
gtest failures in TestMP4Demuxer.
2015-01-10 02:05:28 -08:00
Bobby Holley
1667adda48
Bug 1120023 - Clean up semantics of SourceBufferResource reading. r=cpearce
...
This patch refactors things and makes two function changes:
(1) ReadFromCache does not block and properly fails if the data is unavailable.
(2) Read and ReadAt block if an out-param is _not_ provided, rather than the
reverse. Both karlt and I think this is the appropriate thing to do.
2015-01-10 02:05:28 -08:00
Wes Kocher
43fd1c9428
Backout ca411b1cf001 (bug 1109945) for shader editor failures
2015-01-09 21:03:54 -08:00
Wes Kocher
09febf6c77
Merge m-c to inbound a=merge
2015-01-09 21:00:13 -08:00
Dave Hylands
341a4396af
Bug 1119907 - Cleanup some errors when USE_DEBUG is enabled in the AutoMounter.
2015-01-09 15:29:15 -08:00
Chris Peterson
9e23388ca8
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Wes Kocher
94c8f2fb4f
Backed out changeset 88cf7f2fe48f for build bustage
2015-01-09 19:15:54 -08:00
Jeff Gilbert
dc1d886801
Bug 1093967 - Implement BlitFramebuffer. r=kamidphish
2015-01-09 18:51:20 -08:00
Jeff Gilbert
c0dd0d5346
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-09 18:40:56 -08:00
Bobby Holley
8d967098a2
Bug 1120017 - Make the DispatchDecodeTasksIfNeeded path handle DECODER_STATE_DECODING_FIRSTFRAME. r=cpearce
...
Once we make MP4Reader reject with WAITING_FOR_DATA, we end up with the following scenario:
DecodeFirstFrame requests audio data, and then it gets rejected with WAITING_FOR_DATA.
So OnAudioNotDecided does WaitForData, which eventually causes us to be called back in
MediaDecoderStateMachine::WaitForDataResolved. That does DispatchDecodeTasksIfNeeded, which
currently bails out of our state is DECODER_STATE_DECODING_FIRSTFRAME.
The other way to do this would be to add a separate specialized path through all this
asynchronicity for DECODER_STATE_DECODING_FIRSTFRAME. But it's not clear to me what that
buys us.
2015-01-09 17:20:58 -08:00
Bobby Holley
fb7b849eb3
Bug 1120014 - Initialize MediaSourceReader::mLast{Audio,Video}Time to 0 rather than -1. r=rillian
...
There isn't actually any initialization code that sets them at 0. Instead, we
currently rely on the fact that our first decoder ends up active regardless of
what its buffered range reports. So as long as invoking the first Request{Audio,Video}Data
is resolved, this ends up ok. But while that is usually the case, it isn't _always_
the case, especially in the case where the MP4Reader rejects with WAITING_FOR_DATA.
2015-01-09 17:20:58 -08:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Kai-Zhen Li
7f64fcee3a
Bug 1119691 - "Build bustage in dom/media/mediasource/MediaSource.cpp" [r+f=bzbarsky]
2015-01-08 23:37:00 -08:00
James Willcox
352dabf6d6
bug 1118552 - fix gcc4.9 warnings on Android r=glandium
2015-01-06 22:20:46 -05:00
Nikhil Marathe
3dec526aa5
Bug 1119021 - CORS credentials tests. r=bkelly
...
Allow request to continue when useCredentials is set.
--HG--
extra : rebase_source : c39f6a4ebbf779e91f2bf380e4410fe1cf25daa1
2015-01-05 15:43:54 -08:00
Nikhil Marathe
dbe1b78cc2
Bug 1119021 - CORS support. r=baku,bkelly
...
Use nsCrossSiteListenerProxy.h helpers to implement CORS support.
Several CORS fixes and lots of CORS tests.
Fixes:
Use empty string stream if response has no stream.
Parse Access-Control-Expose-Headers correctly.
Copy over remaining InternalRequest constructor attributes and set unsafe request flag.
Call FailWithNetworkError() in more cases.
Add non-simple Request headers to unsafeHeaders list for CORS check.
Do not AsyncOpen channel directly when CORS preflight is required.
Fix check for simple request method (was checking the opposite condition).
--HG--
extra : rebase_source : 4b08f6a5959e470394c88249b39464b3b7d20948
2015-01-07 15:50:54 -08:00
Nikhil Marathe
f64d3931ba
Bug 1112073 - Linux non-unified build bustage fix. a=bustage
2015-01-14 14:01:02 -08:00
Gijs Kruitbosch
69488b712d
Bug 1079355 - indexedDB pref should only apply for content pages, not chrome ones, r=bent
2015-01-05 23:08:12 +00:00
William Chen
35698aefb1
Bug 1118764 - Don't distribute anonymous root content in shadow DOM. r=bz
2015-01-08 13:49:51 -08:00
Wes Kocher
f00cdbf88e
Backout 115690326c5e for mochitest-2 orange on a CLOSED TREE
2015-01-09 14:28:27 -08:00
Wes Kocher
385a85a0fc
Backout 0c40a9e043ce (bug 1119302) for test_streamnotify.html bustage
2015-01-09 14:02:16 -08:00
Nikhil Marathe
83f2d35bc2
Bug 1112073 - Implement Response.redirect. r=baku,bkelly
...
--HG--
extra : rebase_source : b84a118d61103227e3e021d0efe344f709115fc9
2014-12-26 09:44:09 -08:00
Ben Turner
0946d89002
Bug 1121129 - Guard against multiple threads dispatching to a worker thread at the same time, r=khuey.
2015-01-14 13:50:03 -08:00
Ryan VanderMeulen
67013c18b6
Merge m-c to inbound. a=merge
2015-01-14 16:32:58 -05:00
JW Wang
1bb19d6931
Bug 1115505 - keep decoding to ensure the stream is initialized in the decode-to-stream case. r=roc
2014-12-25 01:26:00 +01:00
Peter Van der Beken
695a5c75e0
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
...
--HG--
extra : rebase_source : 976adeed1f271906628adcf10e3f5ea02487ab5b
2015-01-08 22:56:42 +01:00
Nikhil Marathe
44ee86f815
Bug 1115214 - Fetch API: Always consume body asynchronously. r=baku
...
--HG--
extra : rebase_source : a6957286f500278ab5a55770b453a21244e9befa
extra : amend_source : aaaff1a0af422a046b4b3a116593a911cbcacef9
2014-12-23 21:47:17 -08:00
Ehsan Akhgari
28346b9dfe
Bug 1113238 follow-up: Fix a non-unified build bustage on a CLOSED TREE
2015-01-13 12:19:19 -05:00
Ehsan Akhgari
0a9dccad20
Bug 1113238 - Part 3: Flush the styles before determining whether an element is preformatted; r=bzbarsky
...
This ensures that calls to nsComputedDOMStyle::GetStyleContextForElementNoFlush()
in the part 1 of this series give us the correct results.
2015-01-13 12:04:46 -05:00
Ehsan Akhgari
52df8e7eb0
Bug 1113238 - Part 2: Only maintain the pre level status which can be potentially expensive if we may end up using it; r=bzbarsky
...
This patch ensures that we check ShouldMaintainPreLevel() before attempting
to modify or read mPreLevel in order to avoid wasting time to compute
mPreLevel for elements without frames needlessly. Computing this value for
such elements can incur expensive style calculations.
2015-01-13 12:03:55 -05:00
Ehsan Akhgari
6cf0cc9a3e
Bug 1113238 - Part 1: Make our plaintext and HTML serializers aware of CSS preformatted styles; r=bzbarsky
...
This code is super-hairy, but I think this is the minimum amount of changes
that we need.
nsPlainTextSerializer::IsInPre() before this patch is completely broken, and
I changed it to maintain a stack of bools representing whether the elements
that we saw as we were traversing the tree are preformatted or not.
nsXHTMLContentSerializer maintains this information using a counter, which is
broken in case pre and non-preformatted elements are stacked underneath each
other, but I'm not sure why this code is using a counter and I didn't want to
change it drastically, so for now I'm just making it look at the element's
style first as opposed to its tag name.
Follow-up work may include exploring whether nsXHTMLContentSerializer should
use a stack similar to nsPlainTextSerializer, and also audit this code for
more places where things are hardcoded based on tag names where we should be
really looking at the style.
2015-01-13 12:03:53 -05:00
Kyle Huey
a60619b6d8
Bug 1119360: Allow AddFeature calls to succeed until we enter the Killing stage. r=bent
2015-01-09 13:29:05 -08:00
Nikhil Marathe
992f9b1a98
Bug 1109574 - Check for null body before setting bodyUsed in Request constructor. r=bkelly
...
--HG--
extra : transplant_source : %07%B8%B0%D1%ED%D4%C6N%09%09%86%04g%BD%ECs%B2%C6%09%18
2014-12-23 02:25:17 -08:00