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

80065 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli e79ee45812 Backed out 3 changesets (bug 1482389) for build bustages in nsDOMAttributeMap.h CLOSED TREE
Backed out changeset c1cfc595892f (bug 1482389)
Backed out changeset bd20e420f257 (bug 1482389)
Backed out changeset af06731b5203 (bug 1482389)

--HG--
rename : dom/chrome-webidl/XULTreeElement.webidl => dom/webidl/TreeBoxObject.webidl
rename : dom/xul/XULTreeElement.cpp => layout/xul/tree/TreeBoxObject.cpp
rename : dom/xul/XULTreeElement.h => layout/xul/tree/TreeBoxObject.h
2019-01-09 16:00:19 +02:00
Neil Deakin 52a756d064 Bug 1482389, remove methods of XULTreeElement that return unused nsresults. In addition, change GetView to return the nsITreeView instead of using an out-parameter, r=paolo 2018-12-04 11:25:41 -05:00
Neil Deakin 8a34b15d64 Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Neil Deakin 551bd5831a Bug 1482389, remove deprecated getCellAt and getCoordsForCellItem methods from TreeBoxObject, r=peterv 2018-12-04 11:24:16 -05:00
Gijs Kruitbosch 7de2c5899e Bug 1515863, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D15957

--HG--
extra : rebase_source : 748d4849050c3f2042f45f083cc7c99137963721
2019-01-08 16:59:21 +01:00
Gijs Kruitbosch ceecd61c16 Bug 1515863, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D15221

--HG--
extra : rebase_source : 64431f64e9af7a961ffcd47c7b8e01dbecc71b07
2018-12-21 11:56:47 +00:00
Dave Townsend 4e82401311 Bug 1515863, r=valentin,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D15728

--HG--
extra : rebase_source : 2e1c705dd97d458080387896fd7a1f0e88523e06
2018-04-11 12:52:47 -07:00
Razvan Maries 8f65aae19c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-09 05:57:46 +02:00
Razvan Maries bc86cecc3c Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 05:49:28 +02:00
longsonr 6e5e275ae5 Bug 1518646 - Export things from dom/smil in the mozilla namespace properly r=birtles 2019-01-09 00:34:14 +00:00
Karl Tomlinson 930c7dff0f Bug 1518352 remove unnecessary WeakPtr support from PannerNode r=padenot
This is no longer used since https://hg.mozilla.org/mozilla-central/rev/11b4729e92ec#l3.101

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

--HG--
extra : moz-landing-system : lando
2019-01-08 10:07:15 +00:00
Eric Rahm 8ba7f30537 Bug 1516007 - Avoid extra work in nsIDocument::ScrollToRef. r=ehsan
We can avoid making an extra copy when unescaping `mScrollToRef` by using
`NS_UnescapeURL` instead of `nsUnescape`. Additionally we can avoid calling
`GoToAnchor` a second time if nothing was unescaped.

--HG--
extra : rebase_source : 9a792e5bbd54b58a8bc0db4b9aa47b4048f985a0
2018-12-19 17:02:43 -08:00
Andrea Marchesini a14dfd8e8d Bug 1417463 - Default accept header should follow the fetch spec, r=mayhemer 2019-01-08 23:36:16 +01:00
Brian Hackett 655a9a04fe Bug 1517167 Part 1 - Set introduction information for dynamically generated <script> elements, r=jorendorff.
--HG--
extra : rebase_source : 6a2080d724ccac7ccc5f1c45191a1f46ceed6c56
2019-01-03 06:27:01 -10:00
Razvan Maries 83db861464 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-09 00:11:59 +02:00
Razvan Maries f4c5025ab9 Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 00:01:24 +02:00
Nathan Froyd 7618f58711 Bug 1517653 - give the power manager service its own xpcom module; r=mccr8
The layout module is a little weird.  It's described as being loadable
in the GPU process, but very few of the contracts and CIDs it contains
are also marked as such.  In fact, the sole reason the layout module is
marked as being loadable in the GPU process is so that the power manager
service can be registered; everything else is inconsequential.  This
setup also means that the initializer for the layout module has to
specifically check whether it's running in the GPU process (or several
other processes...), so we don't try to spin up a bunch of stuff we
don't need, like xpconnect and similar.

This setup is silly: we should have a module solely for the power
manager's use and that module can be loaded in the GPU process.  Then
the layout module can go back to being an ordinary module, and we don't
have to play games in its initialization method.
2019-01-08 15:56:58 -05:00
Andreea Pavel f5a1a0f098 Backed out 5 changesets (bug 256180) for failing win xpcshell at xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_temporary.js on a CLOSED TREE
Backed out changeset e85e41f84971 (bug 256180)
Backed out changeset 125ebcfac58d (bug 256180)
Backed out changeset bc2e0a89d88e (bug 256180)
Backed out changeset b696df615c8b (bug 256180)
Backed out changeset 2d69841d2eb7 (bug 256180)
2019-01-08 20:35:31 +02:00
Daniel Varga 599bfc410a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/pocket/locale/en-US/pocket.properties => browser/locales/en-US/chrome/browser/pocket.properties
rename : devtools/client/aboutdebugging-new/test/browser/head-addons-script.js => devtools/client/aboutdebugging-new/test/browser/helper-addons.js
rename : devtools/client/aboutdebugging-new/test/browser/debug-target-pane_collapsibilities_head.js => devtools/client/aboutdebugging-new/test/browser/helper-collapsibilities.js
rename : devtools/client/aboutdebugging-new/test/browser/head-mocks.js => devtools/client/aboutdebugging-new/test/browser/helper-mocks.js
rename : devtools/client/aboutdebugging-new/test/browser/head-serviceworker.js => devtools/client/aboutdebugging-new/test/browser/helper-serviceworker.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-client-wrapper-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-client-wrapper-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-runtime-client-factory-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-runtime-client-factory-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-runtimes-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-usb-runtimes-mock.js
rename : dom/base/nsIdentifierMapEntry.h => dom/base/IdentifierMapEntry.h
extra : rebase_source : 0d517ceff0f11aadfa88634e773b3436ad48a8e6
2019-01-08 18:35:10 +02:00
Daniel Varga 0d21c9eedd Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 18:23:16 +02:00
Daniel Varga 8306d673ed Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-08 18:31:08 +02:00
Emilio Cobos Álvarez 4653b249d6 Bug 1514074 - Retarget results of offset* DOM APIs. r=smaug
Per https://github.com/w3c/csswg-drafts/issues/159.

The test is imported from WebKit, who has already implemented this, with a few
fixes to avoid duplicate test names and non-undefined return values from
add_cleanup.

See the diff attached to the bug.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 16:04:31 +00:00
Jon Coppeard 66048b9129 Bug 1518075 - Add check for null script because compilation can 'succeed' if scripting is disabled r=smaug 2019-01-08 10:41:48 +00:00
Oana Pop Rus aec8de62bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-08 12:37:02 +02:00
Oana Pop Rus 3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Brian Birtles c3ebaf6de2 Bug 1518374 - Add missing dom:: declaration to PendingAnimationTracker.cpp; r=hiro
Depends on D15903

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:46:23 +00:00
Brian Birtles d012e4ca2e Bug 1518374 - Fix a bunch of fallout from changes to mozilla::dom::Document; r=hiro
Bug 1517241 renamed nsIDocument to mozilla::dom::Document but unfortunately in
the process it messed up the ordering of includes which, according to the coding
style[1], should be alphabetically sorted.

Also, in TimingParams.cpp it didn't add the dom::* prefix so when the unified
build chunking changes, if the "using namespace mozilla::dom" declaration
disappears from the chunk, it will fail to build.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#CC_practices

Depends on D15902

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:45:18 +00:00
Brian Birtles 1fd4653bf3 Bug 1518374 - Move a couple of bool members next to each other in KeyframeEffect.h so they can be packed together; r=hiro
Depends on D15901

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:43:52 +00:00
Brian Birtles 361e464182 Bug 1518374 - Drop unused aEffectSet parameter from EffectCompositor::AllowCompositorAnimationsOnFrame; r=hiro
Depends on D15900

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:42:56 +00:00
Brian Birtles 8285a179ca Bug 1518374 - Mark GetKeyframes and GetTargetComputedStyle as const; r=hiro
Depends on D15899

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:42:17 +00:00
Brian Birtles 3ce2f154a0 Bug 1518374 - Remove obsolete comment in Animation.h about kNoIndex; r=hiro
As of bug 1203009 / changeset 37b6deedaab6 and per spec, we no longer reset the
animation index when an Animation re-enters the idle state and kNoIndex is no
longer defined.

Depends on D15898

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:41:34 +00:00
Brian Birtles 2c202a7e3c Bug 1518374 - Shuffle definitions in Animation.h; r=hiro
This arranges related declarations by function as opposed to trying to
distinguish between functions that are Web-facing and those that are not.

The order still corresponds to the order in the spec[1] however.

[1] https://drafts.csswg.org/web-animations-1/#the-animation-interface

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:47:43 +00:00
Karl Tomlinson f470a0dcbc Bug 1512737 assign HRTF to panningModel attribute instead of adding type property r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D14494

--HG--
extra : moz-landing-system : lando
2019-01-07 08:51:31 +00:00
alwu 6b72f94b2f Bug 1513039 - part14 : add new error message for web audio. r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D14637

--HG--
extra : moz-landing-system : lando
2019-01-07 18:44:03 +00:00
alwu a4a90d4976 Bug 1513039 - part13 : set 'mWasAllowedToStart' flag. r=karlt
'mWasAllowedToStart' would be set to false if AudioContext is not allowed to start, and would be set to true if AudioContext has been allowed to start.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:43:31 +00:00
alwu b19b9b34f5 Bug 1513039 - part11 : remove pref 'media.autoplay.ask-permission'. r=cpearce
Depends on D14335

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:58 +00:00
alwu edbf43dd41 Bug 1513039 - part10 : remove nsIAutoplay.PROMPT r=daleharvey,cpearce
Depends on D14334

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:03 +00:00
alwu 047b607301 Bug 1513039 - part6 : remove AutoplayPermissionManager and AutoplayPermissionRequest. r=cpearce,smaug
Depends on D14330

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:35:30 +00:00
alwu 2e3f453263 Bug 1513039 - part5 : log warning when autoplay is blocked. r=cpearce,karlt
Wrap 'nsContentUtils::ReportToConsole()' to reduce necessary input parameters and call it when we need to log error or warning message. Show the warning when autoplay is blocked.

For web audio, this restores the console messages removed in part4 and also reports the same message when the AudioContext is blocked in the constructor.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:57:48 +00:00
alwu 28a21fe0ad Bug 1513039 - part4 : remove permission request logic in AudioContext. r=karlt
AudioContext won't need to ask permission request anymore, and we will report error message in patch5.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:33:36 +00:00
alwu 2f88c125de Bug 1513039 - part3 : remove permission request codes in MediaElement. r=cpearce
Depends on D14326

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:32:42 +00:00
alwu 242554622e Bug 1513039 - part1 : remove caching temporary autoplay permission. r=smaug,florian
We're going to remove all autoplay temporary permission related codes, so we don't need to cache it anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:29:10 +00:00
Csoregi Natalia 5573623926 Merge mozilla-central to autoland. CLOSED TREE 2019-01-07 23:49:15 +02:00
Csoregi Natalia 498c659ff8 Merge inbound to mozilla-central. a=merge 2019-01-07 23:46:59 +02:00
Ehsan Akhgari 7d27d43328 Bug 1517062 - Stop using a hashtable in ContentBlockingLog; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D15587

--HG--
extra : moz-landing-system : lando
2019-01-07 18:49:47 +00:00
Ryan VanderMeulen 262c894e52 Bug 1518478 - Re-enable some DOM Events mochitests which are now passing. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15942

--HG--
extra : rebase_source : 991ba7bd144da3531c88f5a6ef1e815aced9a92b
2019-01-07 20:09:57 -05:00
Brindusan Cristian 331818d5aa Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-07 18:46:25 +02:00
Brindusan Cristian 4d62b74678 Merge inbound to mozilla-central. a=merge 2019-01-07 18:43:04 +02:00
shindli 501ce65945 Backed out changeset 462d05bad533 (bug 1517653) for assertion failures in z:/build/build/src/js/src\vm/HelperThreads.h:361 CLOSED TREE 2019-01-07 18:18:16 +02:00
Masayuki Nakano ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00