Commit Graph

7828 Commits

Author SHA1 Message Date
Paul Morris
c3a3d09307 Bug 1531870 - [de-xbl] convert popup binding to custom element; r=bgrins
For now, only add the MozMenuPopup base class to MozElements,
and don't define a custom element for it with
`customElements.define`. This is to help avoid conflicts in
de-xbl work. (See the bug for details.)

Includes a function to do 'manual slotting', moving child
elements into place. Dynamically adding, modifying, or
removing child nodes after the element is connected needs
to be handled manually as well.

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

--HG--
rename : toolkit/content/widgets/popup.xml => toolkit/content/widgets/menupopup.js
extra : moz-landing-system : lando
2019-03-30 00:05:08 +00:00
Liang-Heng Chen
624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

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

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Gurzau Raul
ed07da8648 Backed out 4 changesets (bug 1525427) for failing at /browser_browsingContext-embedder.js on a CLOSED TREE.
Backed out changeset 0227a59eba8e (bug 1525427)
Backed out changeset 18fba79d8671 (bug 1525427)
Backed out changeset f7c82615ea05 (bug 1525427)
Backed out changeset 4a210c9266ed (bug 1525427)
2019-03-28 20:54:28 +02:00
Nika Layzell
c3636be196 Bug 1525427 - Part 2: Directly fetch browsingContext from frameLoader in browser-custom-element, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25182

--HG--
extra : moz-landing-system : lando
2019-03-28 18:12:57 +00:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Christoph Kerschbaumer
64005a8818 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:01 +00:00
Andrew Swan
745c949fa8 Bug 1535182 Remove BaseElementMixin and MozElementMixin from window global r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D24828

--HG--
extra : moz-landing-system : lando
2019-03-26 21:43:13 +00:00
Jonas Allmann
1db9db7604 Bug 1529231, Remove all occurences of ondialogaccept and ondialogcancel, r=Gijs
Removed all occurences of ondialogaccept.
Removed all occurences of ondialogcancel.
Replaced all removed attributes with event handlers.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:34:02 +00:00
Trushita
e838288317 Bug 1496193: Remove unused datepicker[type=grid] selector r=bgrins
Removed unused datepicker[type=grid] selector

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:53:21 +00:00
sakshaat
d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Dave Townsend
6515fcfe44 Bug 1538370: Re-enable toolkit content tests that are unrelated to media. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D24570

--HG--
extra : moz-landing-system : lando
2019-03-22 21:56:43 +00:00
Gijs Kruitbosch
8e02fa26bc Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D24345

--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Brian Grinstead
a797a66d25 Bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM r=bdahl,NeilDeakin
This allows us to drop preprocessing and makes it simpler to add edit menu functionality to any type of document.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:18:48 +00:00
dlee
c09a683cc8 Bug 1535304 - Remove provider from about:url-classifier if no table is being used. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D24290

--HG--
extra : moz-landing-system : lando
2019-03-21 07:54:20 +00:00
dlee
32e02c3158 Bug 1535307 - Remove an extra bracket when set update status in aboutUrlClassifier. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24172

--HG--
extra : moz-landing-system : lando
2019-03-20 13:57:11 +00:00
Julian Descottes
057ed7087e Bug 1536502 - Update license file with correct path to dagre-d3 devtools lib;r=pbro
Depends on D24197

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:30:55 +00:00
arthur.iakab
414cf3892d Backed out changeset dc2ae28a117f (bug 1534003) for causing mochitest failures on test_docload_embedded.html CLOSED TREE 2019-03-20 18:50:18 +02:00
Suriyaa Sundararuban
27e41bb248 Bug 1534003 - Update page title in about:buildconfig r=mconley
Fixes also partially bug 1051846.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:34:05 +00:00
Gijs Kruitbosch
d185982673 Bug 1530500 - remove obsolete browser swapping flags, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24114

--HG--
extra : moz-landing-system : lando
2019-03-20 08:49:04 +00:00
alwu
247fac2aa0 Bug 1524065 - part2 : use browsing context to resume delayed autoplay media. r=farre
Replace the current way and use the new way in order to make this working well after enable Fission.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:45:36 +00:00
Edwin Gao
6ca73c42a3 Bug 1536573 - disable manifest toolkit/content/tests/browser/browser.ini for windows10-aarch64 r=jmaher
Disable the entire manifest file `toolkit/content/tests/browser/browser.ini` that deals with audio playback tests for windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:18:23 +00:00
Edwin Gao
5b2eb3b3ef Bug 1536347 - disable toolkit/content/tests/widgets/test_bug898940.html r=jmaher
This test fails fairly consistently.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 11:12:23 +00:00
Alexander Surkov
095a1cda92 Bug 1494846 - kill wizard-header binding, r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D23391

--HG--
extra : moz-landing-system : lando
2019-03-17 19:36:03 +00:00
Alexander Surkov
822a58f809 Bug 1534685 - make all custom elements to use the attribute inheritance base implementation, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23541

--HG--
extra : moz-landing-system : lando
2019-03-14 21:44:54 +00:00
Alexander Surkov
242e710fdc Bug 1536059 - change checkbox attribute inheritance order to make label accesskey formatting work, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23885

--HG--
extra : moz-landing-system : lando
2019-03-18 17:48:06 +00:00
meandave
a20801ef25 Bug 1522848 - Add Lock Aspect Ratio feature. r=mconley,jmathies.
***
Bug 1522848 - Smoothing out Lock Aspect Ratio feature r?mconley.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 20:07:31 +00:00
Sebastian Hengst
cee711baf9 Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
Differential Revision: https://phabricator.services.mozilla.com/D23546

--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Matthew Noorenberghe
13bc149474 Bug 1534896 - Don't close the login autocomplete popup when the search string becomes empty. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23622

--HG--
extra : moz-landing-system : lando
2019-03-15 20:57:02 +00:00
Victor Porof
fb9f443610 Bug 1532863 - Contextmenu of keyword search field background-color is transparent, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23466

--HG--
extra : moz-landing-system : lando
2019-03-14 15:42:22 +00:00
Kyle Machulis
f1f0e15fa3 Bug 1522713 - Don't change node binding to tree when updating remoteness; r=nika
Since we now have a method on nsFrameLoaderOwner/MozFrameLoaderOwner
that can update remoteness, we should no longer need to unbind and
rebind browser elements to the tree to change their remoteness
attributes. We can just call the method and have the Frameloaders
rebuilt in the backend.

We're still getting some test breakage in Marionette and browser
chrome with this patch. Putting this behind a pref so the fission
team can still work with it while the tests are being fixed.

Depends on D22790

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:52:02 +00:00
Kyle Machulis
b1414002ac Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
Gijs Kruitbosch
801cbb22ac Bug 1534336 - pass fluent IDs directly and pass text nodes in cases where we pass literal strings, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23190

--HG--
extra : moz-landing-system : lando
2019-03-13 05:13:58 +00:00
Mike Conley
5812cb0966 Bug 1531101 - Add strings, styles and mark-up for Picture-in-Picture message for a video with controls. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22164

--HG--
extra : moz-landing-system : lando
2019-03-13 01:44:19 +00:00
Mike Conley
38a030193d Bug 1531101 - Update videocontrols error IDs to make it cleaner to introduce new message types. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22163

--HG--
extra : moz-landing-system : lando
2019-03-13 01:43:57 +00:00
Alastor Wu
3b7981db60 Bug 1531863 - part5 : modify test 'test_videocontrols_vtt.html'. r=jaws
According to the spec [1] step3, the 'change' event won't be dispatched immediately, so we should run the following check until we get the 'change' event.

[1] https://html.spec.whatwg.org/multipage/media.html#pending-text-track-change-notification-flag

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

--HG--
extra : moz-landing-system : lando
2019-03-12 00:28:26 +00:00
Dorel Luca
8d4d6ee416 Backed out 6 changesets (bug 1531101) for Mochitest failure in toolkit/content/tests/widgets/test_videocontrols_error.html. CLOSED TREE
Backed out changeset 10e9bbf2d1df (bug 1531101)
Backed out changeset 44d96bcc51f7 (bug 1531101)
Backed out changeset 4a4b44c3481a (bug 1531101)
Backed out changeset 12bcda2d76db (bug 1531101)
Backed out changeset 5887b55233c2 (bug 1531101)
Backed out changeset 13a0c61ed4fc (bug 1531101)
2019-03-12 02:04:54 +02:00
Mike Conley
679c8e1e3d Bug 1531101 - Add strings, styles and mark-up for Picture-in-Picture message for a video with controls. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22164

--HG--
extra : moz-landing-system : lando
2019-03-11 19:41:10 +00:00
Mike Conley
25d7e26cc0 Bug 1531101 - Update videocontrols error IDs to make it cleaner to introduce new message types. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22163

--HG--
extra : moz-landing-system : lando
2019-03-08 15:47:17 +00:00
Oana Pop Rus
091663f183 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-12 00:00:40 +02:00
Dave Townsend
c5f24f32dc Backed out changeset 455e57b39067 from bug 1530615 for causing bug 1534186. r=backout 2019-03-11 08:43:20 -07:00
Mark Striemer
020a5bff50 Bug 1520068 - Handle more system shortcuts in add-on shortcuts ui r=dao
This centralizes the checks for system shortcuts into ShortcutUtils.jsm, so
they can be checked for in the add-on shortcut assignment UI. It also
introduces a mechanism for skipping the system event handler if it is already
being handled by the shortcuts UI.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 18:32:20 +00:00
Sylvestre Ledru
5604250942 Bug 1531176 - about:support: also support the split of the key r=florian,flod
Differential Revision: https://phabricator.services.mozilla.com/D22676

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:42 +00:00
Sylvestre Ledru
e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Brendan Dahl
7ebaf1cd2b Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug
Create a new parser (PrototypeDocumentParser) and content sink
(PrototypeDocumentContentSink) that can be used by both XUL and XHTML.

The new parser moves the code from XULDocument that handles creating and
loading a nsXULPrototypeDocument from either the cache or the source
file. Once the parser has finished loading the prototype it notifies the
content sink. The parser is largely a stub and would be better suited
for use as a nsBaseParser, but nsHTMLDocument unfortunately needs an
nsIParser.

The new content sink has the XULDocument code responsible for the
prototype traversal that creates the DOM (XULDocument::ResumeWalk and
friends) and fires off various events.

To unify XUL and XHTML, the XHTML readystate event sequence is used in
XUL. However, the layout path of XHTML loaded from the prototype cache
more closely follows XUL, where frame initializers and layout don't
start until the entire DOM is built.

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

--HG--
rename : dom/xul/XULDocument.cpp => dom/prototype/PrototypeDocumentContentSink.cpp
rename : parser/moz.build => dom/prototype/moz.build
rename : parser/moz.build => parser/prototype/moz.build
extra : moz-landing-system : lando
2019-03-09 01:00:23 +00:00
arthur.iakab
77aa564189 Merge mozilla-central to autoland 2019-03-08 06:41:04 +02:00
arthur.iakab
013bbfceb8 Merge inbound to mozilla-central a=merge 2019-03-08 06:39:50 +02:00
Neil Deakin
b1a0d8a2a9 Bug 1519960, add a previousColumn property for tree columns so that tree drag and drop will work without box objects, r=bzbarsky
--HG--
extra : rebase_source : 35a235ee1119308021685d173c6b6d7487481f5b
2019-03-07 17:57:18 -05:00
Dave Townsend
c1a0af0769 Bug 1530615: Remove missing profiles from the profile service when showing the profile manager or about:profiles. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22146

--HG--
extra : moz-landing-system : lando
2019-03-07 18:22:29 +00:00
Alexander Surkov
d2e43c76a3 Bug 1533396 - Can't create a new profile with the Profile Manager, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D22544

--HG--
extra : moz-landing-system : lando
2019-03-07 17:43:51 +00:00
Coroiu Cristina
24aacfe9a4 Merge inbound to mozilla-central a=merge 2019-03-07 06:34:11 +02:00