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

61805 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 096d42a94b Bug 1355619 - Don't load PushComponents.js in content processes at startup. r=kitcambridge
This avoids creating a compartment in every content process that does
not use the push service.

MozReview-Commit-ID: HQxrVp9DxFd

--HG--
extra : rebase_source : 4920c118c3385b73edc61980d5582f6ba0e29221
2017-04-11 14:27:25 -07:00
Daosheng Mu 58f9e1bf97 Bug 1349102 - Making read back buffer use the default framebuffer when doing snapshot; r=jgilbert
MozReview-Commit-ID: EGaopHztAex

--HG--
extra : rebase_source : 407570d2517ed3de6847386e34407071fc17aebb
2017-04-10 17:45:46 +08:00
Manish Goregaokar a8f8bfeb3e Bug 1339711 - Part 5: stylo: Support background presentation attribute; r=emilio
MozReview-Commit-ID: LU6ETeH8lxn
2017-04-12 23:05:57 +08:00
Manish Goregaokar 9d7550892d Bug 1339711 - Part 3: stylo: Support mathsize, width, and scriptminsize presentation attributes in MathML; r=emilio
MozReview-Commit-ID: GvHslYdBfXU
2017-04-12 23:05:44 +08:00
Manish Goregaokar fd3cc1e497 Bug 1339711 - Part 2: stylo: Support most MathML presentation attributes; r=emilio
MozReview-Commit-ID: BSR3ZW6PWkL
2017-04-12 23:05:38 +08:00
Manish Goregaokar ea86b671be Bug 1339711 - Part 1: stylo: Support -moz-script-size-multiplier, -moz-script-level, -moz-math-display; r=emilio
MozReview-Commit-ID: KzBDsmZK5w0
2017-04-12 23:05:29 +08:00
Boris Chiou 2317c8957e Bug 1343753 - Part 6: Move mAnimationGeneration into RestyleManager. r=birtles
So stylo can also use mAnimationGeneration.

MozReview-Commit-ID: KTc8vs2RKMm

--HG--
extra : rebase_source : 52aeb3bf91fa849cbddbedff28418736f96086bb
2017-03-09 17:15:08 +08:00
Marco Bonardo eb7475a826 Bug 977177 - Move favicons to a separate store. r=adw
This patch moves favicons blobs to a separate database names favicons.sqlite.
The dabatase is then ATTACHED to the main Places connection, so that its tables
can be used as if they were all part of the same database.
The favicons.database contains 3 tables:
  1. moz_pages_w_icons
     This is the way to join with moz_places, through page_url_hash and page_url.
     We are not using the place id to avoid possible mismatches between places.sqlite
     and favicons.sqlite. This way the database is "portable" and reusable even
     if places.sqlite changes.
  2. moz_icons
     Contains icons payloads, each payload can either be an SVG or a PNG. These
     are the only stored formats, any other format is rescaled and converted to
     PNG. ICO files are split into single frames and stored as multiple PNGs.
     SVG are distinguishable through width == UINT16_MAX
     In future the table will also contain mask-icon color for SVG and average
     color for PNGs.
     The fixed_icon_url_hash is "fixed" to allow quickly fetch root icons, that
     means icons like "domain/favicon.ico" that can also be reused for any page
     under that domain.
  3. moz_icons_to_pages
     This is the relation table between icons and pages.
     Each page can have multiple icons, each icon can be used by multiple pages.
     There is a FOREIGN_KEY constraint between this (child) table and icons
     or pages (parents), so that it's not possible to insert non-existing ids
     in this table, and if an entry is removed from a parent table, the relation
     will be automatically removed from here.
     Note though that removing from the relation table won't remove from the
     parent tables.
Since the relations are now many-many, it's no more possible to simply join
places with the icons table and obtain a single icon, thus it's suggested that
consumers go through the "page-icon" protocol.
The migration process from the old favicons table is async and interruptible,
it will be restarted along with the favicons service until the temp preference
places.favicons.convertPayloads is set to true.


MozReview-Commit-ID: CUCoL9smRyt

--HG--
extra : rebase_source : 4d25966596dcdf63c9c872425c5bf147406d25ac
2016-11-14 16:22:46 +01:00
Gerald Squelart c5578cbb63 Bug 1343442 - Analyze eDecodeError/Warning issues - r=jya
MozReview-Commit-ID: 97AhQz2Hgmi

--HG--
extra : rebase_source : 66ccff1a9aeb7cdbc49e57a116ef449017b31c04
2017-03-24 17:09:41 +11:00
Gerald Squelart 4933532b48 Bug 1343442 - Provide appropriate params to console message - r=jya
MozReview-Commit-ID: HiaY20UqksU

--HG--
extra : rebase_source : 85b2c6e6d3007e26397c2ce71f75968eb2070ea3
2017-03-23 10:21:27 +11:00
Gerald Squelart 66b79b4832 Bug 1343442 - Move NotificationAndReportStringId closer to first use - r=jya
MozReview-Commit-ID: IBn5jsHTsKx

--HG--
extra : rebase_source : c6577e001dc0f9fa0cddbcd9fa56ee5511852564
2017-03-22 15:37:41 +11:00
Gerald Squelart 0f15d1198f Bug 1343442 - MediaDecodeError/Warning user notification messages - r=jya
These messages will be displayed in the Decoder Doctor drop-down notification
bar.
The message ids are also used internally to identify corresponding issues.

MozReview-Commit-ID: MmKxCEoTok

--HG--
extra : rebase_source : 8bc15e16e48f137db17892604d9f1257e8485612
2017-03-24 16:47:23 +11:00
Gerald Squelart 3ebc1ee4d6 Bug 1343442 - Decode-error/warning webidl notification types and data - r=smaug
Decoder Doctor webidl additions:
DecoderDoctorNotificationType.decode-error and decode-warning
DecoderDoctorNotification.decodeIssue, docURL and resourceURL

MozReview-Commit-ID: FK0YOCeuQMX

--HG--
extra : rebase_source : 1ec54438befc112695e97dfd71bc95609246775f
2017-03-22 16:13:41 +11:00
Masayuki Nakano 61ce5526c6 Bug 1296220 Rename nsIMEUpdatePreference to mozilla::widget::IMEUpdatePreference r=m_kato
MozReview-Commit-ID: 2rIXTlwA6my

--HG--
extra : rebase_source : a51be3edd717092738c2b5e8ccc4f60540712bfd
2017-04-11 21:24:55 +09:00
John Lin 6e70175957 Bug 1349883 - part 4: strengthen precondition of ReturnDecodedData(). r=jya
MozReview-Commit-ID: 2jLNlrHEE0b

--HG--
extra : rebase_source : af780e3b10f915302aa1deaba18a324266fa1dc0
2017-04-07 17:17:17 +08:00
John Lin ab9060d531 Bug 1349883 - part 3: resolve decode promise according to buffer status. r=jya
MozReview-Commit-ID: JwOOi56t30Y

--HG--
extra : rebase_source : 48f0cc0bfde3f84cc0574c5a5da6c738112c843f
2017-04-07 17:07:02 +08:00
Iris Hsiao 05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Iris Hsiao 944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
JW Wang 3b2675d90b Bug 1354389. P3 - fix the callers to handle changes when dropping the monitor. r=cpearce
No change is needed for MediaCacheStream::Read() which calls |mon.Wait()|
and has handled changes when dropping the monitor.

MozReview-Commit-ID: 40h0cHn1WFx

--HG--
extra : rebase_source : 5447339ed7751f3171458d8e5fb1e5f6fe3a786e
2017-04-10 13:57:13 +08:00
JW Wang 64b0fbf69a Bug 1354389. P2 - remove the unused function. r=cpearce
MozReview-Commit-ID: 4Mx89MxJmVO

--HG--
extra : rebase_source : 0427e7597dcf7087485945fd283e91e81de9b912
2017-04-10 11:56:35 +08:00
JW Wang 8a3ec7649b Bug 1354389. P1 - drop the monitor before doing IO. r=cpearce
We don't want to do IO while holding the monitor which might be acquired
on the main thread in MediaCache::Update().

MozReview-Commit-ID: 4cHM35K8Twb

--HG--
extra : rebase_source : 5a00332933abd1812f64fa57c9f5e2947ec979ae
2017-04-10 11:55:26 +08:00
Ho-Pang Hsu 3dc15e5580 Bug 1168875 - Part 6: Create a chrome mochitest testcase. r=bkelly
--HG--
extra : rebase_source : 8b78c4ec433015a56940f65497ddc3053132acec
2017-04-10 21:13:22 +08:00
Ho-Pang Hsu 4bdddfee0a Bug 1168875 - Part 3: Insert the timestamp probes into service worker implementation. r=bkelly
--HG--
extra : rebase_source : 5cc75ff725b0f9446938829ef35085ab5cc5c4a1
2017-04-10 21:13:21 +08:00
John Dai 11a7bc6f33 Bug 1350972 - Avoid crash when AutoInvalidateSelection dtor doesn't have commonAncestor. r=smaug 2017-04-10 23:52:00 -04:00
Carsten "Tomcat" Book ee9da45454 merge mozilla-inbound to mozilla-central a=merge 2017-04-11 10:17:24 +02:00
Ehsan Akhgari 1d72f5911e Bug 1347461 - Part 2: Always initialize all DataStorage classes in the content process at initialization time; r=keeler 2017-04-10 22:44:36 -04:00
Ehsan Akhgari c0b6db9d07 Bug 1347461 - Part 1: Add a C++ API for the list of DataStorage classes; r=keeler 2017-04-10 22:44:32 -04:00
Ben Kelly d7c4e788f6 Bug 1351935 P1 Make Client.navigate() support cross-origin loads. r=smaug 2017-04-10 21:30:24 -04:00
David Parks a0e2aece6f Bug 1354900 - Remove ASSERT when plugin incorrectly finalizes async surface. r=dvander
Flash currently has a bug that trips an ASSERT in debug builds when async painting incorrectly finalizes the currently active surface.  This is related to their fix for bug 1306698.  We are removing this assertion so that plugin work can proceed with debug builds.
2017-04-10 13:50:55 -07:00
Kearwood Gilbert 043d85c921 Bug 1351048 - Do not load VR libraries until necessary, Oculus cleanup r=daoshengmu
- I have refactored the Oculus and OpenVR interfaces in gfx/vr
  so that initialization of the VR libraries only happens once
  a WebVR site is detected.
- The Oculus interface has been cleaned up and updated to unload the Oculus
  runtime library when not in use.
- The browser can now re-connect to Oculus home if it was restarted, without
  restarting the browser.
- We no longer submit a black frame at the end of VR presentation, as this
  appears to be handled by the latest Oculus runtime automatically.
- As we only hold on to the Oculus runtime when needed, this should
  reduce the likelihood of the GPU process being killed by the Oculus
  software updater.

MozReview-Commit-ID: AyWeD4CxXLD

--HG--
extra : rebase_source : 9eae07ef30b1a7559b5fe80e6698c248a55b970e
2017-03-30 09:35:49 -04:00
Daosheng Mu d8ee3acbe9 Bug 1336002 - Part 4: Add gamepad button touched tests; r=Lenzak,qdot
MozReview-Commit-ID: 5OoR2vf0zZn

--HG--
extra : rebase_source : 7f1089f5e50a68dc64e7b1615a6d28de167a7ae4
2017-04-10 11:48:30 +08:00
Daosheng Mu d834dfb544 Bug 1336002 - Part 2: Support button touched in GamepadManager; r=Lenzak
MozReview-Commit-ID: DcX988Obthp

--HG--
extra : rebase_source : 590704bc0e5edc0ed446da19267ad16a8f728ee6
2017-04-07 09:35:13 +08:00
Daosheng Mu 66e6df1d73 Bug 1336002 - Part 1: Support button touched in the Gamepad API; r=qdot
MozReview-Commit-ID: FVWo5bpuSkS

--HG--
extra : rebase_source : 5bf9742409ac4466c3fa289c9a7a2596c4983de7
2017-04-06 18:36:46 +08:00
JW Wang f75dd3437a Bug 1353644 - change the type of EXHAUSTED_DATA_MARGIN_USECS to TimeUnit. r=kaku
MozReview-Commit-ID: CXc9DjoUc4m

--HG--
extra : rebase_source : 17a6eadd1e873a24aea2b1b8c2bbd2edfa04f9d7
extra : intermediate-source : 36a9db5c9107bdefafa2090b3cfb4dfcafb6bcea
extra : source : 5b9f12c027fc2363041363ea26bf4b9df3787cc1
2017-03-29 15:04:50 +08:00
Kaku Kuo 172d429303 Bug 1354465 P1 - dispatch a mozvideoonlyseekbegin event while starting a video-only seek; r=jwwang
MozReview-Commit-ID: 6PjQs88vUV2

--HG--
extra : rebase_source : b0d06e8bd5b5a3e84adaade0ea8f2fa98a2af0c3
2017-04-07 16:11:34 +08:00
Daosheng Mu 3ab8ee7fa3 Bug 1354977 - Update timestamp when gamepadpose is changed; r=qdot
MozReview-Commit-ID: 2glmvw5xUCH

--HG--
extra : rebase_source : afea8296041574fb182b278b588a1e3282c68c3d
2017-04-06 18:37:29 +08:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Sebastian Hengst 1828ea89ca Backed out changeset 7fdcabdbb675 (bug 1024669) for failing mda, GTest and talos jobs. r=backout on a CLOSED TREE 2017-04-10 19:05:44 +02:00
Alex Chronopoulos bffcec9307 Bug 1354506: Disable 3 media recorder test on android. r=padenot
MozReview-Commit-ID: 9Jjii3i5a2a

--HG--
extra : rebase_source : 949954295fef156a19a680e532068c28f488fd88
2017-04-10 12:18:33 +03:00
Jean-Yves Avenard 99c84ca5b6 Bug 1354090: P4. Only assume we have an init segment with moov box. r=gerald
By ISOBMFF spec, an init segment is made of an ftyp and a moov box. However the ftyp box serve little purpose as such and only the moov atom contains essential information.

Some streams incorrectly add ftyp box all accross the content, despite the ISOBMFF spec stating (4.3.1):
Box Type: `ftyp’
Container: File
Mandatory: Yes
Quantity: Exactly one (but see below)

Additionally, with this change the ftyp box may not be present in content following earlier spec. So we will now be able to play them.

MozReview-Commit-ID: KijlV5pPLby

--HG--
extra : rebase_source : c5d5ec643879b28b3fdf1b97364d856467ba5948
2017-04-07 15:37:18 +02:00
Jean-Yves Avenard b0c4fd9119 Bug 1354090: P3. Properly offset the media and init byte ranges. r=gerald
The init and media segment byte ranges were not offset by the amount of bytes currently parsed. Whenever a new init segment signature was seen we would recreate a container parser.
This would lead to invalid offsets later.

MozReview-Commit-ID: 8U7kTa7SK8O

--HG--
extra : rebase_source : 6b6e665e01db2685a423558b2d09ce36b9052974
2017-04-07 12:04:24 +02:00
Jean-Yves Avenard 137766e6ad Bug 1354090: P2. Add operator+(val). r=gerald
Such that:
[x, y] + a = [x+a, y+a]

MozReview-Commit-ID: HlyI9KmVtTg

--HG--
extra : rebase_source : ef5d9e942d365fbcffd796a1762bd89a042272e7
2017-04-07 11:31:00 +02:00
Jean-Yves Avenard fa2ce72185 Bug 1354090: P1. Fix coding style. r=gerald
MozReview-Commit-ID: ByBHvxM3kfc

--HG--
extra : rebase_source : e96be6001fb38e1ff45ca2a5c27975c76b85f42b
2017-04-07 10:55:15 +02:00
Bill McCloskey 2bb4eb39bf Bug 1350436 - Rename ValidatingDispatcher to SchedulerGroup (r=froydnj)
MozReview-Commit-ID: 1gWB9ZLPQfY
2017-04-10 16:49:39 -07:00
Bill McCloskey 21e75fbf2a Bug 1350436 - Collapse Dispatcher into ValidatingDispatcher (r=froydnj)
MozReview-Commit-ID: DrcElmf4iyn
2017-04-10 16:49:39 -07:00
Bill McCloskey 6244720937 Bug 1350436 - DocGroup should not inherit from Dispatcher (r=froydnj)
MozReview-Commit-ID: 2oxHkcRjrSM
2017-04-10 16:49:39 -07:00
Bill McCloskey e63bc5e6d9 Bug 1350436 - Use nsIEventTarget instead of Dispatcher in netwerk code (r=mayhemer)
MozReview-Commit-ID: BM4r8icwMY5
2017-04-10 16:49:39 -07:00
Wes Kocher b861a89ae4 Merge m-c to inbound, a=merge 2017-04-10 16:37:35 -07:00
Olli Pettay faf482ebc2 Bug 1354047 - Allocate DOMRect and DOMRectReadOnly wrappers from nursery, r=qDot
--HG--
extra : rebase_source : 5938f6053879fcd8777ae9d2454995152b78e4a2
2017-04-11 00:02:00 +03:00