Граф коммитов

51525 Коммитов

Автор SHA1 Сообщение Дата
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
Dan Minor 1b06c54c9f Bug 1276483 - Fix WaveShaper when connected from a silent GainNode; r=padenot
MozReview-Commit-ID: CUEO6PDwo5B

--HG--
extra : rebase_source : 4ef158a3bf8f9752d584982b01f0ad3e66ac3fe4
2016-06-20 10:42:50 -04:00
Carsten "Tomcat" Book 47aeb86e2c Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Carsten "Tomcat" Book db11a4525e Backed out changeset 8dd927ca1cd1 (bug 1268638)
--HG--
extra : rebase_source : 8909933919f95877e7d61269955770c4532209db
2016-06-23 09:47:26 +02:00
Carsten "Tomcat" Book dbb5d860d9 Backed out changeset c62305b23556 (bug 1268638)
--HG--
extra : rebase_source : f55a7ac7f723a9b5cb8d255e2d27d88a2f79ba4e
2016-06-23 09:47:25 +02:00
Carsten "Tomcat" Book c03c1349bc Backed out changeset 419dea4c5e66 (bug 1268638)
--HG--
extra : rebase_source : 4ae663e429c37764db7176b5bd548a8d1c85dc21
2016-06-23 09:47:23 +02:00
Carsten "Tomcat" Book 440b19b445 Backed out changeset ca314c9d5249 (bug 1268638)
--HG--
extra : rebase_source : d15fcba45320c9d5730da7dd01fc57b6703de03b
2016-06-23 09:47:22 +02:00
Carsten "Tomcat" Book a896cc25ca Backed out changeset 55f389b590b7 (bug 1268638)
--HG--
extra : rebase_source : 148700074878399bb64f4bcb76ea0096eb85e85e
2016-06-23 09:47:21 +02:00
Carsten "Tomcat" Book 60a9e9ce21 Backed out changeset 4171ff387666 (bug 1268638)
--HG--
extra : rebase_source : c57ffe49af64d35f69a5b186b2edef66b3223319
2016-06-23 09:47:20 +02:00
Carsten "Tomcat" Book 98a34f02db Backed out changeset a89314380aea (bug 1268638)
--HG--
extra : rebase_source : 512c7ab8052a1a5111b99ced39befd1c3bd13006
2016-06-23 09:47:20 +02:00
Andrea Marchesini fca8c62260 Bug 1281545 - FileSystem Blink API tests should remove the test directory, r=smaug 2016-06-23 09:49:34 +02:00
Andrea Marchesini 45087a7970 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-22 17:24:35 +02:00
Bevis Tseng 6f2998f958 Bug 1274161 - Do not abort the transaction twice if the IDBRequest is failed due to the abortion of its transaction. r=khuey 2016-05-19 15:46:15 +08:00