Commit Graph

44229 Commits

Author SHA1 Message Date
Kyle Huey
0a114647b0 Bug 1150737: Make executeSoon work properly on workers, enable tests. r=bent 2016-02-10 22:35:50 -08:00
Boris Zbarsky
59ce5da6f2 Bug 1241349 part 5. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in dictionary ToJSON conversions. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
b0a5973acc Bug 1241349 part 4. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in maplike/setlike code. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
cf3e729423 Bug 1241349 part 3. Add a binding_detail::UnprivilegedJunkScopeOrWorkerGlobal function which returns a global object that can be used for some bindings things. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
72baef73e7 Bug 1241349 part 2. Restrict generation of ToJSON methods on dictionaries to only dictionaries we can safely stringify with JS::ToJSONMaybeSafely. r=bholley 2016-02-10 23:31:33 -05:00
Karl Tomlinson
84d0a17064 bug 1205199 keep the socket alive as long as the plug window r=acomminos 2016-02-10 18:24:40 +13:00
Nicholas Nethercote
7a68eb741b Bug 1246846 (part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.
2016-02-09 13:52:21 +11:00
Timothy Nikkel
ff07869667 Bug 1210057. Schedule a paint when an apz aware event listener is added so that event regions on the layer tree get updated. r=smaug 2016-02-10 17:47:59 -06:00
Timothy Nikkel
23e646b0d8 Bug 1210057. Make test_moz_mouse_pixel_scroll_event.html wait for a paint after adding a apz aware (MozMousePixelScroll) event listener. r=kats
Adding an apz aware event listener will change the event regions on the layer tree, so we want to wait until that has happened before running the test.
2016-02-10 17:47:58 -06:00
Christoph Kerschbaumer
54fea4cb15 Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Christoph Kerschbaumer
8a445d8fdb Bug 1232906 - Use channel.asyncOpen2 within dom/apps/AppsUtils.jsm (r=sicking) 2016-02-10 13:58:27 -08:00
Christoph Kerschbaumer
5a849ea0e8 Bug 1247108 - Pass securityFlag when creating a new channel within webapps (r=fabrice) 2016-02-10 13:57:47 -08:00
Wes Kocher
ba668ac04b Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE 2016-02-10 13:40:41 -08:00
Kartikaya Gupta
ce22853404 Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Paul Kerr [:pkerr]
5c388980b8 Bug 1219339 - Part2: Ensure close of webrtc trace file during shutdown. r=rjesup 2016-02-10 13:10:46 -08:00
Syd Polk
d31a334c18 Bug 1243546 - Add mach command for external-media-tests - r=gps
MozReview-Commit-ID: 5BcunutbebG
2016-02-10 11:48:25 -06:00
Syd Polk
1ccb7c723e Bug 1243807 - Update requirements in external-media-tests for CPOW errors. r=maja_zf
MozReview-Commit-ID: 9pG0Rhp8tGa
2016-02-09 14:45:14 -06:00
Eitan Isaacson
348c1bbc29 Bug 1237176 - Notify synth start if we get a finished event without a blocking-changed event. r=roc
MozReview-Commit-ID: BJSQOiyXmRh
2016-02-10 11:20:58 -08:00
Mike Taylor
9f89a71435 Bug 1246246. Part 3 - Add test for firing prefixed legacy event types (in capture phase). r=smaug 2016-02-10 12:55:09 -06:00
Mike Taylor
008901aedb Bug 1246246. Part 2 - Remove root test div in mpTestDiffListenersEventBubbling. r=smaug 2016-02-10 12:55:08 -06:00
Mike Taylor
f33f5522a6 Bug 1246246. Part 1 - Whitespace + rename existing test. (no review, whitespace + rename only) 2016-02-10 12:55:08 -06:00
Kyle Huey
52f05f3c1d Bug 1246828: Push QuotaManager shutdown back to profile-before-change2 2016-02-10 10:53:26 -08:00
Ting-Yu Lin
90ef1eae6a Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.
2016-02-09 14:07:01 +08:00
Jan Varga
4a72a437fa Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Eugen Sawin
7b86797ff5 Bug 1244292 - [1.2] Release decoder on init failure. r=snorp 2016-02-10 15:07:56 +01:00
Carsten "Tomcat" Book
24a4428cfe Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Ben Kelly
ccbd386fb7 Bug 1238954 P2 Fix csp service worker tests to register and unregister separate scopes. r=ehsan 2016-02-09 19:33:40 -08:00
Ben Kelly
d9246c22d5 Bug 1238954 P1 Purge potentially controlled document entries when evicting service worker registrations. r=ehsan 2016-02-09 19:33:40 -08:00
Nicholas Nethercote
1aa2ba124c Bug 1246054 - Fix an erroneous nsNPObjWrapper assertion. r=froydnj. 2016-02-05 16:36:05 +11:00
Chris Pearce
9c7d7395b0 Bug 1246835 - Reduce #ifdefs pain in GMPChild.cpp. r=gerald 2016-02-10 15:48:45 +13:00
Valentin Gosu
a69b0397c9 Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz 2016-02-10 13:13:00 +01:00
Marco Bonardo
345570e137 Bug 1243778 - PushRecord::getLastVisit cannot rely on the Places url index anymore. r=kitcambridge 2016-02-08 14:42:07 +01:00
Chris Pearce
0cc7ff68e7 Bug 1246763 - Refactor GMP info file parsing into helper class. r=gerald 2016-02-09 14:37:22 +13:00
Jean-Yves Avenard
5540b0f3ea Bug 1229742: P2. Don't reject data promise if new data is pending. r=gerald
MozReview-Commit-ID: LaQeRoffA6B
2016-02-09 11:40:29 +11:00
Jean-Yves Avenard
21c39d184d Bug 1229742: P1. Only clear EOS flag if we have new data. r=gerald
MozReview-Commit-ID: ttmWsAIPxQ
2016-02-09 11:40:28 +11:00
Dan Glastonbury
5d9f16133a Bug 1169212 - Part 3: Fix ADTSLOGV macro definitions. r=jya 2016-02-09 12:48:20 +13:00
Myk Melez
42a2e4cb04 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Andrew McCreight
a20ee46489 Bug 1237726, part 4 - Convert test_bug803225.html to use pushPrefEnv() to set preferences. r=tanvi
This gets the test closer to working with e10s.
2016-02-08 09:52:19 -08:00
Andrew McCreight
f67bc56813 Bug 1237726, part 3 - Don't load an iframe until we're actually ready to run the test in test_bug803225.html. r=tanvi
This needs to wait for onload to do the reloadFrame(), or the
.getElementById() will return null.
2016-02-08 09:52:19 -08:00
Andrew McCreight
15e209a01c Bug 1237726, part 2 - Don't start running mixedcontentblocker/test_main.html until the page has finished loading. r=tanvi
If the script runs before the page finishes loading, you get an error
about getElementById being null.  This doesn't seem to usually happen
with this particular test, but it looks like it can happen at least
sometimes.
2016-02-08 09:52:19 -08:00
Andrew McCreight
e958b59dfb Bug 1237726, part 1 - Set prefs with pushPrefEnv in mixedcontentblocker/test_main.html. r=tanvi 2016-02-08 09:52:19 -08:00
Makoto Kato
afcbc22c84 Bug 1230428 - Add crashtest for WebSpeech synthesis. r=eeejay 2016-02-10 20:57:41 +09:00
Carsten "Tomcat" Book
18259559fd Backed out changeset 5b37030dbfe3 (bug 1245463) for Android m-9 crashes 2016-02-10 11:20:31 +01:00
Carsten "Tomcat" Book
963a66b362 Backed out changeset a9ccf315f1f2 (bug 1245463) 2016-02-10 11:20:16 +01:00
Carsten "Tomcat" Book
6a9cad508b Backed out changeset 2376ec200aec (bug 1245463) 2016-02-10 11:20:15 +01:00
Carsten "Tomcat" Book
377803cc28 Backed out changeset 2affd4506079 (bug 1245463) 2016-02-10 11:20:13 +01:00
Carsten "Tomcat" Book
77c00190da Backed out changeset 22641351f11f (bug 1245463) 2016-02-10 11:20:12 +01:00
Carsten "Tomcat" Book
79896f1489 Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Eddy Bruel
6142f35ea1 Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey 2016-02-10 10:45:02 +01:00
Jean-Yves Avenard
3378e0cfd2 Bug 1245463: [MSE] P5. Remove no longer working Dump() commands. r=gerald
MozReview-Commit-ID: 71hgJ63ksPU
2016-02-10 20:07:29 +11:00
Jean-Yves Avenard
cbbd8a241e Bug 1245463: [MSE] P4. Remove dead code. r=gerald
MozReview-Commit-ID: Elnm0WPuqHC
2016-02-10 20:07:28 +11:00
Jean-Yves Avenard
16c7e60bb0 Bug 1245463: [MSE] P3. Diags to ensure the Segment Parser Loop isn't running. r=gerald
This is similar to bug 1239983, we strongly assert should a segment parser loop be running when it must have completed.

MozReview-Commit-ID: CXqGoq9Opq0
2016-02-10 20:07:28 +11:00
Jean-Yves Avenard
494a706905 Bug 1245463: [MSE] P2. When abort() is called, wait until the current appendBuffer completes. r=gerald
The W3C spec indicates that while everything in MSE is asynchronous, the abort() command is to interrupt the current segment parser loop and have the reset parser loop synchronously completes the frames present in the input buffer.
This causes a fundamental issue that abort() will never result in a deterministic outcome as the segment parser loop may be in different condition.

We used to really attempt to abort the current operation, however there could have been a race in the order in which tasks were queued. As such, we now simply wait for the current appendBuffer to complete.

This also simplifies the code greatly, as we don't need to worry about pending concurrent appendBuffer.

The actually happens to be similar to the Chromium behavior.

MozReview-Commit-ID: CHppUOGM1mk
2016-02-10 20:07:27 +11:00
Jean-Yves Avenard
0d8d0b458b Bug 1245463: [MSE] P1. Do not attempt to retrieve the buffered range if the mediasource is in closed state. r=gerald
The changes that follow may cause the active sourcebuffer list to be modified; which will trigger an assertion if the mediasource object is closed.

MozReview-Commit-ID: 8A1CMKAUyTq
2016-02-10 20:07:27 +11:00
Gerald Squelart
f2b74ff44f Bug 1247175 - Accept libavcodec 57.100+ - r=jya 2016-02-10 18:55:33 +11:00
Julien Pagès
4088b605da Bug 1230862 - Remove mozhttpd. r=wlach 2016-02-09 03:26:43 +01:00
Bryce Van Dyk
1ed9d90b0f Bug 1246842 - Rework previous commit to not used deprecated arguments.callee r=cpearce
MozReview-Commit-ID: DFWNOGN0FyY
2016-02-09 20:42:56 +13:00
Bryce Van Dyk
34a2820d5f Bug 1246842 - Correct once function to remove correct event listener r=cpearce
The once function should add and then remove an event listener after it is
invoked, but it appears to remove another event listener instead. This commit
adjusts that behaviour. Note that the dom/media/mediasource/test/mediasource.js
file has the same pattern and has been updated. This commit reflects using the
same changes to remedy the once function here.

MozReview-Commit-ID: DQ4bfxTQfjN
2016-02-09 17:32:13 +13:00
Jorg K
eefc0761e2 Bug 1230163 - White-space copy issue: Add conditional compile also for SeaMonkey. r=ehsan 2016-02-09 06:47:00 +01:00
Phil Ringnalda
ef4157031e Back out 0a0582597885 (bug 1243546) for Mac "global name 'args' is not defined" bustage 2016-02-09 18:44:35 -08:00
Syd Polk
e4027a9019 Bug 1243546 - Add mach command for external-media-tests - r=gps 2016-02-09 18:10:19 -06:00
Jean-Yves Avenard
41241eef26 Bug 1237160: Do not count frames not composited as dropped. r=cpearce
This is a partial reversal of bug 1230338. We can't distinguish frames that are never composited because the media element is hidden from the frames genuinely dropped due to machine slowness. So until we can distinguish them, let's not report them as dropped.

MozReview-Commit-ID: ERV8Luaxp3F
2016-02-10 11:05:09 +11:00
Daniel Holbert
d39ccfa13e Bug 1243555: Remove unnecessary nsDocShell static_cast in EventListenerManager::HandleEventInternal(). r=smaug 2016-02-09 15:21:36 -08:00
Tom Schuster
369af34f4a Bug 1246318 - Make the proxy enumerate trap non-standard. r=efaust 2016-02-10 00:12:24 +01:00
Boris Zbarsky
d3dd406fd0 Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
The web platform test was pretty buggy in a few ways:

1)  It claimed that "bar" should be non-writable and enumerable.  This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.

2)  It claimed that "constructor" should be exposed on the named properties
object.  But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Boris Zbarsky
e39cfcc7d9 Bug 1243001 part 8. Tell SpiderMonkey to put its promise jobs into the CycleCollectedJSRuntime job queue. r=peterv
This will run the SpiderMonkey promise jobs more or less the same way that we
run Promise jobs right now, including using a Web IDL callback for the actual
invocation.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
c1c0bcad04 Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved.  SpiderMonkey promises don't
have a way to do this.

The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
3b6a884636 Bug 1243001 part 6. Implement Promise::AppendNativeHandler in the SPIDERMONKEY_PROMISE world. r=peterv
This patch introduces a fake IDL interface just to get the benefits of
cycle collection for the JS-to-C++ link we now need for PromiseNativeHandler
(because the SpiderMonkey Promise somehow needs to point to the
PromiseNativeHandler).  Now in practice a bunch of our PromiseNativeHandlers
are not cycle collected.  That kinda freaks me out, but spot-checking a few
suggests they do not in fact leak (either because they don't form cycles or
because the Promise they're observing always settles and then releases them).
Either way, that's a problem that exists with or without this patch...
2016-02-09 17:40:31 -05:00
Boris Zbarsky
1f9866a3d6 Bug 1243001 part 5. Get rid of most of the dom::Promise methods when SPIDERMONKEY_PROMISE is defined, and reimplement the rest in terms of SpiderMonkey Promise. r=peterv
This is the bulk of the new dom::Promise implementation.  It's using the APIs
that bug 911216 part 1 adds.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
530c609afa Bug 1243001 part 4. Switch to using MaybeResolve/MaybeReject instead of ResolveInternal/RejectInternal for PromiseWorkerProxy. r=peterv
This is the one part of this set of patches that is actually a substantive change
even without SPIDERMONKEY_PROMISE defined.  This is being done because I don't
want to create ResolveInternal/RejectInternal methods on dom::Promise in the
new world.

In practice, the difference between MaybeResolve/Reject and
ResolveInternal/RejectInternal is that the former will do nothing if the
Promise is "resolved" in terms of spec terminology: either settled or locked in
to track another Promise.  A resolved but still pending Promise can still get
fulfilled (what we call ResolveInternal) or rejected when the promise it's
tracking settles.

So the difference only matters if PromiseWorkerProxy can be working with a
"resolved" Promise (in which case what it's doing now would settle it, while
what I'm switching to would not).  But I don't believe PromiseWorkerProxy ever
points to a "resolved" Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
1927adedbf Bug 1243001 part 3. Turn off the IDL bits of PromiseDebugging when SPIDERMONKEY_PROMISE is defined. r=peterv
These are basically the minimal changes needed to make PromiseDebugging compile
in the new world.  It will NOT function correctly (see the XXX comments); Till
will be fixing it up more in bug 911216 as he transitions the relevant bits in
our devtools to work on top of SpiderMonkey promises.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
a01b829460 Bug 1243001 part 2. Make Promise an empty [NoInterfaceObject] interface when SPIDERMONKEY_PROMISE is defined. r=peterv
The idea is to not define a "Promise" property on the global and not generate
any of the methods, since SpiderMonkey will implement all of those, but to keep
some of the conversion to/from JS logic and the IDL parser validation bits that
we have right now.  Once we can assume SPIDERMONKEY_PROMISE we can probably
change how the "Promise" identifier is handled by the IDL parser and how the
resulting type is handled by codegen, but for now we're aiming for minimal
changes.
2016-02-09 17:40:30 -05:00
Boris Zbarsky
2263e770b6 Bug 1243001 part 1. Remove the dead WrappedWorkerRunnable class from Promise code. r=peterv 2016-02-09 17:40:30 -05:00
Blake Kaplan
0e323c4e40 Bug 1245723 - Fix browser_frame_elements and re-enable now-passing tests. r=felipe 2016-02-09 14:40:36 -08:00
Mike Hommey
7c1c49eb4c Bug 1246779 - Stop disabling optimizations for test plugins on Windows. r=mshal
They were disabled in bug 657569 because of a miscompilation from MSVC,
but back then, we were using one of 2005, 2008 or 2010 (not entirely
sure which). Even if it was the latter, there has been two releases of
MSVC since, if stopping at the one we're currently using.
2016-02-10 07:39:28 +09:00
Stefan Dye
5cc31db507 Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm 2016-01-31 21:56:00 -05:00
Jim Chen
d7bbf22209 Bug 1244875 - Update JNI usages; r=snorp
Update JNI usages to match the changes in JNI templates.
2016-02-09 17:27:28 -05:00
Ben Kelly
720d026727 Bug 1245724 - Make plugin network requests bypass service worker interception. r=ehsan 2016-02-09 11:14:51 -05:00
Bob Owen
03786961d3 Bug 1236680 Part 3: Add #ifs to include to fix bustage. r=me 2016-02-09 15:35:44 +00:00
Bob Owen
6902402578 Bug 1236680 Part 2: Resolve GMP path for moved Users folder. r=cpearce 2016-02-09 15:22:43 +00:00
Dragana Damjanovic
d836ff1556 Bug 1246632 - Fix ackMsgRecv in PushServiceHttp2.js. r=kitcambridge 2016-02-08 06:40:00 +01:00
Kate McKinley
387d5891a1 Bug 1241634 - Increase timeout from 5 to 10 seconds. r=tanvi 2016-02-08 18:49:00 +01:00
Alastor Wu
a1bd353482 Bug 1242774 - add crash test. r=jwwang. 2016-02-05 01:40:00 +01:00
Alastor Wu
8cb960f554 Bug 1242774 - only resolve promise when exist. r=jwwang. 2016-02-05 01:39:00 +01:00
Boris Chiou
5b3edc8d6b Bug 1174575 - Part 6: Implement KeyframeEffectReadOnly Constructor for CSSPseudoElement. r=birtles
Let KeyframeEffectReadOnly::Constructor support both Element and
CSSPseudoElement as the target.
2016-02-09 05:05:00 +01:00
Boris Chiou
b33754c9da Bug 1174575 - Part 5: Support pseudo-element type in StyleAnimation. r=birtles
Add one more argument, nsCSSPseudoElement::Type, for
StyleAnimation::ComputeValue and StyleAnimation::ComputeValues
2016-02-09 05:04:00 +01:00
Boris Chiou
43baf73b49 Bug 1174575 - Part 4: Support CSSPseudoElement for TimingParams. r=birtles 2016-02-05 19:11:00 +01:00
Boris Chiou
b525b562c2 Bug 1174575 - Part 3: Implement KeyframeEffectReadOnly::GetTarget(). r=birtles
Implement GetTarget() and functions of CSSPseudoElement.
We use a strong reference from CSSPseudoElement to Element and a non-owning
reference from Element to CSSPseudoElement.
2016-02-01 23:59:00 +01:00
Boris Chiou
9cfacb4283 Bug 1174575 - Part 2: Replace Element in KeyframeEffectReadOnly WebIDL. r=birtles, r=smaug
Use (Element or CSSPseudoElement)? as the first arguement of constructor and
the type of target.
2016-02-05 19:01:00 +01:00
Boris Chiou
fc4ed7c615 Bug 1174575 - Part 1: Define CSSPseudoElement interface. r=birtles, r=smaug
Create CSSPseudoElement.webidl, CSSPseudoElement.h, and CSSPseudoElement.cpp.
2016-02-01 23:49:00 +01:00
Marco Castelluccio
861998b106 Bug 1240735 - Add tests for theme_color and background_color members. r=baku 2016-02-09 13:05:40 +00:00
Blake Kaplan
4f264bff9d Bug 1176449 - Enter an update here to avoid assertions on startup. r=dbaron 2016-02-08 14:51:00 +01:00
Carsten "Tomcat" Book
7255b11621 Backed out changeset c0b8f05a48d5 (bug 1246835) for bustage on a CLOSED TREE 2016-02-09 08:47:38 +01:00
Chris Pearce
6316f789f0 Bug 1246835 - Reduce #ifdefs pain in GMPChild.cpp. r=gerald 2016-02-09 14:44:16 +13:00
Ting-Yu Lin
c5eee972bf Bug 1225752 - Localize the description of default summary. r=bz 2016-02-04 01:48:00 +08:00
Peter Van der Beken
200ed135f4 Bug 1243335 - report bad QName. r=sicking. 2016-02-01 16:20:35 +01:00
Carsten "Tomcat" Book
ab60132384 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures 2016-02-08 11:17:38 +01:00
Nick Alexander
b748712640 No bug - Use default skip-if. r=me
We want to change this to run these tests on Fennec (but not b2gdroid);
this'll make it easier.  In addition, this makes it easier to rebase
Fennec Push patches that touch this file.

MozReview-Commit-ID: 97UftkziZ4A
2016-02-15 09:54:23 -08:00
Phil Ringnalda
091d39b40d Back out 7 changesets (bug 1231793) for Windows crashes in mozilla::MediaDecoderReader::~MediaDecoderReader()
Backed out changeset 273cc690d7cf (bug 1231793)
Backed out changeset d79218caeefc (bug 1231793)
Backed out changeset 75c7942267f8 (bug 1231793)
Backed out changeset 684e62a4d9f5 (bug 1231793)
Backed out changeset a5a15d50a8e4 (bug 1231793)
Backed out changeset 33d6f22d9b1f (bug 1231793)
Backed out changeset cd4fc7f2c80a (bug 1231793)
2016-02-15 09:46:19 -08:00
Louis Christie
d2ed976761 Bug 1231793: Part 7 - Fixed various tests. r=jya 2016-02-12 14:40:41 +13:00
Louis Christie
e25248162a Bug 1231793: Part 6 - Enabled the new Wave Data Decoder in DecoderTraits. r=jya 2016-02-12 14:40:36 +13:00
Louis Christie
b90f854bdd Bug 1231793: Part 5 - Added Wave Data Demuxer and Decoder. r=jya 2016-02-15 12:10:48 +13:00
Louis Christie
4d5410ac05 Bug 1231793: Part 4 - Added checks for Wave type in AndroidDecoderModule. r=jya 2016-02-12 14:40:24 +13:00
Louis Christie
3df05cab0a Bug 1231793: Part 3 - Fixed reading of Metadata tags. r=jya 2016-02-12 14:40:19 +13:00
Louis Christie
7d1ef69426 Bug 1231793: Part 2 - Added conversions to AudioSampleFormat.h. r=jya 2016-02-12 14:40:13 +13:00
Carsten "Tomcat" Book
8dd0453e98 Merge mozilla-central to fx-team 2016-02-15 12:31:22 +01:00
Gijs Kruitbosch
bd0b743d83 Bug 1245264, r=bz
MozReview-Commit-ID: I0sVdritpD3
2016-02-12 11:21:01 +00:00
Aidin Gharibnavaz
238dcd01fc Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-07 10:56:00 +01:00
Jean-Yves Avenard
1b0adf995f Bug 1246358: [MSE] Take pre-roll time into consideration when seeking. r=gerald 2016-02-08 17:36:17 +11:00
Ting-Yu Lin
af1aa001fc Bug 1246404 - Check mouseContent before calling IsInComposedDoc(). r=smaug
It's possible that PresShell::HandleEventWithTarget() above will make
mouseContent become nullptr. We should check the validity of
mouseContent before calling its method.
2016-02-06 23:44:00 +08:00
Jean-Yves Avenard
991fb9bbac Bug 1246521: [MSE] P3. Only error during Prepare Append algorithm if the media element is in error. r=gerald 2016-02-08 16:38:45 +11:00
Jean-Yves Avenard
f89b386434 Bug 1246521: P2. Add MediaDecoder::OwnerHasError method. r=gerald 2016-02-08 16:38:26 +11:00
Jean-Yves Avenard
8a6301085a Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald 2016-02-08 16:31:42 +11:00
Phil Ringnalda
2e53a18092 Back out c3ac85cea6a3 (bug 1246358) for failures in test_invalid_reject_play.html
CLOSED TREE
2016-02-07 19:29:07 -08:00
Jean-Yves Avenard
125ba113d6 Bug 1246358: [opus] Don't error if we fail to decode the last frame. r=TD-Linux 2016-02-08 12:22:07 +11:00
Till Schneidereit
e80799d842 Bug 911216 - Part 1: Add tests directly testing content Promise constructor resolved with chrome Promise. r=bz 2016-02-07 20:05:37 +01:00
L. David Baron
0279ba7e59 Bug 1245075 patch 2 - Fix EffectSet::GetEffectSet(nsIFrame*) and EffectCompositor::GetAnimationElementAndPseudoForFrame to only return effects when the frame is the style frame for its content. r=birtles
This means that we won't associate animations with additional frames.
In this case, this fixes associating off-main-thread animations with a
table outer frame, when they should have been associated only with the
table frame.

Locally, the test fails without the patch (with opacity in the test
being 0.36 instead of the expected 0.6), and passes with the patch.
(Opacity 0.36 gives a color of rgb(163,163,255), whereas 0.6 gives
rgb(102,102,255).)
2016-02-07 08:43:49 -08:00
Matt Woodrow
fd47c349bc Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-07 23:51:11 +13:00
Andrea Marchesini
c60db6a193 Bug 1244995 - Console should trace the arguments correctly, r=bz 2016-02-07 10:29:12 +00:00
Jonathan Kew
1d9ea2945a Bug 1240085 - Revert to CSS-pixel units for screenX, screenY, moveTo() APIs, and adjust the origin for secondary displays with differing resolution to avoid overlapping coordinate spaces. r=emk 2016-02-05 16:29:33 +00:00
Hiroyuki Ikezoe
c3c7e96ecf Bug 1241692 - Part 2: We should observe stylings only for animations. r=dholbert
We don't need observe restylings other than animations.  If those restylings
happen, it's just noise for this test.  We should drop them.
2016-02-06 20:38:24 +09:00
Hiroyuki Ikezoe
ffe3dac982 Bug 1241692 - Part 1: Ensure that element which is added in each test is removed before subsequent test is processed. r=dholbert
Before this fix, sometimes an element which was removed in a prior test
would still visible when subsequent test starts.
We should wait for paints to complete after the element has been removed.
2016-02-06 20:38:12 +09:00
Phil Ringnalda
9ea1f50cc0 Bug 1228605 - Disable test_mediarecorder_avoid_recursion.html on Windows opt for frequent timeouts 2016-02-06 11:33:38 -08:00
Fabrice Desré
12d7e4bd3d Bug 1240330 - mozAlarm debug messages are turned on r=khuey 2016-02-06 09:38:55 -08:00
Kit Cambridge
240dab0dce Back out 2 changesets (bug 1243856) for intermittent xpcshell failures on a CLOSED TREE. 2016-02-05 22:39:23 -08:00
Boris Zbarsky
7bec862a3e Bug 812899 part 2. Change the centering code in nsImageDocument to only try vertically centering via auto margins when we're not overflowing in the vertical direction, because if we _are_ overflowing that should cut off part of the image per spec. r=khuey 2016-02-05 23:31:19 -05:00
Boris Zbarsky
583f02fb62 Bug 812899 part 1. Split the "image is overflow" concept in ImageDocument into two separate booleans for vertical and horizontal overflow. r=khuey 2016-02-05 23:31:09 -05:00
Nils Ohlmeier [:drno]
e9daa7d505 Bug 1246011: fixed PT comparising for PT's without rtpmap. r=jesup 2016-02-05 11:58:05 -08:00
Jeff Gilbert
07379df6f3 Bug 1233626 - Default MaxDrawingBuffers to 1 unless ext/webgl2. - r=jrmuizel 2016-02-05 16:42:33 -08:00
Jeff Gilbert
6abdee8b47 Bug 1246007 - Ignore RENDERBUFFER_SAMPLES outside of webgl2. - r=jrmuizel 2016-02-05 16:41:21 -08:00
Honza Bambas
eef1670426 Bug 1237783 - Make sure we correctly turn off appcache. r=ehsan 2016-02-05 08:36:00 -05:00
Kit Cambridge
48747bcd2f Bug 1243856 - Remove alarms from the Push H2 backend. r=dragana 2016-02-03 18:16:10 -08:00
Kit Cambridge
061135cd6a Bug 1243856 - Remove alarms from the Push WebSocket backend. r=dragana 2016-02-03 15:27:34 -08:00
Kit Cambridge
4c43e09221 Bug 1219064 - Add test for extendable pushsubscriptionchange event. r=mt 2016-01-28 19:26:17 -08:00
Kit Cambridge
541c351495 Bug 1243781 - Push methods called from a worker should reject with a DOMException. r=mt 2016-01-28 08:23:29 -08:00
Kit Cambridge
59faea3f00 Bug 1191931, Part 2 - Test resubscribing from a worker. r=mt 2016-01-28 08:06:32 -08:00
Kit Cambridge
edfdd0f44a Bug 1191931, Part 1 - Use tasks in the Push subscription tests. r=mt 2016-01-28 07:57:42 -08:00
Olli Pettay
a992a97b9f Bug 1244480, don't throw when passing random value as the second argument to canvas.getContext, r=bz 2016-02-05 22:21:09 +02:00
Olli Pettay
a7ca795414 Bug 1245452, null check window->GetDocShell return value, r=khuey 2016-02-05 21:22:31 +02:00
Jeffrey Tran
2414a7ffac Bug 938699 - Remove FindElementWithViewId from nsIDOMWindowUtils.idl and nsDOMWindowUtils.cpp. r=kats 2016-02-05 16:31:18 -05:00
Kyle Huey
71704ffd8e Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE 2016-02-05 12:24:54 -08:00
Wes Kocher
c8ef515f71 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE 2016-02-05 11:42:55 -08:00
Kyle Huey
a3b618ba93 Bug 1245950: Privately inherit from legacy interfaces nsIDOMWindow/nsIDOMWindowInternal. r=smaug
If you still need to get to these from C++ for some reason, you need to go through QueryInterface.
2016-02-05 10:12:25 -08:00
Kyle Huey
e4d01c3336 Bug 1244898: Suppress the exception from BeginElement. r=bz 2016-02-05 10:12:25 -08:00
Boris Zbarsky
99f0a36c52 Bug 1245674. Null-check mGlobal before dereferencing it in one more place in Promise code. r=smaug 2016-02-05 13:12:52 -05:00
Carsten "Tomcat" Book
be0e35fb43 Backed out changeset a6bc2efcdf26 (bug 1212333) for bustage 2016-02-05 16:09:28 +01:00
Eddy Bruel
fc6cefa47a Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey 2016-02-04 22:04:25 +01:00
Carsten "Tomcat" Book
86be96f046 Backed out changeset 07d6feffedb9 (bug 1000870) for e10s asan test failure in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html 2016-02-05 13:58:11 +01:00
Carsten "Tomcat" Book
a6ece3d0ff Backed out changeset 76c66d5a8196 (bug 1000870) 2016-02-05 13:57:31 +01:00
Carsten "Tomcat" Book
1e55cfb217 Backed out changeset c8273997b141 (bug 1000870) 2016-02-05 13:57:30 +01:00
Andrea Marchesini
e12bc8823e Bug 1245951 - "Unused method in WebSocket". r=smaug 2016-02-04 11:40:00 +01:00
Brendan Dahl
72d43e29b3 Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Lebedev Maksim
b5c92fbf29 Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2016-02-03 05:06:00 +01:00
Maksim Lebedev
72e63b8159 Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Maksim Lebedev
790d83ccdd Bug 1000870 - Add original official tests from W3C at 2015.03.01. r=smaug 2015-03-31 07:02:00 +02:00
Bill McCloskey
d15a2fcb64 Bug 1210099 - Fix structured clone of expanded principal (r=bholley) 2016-02-04 22:30:21 -08:00
Cameron McCormack
33d7d1febc Bug 1244595 - Don't check whether shorthands are non-animatable when parsing JS keyframe objects. r=birtles 2016-02-05 08:56:11 +11:00
Jesse Ruderman
2dcb29c344 Bug 1244948 - silence the 'loaded script twice' warning. r=bz 2016-02-04 20:43:17 -08:00
Jean-Yves Avenard
5f96837fbb Bug 1244639: P2. Don't clamp audio time to seek time if there's no video track. r=cpearce
This remove the need for working around the MP3 decoder returning decoded frames in the future.
2016-02-05 14:53:58 +11:00
Jean-Yves Avenard
5ed283f651 Bug 1244639: P1. Don't assume MP3 decoding always starts at 0. r=cpearce
This remove the MP3 workaround for the mac decoder that was added in bug 1194080.
2016-02-05 14:53:58 +11:00
Phil Ringnalda
46967ee008 Merge m-c to m-i 2016-02-04 19:26:14 -08:00
JW Wang
159d08a5be Bug 1245542 - I suspect AudioData::mAudioData/mFrames are poisoned when sample format doesn't match the metadata. Let's ignore these samples to see if crash volume can be reduced. r=kinetik. 2016-02-05 10:19:12 +08:00
Hiroyuki Ikezoe
fb3fb0e532 Bug 1239889 part 2 - Test for an animation target without a current document; r=birtles 2016-02-05 14:11:04 +11:00
Brian Birtles
431b734edc Bug 1239889 part 1 - Throw if the animation target does not have a current document; r=heycam
This is just a temporary measure to avoid a failed assertion / crash until we
fix bug 1245748.
2016-02-05 14:11:04 +11:00
Ben Kelly
d040b1cc4f Bug 1244764 P3 Make service worker tests pass with new Cache add()/addAll() behavior. r=ehsan 2016-02-04 07:59:52 -08:00
Ben Kelly
d166ce0250 Bug 1244764 P2 Make dom/cache mochitests pass with new add()/addAll() behavior. r=ehsan 2016-02-04 07:59:52 -08:00
Ben Kelly
1fb29fb6d4 Bug 1244764 P1 Make Cache .add()/.addAll() fail if a Response.ok() is false. r=ehsan 2016-02-04 07:59:52 -08:00
Andrea Marchesini
c2f5f7b691 Bug 1245768 - Implement a test for the correct error management when worker imports 3rd party scripts, r=bz 2016-02-04 15:35:16 +00:00
Ben Kelly
e083c7116f Bug 1243453 P2 Test XHR with a non-intercepting service worker. r=ehsan 2016-02-04 07:28:21 -08:00
Paul Adenot
ac83aae2a6 Bug 1241499 - Initialize the HRTF database lazily. r=karlt 2016-01-21 16:15:57 +01:00
Carsten "Tomcat" Book
e3a3fe0b0d Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book
f84c32592e merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Chris Pearce
392c710ed2 Bug 1243878 - Null check CDMProxy::mKeys in CDMProxy::OnExpirationChange() before use. r=jwwang
All the methods in CDMProxy except CDMProxy::OnExpirationChange() that use
mKeys null check mKeys before using it because it can go away during shutdown
before the IPC message to call the methods have had a chance to run.

We should do the null check in CDMProxy::OnExpirationChange() too.
2016-01-29 10:23:45 +13:00
William Chen
076d654bac Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc 2016-02-04 00:30:00 -08:00
Paolo Amadini
52d209f702 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Carsten "Tomcat" Book
2868eff347 Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Christoph Kerschbaumer
5a89bae2c9 Bug 1195173 - Use channel->ascynOpen2 layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:02 -08:00
Gerald Squelart
0a34785bad Bug 1143096 - Init all WebMBufferedParser members - r=kinetik
Initialize all WebMBufferedParser members, mainly to remove compiler warnings.
'mClusterTimecode' and 'mClusterOffset' are probably genuine potential issues,
see bug 1143096 comment 2 for details.
2016-02-03 14:25:47 +11:00
Gijs Kruitbosch
e107621c53 Bug 1240208 - use inputmode in XUL to get better hinting for IME and on-screen keyboards, r=masayuki,smaug 2016-02-01 17:57:29 +00:00
Mike de Boer
6c7fdd37b9 Bug 1154277: Part 1 - allow to swap docShells on remote browsers that are not a child of a BrowserDOMWindow. r=smaug 2016-02-04 12:50:03 +01:00
Ting-Yu Lin
8b9c5f8572 Bug 591737 - Add pref for details and summary elements. r=bz 2016-01-20 23:20:43 +08:00
Ting-Yu Lin
2fbf3c7e7e Bug 591737 - Avoid dispatch mouse double click to content not in doc. r=smaug
When double-clicking on a default anonymous <summary> element, the first
eMouseClick will make the summary element being removed from the
document. This generates an assert in
PresShell::HandleEventWithTarget().

To prevent this assert, ensure the mouseContent is in document before
dispatching the eMouseDoubleClick event.

Since GetCrossShadowCurrentDoc() was deprecated, replace it with
GetComposedDoc().
2016-01-20 23:20:42 +08:00
Ting-Yu Lin
5b26d8aa11 Bug 591737 - Implement toggling open details by mouse click. r=bz 2016-01-20 23:20:42 +08:00
Ting-Yu Lin
f7fab7e736 Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz 2016-02-02 17:39:49 +08:00
Ting-Yu Lin
866057c3bc Bug 591737 - Add SummaryFrame. r=bz 2016-02-02 17:39:06 +08:00
Ting-Yu Lin
7aa4fa70d8 Bug 591737 - Add DetailsFrame. r=bz 2016-01-20 23:20:41 +08:00
Ting-Yu Lin
aef15867e3 Bug 591737 - Add HTMLSummaryElement. r=bz 2016-01-20 23:20:40 +08:00
Ting-Yu Lin
9b7521718e Bug 591737 - Add HTMLDetailsElement and webidl interface. r=bz 2016-01-20 23:20:40 +08:00
Lee Salzman
01794c4570 Bug 1244850 - always validate destination rect for CanvasRenderingContext2D::DrawImage. r=jmuizelaar 2016-02-02 12:45:17 -05:00
Makoto Kato
478d4ce269 Bug 1201904 - Add test for force windowless mode. r=aklotz 2016-01-15 16:45:50 +09:00
Makoto Kato
5501555d72 Bug 1201904 - Force windowless mode for Flash when sandbox level >= 2. r=bsmedberg 2016-01-15 16:45:15 +09:00
Daniel Holbert
a75610e9fd Bug 1241021 part 2: Make GenerateCSS2PropertiesWebIDL.py produce capitalized as well as uncapitalized WebkitFoo/webkitFoo DOM style accessors. r=bz 2016-02-03 20:17:45 -08:00
Daniel Holbert
5eabd5950f Bug 1241021 part 1: Refactor GenerateCSS2PropertiesWebIDL.py to invoke a helper function for each line. r=bz 2016-02-03 20:17:44 -08:00
Marco Castelluccio
bd9eea1fba Bug 1086997 - Test that the ManifestProcessor prints warnings using the ConsoleAPI. r=baku 2016-02-02 16:49:06 -08:00
Marco Castelluccio
ba360ebe66 Bug 1086997 - Localize developer warnings issued by the manifest processor. r=baku 2016-02-02 16:47:51 -08:00
Jorg K
415a8ffdf1 Bug 1245310 - Restore null check in GetFocusedNode(). r=khuey 2016-02-02 15:42:00 +01:00
Olli Pettay
a36aa95b54 Bug 1245011, null check window object before testing whether speech synthesis is active, r=eeejay 2016-02-02 19:59:44 +02:00
Honza Bambas
a97dfe996b Bug 1244038 - Drop localStorage database indexes before renaming the table during update. r=mak77 2016-02-01 12:32:00 -05:00
Daniel Holbert
8edf42e8be Bug 1236979 part 4: Add test for firing of prefixed legacy event-types. r=smaug 2016-02-02 10:03:49 -08:00