Commit Graph

29506 Commits

Author SHA1 Message Date
Ryan VanderMeulen
6a478380c4 Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage. 2015-01-13 13:26:52 -05:00
Nikhil Marathe
b64f2f9031 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
Nikhil Marathe
fe3cd21f51 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
3d42c13c85 Bug 1113238 follow-up: Fix a non-unified build bustage on a CLOSED TREE 2015-01-13 12:19:19 -05:00
Ehsan Akhgari
63bf65d430 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
1e702f0544 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
4975900e1d 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
Nikhil Marathe
7b7c33434e 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
Nikhil Marathe
e58e6605b9 Bug 1039846 - Patch 8: A few response body tests. r=bkelly
--HG--
extra : rebase_source : 73069e29337402f00c4d1742b670f0d35d42f3b8
2014-12-15 23:04:10 -08:00
Nikhil Marathe
d88565fb07 Bug 1039846 - Patch 7: Create channel with a loadgroup. r=baku,bkelly
--HG--
extra : rebase_source : 2d2eb74428a28dac2cda779cc48dae1ed1367f26
2015-01-08 08:55:05 -08:00
Nikhil Marathe
6a92a4e39d Bug 1039846 - Patch 6: Basic test runner. r=bkelly
--HG--
extra : rebase_source : 316ea1a11d26f1cfaa7a3eabc4b415062fc5fc5d
2015-01-02 14:38:28 -08:00
Nikhil Marathe
34908745f3 Bug 1039846 - Patch 5.1: Set request upload stream and headers. r=baku,bkelly
--HG--
extra : rebase_source : 2ae652d0c1da9b59accfa5990361f7a62187456c
2014-12-09 22:35:22 -08:00
Nikhil Marathe
a4cda06007 Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.

Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.

--HG--
extra : rebase_source : 809c4e799835ad6fd153b673cad70109d257ab6c
2014-12-10 00:51:59 -08:00
Mats Palmgren
f564466a9a Bug 1116714 part 0 - Iterate forward instead, to avoid depending on undefined integer behavior. r=roc 2015-01-13 14:44:33 +00:00
Carsten "Tomcat" Book
48c2670453 Merge mozilla-central to mozilla-inbound 2015-01-13 15:29:02 +01:00
Carsten "Tomcat" Book
fcf963f274 merge mozilla-inbound to mozilla-central a=merge 2015-01-13 14:24:21 +01:00
Makoto Kato
ce0013bc64 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
cedf015916 Bug 1120774 - Include a header file for nsITelephonyCallInfo in bluetooth2/BluetoothRilListener.h. r=btian 2015-01-13 15:05:32 +08:00
JW Wang
6c508760e0 Bug 1120295 - test case for "Clear Recent History" command. r=cpearce. 2015-01-13 00:32:00 +01:00
Benjamin Chen
b5a31fae4b Bug 1114910: - 1. fix crash at promise. 2. Re-write code relative to promise. r=cpearce 2015-01-13 15:42:53 +08:00
Fabrice Desré
ca929c002b Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Yoshi Huang
58fcb179a1 Backed out changeset c9a4574f58b5 2015-01-13 11:57:49 +08:00
Dimi Lee
981100e0a1 Bug 916428 - [NFC] APIs for ISO 14443-4 tags (IsoDep Support). r=smaug, yoshi 2015-01-13 11:43:49 +08:00
Ryan VanderMeulen
ed14973218 Merge inbound to m-c. a=merge 2015-01-12 15:26:50 -05:00
Ryan VanderMeulen
ab168f7ddd Merge fx-team to m-c. a=merge 2015-01-12 15:14:56 -05:00
Ted Mielczarek
c1a62cc383 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
7796802601 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
d7ca74281c 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
630e887411 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
cf749cfe47 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
64250a3a9f Merge mozilla-central to fx-team 2015-01-12 15:15:24 +01:00
Carsten "Tomcat" Book
df1fe14c36 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Christoph Kerschbaumer
e7043cc6be Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Eden Chuang
2d9177ec18 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
1ebfec775a Backed out changeset df960e299bcd (bug 1108096) for m1 test failures 2015-01-12 09:02:13 +01:00
Matt Woodrow
a9b2c31920 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
8fd458cf76 Bug 1105066 - Seek after switching reader; r=mattwoodrow 2015-01-12 15:10:15 +13:00
Matt Woodrow
857aa754e8 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
72e0e7a154 Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe 2015-01-12 10:57:14 +13:00
L. David Baron
5f2e31d6c4 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
e71dbe47b6 Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv 2015-01-11 21:35:24 +00:00
Andrea Marchesini
5e039f0766 Bug 1113062 - patch 2 - ArchiveReaderZipFile non-CCed, r=smaug 2015-01-11 21:34:57 +00:00
Andrea Marchesini
c8f38c488d Bug 1113062 - patch 1 - PIFileImpl and FileImpl merged, r=smaug 2015-01-11 21:34:31 +00:00
Bobby Holley
2b995e8426 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
8e73f2d0e8 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
79666d8c52 Bug 1118528 - Increase fuzz threshold for mp4. r=ajones 2015-01-12 09:48:23 +13:00
Matt Woodrow
7dca2dbbd8 Bug 1118528 - Use fuzzy comparisons in MediaSourceReader::HaveData. r=cajbir 2015-01-12 09:47:56 +13:00
Matt Woodrow
8dd03ff501 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
45f1f1d528 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
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00