Wes Kocher
928a195f43
Merge inbound to central, a=merge
2015-08-12 15:16:16 -07:00
Fabrice Desré
16dfbc45e6
Bug 1129882 - backout 9c6fde246f6e and 847b57aaeff7 for causing 1193840 on a CLOSED TREE r=szchen, r=htsai
2015-08-12 14:35:41 -07:00
Ryan VanderMeulen
51207442bd
Backed out changesets 41e3f27dd893 and efaeac1575a1 (bug 1186273) for causing frequent test_fs_app_permissions.html timeouts.
...
CLOSED TREE
2015-08-12 16:23:38 -04:00
Andrew Osmond
06cdecf31c
Bug 1186273 - Part 2. Improve reuse of and releasing of device storage objects where appropriate. r=dhylands
2015-07-21 21:08:56 -04:00
Andrew Osmond
bc2720df67
Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands
2015-07-21 17:15:56 -04:00
Ryan VanderMeulen
125f61c64f
Merge inbound to m-c. a=merge
2015-08-12 10:47:17 -04:00
Seth Fowler
3c08b48c3a
Bug 1193125 - Avoid corrupting image data in test_fetch_event.html. r=bkelly
2015-08-11 23:50:28 -07:00
Fabrice Desré
a3cecb5ae0
Bug 1191579 - Remove useless getAll() implementation in Webapps.jsm
2015-08-06 07:43:59 -07:00
Wes Kocher
ed8142204a
Merge b2ginbound to central, a=merge
2015-08-11 15:46:08 -07:00
Ryan VanderMeulen
dc95876ffe
Backed out changeset ecebeba2582c (bug 1008146) for making imptests on Android/B2G nearly permafail.
...
CLOSED TREE
--HG--
rename : dom/imptests/editing/conformancetest/run/test_unlink.html => dom/imptests/editing/conformancetest/test_runtest.html
2015-08-11 14:48:24 -04:00
Birunthan Mohanathas
9067fe58d8
Backed out changeset 1e13c9c09273 (bug 1105827)
...
CLOSED TREE
2015-08-11 10:04:36 -07:00
Birunthan Mohanathas
e0592c3416
Backed out changeset 92d2843b5938 (bug 1105827)
2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
02595ce842
Backed out changeset fc34b9b8e874 (bug 1105827)
2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
8eab0f2e68
Backed out changeset 7ee1772ffc10 (bug 1105827)
2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
af382947b1
Backed out changeset b78a97800675 (bug 1105827)
2015-08-11 10:04:35 -07:00
Kyle Machulis
6ed5a2c6c8
Bug 1192787 - Readd performance enabled test to ResponseEndHighRes; r=baku
2015-08-11 08:54:52 -07:00
Jan de Mooij
eed2b5bfff
Bug 1185653 - Fix enumerate hook on unboxed objects to skip non-enumerable properties. r=jorendorff
...
--HG--
extra : rebase_source : 4f359cb0b34ee5a92afcb983ec765c92eaa1d162
2015-08-11 17:42:56 +02:00
Terrence Cole
2c05aff66d
Bug 1193032 - Part 2: Make unlimited SliceBudget initialization explicit; r=ehoogeveen,r=mccr8
2015-08-11 08:42:24 -07:00
Will Wang
9fd88cded3
Bug 825149 - Support HFP NREC feature. r=shuang
2015-08-10 04:51:00 -04:00
Will Wang
80bbaca7f1
Bug 825149 - Add NREC feature bit in bluetooth stack. r=shuang
2015-08-07 03:15:00 -04:00
Alastor Wu
63a6ffdf2e
Bug 1129882 - Add mozInterrupt in telephony object. r=baku
2015-08-10 17:23:33 +08:00
Birunthan Mohanathas
2b4a52cf2e
Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
edbcd5e014
Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
a727c82e51
Bug 1192023 - Make UpdateType an enum class. r=khuey
2015-08-06 14:34:39 -07:00
Birunthan Mohanathas
752bf80bb4
Bug 1192023 - Use enum class instead of CheckpointMode_ prefix. r=khuey
2015-08-06 14:34:35 -07:00
Birunthan Mohanathas
69151f6831
Bug 1192023 - Flatten away AppId enum. r=khuey
2015-08-06 14:34:33 -07:00
Birunthan Mohanathas
e95e1e7d13
Bug 1192023 - Use enum class instead of MaintenanceAction_ prefix. r=khuey
2015-08-06 14:34:29 -07:00
Birunthan Mohanathas
9f71a11dba
Bug 1192023 - Use enum class instead of State_ prefix. r=khuey
2015-08-06 14:34:27 -07:00
Birunthan Mohanathas
39a3ef841c
Bug 1105827 - Part 10: Fire change event for PermissionStatus objects. r=baku
2015-07-31 15:57:02 -07:00
Birunthan Mohanathas
fd1e77d8fa
Bug 1105827 - Part 9: Add PermissionObserver to watch for perm-changed notifications. r=baku
2015-07-31 15:53:46 -07:00
Birunthan Mohanathas
7b8a267e19
Bug 1105827 - Part 8: Move permission checking into PermissionStatus. r=baku
...
This is in prepartion of a subsequent change where we will update the state
within PermissionStatus.
2015-07-31 15:53:10 -07:00
Birunthan Mohanathas
d6ccefe440
Bug 1105827 - Part 7: Add helpers to convert between PermissionName and permission type. r=baku
2015-07-31 15:49:59 -07:00
Birunthan Mohanathas
a1f31ea066
Bug 1105827 - Part 6: Add PermissionUtils.h for helper functions. r=baku
2015-07-31 15:49:55 -07:00
Kyle Huey
0bb53e0280
Bug 1179909: Build fix. r=me CLOSED TREE
2015-08-11 07:38:01 -07:00
Kit Cambridge
72909621aa
Back out bug 1100863 and bug 1152264 for causing bug 1189729 on a CLOSED TREE. a=mhenretty,RyanVM
...
--HG--
extra : commitid : Knw3n5aF6IT
2015-08-11 07:30:38 -07:00
Kyle Huey
baee6469c5
Bug 1179909: Build fix. r=me CLOSED TREE
2015-08-11 06:54:49 -07:00
Bobby Holley
3d7a75d98d
Bug 1190495 - Followup #include fix. r=me
2015-08-11 09:40:02 -04:00
Brian R. Bondy
7bf8055bf0
Bug 1189494 - Pass tracking information to BrowserElement's mozbrowsersecuritychange event. r=fabrice
2015-08-10 16:59:59 -04:00
Kyle Huey
76e3009ab8
Bug 1179909: Refactor stable state handling. r=smaug
...
This is motivated by three separate but related problems:
1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).
2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).
3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.
The solve this, this patch does the following:
1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Bobby Holley
f97159c6b7
Bug 1190495 - Hoist TaskQueue into xpcom. r=froydnj
...
--HG--
rename : dom/media/TaskQueue.cpp => xpcom/threads/TaskQueue.cpp
rename : dom/media/TaskQueue.h => xpcom/threads/TaskQueue.h
2015-08-11 08:55:22 -04:00
Bobby Holley
2f4346b111
Bug 1190495 - Switch TaskQueue entirely to nsRefPtr. r=cpearce
2015-08-11 08:55:21 -04:00
Bobby Holley
a7bc4c7844
Bug 1190495 - Remove TaskQueue::SyncDispatch. r=cpearce
...
Looks like the last consumers of this went away. \o/
2015-08-11 08:55:19 -04:00
Bobby Holley
bdf89c24e4
Bug 1190495 - Separate FlushableTaskQueue into its own file. r=cpearce
...
This thing is garbage, and I don't want to hoist it into XPCOM.
2015-08-11 08:55:18 -04:00
Bobby Holley
29e4811fef
Bug 1190495 - Fix include. r=me
...
Not sure how this slipped by before.
2015-08-11 08:55:16 -04:00
Alfredo Yang
e99d63e741
Bug 1192694: remove mDecodingFrozenAtStateDecoding so decoder can leave dormant normally. r=jwwang
2015-08-11 21:23:41 +10:00
Aryeh Gregor
dd74aa5c8b
Bug 1008146 - Split up test_runtest.html; rs=Ms2ger
...
--HG--
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_backcolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_bold.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_createlink.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_delete.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_fontname.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_fontsize.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_forecolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_formatblock.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_forwarddelete.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_hilitecolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_indent.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserthorizontalrule.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserthtml.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertimage.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertlinebreak.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertorderedlist.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertparagraph.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserttext.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertunorderedlist.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_italic.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifycenter.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyfull.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyleft.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyright.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_misc.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_multitest.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_outdent.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_removeformat.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_strikethrough.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_subscript.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_superscript.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_underline.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_unlink.html
2015-08-11 14:02:33 +03:00
Sebastian Hengst
c2581fad83
Backed out 8 changesets (bug 1183910, bug 1190281)
...
Backed out changeset 6ddbdbd66174 (bug 1190281)
Backed out changeset c85c1d11bd72 (bug 1190281)
Backed out changeset 7f904a453bdb (bug 1190281)
Backed out changeset e17123b5bafd (bug 1190281)
Backed out changeset 50edbeb8912e (bug 1190281)
Backed out changeset cf98685302b6 (bug 1190281)
Backed out changeset e98a176b4e0b (bug 1190281)
Backed out changeset e7b3b23bcc82 (bug 1183910)
--HG--
rename : gfx/src/DriverCrashGuard.cpp => gfx/src/DriverInitCrashDetection.cpp
rename : gfx/src/DriverCrashGuard.h => gfx/src/DriverInitCrashDetection.h
2015-08-11 10:13:43 +02:00
David Anderson
f55d77eadf
Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow)
2015-08-11 00:29:08 -07:00
David Anderson
0581a52de4
Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow)
2015-08-11 00:29:08 -07:00
Jean-Yves Avenard
c74d906393
Bug 1146086: Properly marking overridden member with override keyword. v2. a=bustage
2015-08-11 16:42:42 +10:00