Commit Graph

69238 Commits

Author SHA1 Message Date
Coroiu Cristina
6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Andrea Marchesini
304b80e930 Bug 1413741 - Improve the use of XHR.mProxy in workers after the dispatching of sync OpenRunnable, r=smaug 2017-11-14 08:18:41 +01:00
Nicholas Nethercote
b15805ab71 Bug 1414759 - Replace some unnecessary media prefs with code constants. r=cpearce
Specifically:
- media.decoder.limit
- media.num-decode-threads
- media.resampling.rate
- media.wmf.decoder.thread-count
- media.cache.resource-index

--HG--
extra : rebase_source : a46aa7078b98b4731ec96b66398c51aa6cb42d27
2017-11-13 17:16:06 +11:00
Nicholas Nethercote
39d276d2d7 Bug 1414759 - Remove dead media prefs. r=cpearce
--HG--
extra : rebase_source : 9ed24f63dc0826cd4e508a072ecc6f26cbad7088
2017-11-13 09:15:59 +11:00
Boris Zbarsky
5d7760ed1c Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Andrea Marchesini
e50200ef65 Bug 1416193 - Cloned nsHostObjectURI objects should be stored together with their BlobImpl by nsHostObjectProtocolHandler, r=valentin 2017-11-14 00:22:54 +01:00
Csoregi Natalia
6232db29bd Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-14 01:00:48 +02:00
Csoregi Natalia
8f1a81caad Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
Christoph Kerschbaumer
c848c91be9 Bug 1415612: Allow all plain text types when navigating top-level data URIs. r=bz 2017-11-13 21:25:02 +01:00
Kartikaya Gupta
87186734ba Bug 1416540 - Convert AnimationValue::GetStyleValue to return a float-based Size. r=mattwoodrow
This follows from the previous patch; these values feed into UpdateMinMaxScale
as well, which explicitly wants to use floats, so there's no point in creating
doubles. The source of this information is also a float-based matrix.

MozReview-Commit-ID: LPk4Xm9AaJJ

--HG--
extra : rebase_source : d7714755fb1078880133d6f044cc9bc7743439ee
2017-11-12 18:37:33 -05:00
Emilio Cobos Álvarez
f52846b518 Bug 1408308: Integrate Servo SourceSizeList in ResponsiveImageSelector. r=Manishearth
MozReview-Commit-ID: DMVfE56DyYm
2017-11-13 13:39:30 +01:00
Ting-Yu Lin
dfca359d6e Bug 1416699 - Add a space between #include and comment. r=jeremychen
Skip files under intl/icu/ because they're imported from third party.

DONTBUILD because this is a whitespace-only change.

MozReview-Commit-ID: GSd6oeFSTO7

--HG--
extra : rebase_source : 38c20bf6099c18b2fcb4c324d470b279addf8891
2017-11-13 17:54:18 +08:00
Sebastian Hengst
49423f5e99 Backed out changeset b9aa0fc4f179 (bug 1414935) for failing mochitest test_bug739038.html. r=backout on a CLOSED TREE 2017-11-13 20:11:00 +02:00
Joel Maher
fd50e2131c Bug 1388624 - Disable TEST-UNEXPECTED-TIMEOUT | dom/canvas/test/webgl-mochitest/test_capture.html on windows/debug for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Joel Maher
944aa7ec34 Bug 1363957 - Disable dom/animation/test/mozilla/test_deferred_start.html on android/debug and win10 for frequent failures. r=me, a=test-only 2017-11-13 12:20:01 -05:00
Boris Zbarsky
cc876b4959 Bug 1416139. Make nsIDOMNodeList non-scriptable. r=mystor
The old reasons for having it be scriptable are no longer relevant since bug 120684 was fixed.

MozReview-Commit-ID: DOGuhKJRWOn
2017-11-13 10:41:47 -05:00
Boris Zbarsky
87c6b14c1a Bug 1415677 part 6. Remove nsIDOMHTMLCollection. r=qdot
MozReview-Commit-ID: E8P9o0bv63L
2017-11-13 10:41:33 -05:00
Boris Zbarsky
9d38f0a19e Bug 1415677 part 5. Remove the XPCOM version of HTMLFormElement's elements getter. r=qdot
MozReview-Commit-ID: KwvaNXUPMXp
2017-11-13 10:39:12 -05:00
Boris Zbarsky
dfd96e6bd3 Bug 1415677 part 4. Remove nsIDOMHTMLDocument accessors that use nsIDOMHTMLCollection. r=qdot
MozReview-Commit-ID: Aq3rfMBQKmn
2017-11-13 10:39:09 -05:00
Boris Zbarsky
5be514f68b Bug 1415677 part 3. Remove nsIDOMHTMLCollection::GetLength. r=qdot
MozReview-Commit-ID: H9rdYf47WV
2017-11-13 10:39:06 -05:00
Boris Zbarsky
ee1bca0ce2 Bug 1415677 part 2. Remove nsIDOMHTMLCollection::Item. r=qdot
MozReview-Commit-ID: AQUjBQhXLHE
2017-11-13 10:39:02 -05:00
Boris Zbarsky
76943406f3 Bug 1415677 part 1. Remove nsIDOMHTMLCollection::NamedItem. r=qdot
MozReview-Commit-ID: EppP6KSYSn6
2017-11-13 10:38:59 -05:00
Boris Zbarsky
f20476fcb6 Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Boris Zbarsky
e95559cd09 Bug 1415234. Annotate HTMLInputElement::Width() as MOZ_CAN_RUN_SCRIPT and plumb through the binding bits needed to make this pass static analysis. r=mystor
This basically marks most of the bindings bits as MOZ_CAN_RUN_SCRIPT.

MozReview-Commit-ID: HcQcYhTR9cb
2017-11-13 10:36:53 -05:00
Henri Sivonen
2069543e3c Bug 1414490 - Permanently undefine the insertion point at EOF. r=smaug.
MozReview-Commit-ID: Kijs3Rxhq0X
2017-11-13 16:59:11 +02:00
Andrea Marchesini
209fb327a0 Bug 1411384 - nested sync XHR should throw, r=smaug 2017-11-13 10:17:05 +01:00
Jonathan Kew
a889197da2 Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman 2017-11-02 20:29:33 +00:00
Jonathan Kew
c28cae074c Bug 1412090 - patch 1 - Wrap the font family record used to pass font info from chrome to content on macOS in a union, in preparation for using the same mechanism with a different type of font record on Linux. (No functional change here, just the added union type and some renamings from 'font family list' to 'font list' to be more generic.) r=lsalzman 2017-11-02 17:23:16 +00:00
Bill McCloskey
fe841a52b6 Bug 1412195 - Track all changes to TabChild active state (r=bevis)
MozReview-Commit-ID: 7nQjquaM4sQ
2017-11-11 21:04:20 -08:00
Andreea Pavel
7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Phil Ringnalda
e242afd753 Backed out changeset 35bb5af0f317 (bug 1411384) for intermittently not running any checks in test_nestedSyncXHR.html
MozReview-Commit-ID: DZZrjFWkcMS

--HG--
extra : rebase_source : 69536d7e61412af14b06fa4a463c619783c0c65a
2017-11-10 20:18:28 -08:00
Ryan VanderMeulen
ef843a0e30 Merge m-c to inbound. a=merge 2017-11-10 16:14:16 -05:00
Ryan VanderMeulen
b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Kyle Machulis
ea86e1d617 Bug 1416069 - Remove nsIDOMHTMLHtmlElement and nsIDOMHTMLBaseElement; r=bz
MozReview-Commit-ID: 7qUw7cLeTpe
2017-11-10 13:10:02 -08:00
Kyle Machulis
f25f505bc5 Bug 1415747 - Remove nsIDOMHTMLScriptElement; r=bz
MozReview-Commit-ID: 3I7qVTsKFJC
2017-11-10 13:10:00 -08:00
shindli
897ae925f7 Backed out 1 changesets (bug 1365257) for failing gl in \build\build\src\obj-firefox\dist\include\mozilla/ServoStyleSet.h:97 r=backout on a CLOSED TREE
Backed out changeset 00edc1ac58f9 (bug 1365257)

--HG--
extra : rebase_source : d33f3bba71d1899e0f4a5051369c240e00ea42fe
2017-11-10 19:23:58 +02:00
Andrea Marchesini
bbddef77bd Bug 1415682 - Abort API exposed to System, r=qdot 2017-11-10 19:37:13 +01:00
Andrea Marchesini
8088ca91a2 Bug 1416174 - part 4 - OSFileConstants should use UniquePtr instead of nsAutoPtr, r=smaug 2017-11-10 19:37:13 +01:00
Andrea Marchesini
c0c371855c Bug 1416174 - part 3 - moving gPaths to mPaths,r=smaug 2017-11-10 19:27:55 +01:00
Andrea Marchesini
9258fa02c1 Bug 1416174 - part 2 - OSFileConstants as nsIObserver, r=smaug 2017-11-10 19:27:29 +01:00
Andrea Marchesini
b06af90b93 Bug 1416174 - part 1 - OSFileConstants must be a singleton, r=smaug 2017-11-10 19:27:03 +01:00
Andrea Marchesini
3ff4869cbb Bug 1411384 - nested sync XHR should throw, r=smaug 2017-11-10 19:25:31 +01:00
Chris Peterson
edb82b8131 Bug 1416164 - Replace NS_POSTCONDITION with MOZ_ASSERT. r=froydnj
MozReview-Commit-ID: 9K3Ksf36uxr

--HG--
extra : rebase_source : c5574794ae0e0ce5e756bdbcc2601896d6916002
2017-11-04 22:48:48 -07:00
Chris Peterson
feb58d9d37 Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj
MozReview-Commit-ID: B5TZB3v52wY

--HG--
extra : rebase_source : 56bef4eead24901191f190e31d2841710097cdcf
2017-10-25 00:37:02 -07:00
Chris Peterson
0e8425b401 Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj
MozReview-Commit-ID: DRdYlOYqZpN

--HG--
extra : rebase_source : b20fb24abf0f2ce648c12a827532c0dbeefb6c63
2017-10-24 23:52:56 -07:00
Kartikaya Gupta
00ef028ed3 Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
  return and take a Matrix respectively, instead of converting to
  and from a gfxMatrix (which uses doubles). These functions therefore
  will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
  do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
  convert between the float matrix and the double matrix.

The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.

MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
Hiroyuki Ikezoe
e7e006516c Bug 1415734 - Don't start test refresh mode if there is any suppressed paints. r=birtles
When paintingSuppressed flag is true, paint_listener.waitForPaints() defers the
waiting paint to the next tick.  The paintingSupressed flag is set when pres
shell is initialized and at that time if the document has not been loaded yet,
a timer is created to clear the flag after nglayout.initialpaint.delay
elapsed.  And when the timer is fired, the flag is cleared, but if there is
still pending reflow, it's not cleared.

So what happened in the failure case;

1) In the first promise_test we wait for document load
2) The paintingSuppressed flag is set in the first promise_test and create the
   timer
3) When the document has been loaded but the timer has not yet been fired,
   start test refresh mode and create an element in the subsequent promise_test
4) Creating the element triggers a reflow
5) waitForPaints() is called
6) The timer is fired, but there is a pending reflow, so skip clearing the flag
7) Now it's in the test refresh mode, the pending flow will never be processed
   until some triggers happen (i.e. mouse movement, calling
   advanceTimeAndRefresh, etc.)
8) The test is timed out

MozReview-Commit-ID: 5fLn9SNHp1J

--HG--
extra : rebase_source : 3115a5d5ac1405f18efde7ade1fb9738858c518f
2017-11-10 06:38:15 +09:00
Andreas Pehrson
ed6023658c Bug 1411322 - Call nsIMemoryReporterManager::EndReport after reporting. r=SingingTree
This is required now that the reporter is async.

MozReview-Commit-ID: djvw9v7kuj

--HG--
extra : rebase_source : d105f972eda0d59212b8094150762e44aa8c582d
2017-11-10 11:59:43 +01:00
Andreas Pehrson
306c663532 Bug 1411322 - Simplify MediaRecorderReporter. r=SingingTree
This is primarily to improve code readability of the reporter's lifetime.
Creation of the singleton was hidden away in GetRecorders().
Both creation and destruction is now more explicit in {Add|Remove}MediaRecorder.

MozReview-Commit-ID: CqxgPQ1JptK

--HG--
extra : rebase_source : 5af3052911cd346c7d1221baf653f0b046304ed0
2017-11-10 11:58:33 +01:00
Andreas Pehrson
cfffb3d535 Bug 1411322 - Add crashtest getting memory reports from MediaRecorder. r=SingingTree
MozReview-Commit-ID: 8ptpSFj1SeW

--HG--
extra : rebase_source : d1d547ffdd53dc9d9899d33a0a157decbc823cf6
2017-11-10 12:06:04 +01:00