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

80370 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02:00
Jeff Gilbert 4e6082275f Bug 1503813 - RefreshSwizzle must rebind its texture. r=lsalzman
MozReview-Commit-ID: Ek1UIJjwQFH

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:17:56 +00:00
alwu 8d172019f3 Bug 1519317 - handle non decoding errors when we seek back to the start position. r=jya
'NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA' and 'NS_ERROR_DOM_MEDIA_CANCELED' are not decoding errors, so we should
 treat them differently like what we did for 'NS_ERROR_DOM_MEDIA_END_OF_STREAM'.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 23:18:54 +00:00
shindli 4d43d0e6ec Backed out changeset 60ee07f3171f (bug 1519480) for TV and bc failures in browser_webauthn_telemetry.js CLOSED TREE 2019-01-23 00:28:22 +02:00
Varun Dey fb4355013b Bug 1519480 - Update browser_webauthn_telemetry.js getParentProcessScalars with TelemetryTestUtils r=chutten,jcj
Replacing browser_webauthn_telemetry.js's custom getParentProcessScalars method with the method defined in TelemetryTestUtils module

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:24:36 +00:00
Vincent W a3846471d6 Bug 1508985 - Enable ESLint for dom/tests/browser (manual changes) r=Standard8,qdot
Differential Revision: https://phabricator.services.mozilla.com/D14018

--HG--
extra : moz-landing-system : lando
2019-01-22 21:26:02 +00:00
Vincent W 3b243b7e27 Bug 1508985 - Enable ESLint for dom/tests/browser/ (automatic changes) r=Standard8,qdot
Differential Revision: https://phabricator.services.mozilla.com/D14017

--HG--
extra : moz-landing-system : lando
2019-01-22 21:26:30 +00:00
Peter Van der Beken 61a0d908e5 Bug 1521853 - Remove Throws annotation from some infallible HTMLOptionsCollection/HTMLSelectElement properties. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D17265

--HG--
extra : moz-landing-system : lando
2019-01-22 19:03:07 +00:00
Peter Van der Beken fd3d6252af Bug 1521848 - Replace nsTArrayToJSArray with ToJSValue. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17263

--HG--
extra : moz-landing-system : lando
2019-01-22 18:36:07 +00:00
shindli 90f84e833c Backed out changeset 36b36b5cdab6 (bug 1521189) for causing multiple application crashes in various tests CLOSED TREE. 2019-01-22 21:02:04 +02:00
Nika Layzell cc3249c84f Bug 1521189 - Asynchronously destroy WindowGlobalChild, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D17030

--HG--
extra : moz-landing-system : lando
2019-01-22 18:23:23 +00:00
Ehsan Akhgari 54fac8cc89 Bug 1521595 - Reduce the amount of memory allocations in nsContentUtils::Get*Origin(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17154

--HG--
extra : moz-landing-system : lando
2019-01-22 18:02:41 +00:00
Akshay Kumar aff7fc2c26 Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku
This change adopts Windows Win32 WebAuthN APIs from https://github.com/Microsoft/webauthn

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:10:44 +00:00
Oana Pop Rus 6174393a3a Merge inbound to mozilla-central. a=merge 2019-01-22 18:24:54 +02:00
Edgar Chen d9d09bb0ea Bug 1519090 - Part 3: nsFocusManager::GetNextTabbableContentInScope should also check slot if aSkipOwner is false; r=smaug
Slot element could be also focusable.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 08:15:02 +00:00
Edgar Chen 2b9f6f6196 Bug 1519090 - Part 2: Skip the node under slot scope in frame traversal; r=smaug
The nodes under slot scope is already being traversed in
GetNextTabbableContentIn*Scope.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 08:11:56 +00:00
Edgar Chen f502ff0c72 Bug 1519090 - Part 1: Some minor nsFocusManager cleanup; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D16848

--HG--
extra : moz-landing-system : lando
2019-01-22 07:41:36 +00:00
Oana Pop Rus 6401add91f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-22 11:47:46 +02:00
Oana Pop Rus 6c784c93cf Merge inbound to mozilla-central. a=merge 2019-01-22 11:41:01 +02:00
Cosmin Sabou dad27b903a Merge mozilla-central to mozilla-inbound.
--HG--
rename : browser/base/content/test/urlbar/Panel.jsm => browser/components/urlbar/tests/browser/Panel.jsm
rename : browser/base/content/test/urlbar/authenticate.sjs => browser/components/urlbar/tests/browser/authenticate.sjs
rename : browser/base/content/test/urlbar/browser_URLBarSetURI.js => browser/components/urlbar/tests/browser/browser_URLBarSetURI.js
rename : browser/base/content/test/urlbar/browser_bug1025195_switchToTabHavingURI_aOpenParams.js => browser/components/urlbar/tests/browser/browser_bug1025195_switchToTabHavingURI_aOpenParams.js
rename : browser/base/content/test/urlbar/browser_bug562649.js => browser/components/urlbar/tests/browser/browser_bug562649.js
rename : browser/base/content/test/urlbar/browser_bug623155.js => browser/components/urlbar/tests/browser/browser_bug623155.js
rename : browser/base/content/test/urlbar/browser_bug783614.js => browser/components/urlbar/tests/browser/browser_bug783614.js
rename : browser/base/content/test/urlbar/browser_locationBarExternalLoad.js => browser/components/urlbar/tests/browser/browser_locationBarExternalLoad.js
rename : browser/base/content/test/urlbar/browser_moz_action_link.js => browser/components/urlbar/tests/browser/browser_moz_action_link.js
rename : browser/base/content/test/urlbar/browser_page_action_menu_add_search_engine.js => browser/components/urlbar/tests/browser/browser_page_action_menu_add_search_engine.js
rename : browser/base/content/test/urlbar/browser_page_action_menu_clipboard.js => browser/components/urlbar/tests/browser/browser_page_action_menu_clipboard.js
rename : browser/base/content/test/urlbar/browser_page_action_menu_share_mac.js => browser/components/urlbar/tests/browser/browser_page_action_menu_share_mac.js
rename : browser/base/content/test/urlbar/browser_page_action_menu_share_win.html => browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.html
rename : browser/base/content/test/urlbar/browser_page_action_menu_share_win.js => browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.js
rename : browser/base/content/test/urlbar/browser_populateAfterPushState.js => browser/components/urlbar/tests/browser/browser_populateAfterPushState.js
rename : browser/base/content/test/urlbar/browser_urlbarCopying.js => browser/components/urlbar/tests/browser/browser_urlbarCopying.js
rename : browser/base/content/test/urlbar/browser_urlbarEnter.js => browser/components/urlbar/tests/browser/browser_urlbarEnter.js
rename : browser/base/content/test/urlbar/browser_urlbarFocusedCmdK.js => browser/components/urlbar/tests/browser/browser_urlbarFocusedCmdK.js
rename : browser/base/content/test/urlbar/browser_urlbarHashChangeProxyState.js => browser/components/urlbar/tests/browser/browser_urlbarHashChangeProxyState.js
rename : browser/base/content/test/urlbar/browser_urlbarPlaceholder.js => browser/components/urlbar/tests/browser/browser_urlbarPlaceholder.js
rename : browser/base/content/test/urlbar/browser_urlbarRevert.js => browser/components/urlbar/tests/browser/browser_urlbarRevert.js
rename : browser/base/content/test/urlbar/browser_urlbarSearchSingleWordNotification.js => browser/components/urlbar/tests/browser/browser_urlbarSearchSingleWordNotification.js
rename : browser/base/content/test/urlbar/browser_urlbarUpdateForDomainCompletion.js => browser/components/urlbar/tests/browser/browser_urlbarUpdateForDomainCompletion.js
rename : browser/base/content/test/urlbar/browser_urlbar_blanking.js => browser/components/urlbar/tests/browser/browser_urlbar_blanking.js
rename : browser/base/content/test/urlbar/browser_urlbar_locationchange_urlbar_edit_dos.js => browser/components/urlbar/tests/browser/browser_urlbar_locationchange_urlbar_edit_dos.js
rename : browser/base/content/test/urlbar/browser_urlbar_remoteness_switch.js => browser/components/urlbar/tests/browser/browser_urlbar_remoteness_switch.js
rename : browser/base/content/test/urlbar/browser_urlbar_searchsettings.js => browser/components/urlbar/tests/browser/browser_urlbar_searchsettings.js
rename : browser/base/content/test/urlbar/browser_urlbar_whereToOpen.js => browser/components/urlbar/tests/browser/browser_urlbar_whereToOpen.js
rename : browser/base/content/test/urlbar/browser_wyciwyg_urlbarCopying.js => browser/components/urlbar/tests/browser/browser_wyciwyg_urlbarCopying.js
rename : browser/base/content/test/urlbar/dummy_page.html => browser/components/urlbar/tests/browser/dummy_page.html
rename : browser/base/content/test/urlbar/file_blank_but_not_blank.html => browser/components/urlbar/tests/browser/file_blank_but_not_blank.html
rename : browser/base/content/test/urlbar/file_bug562649.html => browser/components/urlbar/tests/browser/file_bug562649.html
rename : browser/base/content/test/urlbar/file_urlbar_edit_dos.html => browser/components/urlbar/tests/browser/file_urlbar_edit_dos.html
rename : browser/base/content/test/urlbar/head.js => browser/components/urlbar/tests/browser/head-common.js
rename : browser/base/content/test/urlbar/moz.png => browser/components/urlbar/tests/browser/moz.png
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_0.xml => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_1.xml => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_1.xml
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_2.xml => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_2.xml
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_many.html => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_many.html
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_one.html => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_one.html
rename : browser/base/content/test/urlbar/page_action_menu_add_search_engine_same_names.html => browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_same_names.html
rename : browser/base/content/test/urlbar/print_postdata.sjs => browser/components/urlbar/tests/browser/print_postdata.sjs
rename : browser/base/content/test/urlbar/redirect_bug623155.sjs => browser/components/urlbar/tests/browser/redirect_bug623155.sjs
rename : browser/base/content/test/urlbar/searchSuggestionEngine.sjs => browser/components/urlbar/tests/browser/searchSuggestionEngine.sjs
rename : browser/base/content/test/urlbar/searchSuggestionEngine.xml => browser/components/urlbar/tests/browser/searchSuggestionEngine.xml
rename : browser/base/content/test/urlbar/searchSuggestionEngine2.xml => browser/components/urlbar/tests/browser/searchSuggestionEngine2.xml
rename : browser/base/content/test/urlbar/searchSuggestionEngineSlow.xml => browser/components/urlbar/tests/browser/searchSuggestionEngineSlow.xml
rename : browser/base/content/test/urlbar/slow-page.sjs => browser/components/urlbar/tests/browser/slow-page.sjs
rename : browser/base/content/test/urlbar/test_wyciwyg_copying.html => browser/components/urlbar/tests/browser/test_wyciwyg_copying.html
rename : browser/base/content/test/urlbar/urlbarAddonIframe.js => browser/components/urlbar/tests/browser/urlbarAddonIframe.js
rename : browser/base/content/test/urlbar/urlbarAddonIframeContentScript.js => browser/components/urlbar/tests/browser/urlbarAddonIframeContentScript.js
rename : browser/base/content/test/urlbar/.eslintrc.js => browser/components/urlbar/tests/legacy/.eslintrc.js
rename : browser/base/content/test/urlbar/browser_action_keyword.js => browser/components/urlbar/tests/legacy/browser_action_keyword.js
rename : browser/base/content/test/urlbar/browser_action_keyword_override.js => browser/components/urlbar/tests/legacy/browser_action_keyword_override.js
rename : browser/base/content/test/urlbar/browser_action_searchengine.js => browser/components/urlbar/tests/legacy/browser_action_searchengine.js
rename : browser/base/content/test/urlbar/browser_action_searchengine_alias.js => browser/components/urlbar/tests/legacy/browser_action_searchengine_alias.js
rename : browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js => browser/components/urlbar/tests/legacy/browser_autocomplete_a11y_label.js
rename : browser/base/content/test/urlbar/browser_autocomplete_autoselect.js => browser/components/urlbar/tests/legacy/browser_autocomplete_autoselect.js
rename : browser/base/content/test/urlbar/browser_autocomplete_cursor.js => browser/components/urlbar/tests/legacy/browser_autocomplete_cursor.js
rename : browser/base/content/test/urlbar/browser_autocomplete_edit_completed.js => browser/components/urlbar/tests/legacy/browser_autocomplete_edit_completed.js
rename : browser/base/content/test/urlbar/browser_autocomplete_enter_race.js => browser/components/urlbar/tests/legacy/browser_autocomplete_enter_race.js
rename : browser/base/content/test/urlbar/browser_autocomplete_no_title.js => browser/components/urlbar/tests/legacy/browser_autocomplete_no_title.js
rename : browser/base/content/test/urlbar/browser_autocomplete_readline_navigation.js => browser/components/urlbar/tests/legacy/browser_autocomplete_readline_navigation.js
rename : browser/base/content/test/urlbar/browser_autocomplete_tag_star_visibility.js => browser/components/urlbar/tests/legacy/browser_autocomplete_tag_star_visibility.js
rename : browser/base/content/test/urlbar/browser_bug1003461-switchtab-override.js => browser/components/urlbar/tests/legacy/browser_bug1003461-switchtab-override.js
rename : browser/base/content/test/urlbar/browser_bug1024133-switchtab-override-keynav.js => browser/components/urlbar/tests/legacy/browser_bug1024133-switchtab-override-keynav.js
rename : browser/base/content/test/urlbar/browser_bug1070778.js => browser/components/urlbar/tests/legacy/browser_bug1070778.js
rename : browser/base/content/test/urlbar/browser_bug1104165-switchtab-decodeuri.js => browser/components/urlbar/tests/legacy/browser_bug1104165-switchtab-decodeuri.js
rename : browser/base/content/test/urlbar/browser_bug1225194-remotetab.js => browser/components/urlbar/tests/legacy/browser_bug1225194-remotetab.js
rename : browser/base/content/test/urlbar/browser_bug304198.js => browser/components/urlbar/tests/legacy/browser_bug304198.js
rename : browser/base/content/test/urlbar/browser_bug556061.js => browser/components/urlbar/tests/legacy/browser_bug556061.js
rename : browser/base/content/test/urlbar/browser_canonizeURL.js => browser/components/urlbar/tests/legacy/browser_canonizeURL.js
rename : browser/base/content/test/urlbar/browser_dragdropURL.js => browser/components/urlbar/tests/legacy/browser_dragdropURL.js
rename : browser/base/content/test/urlbar/browser_locationBarCommand.js => browser/components/urlbar/tests/legacy/browser_locationBarCommand.js
rename : browser/base/content/test/urlbar/browser_new_tab_urlbar_reset.js => browser/components/urlbar/tests/legacy/browser_new_tab_urlbar_reset.js
rename : browser/base/content/test/urlbar/browser_page_action_menu.js => browser/components/urlbar/tests/legacy/browser_page_action_menu.js
rename : browser/base/content/test/urlbar/browser_pasteAndGo.js => browser/components/urlbar/tests/legacy/browser_pasteAndGo.js
rename : browser/base/content/test/urlbar/browser_removeUnsafeProtocolsFromURLBarPaste.js => browser/components/urlbar/tests/legacy/browser_removeUnsafeProtocolsFromURLBarPaste.js
rename : browser/base/content/test/urlbar/browser_search_favicon.js => browser/components/urlbar/tests/legacy/browser_search_favicon.js
rename : browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar.js => browser/components/urlbar/tests/legacy/browser_tabMatchesInAwesomebar.js
rename : browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar_perwindowpb.js => browser/components/urlbar/tests/legacy/browser_tabMatchesInAwesomebar_perwindowpb.js
rename : browser/base/content/test/urlbar/browser_urlbarAboutHomeLoading.js => browser/components/urlbar/tests/legacy/browser_urlbarAboutHomeLoading.js
rename : browser/base/content/test/urlbar/browser_urlbarAddonIframe.js => browser/components/urlbar/tests/legacy/browser_urlbarAddonIframe.js
rename : browser/base/content/test/urlbar/browser_urlbarAutoFillTrimURLs.js => browser/components/urlbar/tests/legacy/browser_urlbarAutoFillTrimURLs.js
rename : browser/base/content/test/urlbar/browser_urlbarAutofillPreserveCase.js => browser/components/urlbar/tests/legacy/browser_urlbarAutofillPreserveCase.js
rename : browser/base/content/test/urlbar/browser_urlbarDecode.js => browser/components/urlbar/tests/legacy/browser_urlbarDecode.js
rename : browser/base/content/test/urlbar/browser_urlbarDelete.js => browser/components/urlbar/tests/legacy/browser_urlbarDelete.js
rename : browser/base/content/test/urlbar/browser_urlbarEnterAfterMouseOver.js => browser/components/urlbar/tests/legacy/browser_urlbarEnterAfterMouseOver.js
rename : browser/base/content/test/urlbar/browser_urlbarKeepStateAcrossTabSwitches.js => browser/components/urlbar/tests/legacy/browser_urlbarKeepStateAcrossTabSwitches.js
rename : browser/base/content/test/urlbar/browser_urlbarOneOffs.js => browser/components/urlbar/tests/legacy/browser_urlbarOneOffs.js
rename : browser/base/content/test/urlbar/browser_urlbarOneOffs_searchSuggestions.js => browser/components/urlbar/tests/legacy/browser_urlbarOneOffs_searchSuggestions.js
rename : browser/base/content/test/urlbar/browser_urlbarOneOffs_settings.js => browser/components/urlbar/tests/legacy/browser_urlbarOneOffs_settings.js
rename : browser/base/content/test/urlbar/browser_urlbarPrivateBrowsingWindowChange.js => browser/components/urlbar/tests/legacy/browser_urlbarPrivateBrowsingWindowChange.js
rename : browser/base/content/test/urlbar/browser_urlbarRaceWithTabs.js => browser/components/urlbar/tests/legacy/browser_urlbarRaceWithTabs.js
rename : browser/base/content/test/urlbar/browser_urlbarSearchFunction.js => browser/components/urlbar/tests/legacy/browser_urlbarSearchFunction.js
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestions.js => browser/components/urlbar/tests/legacy/browser_urlbarSearchSuggestions.js
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-out.js => browser/components/urlbar/tests/legacy/browser_urlbarSearchSuggestions_opt-out.js
rename : browser/base/content/test/urlbar/browser_urlbarSearchTelemetry.js => browser/components/urlbar/tests/legacy/browser_urlbarSearchTelemetry.js
rename : browser/base/content/test/urlbar/browser_urlbarStop.js => browser/components/urlbar/tests/legacy/browser_urlbarStop.js
rename : browser/base/content/test/urlbar/browser_urlbarStopSearchOnSelection.js => browser/components/urlbar/tests/legacy/browser_urlbarStopSearchOnSelection.js
rename : browser/base/content/test/urlbar/browser_urlbarTokenAlias.js => browser/components/urlbar/tests/legacy/browser_urlbarTokenAlias.js
rename : browser/base/content/test/urlbar/browser_urlbar_autoFill_backspaced.js => browser/components/urlbar/tests/legacy/browser_urlbar_autoFill_backspaced.js
rename : browser/base/content/test/urlbar/browser_urlbar_canonize_on_autofill.js => browser/components/urlbar/tests/legacy/browser_urlbar_canonize_on_autofill.js
rename : browser/base/content/test/urlbar/browser_urlbar_remove_match.js => browser/components/urlbar/tests/legacy/browser_urlbar_remove_match.js
rename : browser/base/content/test/urlbar/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js
rename : browser/base/content/test/urlbar/browser_urlbar_search_speculative_connect.js => browser/components/urlbar/tests/legacy/browser_urlbar_search_speculative_connect.js
rename : browser/base/content/test/urlbar/browser_urlbar_search_speculative_connect_engine.js => browser/components/urlbar/tests/legacy/browser_urlbar_search_speculative_connect_engine.js
rename : browser/base/content/test/urlbar/browser_urlbar_search_speculative_connect_mousedown.js => browser/components/urlbar/tests/legacy/browser_urlbar_search_speculative_connect_mousedown.js
rename : browser/base/content/test/urlbar/browser_urlbar_stop_pending.js => browser/components/urlbar/tests/legacy/browser_urlbar_stop_pending.js
extra : rebase_source : fbf080c3d6caf9e4e501aebc4c085fe8babc3e27
2019-01-22 06:01:16 +02:00
Cosmin Sabou 951d31e64d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
Olli Pettay 136ccf14e2 Bug 1521603 - Add a helper method to check if the top level content document hasn't yet got first contentful paint and there is high prio event pending, r=jesup
--HG--
extra : rebase_source : 23ae3ef0cbb43db81d333135a0d6c52d64fb5fcf
2019-01-22 01:13:01 +02:00
Razvan Maries c941c393cb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Razvan Maries 299b5e79f7 Merge mozilla-inbound to mozilla-central a=merge 2019-01-21 19:50:56 +02:00
Olli Pettay 8fba17bea2 Bug 1521564 - Add GetDocument to nsContentSink, r=mccr8 2019-01-21 19:09:33 +02:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari 5d7e383969 Bug 1514340 - Part 1: Add the nsISecurityEventSink::OnContentBlockingEvent() helper method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16051
2019-01-21 09:58:50 -05:00
Masayuki Nakano 96bd720118 Bug 1521396 - Make ClickHandlerChild prevent multiple action of middle click on link element for preventing middle click paste r=smaug
When user middle clicks a link, most users must not expect to expose clipboard
content to the web application.  Therefore, we should stop firing paste event
when user click a link with middle button.

This patch makes ClickHandlerChild.handleEvent() prevent multiple action
when it posts middle click event on a link.  Note that even if middle click
event is consumed, default event handler will dispatch paste event.
Unfortunately, this is compatible behavior with the other browsers.
Therefore, we cannot change this behavior with calling preventDefault() and
this is the reason why this patch adds Event.preventMultipleActions().

Out of scope of this bug though, if there is an element which looks like a
link but implemented with JS, web apps can steal clipboard content if user
enables middle click event and user just wants to open the link in new tab.
It might be better to stop dispatching paste event in any browsers and request
to change each web apps.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 07:28:55 +00:00
Sylvestre Ledru 755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Jon Coppeard d86ab4b794 Bug 1518075 - Fix rooting hazard r=me on a CLOSED TREE 2019-01-21 14:26:24 +00:00
Margareta Eliza Balazs ca2235a67e Backed out 4 changesets (bug 1517025) for multiple failures e.g.: toolkit/components/telemetry/tests/unit/test_PingAPI.js CLOSED TREE
Backed out changeset 1e173178e49f (bug 1517025)
Backed out changeset c29889dea969 (bug 1517025)
Backed out changeset 48c7d643d2fa (bug 1517025)
Backed out changeset 419cb778d531 (bug 1517025)
2019-01-21 16:13:56 +02:00
Jon Coppeard a96229ddb3 Bug 1512749 - Convert JS::gcreason::Reason to enum class JS:GCReason r=jonco r=mccr8 2019-01-21 13:09:12 +00:00
longsonr deb24b809c Bug 1519253 - Move nsSMILInterval and nsSMILRepeatCount to the mozilla namespace r=birtles
--HG--
rename : dom/smil/nsSMILInterval.cpp => dom/smil/SMILInterval.cpp
rename : dom/smil/nsSMILInterval.h => dom/smil/SMILInterval.h
rename : dom/smil/nsSMILRepeatCount.cpp => dom/smil/SMILRepeatCount.cpp
rename : dom/smil/nsSMILRepeatCount.h => dom/smil/SMILRepeatCount.h
2019-01-21 13:08:12 +00:00
Jon Coppeard 173ea88195 Bug 1518075 - Add another check for null script because compilation can 'succeed' if scripting is disabled r=smaug 2019-01-21 12:40:55 +00:00
Margareta Eliza Balazs 3b70fd88bb Backed out changeset 9fedba33cfa3 (bug 1514396) for causing regression Bug 1521239, requested by jkt. CLOSED TREE 2019-01-21 14:21:30 +02:00
Valentin Gosu 177f356f36 Bug 1517025 - Add crashtest with invalid URL r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D16817

--HG--
extra : moz-landing-system : lando
2019-01-21 08:40:29 +00:00
Emilio Cobos Álvarez 8addc7a883 Bug 1521137 - The pres context's base min font size is dead code. r=heycam
Nobody uses it from js, and we only thread the value around in layout. Let's
kill all this code.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 07:15:02 +00:00
Boris Zbarsky 5f472025a2 Bug 1520509. Remove the unused support for CrossOriginWritable=InterfaceName in Web IDL. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D16712

--HG--
extra : moz-landing-system : lando
2019-01-18 22:11:04 +00:00
Boris Zbarsky e5c8ead70a Bug 1363208 part 9. Remove now-unused cross-origin Xray infrastructure. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D15433

--HG--
extra : moz-landing-system : lando
2019-01-21 03:33:55 +00:00
Boris Zbarsky 46d5d31b59 Bug 1363208 part 7. Change the Location binding to inherit from MaybeCrossOriginObject. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D15431

--HG--
extra : moz-landing-system : lando
2019-01-21 04:26:13 +00:00
Boris Zbarsky 4dffd37187 Bug 1363208 part 6. Remove the NonOrdinaryGetPrototypeOf annotation. r=peterv
We can just check for a non-global object (so excluding Window) with cross-origin properties.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 03:33:16 +00:00
Boris Zbarsky c17e30f6b2 Bug 1363208 part 4. Stop using cross-origin Xrays for WindowProxy. r=peterv,jandem
The change to test_bug440572.html is due to a behavior change.  Specifically,
before this change, any IDL-declared property, even one not exposed
cross-origin, would prevent named frames with that name being visible
cross-origin.  The new behavior is that cross-origin-exposed IDL properties
prevent corresponding frame names from being visible, but ones not exposed
cross-origin don't.  This matches the spec and other browsers.

Same thing for the changes to test_bug860494.xul.

The wpt test changes are just adding test coverage for the thing the other
tests caught.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 03:30:31 +00:00
Boris Zbarsky f699207ace Bug 1363208 part 3. Change nsOuterWindowProxy to inherit from MaybeCrossOriginObject. r=peterv,jandem
The cross-origin named window code in
nsOuterWindowProxy::getOwnPropertyDescriptor is mostly copied from
XrayWrapper::getPropertyDescriptor, with some minor changes because we can't
assume some work that CrossOriginXrayWrapper does.  The getPropertyDescriptor
version will go away in a later patch in this stack.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 03:28:55 +00:00
Boris Zbarsky 79d353e3bc Bug 1363208 part 2. Add a helper class for implementing the HTML requirements for cross-origin-accessible objects. r=jandem,peterv
Differential Revision: https://phabricator.services.mozilla.com/D15425

--HG--
extra : moz-landing-system : lando
2019-01-21 03:28:06 +00:00
Boris Zbarsky 67be15b8fc Bug 1363208 part 1. Add a MaybeWrapObject function that works on JSObject* instead of JS::Value. r=peterv,bholley
Differential Revision: https://phabricator.services.mozilla.com/D15424

--HG--
extra : moz-landing-system : lando
2019-01-21 03:24:42 +00:00
Boris Zbarsky e37f3348da Bug 1521433. Fix non-unified build failure in nsXHTMLContentSerializer.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17087

--HG--
extra : moz-landing-system : lando
2019-01-21 04:46:21 +00:00
Tom Tung 698bbba539 Bug 1521017 - Using NS_NAMED_LITERNAL_CSTRING to avoid increasing the number of static constructors; r=asuth
This patch uses nsLiteralCString instead of nsCString for avoiding increasing
the number of static constructors. Also, it removes the declaration of
kInternalError and kExternalError on Beta and Release since they won't be use
in these channels.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 22:52:06 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Alastor Wu d929d261a0 Bug 1519430 - part3 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D16614

--HG--
extra : moz-landing-system : lando
2019-01-18 18:23:44 +00:00
Alastor Wu 9bb36dab32 Bug 1519430 - part2 : only resume AudioContext which is blocked by autoplay policy. r=padenot
We would only start the AudioContext blocked by our autoplay policy, won't resume AudioContext which is suspended explictly by page.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 18:23:58 +00:00