Commit Graph

51537 Commits

Author SHA1 Message Date
Paul Adenot
a3c568891c Bug 1269741 - Test. r=karlt
MozReview-Commit-ID: 9dl3e5eTOKV
2016-05-04 14:25:52 +02:00
Paul Adenot
05d76a6ef9 Bug 1281408 - Nullcheck mInputPort in MediaStreamAudioSourceNode to prevent crashing when getting memory reports after the underlying MediaStream has been destroyed. r=pehrsons
MozReview-Commit-ID: 7OzFPmLVJA5

--HG--
extra : rebase_source : 50af142059a0d45521f42cf00c8f22344ffa72ec
2016-06-22 18:20:46 +02:00
Alfredo Yang
b1e6bc8fcb Bug 1282014: check duration when set seek target. r=jwwang
MozReview-Commit-ID: 9ktjaL07sFA

--HG--
extra : rebase_source : 3e80bf8f8b84bb022a3023a40235c14c900cd7bc
2016-06-24 16:00:45 +08:00
Mantaroh Yoshinaga
34329c9de8 Bug 1267510 part 6 - Add animation test of gecko dependent. r=birtles
MozReview-Commit-ID: 1ZnXUCECMiH

--HG--
extra : rebase_source : 8614f8416b005e9a8157427e6d31427461e4431f
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga
055d720954 Bug 1267510 part 4 - Modify WebIDL of DocumentTimeline. r=smaug
The specification of DocumentTimeline interface is as follow.
https://w3c.github.io/web-animations/#the-documenttimeline-interface

MozReview-Commit-ID: jmcJPiVK9i

--HG--
extra : rebase_source : 9ceb4cd2211fa08ee51742fbe659aba6864cff86
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga
5b4de2dcff Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
MozReview-Commit-ID: CqqDlHQsm0p

--HG--
extra : rebase_source : 6f6f4583ffa57a4375af62c64a76081902b1f361
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga
a9ead4dd43 Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
MozReview-Commit-ID: Kf7PzzAH9Tj

--HG--
extra : rebase_source : 1cb1ff9f06c778d55f8a4a6beedccba946a31fbc
2016-06-27 08:09:31 +09:00
Christoph Kerschbaumer
25f6f710d7 Bug 1100181 - CSP: Enforce connect-src when submitting pings. r=arroway 2016-06-24 15:25:11 +02:00
Olli Pettay
b8eb7f0a9e Bug 1274806, got NS_ERROR_UNEXPECTED error when I call range.extractContents() for DOM element with iframe , r=mats 2016-06-27 01:16:27 +03:00
Arthur Edelstein
54c8149d55 Bug 1281949 - When resisting fingerprinting, spoof screen.orientation
When privacy.resistFingerprinting is enabled, make sure that
screen.orientation.angle -> 0 and
screen.orientation.type -> "landscape-primary"

Also refactors screen.mozOrientation.

Based on https://trac.torproject.org/18958
2016-06-24 09:53:00 -07:00
Bill McCloskey
cb8a9c03a3 Bug 1277705 - Remove waitable_event_watcher (r=dvander) 2016-06-24 13:15:41 -07:00
Bill McCloskey
ab96df2b7a Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander) 2016-06-24 13:13:45 -07:00
Boris Zbarsky
9b1f1daa04 Bug 767938 part 10. Remove the now write-only XPCJSContextStack's actual stack of JSContexts and AutoCxPusher. r=bholley 2016-06-24 14:19:51 -04:00
Boris Zbarsky
cca4d3bf70 Bug 767938 part 9. Move the JSAutoRequest from AutoCxPusher to AutoJSAPI, because we're about to kill off AutoCxPusher. r=bholley 2016-06-24 14:19:51 -04:00
Boris Zbarsky
ad60b5c087 Bug 767938 part 7. Remove the now-debug-only uses of XPCJSContextStack::Peek and Count(). r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
16f83caaad Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
edb18fcfaf Bug 767938 part 5. Stop using the JSContext stack to get the current JSContext. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
674ca7344c Bug 767938 part 3. Make AutoJSAPI a ScriptSettingsStackEntry. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
e7805058b1 Bug 767938 part 2. Move control over pushing/popping ScriptSettingsStackEntry instances into subclasses, so we can do the conditional pushing/popping AutoJSAPI will need. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
78464e8e2a Bug 767938 part 1. Change ScriptSettingsStackEntry to allow having stack entries that are neither candidates for being entry globals nor candidates for being incumbent globals. r=bholley 2016-06-24 14:19:50 -04:00
Robert Longson
ea7cbbe858 Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert 2016-06-24 18:47:18 +01:00
Michael Layzell
62918c47a1 Bug 1279092 - Wait for the webaudio-node-demise event, r=padenot 2016-06-24 12:49:51 -04:00
Cykesiopka
313db6b516 Bug 307081 - Clean up nsIClientAuthDialogs.idl and implementations. r=kats,keeler
This fixes the following in the IDL:
1. Misleading or unclear parameter names in the IDL. |cn| in practice is the
   concatenation of the CN of the server cert and the port of the server, and
   |issuer| is the Organization of the issuer cert of the server cert.
2. Use of the |wstring| type. |AString| is generally preferred, and has the
   benefit of letting implementations skip null checks due to the use of
   references.
3. Using an explicit |canceled| outparam instead of just setting a return type.
   There is no need for the outparam if the return type can be used.
4. Using |long| (int32_t) for |selectedIndex|. |unsigned long| (uint32_t) is
   more logical, and paves the way for future changes.

This fixes the following in the Android implementation:
1. Lack of checks to ensure the QueryInterface() call succeeded. In practice,
   the call will always succeed, but it's good practice to check anyways.
2. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.

This fixes the following in the desktop implementation:
1. Lack of null pointer checking.
2. Trying to get a parent window ref off a context that doesn't actually support
   doing so.
3. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.
4. Abusal of the CAPS bundle.
5. Unnecessary variables.
6. Variables declared far away from where they are used.
7. Variable shadowing.
8. Style issues.
9. Lack of documentation.

This also fixes the following:
1. Lack of localisation notes.

MozReview-Commit-ID: FTc6XecJd6h

--HG--
extra : transplant_source : %ABQ%8F%E6%A3%25%FE%94%E4%D6X%3D%28%2C%05%5E%FB%84.-
2016-06-24 00:12:11 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
638edf0077 Bug 1279440 - Fix prefetch for rel=next. r=smaug 2016-06-23 08:52:00 +02:00
Christoph Kerschbaumer
0d99d638ef Bug 1258111 - Fix crash in CheckPolicy. r=billm 2016-06-23 09:40:51 +02:00
JW Wang
f7267b13db Bug 1274030 - clean VideoFrameContainer when "xpcom-shutdown" event received. r=cpearce
MozReview-Commit-ID: 92zeiNXSkjf
2016-05-22 21:39:55 +08:00
Thomas Nguyen
7bcc37e4d7 Bug 1264165 - Update and add test cases. r=franziskus 2016-06-22 18:28:40 +08:00
Thomas Nguyen
545e22fb16 Bug 1264165 - Implement link referrerPolicy attribute. r=josh, r=khuey
MozReview-Commit-ID: GxMtNB23eD8
2016-06-24 10:38:47 +08:00
Karl Tomlinson
8f6ffacf7d bug 1213313 set mComputedValue for each tick so that SetTarget values are calculated correctly r=padenot
from mLastComputedValue.

MozReview-Commit-ID: 28lYzlarp8U

--HG--
extra : rebase_source : fc8aca3718d9857b75cd835ffac1940d20e9d943
2016-06-21 18:02:06 +12:00
Karl Tomlinson
470d8c9d1d bug 1257718 replace bailOut variable with more descriptive timeMatchesEventIndex r=padenot
with the new variable matching the loop exit status of interest.

MozReview-Commit-ID: 8xy5ipo4trp

--HG--
extra : rebase_source : e951177af0699a550a4fb56a6192720207e74cb2
2016-06-21 17:48:31 +12:00
Karl Tomlinson
5d244c17fc bug 1257718 look for new events as time advances r=padenot
|bailout| is reset for each aTime, so that the appropriate events for that
time can be found.

The |eventIndex| loop is adjusted so that, when it is re-entered, it keeps
the current set of events if they are appropriate (instead of advancing
every time it is entered).

|previous| and |next| are now advanced even when passing the last event,
removing the special case when past all events.

MozReview-Commit-ID: 8ZSIzKKGQbd

--HG--
extra : rebase_source : bfc899287abaf12d5cdbfbc1b22d6626ab2299dd
2016-06-21 17:01:18 +12:00
Karl Tomlinson
ba91bfca8e bug 1257718 use is() for comparison with more info on failure than ok() r=padenot
MozReview-Commit-ID: 3XgQCq4Gg0S

--HG--
extra : rebase_source : 35a4c0c8a626350f96ba0d2359b28f557235aae4
2016-06-17 14:28:39 +12:00
Karl Tomlinson
b92cb079fc bug 1257718 introduce function-scope TimeOf() to simplify templated event time getter calls r=padenot
MozReview-Commit-ID: 7uKqlT2BpcS

--HG--
extra : rebase_source : 2670536946bde0e1a6911bacbaa68d1c636e6455
2016-06-17 10:54:54 +12:00
Karl Tomlinson
fc997c1ba1 bug 1257718 rename lastEventId to eventIndex r=padenot
This is not necessarily related to the last event and it is not the
previous event.

MozReview-Commit-ID: 6hhv184BHfg

--HG--
extra : rebase_source : 8013606e27a159bb2598217db40df926539227c6
2016-06-17 09:36:24 +12:00
Karl Tomlinson
9d3453793f bug 1257718 don't export implementation of complex timeline methods r=padenot
This limits recompilation required when modifying the methods, and
makes the public interface easier to read.

MozReview-Commit-ID: Lo2f7xmIdGu

--HG--
rename : dom/media/webaudio/AudioEventTimeline.h => dom/media/webaudio/AudioEventTimeline.cpp
extra : rebase_source : 75586bb320dd2e5606e691919b1c6a7c48c2065f
2016-06-17 05:26:13 +12:00
Karl Tomlinson
6fca9ca1b9 bug 1257718 move comment to within the code path it describes r=padenot
The comment was not necessarily true where it was previously positioned.

MozReview-Commit-ID: FMYkGkmuvVS

--HG--
extra : rebase_source : a6ae6958b9486c92c7830fcc334dac66c643dc29
2016-06-17 03:29:40 +12:00
Cameron McCormack
3265f73629 Bug 1280772 - Part 3: Store Servo-parsed style="" attributes in nsAttrValues. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e0f01ceba Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e7d15d949 Bug 1280772 - Part 1: Remove explicit numbering of MiscContainer-residing nsAttrValue types. r=bholley 2016-06-24 13:35:12 +10:00
Boris Zbarsky
4eb82c0b30 Bug 1281071. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley 2016-06-23 19:39:53 -04:00
Mike Shal
17d3cc636b Bug 1273579 - Move GenerateCSS2PropertiesWebIDL.py invocation to moz.build; r=ted
MozReview-Commit-ID: 4OdSORktwis
2016-05-16 15:43:56 -04:00
Mike Shal
368c6bdec3 Bug 1273579 - Create main() function in GenerateCSS2PropertiesWebIDL.py; r=ted
MozReview-Commit-ID: 1R4L8Yvuzb2
2016-05-16 15:28:48 -04:00
Olli Pettay
fd266b20b2 Bug 1281762 - nsWindowRoot::mPopupNode may keep otherwise closed documents alive, r=enn 2016-06-23 17:14:19 +03:00
Paul Adenot
59f0db4ad0 Bug 1281193 - Lock when touching tracks in SourceAudioStreams. r=pehrsons
MozReview-Commit-ID: 2aSS8esq5jq
2016-06-22 17:44:46 +02:00
Eugen Sawin
bbee0cfc68 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-23 15:26:11 +02:00
Masayuki Nakano
cb8f032c9f Bug 1276406 Remove "ime-enabled-state-changed" notification completely r=smaug
"ime-enabled-state-changed" notification was implemented for Android in bug 603848 but nobody currently observes this notification.  Therefore, we can stop notify the observer service of this.

MozReview-Commit-ID: 3TNHf1xWo2l

--HG--
extra : rebase_source : 39c7e9e391cd6c9510785bca92020707714f4101
2016-05-31 18:39:43 +09:00
Jon Coppeard
ed839a5b59 Bug 1281194 - Don't use for-of iteration over requested modules array r=bz 2016-06-23 11:52:51 +01:00
Randell Jesup
1a755503cb Bug 1258079 - hold a ref to the GraphDriver during initialization. r=padenot
--HG--
extra : rebase_source : c50ec6121f0304901583766dbeb872b57ffd1e71
2016-06-07 16:26:20 -04:00
Andrea Marchesini
6218847441 Bug 1281748 - Cleanup BlobSet code, r=smaug 2016-06-23 11:58:22 +02:00
Andrea Marchesini
aac2306f2c Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00