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

1737 Коммитов

Автор SHA1 Сообщение Дата
Cristina Coroiu f20d61be72 Bug 1429649 - disable test_notificationbox.xul for frequent failures on windows and linux. r=jmaher DONTBUILD 2018-10-10 07:56:00 +03:00
Andreea Pavel 5f10842826 Backed out changeset 2fffb44333de (bug 1234567) for landing with the incorrect bug number 2018-10-10 22:45:19 +03:00
Cristina Coroiu 773e23aca4 Bug 1234567 - disable test_notificationbox.xul for frequent failures on windows and linux. r=jmaher 2018-10-10 07:56:00 +03:00
alwu d852bb9b98 Bug 1495064 - part3 : add test. r=jib
Adding a test to check whether the wakelock state is correct under different situations. However,
the lock state of power manager doesn't equal to the actual platform lock. Now we don't have any
way to detect whether platform lock is set correctly or not, but we can at least make sure the
specific topic's state in power manager is correct.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 21:56:10 +00:00
Brian Grinstead 4ee92c8669 Bug 1496425 - Provide a mechanism for Custom Elements to delay connectedCallback until after DOMContentLoaded;r=paolo
There are two reasons for this:
1) It's faster than running the connectedCallback in the middle of document parse, at least for
   <radiogroups> in about:preferences
2) It provides a construction sequence more similar to XBL, so the translation from XBL <constructor>
   to CE connectedCallback is more likely to be correct. This is because when there is markup like:
       <parent-ce><child-ce></child-ce></parent-ce>
   the parent-ce node is empty during the first connectedCallback. If we wait for DOMContentLoaded
   then the parent-ce has the child-ce node below it.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 21:17:39 +00:00
Timothy Guan-tin Chien ca71a35fa1 Bug 1496636 - add_task() should wait for document finishes loading before starting the test r=florian
Differential Revision: https://phabricator.services.mozilla.com/D7941

--HG--
extra : moz-landing-system : lando
2018-10-08 12:59:15 +00:00
Tim Nguyen 6e26790a43 Bug 1416363 - Remove colorpicker binding and related code. r=bgrins,surkov
Depends on D7575

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

--HG--
extra : moz-landing-system : lando
2018-10-04 01:03:19 +00:00
Brian Grinstead 9f095c8011 Bug 1496137 - Handle asynchronous XBL construction of <radio> elements beneath <radiogroup>;r=jaws
Previously, the <radio> constructor just nulled out the _radioChildren of the <radiogroup>.
This leads to some issues that existed before the Custom Element migration to <radiogroup>,
in which state wouldn't get synchronized between an already-appended radiogroup and a newly
add radio (i.e. the [disabled] attribute on the radiogroup wouldn't copy down to the new radio,
and the [value] attribute wouldn't get moved up onto the radiogroup if the new radio is [selected]).

In addition to that, the Custom Element migration introduced a worse bug, in which the
XBL constructors on radio elements sometime haven't run when the radio is connected. This
means the radiogroup doesn't recognize any children, and the selectedItem / value is wrong.

This patch makes it so that the radio will notify the radiogroup when it is constructed,
and if necessary, the radiogroup can make sure all the state is consistent.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 20:20:10 +00:00
Eliza Balazs 38ba6ae11b Bug 1366957 - Disable test_videocontrols_keyhandler.html on linux for frequent failures. r=jmaher 2018-10-02 23:54:00 +03:00
Mike Conley 9b0b5947ec Bug 1492482 - Remove CPOW usage from browser_saveImageURL.js. r=baku
This also "fixes" what appears to be some broken checks by switching
them to todo()'s. I filed bug 1492885 to investigate these busted
checks, and re-enable them.

Depends on D6970

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:38:48 +00:00
Mike Conley 49f0fb11c5 Bug 1492482 - Remove CPOW usage from browser_datetime_picker.js. r=Felipe
Depends on D6969

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:02:59 +00:00
Brian Grinstead 27c32c10cf Bug 1481949 - Migrate <radiogroup> to a Custom Element;r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D6326

--HG--
rename : toolkit/content/widgets/radio.xml => toolkit/content/widgets/radio.js
extra : moz-landing-system : lando
2018-10-01 18:01:02 +00:00
Alexander Surkov 6ae4105332 Bug 1494167 - remove @crop property from text-base binding, r=paolo 2018-09-27 08:12:15 +08:00
alwu b0130df3e1 Bug 1493027 - part2 : add test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D6541

--HG--
extra : moz-landing-system : lando
2018-09-23 22:12:43 +00:00
Dão Gottwald 91ba802f2e Bug 1492130 - Load toolbarbutton.css and scrollbox.css as document stylesheets. r=paolo 2018-09-21 17:16:45 +02:00
Noemi Erli 33a13f4638 Backed out changeset ced8a51eff4a (bug 1492130) for wpt failures in css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html 2018-09-21 16:22:49 +03:00
Dão Gottwald d389551269 Bug 1492130 - Load toolbarbutton.css and scrollbox.css as document stylesheets. r=paolo 2018-09-21 14:23:53 +02:00
Cristina Coroiu 0b67a1688b Bug 1491484 - disable browser_findbar.js on linux opt and pgo for frequent failures. r=jmaher 2018-09-20 09:51:00 +03:00
Bogdan Tara e7c653959c Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
Narcis Beleuzu 04ab391b65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-19 19:44:24 +03:00
Neil Deakin 00b778c4e7 Bug 1478372, allow QueryInterface to be used for custom element implemented interfaces, r=bz,bgrins 2018-09-19 06:46:41 -04:00
Timothy Guan-tin Chien 6c928dc396 Bug 1484048 - Part II, Make error label visible r=Gijs
This is a regression left over by Bug 1431255 Part IV.
I did s/anonid/id/ in videocontrols.js but I didn't do that in CSS.

anonid selectors are still needed in CSS until we remove the XBL binding.

Depends on D3667

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:16 +00:00
alwu 8f7b86117b Bug 1489375 - part2 : add test. r=padenot
add test.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 14:59:48 +00:00
Jonathan Kingston c7c96baf75 Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4563

--HG--
extra : source : 390737876a61c5da48a1957d284d3c315fbd541a
extra : intermediate-source : f0b190c1cfb5d2df482f1051bbc0ff98de71235b
2018-08-29 15:49:12 +01:00
Brindusan Cristian 1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston 55aa31a10b Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4563

--HG--
extra : source : 47f9b77e7e560818234862c97eef1f7124d6da4c
2018-08-29 15:49:12 +01:00
alwu 2183140f78 Bug 1489278 - part2 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D5611

--HG--
extra : moz-landing-system : lando
2018-09-13 11:39:14 +00:00
Brian Grinstead 150199f6f8 Bug 1488938 - Round two: migrate mochitest-browser tests to use element variations of firstChild, etc;r=Gijs
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:38 +00:00
Emma Malysz 696ceb303f Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz
MozReview-Commit-ID: 5253hAlxbhw

--HG--
rename : dom/webidl/MenuBoxObject.webidl => dom/chrome-webidl/XULMenuElement.webidl
rename : layout/xul/MenuBoxObject.cpp => dom/xul/XULMenuElement.cpp
rename : layout/xul/MenuBoxObject.h => dom/xul/XULMenuElement.h
2018-07-31 12:30:17 -07:00
Ehsan Akhgari 8038c6973e Bug 1486487 - Toggle a label's control in case it's a checkbox; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4833
2018-09-04 10:18:52 -04:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Paolo Amadini 348900743b Bug 1457218 - Part 2 - Remove support for menu button types in notification bars. r=bgrins
The "menu-button" notification button type is unused, and the "menu" type is implemented using a normal button that opens a popup.

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

--HG--
extra : rebase_source : b662ec12f98bbb6841aaf4682393bb0e29830e73
2018-08-29 10:56:09 +01:00
Paolo Amadini bfef02108d Bug 1457216 - Remove support for editable menulists. r=surkov,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4306

--HG--
extra : rebase_source : e8b4946c8f657e2283bc96cb08de802493e3a826
2018-08-24 15:44:38 +01:00
alwu eb9569d512 Bug 1485160 - part2 : add test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3931

--HG--
extra : moz-landing-system : lando
2018-08-23 21:50:14 +00:00
Eliza Balazs 334166becd Bug 1312652 - Disable browser_autoscroll_disabled.js on multiple platforms for frequent failures. r=jmaher 2018-08-22 04:40:00 +03:00
Csoregi Natalia 6a5d41b053 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-21 01:00:01 +03:00
Timothy Guan-tin Chien df8a644582 Bug 1483408 - Set focus to the video element when the media document loads r=Gijs
For some reason we might miss the initial focus event. This ensures the video
element is focused when the document loads.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 13:06:01 +00:00
shindli 1d3a8e90da Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-20 19:36:01 +03:00
Paolo Amadini 99697b4790 Bug 1393965 - Fix intermittent browser_default_image_filename.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3775

--HG--
extra : rebase_source : 30d8d75d478403264ec0530452def76984e47fb0
2018-08-20 13:42:19 +01:00
Emilio Cobos Álvarez 69f98d5c58 Bug 1484474 - Make the ua widget flag in ShadowRoot write-only. r=smaug
Letting people set it back to false would be bad.

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

--HG--
extra : moz-landing-system : lando
2018-08-18 21:32:38 +00:00
Brian Grinstead 7eeeeed53f Bug 1481882 - Load customElements.js in chrome XHTML documents;r=mossop
This provides support for using XUL elements in  chrome XHTML documents,
including the experimental xhtml browser window (browser.xhtml).

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

--HG--
extra : moz-landing-system : lando
2018-08-16 16:26:16 +00:00
Timothy Guan-tin Chien 4f4992fc3d Bug 1431255 - Part VIII, Adjust videocontrols tests to test on UA Widget r=jaws
Duplicates the unchanged tests to xbl dir, ensuring the legacy XBL
videocontrols continue to work.

Opt out of related reftests until we've found a way to load the UA Widget in
reftests. Also opt out of DevTools test until a decision is made on the
representation of UA Widgets in the inspector.

MozReview-Commit-ID: 9sDD7xeuv2H

--HG--
rename : toolkit/content/tests/widgets/chrome.ini => toolkit/content/tests/widgets/xbl/chrome.ini
rename : toolkit/content/tests/widgets/head.js => toolkit/content/tests/widgets/xbl/head.js
rename : toolkit/content/tests/widgets/mochitest.ini => toolkit/content/tests/widgets/xbl/mochitest.ini
rename : toolkit/content/tests/widgets/test_audiocontrols_dimensions.html => toolkit/content/tests/widgets/xbl/test_audiocontrols_dimensions.html
rename : toolkit/content/tests/widgets/test_bug898940.html => toolkit/content/tests/widgets/xbl/test_bug898940.html
rename : toolkit/content/tests/widgets/test_videocontrols.html => toolkit/content/tests/widgets/xbl/test_videocontrols.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_error.html => toolkit/content/tests/widgets/xbl/test_videocontrols_error.html
rename : toolkit/content/tests/widgets/test_videocontrols_iframe_fullscreen.html => toolkit/content/tests/widgets/xbl/test_videocontrols_iframe_fullscreen.html
rename : toolkit/content/tests/widgets/test_videocontrols_jsdisabled.html => toolkit/content/tests/widgets/xbl/test_videocontrols_jsdisabled.html
rename : toolkit/content/tests/widgets/test_videocontrols_keyhandler.html => toolkit/content/tests/widgets/xbl/test_videocontrols_keyhandler.html
rename : toolkit/content/tests/widgets/test_videocontrols_onclickplay.html => toolkit/content/tests/widgets/xbl/test_videocontrols_onclickplay.html
rename : toolkit/content/tests/widgets/test_videocontrols_orientation.html => toolkit/content/tests/widgets/xbl/test_videocontrols_orientation.html
rename : toolkit/content/tests/widgets/test_videocontrols_size.html => toolkit/content/tests/widgets/xbl/test_videocontrols_size.html
rename : toolkit/content/tests/widgets/test_videocontrols_standalone.html => toolkit/content/tests/widgets/xbl/test_videocontrols_standalone.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_noaudio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_noaudio.html
rename : toolkit/content/tests/widgets/test_videocontrols_vtt.html => toolkit/content/tests/widgets/xbl/test_videocontrols_vtt.html
extra : rebase_source : 474e4d1967bb96b4ffad283f83055e5fe58165f0
2018-07-06 13:27:12 +08:00
Timothy Guan-tin Chien dab48182aa Bug 1431255 - Part V, Set the reflectors of the UA Widget DOM to UA Widget Scope r=bholley
The DOM elements within the UA Widget Shadow DOM should have its reflectors in
the UA Widget Scope. This is done by calling nsINode::IsInUAWidget() which
would check its containing shadow and its UA Widget bit.

To prevent JS access of the DOM element before it is in the
UA Widget Shadom DOM tree, various DOM methods are set to inaccessible to
UA Widget script. It would need to use the two special methods in ShadowRoot
instead to insert the DOM directly into the shadow tree.

MozReview-Commit-ID: Jz9iCaVIoij

--HG--
extra : rebase_source : b7b17be68dcde00cfeb207cb39cf16b486f2ab02
2018-06-29 13:39:46 -07:00
Timothy Guan-tin Chien 3fc48b5fcd Bug 1431255 - Part IV, Load videocontrols.js, migrated from videoControls binding r=jaws
videocontrols.js handles the controls attribute with a callback named
"onattributechange" called by UAWidgets, replaces the CSS selectors.

MozReview-Commit-ID: 8rrw0Pbu8Dj

--HG--
rename : toolkit/content/widgets/videocontrols.xml => toolkit/content/widgets/videocontrols.js
extra : rebase_source : 8d8a38afac0273621f711b988c1be82d04865e33
2018-06-27 11:55:38 -07:00
Jonathan Kingston 2f0987a202 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
Summary: Depends on D2046

Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

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

--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
dvarga 12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston c15f69d427 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

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

--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
alwu c9a517ec96 Bug 1480738 - part2 : add test. r=cpearce
MozReview-Commit-ID: 8GwifOpAQNf

--HG--
extra : rebase_source : 8f21f469894deb5ae815582dcb7c50625c7b50b8
2018-08-03 12:57:38 -07:00
Brendan Dahl da472b2bfe Bug 1480206 - Move XULDocument popup attributes to Document. r=bz
Allows top level non-XUL documents to share this code. Three tests had to
be adjusted to account for the attributes being chrome only now and not
available to content privilege XUL. In two tests, the values attributes
are now simply undefined. The crashtest was converted to a chrome
mochitest to preserve what it was testing.

MozReview-Commit-ID: 99w9Ax4et3C

--HG--
rename : dom/base/crashtests/473284.xul => dom/base/test/chrome/test_bug473284.xul
extra : rebase_source : 924d34a88fe8a48d766f78b02e64275f6e7cdc2b
2018-08-06 10:52:53 -07:00
Bogdan Tara 4759ec60f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 13:28:32 +03:00