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

605581 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 558221f121 Bug 1476136. "JSON type" determination for IDL dictionaries should look at inherited dictionary members too. r=qdot 2018-07-23 16:33:31 -04:00
Boris Zbarsky 276a600cb3 Bug 1382035. Treat Promise return values like undefined for javascript: urls. r=peterv 2018-07-23 16:18:33 -04:00
Ting-Yu Lin 222d82f138 Bug 1477533 - Convert NS_STYLE_COLUMN_SPAN_* to an enum class. r=heycam
MozReview-Commit-ID: F8M1DlpBop2

--HG--
extra : rebase_source : f98d97be38c6f2a8b3cf6624db3df15389cb0123
2018-07-21 19:53:44 -07:00
Ting-Yu Lin a6015f5b37 Bug 1477533 - Convert NS_STYLE_COLUMN_FILL_* to an enum class. r=heycam
I put Balance as the first item in StyleColumnFill because it is the default
value.

MozReview-Commit-ID: A4DVMLL6XBa

--HG--
extra : rebase_source : 8c8d07b724bcd49dd4f4057fcbf0ccd46ed591ff
2018-07-21 12:00:26 -07:00
Tokio Kajitsuka b3ddbd6aaf Bug 1468110 - add AccessibleNode unsigned long, long & double attributes attributes, r=yzen, qdot
based on ARIA and AOM's ARIA reflection specs (https://wicg.github.io/aom/spec/aria-reflection.html)
2018-07-22 03:45:22 +09:00
Ting-Yu Lin 582327218e Bug 1477533 - Use static const class variable to represent column-count: auto. r=heycam
NS_STYLE_COLUMN_COUNT_UNLIMITED is unused, so I remove it.

MozReview-Commit-ID: HLHLn9ZbkUY

--HG--
extra : rebase_source : 9bf00e1db00051c4454719e205633717fabde050
2018-07-20 17:09:31 -07:00
Benjamin Bouvier 31f10c5e13 Bug 1476953: Update asm.js error message when atomics aren't enabled; r=jandem
--HG--
extra : rebase_source : 8c1a3c1e4c71ac901aad16a76a4dee79f350fe26
extra : amend_source : 667e2e310ff7d9910c739bc5cdcb457f76db3918
2018-07-19 19:44:17 +02:00
Emilio Cobos Álvarez 65c23592eb Bug 1477853: Don't assume that SVGAnimationElement has a parent on bind. r=heycam
We were passing aParent instead of this to the ID tracker.

This was unnecessary, since the document is definitely setup by this time, but
it was also assuming we had a parent which is not true.

Also it was claiming stuff about it only being used to get the composed doc,
which is false since bug 1163105.

Differential Revision: https://phabricator.services.mozilla.com/D2308

MozReview-Commit-ID: L6Vpl44QjGG
2018-07-24 12:36:45 +02:00
Lars T Hansen 5c37d5f314 Bug 1477329 - Avoid static casts for coercing TypeDef nodes. r=jseward
There's no reason to use static_cast, we already have transfer functions on the
AstTypeDef node that should be used.

--HG--
extra : rebase_source : 07674fd96172143542c4f06c1048c8b5b0e82a90
extra : amend_source : f15851b91133f694ad209ce1feae65c5e1551747
2018-07-24 09:04:26 +02:00
Gurzau Raul 46679701af Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-24 12:54:45 +03:00
Csoregi Natalia f03960010a Backed out changeset 438598073b9b (bug 1474540) for assertion failure at ScriptSettings.cpp:493 on Android. CLOSED TREE 2018-07-24 11:34:09 +03:00
Jan de Mooij 09db278bed Bug 1477705 - Stop using js::GetGlobalForObjectCrossCompartment in NPAPI code. r=bz
The object could be a CCW here and we want to make it impossible to get a CCW's global. The first call here is equivalent to checking JS_IsGlobalObject and for the second one JS::CurrentGlobalOrNull(cx) preserves behavior because we wrapped the object into the current compartment.
2018-07-24 10:00:50 +02:00
Hiroyuki Ikezoe 6a18a3f807 Bug 1365045 - Implement prefers-reduced-motion for Windows. r=jimm
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx

MozReview-Commit-ID: APERUPoSaz
2018-07-24 16:50:48 +09:00
Hiroyuki Ikezoe 2c38369627 Bug 1365045 - Reftests for prefers-reduced-motion. r=heycam
MozReview-Commit-ID: QprVfHbiuS
2018-07-24 16:50:47 +09:00
Hiroyuki Ikezoe ea2e577fa3 Bug 1365045 - Introduce keywords for prefers-reduced-motion. r=heycam
https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion

MozReview-Commit-ID: RQUo1DBR0W
2018-07-24 16:50:47 +09:00
Hiroyuki Ikezoe 3353a9c0e3 Bug 1365045 - Introduce nsCSSKeywordAndBoolTableEntry. r=heycam
The values in the boolean context depend on its feature.  For examples, in the
case of prefers-reduced-motion 'no-preference' means false and 'reduced' mean
true in the boolean context, whereas in the case of prefers-contrast
'no-preference' means false and other two values, 'high' and 'low' means true
in the boolean context.  To support it we introduce a child struct of
nsCSSKTableEntry that has an additional field representing the value in the
boolean context and use it when we have no specified value in the media feature
(i.e. in the boolean context).

MozReview-Commit-ID: 79HiW8l5ous
2018-07-24 16:50:47 +09:00
Andrea Marchesini 2a755b08b9 Bug 1470306 - More assertions in MessagePort, r=qdot
Still trying to understand why we have MessagePort::CloseInternal crashes, here
I introduce more assertions and a security check in case PBackground
initialization fails.
2018-07-24 09:29:51 +02:00
Jan de Mooij 9100d22449 Bug 1474540 - Assert we don't pass cross-compartment wrappers to AutoJSAPI::Init. r=bholley 2018-07-24 09:19:25 +02:00
Masayuki Nakano 1764b38048 Bug 1476294 - Make HTMLEditorDocumentCommands.cpp use non-virtual methods of nsCommandParams instead of virtual methods of nsICommandParams r=Ehsan
This is remaining part of bug 1450882.  I forgot to update
HTMLEditorDocumentCommands.cpp when I work on the bug.

This patch makes HTMLEditorDocumentCommands.cpp use non-virtual methods of
nsCommandParams instead of virtual methods of nsICommandParams.

MozReview-Commit-ID: 12AjXbeYNOa

--HG--
extra : rebase_source : 8d73866b21f6dd1c436244a771fb39bbe2debd40
2018-07-18 00:30:05 +09:00
Jeff Gilbert 6089f7eebc Bug 1475010 - Also, assert in DEBUG if we don't get a KeyedMutex. - r=kvark
Disableable via env var.

Differential Revision: https://phabricator.services.mozilla.com/D2276

--HG--
extra : moz-landing-system : lando
2018-07-23 20:48:51 +00:00
Chris Pearce ea566d079b Bug 1476456 - Add telemetry to report whether autoplay would be not allowed if autoplay was disabled. r=baku,francois
We'd like to add telemetry to help inform the decision as to how enabling
block autoplay will affect video playback in the wild.

Our data science team would also like some input to help them estimate the
rate at which our shield study would receive pings, and the telemetry
collected here will help them estimate that.

We'd like to collect the following, on a per session basis:
* Count of the number of top level content documents loaded, as denominator for
other stats collected here.
* Count of the number of top level content documents which contained (directly
or in a descendant document) playback of an audible media element.
* Count of the number of top level content documents which contained (directly
or in a descendant document) a muted media element that was paused by the
autoplay policy because it tried to unmute and it wasn't allowed to autoplay
audibly.
* Count of the total number of audible autoplay videos that would have not been
allowed to play if block autoplay was enabled. We'd either prompt for
permission on these videos, or block outright depending on user's settings.
* Count of the total number of audible autoplay videos that would have been
allowed to play if block autoplay was enabled.

MozReview-Commit-ID: vHWJPyqHjT

--HG--
extra : rebase_source : e1f22ec83fda8b65d78f1de9f02cf060d424019c
2018-07-18 15:34:04 +12:00
Ivan Pozdeev 319f5fcf1d Bug 1323381 - Make 8dot3 error message useful for fixing; r=gps
--HG--
extra : amend_source : 72f43dbe21c9b0af738dccda80dff3b24da8e481
2018-07-23 18:09:15 -07:00
shindli ed684136aa Backed out 2 changesets (bug 1471894) for linting failure in /builds/worker/checkouts/gecko/tools/lint/wpt.yml on a CLOSED TREE
Backed out changeset 82b13a9a70e6 (bug 1471894)
Backed out changeset 9a6e53d96b83 (bug 1471894)
2018-07-24 02:56:41 +03:00
shindli 70ab23ecd2 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Tanushree Podder a468f78119 Bug 1473699 - Async-scroll the layout viewport even if it's smaller than the visual viewport. r=botond
When the layout viewport is smaller than the visual viewport and the user
scrolls a web page, the layout viewport remains fixed to its position before
the scroll event took place. However, the visual viewport moves according to
the new scroll position. This patch addresses this issue by moving the layout
viewport along with the visual viewport.

MozReview-Commit-ID: 3Mk1o6AF2wr

--HG--
extra : rebase_source : 8c6068059593038dc443cb9c96242483de97e9d9
2018-07-22 01:59:37 -04:00
Luca Greco a31a979967 Bug 1476268 - Fix uncaught storage.local IDBTransaction error on explicit IDBTransaction abort. r=mixedpuppy
MozReview-Commit-ID: F4gA0V0eq8U

--HG--
extra : rebase_source : 35799c0755aa7089c5f537ef520184d3ff65bda3
2018-07-16 17:43:57 +02:00
Sebastian Hengst 1793cd20eb Bug 1477488 - Set SecurityPolicyViolationEvent to be also available on beta and release (follow-up to bug 1472661). r=baku
MozReview-Commit-ID: 8KCfD1vbYk2

--HG--
extra : rebase_source : 24884e7793e055600b4215b632ade05a8a6571ab
2018-07-23 21:23:36 +03:00
Gurzau Raul 19e302fb18 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-24 12:52:06 +03:00
James Graham 8dd59553eb Bug 1477256 - Use certificate files from upstream in web-platform-tests, r=cactusmachete
These files are duplicates of each other, so for simplicity we may as well use the
upstream copies to avoid falling out of sync.

MozReview-Commit-ID: JpG3joT8NNJ

--HG--
extra : rebase_source : d06c8969a9f8871b078c22e72947f7cd7584fb00
2018-07-20 13:29:05 +01:00
Gurzau Raul cd2f4fd65e Backed out 4 changesets (bug 1463538) for failing on /payments/test/browser/browser_payments_onboarding_wizard.js
Backed out changeset 1c945ede0071 (bug 1463538)
Backed out changeset 8ccd9f4b230d (bug 1463538)
Backed out changeset e078fb39875e (bug 1463538)
Backed out changeset 798bf0d7928c (bug 1463538)
2018-07-24 11:16:21 +03:00
byron jones f564d84c7f Bug 1476516 - add moz.yaml to vendored pdf.js r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D2218

--HG--
extra : moz-landing-system : lando
2018-07-23 19:31:07 +00:00
Nicolas Chevobbe 722ce30c2a Bug 1470103 - Fix autocomplete popup sizing issue in the console; r=jdescottes.
The popup was properly sized (and positionned), if it was previously closed,
which could led to layout issues when changing the autocomplete popup (e.g.
by typing a ".").
We now always call openPopup when there's items in the popup so it's always
properly sized.
I'm expecting some performance overhead here, but I'm working on another bug
that should make the popup faster.
A test is added to make sure we do resize the popup as needed.

MozReview-Commit-ID: K7dOllMrq0b

--HG--
extra : rebase_source : 95cf1a6c6f21ee253756f4f26a2fab89887f14b6
2018-07-18 15:14:29 +02:00
Julian Descottes 5755d7ce7e Bug 1474529 - Update scalar is_devtools_user to opt-out and expire in Fx66;r=francois
MozReview-Commit-ID: 2gSYSEnvCPN

--HG--
extra : rebase_source : ea8fea805dca359985d33955a8e76917f66051b7
2018-07-20 21:56:02 +02:00
Tim Nguyen 47579db045 Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt

--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : ac87b4f18f2d03a8da00726bc9b39604ffd2e73b
2018-07-13 16:21:34 +01:00
shindli fe6aa6d8b5 Backed out changeset 7fd40900b7c1 (bug 1474163) for assertion failure at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/BindingUtils.h:1070 on a CLOSED TREE
--HG--
rename : browser/modules/LightweightThemeChildHelper.jsm => browser/modules/LightweightThemeChildListener.jsm
2018-07-23 20:41:23 +03:00
Johannes Willbold 4c92cf9567 Bug 1476085: Added SDP candidate serialization, r=bwc,dminor
Added SDP candidate serializaton in rust
Extended Rust unit test for candidates
Added C++/Rust glue code for candidates
Added free_boxed_string_vec

MozReview-Commit-ID: CeVM2p47fQ7

--HG--
extra : rebase_source : 5d49e3a39af3395cf16bedef387728d7de663271
2018-07-16 13:59:04 -07:00
Tim Nguyen 2d03c6adef Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt

--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : 00aa3b51403c5d8d9ac5fa3333f96567fe192613
2018-07-13 16:21:34 +01:00
Brad Werth 51462b9733 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : 210535f627475e07c85f174b41396f650ac0d29f
2018-07-12 11:55:32 -07:00
Brad Werth 1acb33fb67 Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : 4f221c3df02fa8a9b0dd8b4b7b71af56b1fcbe26
2018-07-11 16:52:33 -07:00
Dipen Patel b0259a189f Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : b15f75e39d04c8485b4eb63416fd1f1e4175fafe
2018-07-13 11:48:55 -07:00
Jonathan Kingston 3a5e700ad1 Bug 1392710 - Add use counters for marquee events. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D2209

--HG--
extra : moz-landing-system : lando
2018-07-23 22:45:26 +00:00
Robert Bartlensky 2610f9e3c6 Bug 1472681: Fix NULL_DEREFERENCE error in js/src/vm/EnvironmentObject-inl.h. r=luke
MozReview-Commit-ID: 9p8jbWeZvhg

--HG--
extra : rebase_source : 9c163c7682be1e515dea2015019799ad69fa7d94
2018-07-19 11:16:42 +01:00
Mihir Iyer 4751922915 Bug 1311892 - Implement <overflow-position> 'safe'/'unsafe' for absolutely positioned boxes in grid and flexbox. r=dholbert
MozReview-Commit-ID: 1xKmq7KFAM4

--HG--
extra : rebase_source : 64c143d908d31fa9bee522e4995b29ddf67749ca
2018-07-19 12:30:48 -07:00
Robert Bartlensky d0daa20803 Bug 1476565: Fix DEAD_STORE errors in dom/base/*. r=baku
MozReview-Commit-ID: IjsOrpz9VF3

--HG--
extra : rebase_source : 0ac09534b0d129564bf986d45145e0967e8182d2
2018-07-18 16:17:22 +01:00
Robert Bartlensky 04f0622f7b Bug 1476657: Fix DEAD_STORE issues in js/src/frontend/Parser.cpp. r=arai
MozReview-Commit-ID: HI9p2AfOUiU

--HG--
extra : rebase_source : a49d1b189886e2eb77550fdcb0e8995b2a09c4c0
2018-07-20 13:44:35 +01:00
Brian Birtles cc3c0a3582 Bug 1474224 - Use Photon "Open in New" icon for undock icon; r=jdescottes
As per https://design.firefox.com/icons/icons/android/open-in-new-24.svg
but rather adapted to match the proportions of the other icons and fit on
a 16x16 grid.

MozReview-Commit-ID: 9bGWiBjX1P4

--HG--
extra : rebase_source : 1b87badf8ed045368c7f3d003c3c4f4611ab6a4b
2018-07-20 09:34:18 +09:00
Brian Birtles f93f0d87f2 Bug 1474224 - Use Photon "Settings" icon in meatball menu; r=jdescottes
As per https://design.firefox.com/icons/icons/android/preferences-24.svg
but adapted to fit on a 16x16 grid whilst maintaining 2px stroke width.

MozReview-Commit-ID: 5Aoywexg7AM

--HG--
extra : rebase_source : 48e4e10f57d7daab94e62f58a1a41bc01c5b13db
2018-07-20 08:40:50 +09:00
Brian Birtles f7a7c9d22a Bug 1474224 - Make the dock to bottom icon width the same as other icons; r=jdescottes
MozReview-Commit-ID: 6gawJzr6NzR

--HG--
extra : rebase_source : 4fec75388e2ac117c428fbebabc7e36f638c878e
2018-07-20 08:40:50 +09:00
Abdoulaye O. Ly c619a45c9b Bug 1477724 - 'Move To New Window' moves now contextTab instead of selectedTab in single tab context. r=jaws
MozReview-Commit-ID: 2c5QFuSO6kU

--HG--
extra : rebase_source : ef1c0a1b113c8684ee43726995598aedcf3d64a9
2018-07-23 19:53:56 +00:00
Coroiu Cristina 220232e2f4 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-24 00:45:40 +03:00